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: 16
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 :)

Who is online

Users browsing this forum: ESP_Sprite and 3 guests