Skip to main content
Grigori
Associate II
October 5, 2015
Question

SPWF01SC.21: In-device firmware update over UART

  • October 5, 2015
  • 3 replies
  • 728 views
Posted on October 05, 2015 at 09:57

Hi,

Is it possible to update firmware from host processor over UART without any windows utilities like flash loader? We use FreeRTOS in our product, so, FW update protocol description or any clues are welcome.
    This topic has been closed for replies.

    3 replies

    Gerardo GALLUCCI
    ST Employee
    October 5, 2015
    Posted on October 05, 2015 at 10:05

    Hi,

    - option #1: follow ST 

    AN3155 (

    http://www.st.com/st-web-ui/static/active/en/resource/technical/document/application_note/CD00264342.pdf

    ) and implement your own state machine

    - option #2: import Google code (

    http://sourceforge.net/projects/stm32flash/

    ) into your host processor

    j

    markb
    Associate III
    October 5, 2015
    Posted on October 05, 2015 at 10:17

    Hi,

    What I have done is implement a ''pass through'' mode in my MCU (STM32F405) that simply passes characters between the USB CDC and the UART and

    then I run stm32flash on my Linux host.

    Cheers,

    Mark

    valentin
    Associate III
    February 15, 2017
    Posted on February 15, 2017 at 20:28

    Did just the same here using USB CDC, freertos and UART. works like a treat. Took me a bit to figure it all out though.

    Grigori
    GrigoriAuthor
    Associate II
    October 6, 2015
    Posted on October 06, 2015 at 09:32

    The problem is that we have to remotely mass update WLAN firmware in thousands of devices. At least we have to support this option.