Skip to main content
benjamintreuillard9
Associate
March 28, 2012
Question

STM32F10xx programming through bootloader

  • March 28, 2012
  • 4 replies
  • 896 views
Posted on March 28, 2012 at 14:24

Hi,

I'm working on an STM32F100C4 already implemented on a board without IAP.

I wanted to know if it is possible to reprogramme it through the bootloader with UART.

Thank you,

Benjamin

#stm32 #bootloader
This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
March 28, 2012
Posted on March 28, 2012 at 16:12

The protocol is well documented, and source for the ''Flash Loader Demonstrator'' is available.

You can set BOOT0 to boot into the system loader, or alternatively you could call into it at reset.

http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/USER_MANUAL/CD00171488.pdf

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
benjamintreuillard9
Associate
March 29, 2012
Posted on March 29, 2012 at 09:28

Thank for your answer,

I haven't find source code for ''Flash Loader Demonstrator''.

To be more precise :

i have a STM32F on a board which can communicate only with an embedded linux through UART.

I don't know which file is the proper executable code to write on flash.

thank in advance,
trevor23
Associate III
March 29, 2012
Posted on March 29, 2012 at 10:03

If you need a tool to work in Linux see here:

http://code.google.com/p/stm32flash/
benjamintreuillard9
Associate
March 29, 2012
Posted on March 29, 2012 at 10:43

Thank for this link, it gone help me.