I have read AN2606 about the native ST bootloader, but for various reasons decided to write my own bootloader to update the firmware on my application running on a STM32F412. My bootloader is able to program the firmware successfully. Now I want to be able to start the micro in my bootloader using the BOOT0 pin. Is it possible to disable the native bootloader in some way or isolate the BOOT0 pin from the native bootloader to do this or will I need to pick a different pin?
Electronic – Use STM32 BOOT0 to boot custom bootloader instead of ST bootlaoder
bootloaderstm32
Related Topic
- Electronic – Can the firmware on STM32F4 be updated through USB without toggling Boot0
- Electronic – Bootloader for PIC24EP
- Electronic – STM32F091 Jump to Bootloader from application
- Electrical – STM32L07xxx boot problems
- Electronic – Upgrade user application using custom bootloader via UART (STM32)
- Electrical – STM32L011 jump to bootloader from user code
- Electronic – STM32 Bootloader: How to ensure only uncorrupted firmware boots
Best Answer
No, the documention makes it quite clear that such behavior is fixed.
But you can use a different GPIO pin of your choice to control your bootloader's behavior - ie, boot the target firmware or stay in bootloader mode.
You could also use commands issued to the stock factory ROM bootloader to start your custom one, but that seems a little pointless as at that point you might as well just use the stock one.