Skip to main content
Visitor II
June 6, 2022
Solved

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

  • June 6, 2022
  • 2 replies
  • 1774 views

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.

    This topic has been closed for replies.
    Best answer by Tesla DeLorean

    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

    2 replies

    Graduate II
    June 6, 2022

    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

    ShivamAuthor
    Visitor II
    June 7, 2022

    Thanks for your time. I found it helpful.

    ShivamAuthor
    Visitor II
    June 7, 2022

    Thanks for your time. I found it helpful.