cancel
Showing results for 
Search instead for 
Did you mean: 

Flashing by USART

cfournier9
Associate II
Posted on September 23, 2007 at 20:14

Flashing by USART

2 REPLIES 2
cfournier9
Associate II
Posted on May 17, 2011 at 12:15

Hello,

By reading the documentation of the STM32, it would be possible to reprogram by a USART. But is not specified how to do it.

1-Using the USART for reprogramming, which pin must be connected on board to reprog flash memory?

2-Which USART (1,2 or 3) is dedicated for reprogramming the flash?

3-Is there a toolloader for reprogramming via A desktop computer ?

4-Does the STM32 have a bootloader allowing the reprogramming via the JTAG?

thank and good holidays

16-32micros
Associate III
Posted on May 17, 2011 at 12:15

Dear glouglou4485,

In STM32 we have an embbeded bootloader via USART1 and we will provide soon a PC windows Desktop Applet for free to be able to program the STM32 internal flash memory.

Else with JTAG or Serial Wire, you can also program the STM32 using any Third Parties Toolchain or Mass Programmers like ELNEC or others are coming.

Last, you can also design you own bootloader ( via your preferred Communication protocol ) and put it in the first pages of STM32 internal memory: This method is called IAP and we already have provided two examples on Internet : AN2557 ( via UART & Windows Hypertminal ) and also the DFU via USB (refer to STM32 USB Developer Kit & DFuSe Software)

With best regards,

STOne-32