Skip to main content
Keith Smith
Visitor II
October 9, 2015
Question

STM32F103 Update Flash Program from IAP

  • October 9, 2015
  • 1 reply
  • 687 views
Posted on October 09, 2015 at 16:32

I would like to be able to reprogram the Flash program on my STM32F103 chip via in-application programming.

Essentially be able to upgrade the firmware without JTAG or bootloader jumper.

I have the PM0075 Programming Manual. I have the source, stm32f10x_flash.<c,h>

I have enough RAM to hold the entire program to be flashed.

I have not seen any application notes or forum postings on performing this task.

Many years ago, I had to perform this task and a small amount of code was located in RAM and this code performed the flash erase and write, along with the reboot after write.

Is this still the process to use to reprogram the flash via an application?

Keith Smith
    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    October 9, 2015
    Posted on October 09, 2015 at 16:52

    I have not seen any application notes or forum postings on performing this task.

    Going to need to polish up on your Google skills, because this kind of stuff is pretty frequently covered.

    http://www.st.com/web/en/resource/technical/document/application_note/CD00161640.pdf

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..