Skip to main content
Richard Lowe
Senior II
February 15, 2018
Question

Anyone Using CAN to Update Firmware?

Posted on February 15, 2018 at 10:12

I'd like to use the CAN Bus to upgrade firmware. I've read the

http://www.st.com/content/ccc/resource/technical/document/application_note/56/94/0c/7d/63/f6/4d/96/CD00264321.pdf/files/CD00264321.pdf/jcr:content/translations/en.CD00264321.pdf

 a few times and it makes sense, but I'd like to find some example of it working before I attempt to do it myself. Anyone using the embedded bootloader to upgrade firmware on the STM32 MCUs?

#can-communitation
This topic has been closed for replies.

4 replies

AvaTar
Senior III
February 15, 2018
Posted on February 15, 2018 at 11:22

We (my company) use CAN for firmware updates.

However, it is not a STM32, and uses UDS via ISO-TP (ISO 15765).

And since both are a bit more complex, we have it in a second-stage BL.

Richard Lowe
Senior II
February 15, 2018
Posted on February 15, 2018 at 13:11

We've considered using CANOpen to implement ISO 15765 but haven't seen many bootloaders that would be compatible. Any tips you can offer would be nice.

AvaTar
Senior III
February 15, 2018
Posted on February 15, 2018 at 13:24

Not me, unfortunately.

Just dealt with ISO-TP for the intended purpose, which is diagnostics/UDS.

You can try asking CiA directly (can-cia.org), in my experience they seem quite open.

Richard Lowe
Senior II
May 28, 2018
Posted on May 28, 2018 at 21:59

Built in bootloader proved to be problematic. Secondary CAN bootloader is required for custom behavior and ease of update.