cancel
Showing results for 
Search instead for 
Did you mean: 

Firmware Update via UART boot commands

HombreTortuga
Associate

Hi guys, I have a nucleo-l073rz and am developing software for it with iar ewarm. So far everything is working well (programming and flashing via the st-link programmer). In the future, however, I would like to do firmware updates via the serial interface. After connecting the boot0 pin to VCC, I was able to send boot commands. Is it generally possible to use the "write memory command" to write a binary (which I created with ewarm) to a specific address and tadaaaa: "the firmware has been updated". Or is that completely utopian? If not, what do I need to bear in mind? I don't want to use any tools from ST, but rather create all the UART commands myself.

1 REPLY 1

Follow AN2606 and AN3155 you should be able to upgrade the firmware. Can be done from a PC, or MCU. Several working examples exist. Or you can DIY from the docs.

https://github.com/arduino-libraries/MKRWAN/tree/master/examples/MKRWANFWUpdate_standalone

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..