Programming STM32 via CAN with ESP32 OTA

jeaoks
Posts: 3
Joined: Fri May 18, 2018 7:58 pm

Programming STM32 via CAN with ESP32 OTA

Postby jeaoks » Fri May 18, 2018 8:12 pm

Hi,

I am using two STM32's in two devices. One is in sort of "motherboard" and another in "control panel". They are connected via CAN. In the control panel I have also ESP32, which is also in the same CAN as these two STM32's. ESP32 itself is easy'ish to update OTA. And the two STM32 can already be updated by dropping the bin-file to CAN bus. But...

...the question is:

How to put ESP32 to take the bin-file over the air, and dumb it to the CAN?

At the moment i am flashing the STM32's with UART USB, and the CAN update already works, so if i would be able rather easily to put ESP32 to store the flashing file to it's memory and be able to send it to CAN then it would be super nice as all of the three micros would be able to updated.


Thanks,
Jussi

zhivko
Posts: 23
Joined: Tue Dec 01, 2015 12:02 pm

Re: Programming STM32 via CAN with ESP32 OTA

Postby zhivko » Tue Jun 05, 2018 6:50 am

+1 for this solution :)

adameng
Posts: 3
Joined: Tue Jul 02, 2019 1:58 pm

Re: Programming STM32 via CAN with ESP32 OTA

Postby adameng » Wed Jul 03, 2019 3:54 am

hi

what was the solution you came up with ? :)

Who is online

Users browsing this forum: No registered users and 37 guests