App note: STM32F10x in-application programming using the USART

Posted on Sunday, April 13th, 2014 in app notes by DP


Programming the STM32F10x via USART with this app note from STMicroelectronics

The STM32F10x microcontroller can run user-specific firmware to perform in-application programming (IAP) of the microcontroller-embedded Flash memory.

IAP driver must be program first to the Flash memory base address via JTAG/SWD interface using the development toolchain of your choice or the factory-embedded boot loader in the System memory area.

Then IAP driver can do:

-Download the binary file from PC via USART to the STM32F10x’s internal Flash Memory

-Upload the STM32F10x’s internal flash memory content (starting from the defined user application address) into a binary file.

-Execute the user program.

This entry was posted on Sunday, April 13th, 2014 at 1:00 pm and is filed under app notes. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Joe Desbonnet: Ya, I can recommend the low melting point solder. I used brand 'ChipQuik' and it's amazingly easy to use.
  • Jerome: I need a new BusPirate for the Fablab ;) Many thanks!
  • Max: Seems like an unexpectedly violent way to remove the chip indeed. A hot air station should of course do the job just fine, but in...
  • jose: Part removal described here is pure butchery, the cheapest hot air station will do a fast and clean job removing the QFP, heat air to...
  • Cody: Yes please