circuitpython/ports/stm32/boards/STM32F769DISC
Damien George 04c7cdb668 stm32: Enter bootloader via a system reset.
Entering a bootloader (ST system bootloader, or custom mboot) from software
by directly branching to it is not reliable, and the reliability of it
working can depend on the peripherals that were enabled by the application
code.  It's also not possible to branch to a bootloader if the WDT is
enabled (unless the bootloader has specific provisions to feed the WDT).

This patch changes the way a bootloader is entered from software by first
doing a complete system reset, then branching to the desired bootloader
early on in the start-up process.  The top two words of RAM (of the stack)
are reserved to store flags indicating that the bootloader should be
entered after a reset.
2019-06-25 14:15:49 +10:00
..
board_init.c stm32/boards/STM32F769DISC: Use external QSPI flash to store some code. 2019-03-04 22:40:15 +11:00
f769_qspi.ld stm32: Enter bootloader via a system reset. 2019-06-25 14:15:49 +10:00
mpconfigboard.h stm32: Rename MICROPY_HW_HAS_SDCARD to MICROPY_HW_ENABLE_SDCARD. 2019-04-01 15:21:26 +11:00
mpconfigboard.mk stm32/boards: Enable ussl module via mbedtls for boards with network. 2019-06-24 17:48:28 +10:00
pins.csv stm32/boards/STM32F769DISC: Use external QSPI flash to store some code. 2019-03-04 22:40:15 +11:00
stm32f7xx_hal_conf.h stm32/boards/STM32F769DISC: Add optional support for external SDRAM. 2018-09-20 11:42:03 +10:00