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.
This is a topic covered dozens of times, perhaps the answers would be salient for you as well. Review.
See IAP examples.
Hi sudhan j,
There is an application note AN4852: 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 "X-CUBE-EXTBOOT" could be downloaded from ST website. You may have a look at it. I think it will help you to develop your custom bootloader.
Retrieving data ...