cancel
Showing results for 
Search instead for 
Did you mean: 

How to run custom bootloader...?

sudhan j
Associate II
Posted on March 10, 2017 at 10:43

Hi ,

I'm writing one custom  bootloader which sits on top of actual serial bootloader . when I pull boot0 to low my custom booloader should run instead of running main application. Please give me some suggestions for solving this.

2 REPLIES 2
Posted on March 10, 2017 at 12:56

This is a topic covered dozens of times, perhaps the answers would be salient for you as well. Review. 

See IAP examples.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Khouloud GARSI
Lead II
Posted on March 10, 2017 at 14:56

Hi

jogineni.madhu_babu

‌,

There is an application note

http://www.st.com/content/ccc/resource/technical/document/application_note/group0/a7/3c/23/3b/05/2d/45/73/DM00281415/files/DM002814pdf/jcr:content/translations/en.DM002814pdf

: Programming an external Flash memory using the UART bootloader built-in STM32 microcontrollers.

This application note is provided with an example firmware 'X-CUBE-EXTBOOT' showing how to program an external Quad-SPI flash memory using a developed user boot-code based on the internal UART bootloader protocol.

The firmware '

http://www.st.com/en/embedded-software/x-cube-extboot.html

' could be downloaded from ST website. You may have a look at it. I think it will help you to develop your custom bootloader.

Khouloud.