forked from blackmagic-debug/blackmagic
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blackpill-f4: Unmap BootROM after ST DFU done
* After using ST MaskROM for initial reprogramming of BMD bootloader (or BMF), code gets to run with `SYSCFG_MEMRMP=0b01` System memory still mapped on 0x0, and with a `SCB_VTOR` of 0 any interrupts will invoke MaskROM handlers, crashing firmware. * Unmap it both in BMD bootloader and in BMF, restoring normal operation and eliminating the need for initial manual/double reset (by pushbuttons).
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters