cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any official example code for device firmware update over USART for STM32 MCU?

Shivam
Associate II

I've referred their AN3155 and AN2606 but I wanted to know whether I can find an official implementation of the flows mentioned in their application notes. Also I wanted to know the duration for which the RST pin of the controller has to be pulled LOW so that it considers it as a valid RESET. This is needed so as to put the MCU into DFU mode (Bootloader) by resetting the MCU while the BOOT 0 pin is being held HIGH. I'm using STM32F0 and STM32G0.

1 ACCEPTED SOLUTION

Accepted Solutions

No

You're kind of expected to be able to code something that implements the protocol described.

There are several open source examples that implement it.

Doesn't the Data Sheet say >=500 ns

The other IAP examples use a standard protocol.

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

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

View solution in original post

3 REPLIES 3

No

You're kind of expected to be able to code something that implements the protocol described.

There are several open source examples that implement it.

Doesn't the Data Sheet say >=500 ns

The other IAP examples use a standard protocol.

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

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

Thanks for your time. I found it helpful.

Thanks for your time. I found it helpful.