cancel
Showing results for 
Search instead for 
Did you mean: 

SPWF01SC.21: In-device firmware update over UART

Grigori
Associate II
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.
4 REPLIES 4
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 II
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

Grigori
Associate II
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.

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.