Page 1 of 1

Programming STM32 via CAN with ESP32 OTA

Posted: Fri May 18, 2018 8:12 pm
by jeaoks
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

Re: Programming STM32 via CAN with ESP32 OTA

Posted: Tue Jun 05, 2018 6:50 am
by zhivko
+1 for this solution :)

Re: Programming STM32 via CAN with ESP32 OTA

Posted: Wed Jul 03, 2019 3:54 am
by adameng
hi

what was the solution you came up with ? :)