Invoking the Bootloader¶
- Hardware.
- Turn OFF and ON the board with T2 pressed, blue LED glows indicating that the board switched to bootloader mode.
- Software
- Write 0x4E494F43 ('N','I','O','C') to MAGIC_LOCATION (0x2003FFF4)
- Write 0x0 or 0xF0000 to APP_START_ADDR (0x2003FFF8)
- Call NVIC_SystemReset()
- Invoke Bootloader from Software
- The same feature can also be used to perform application switch ( 2 or more applications can reside in the same flash memory at different address locations ). Just write the application start address to APP_START_ADDR instead of bootloader address