1.8.2 File System Bootloader system level execution flow
The Bootloader code starts executing on a device Reset
If there are no conditions to enter the firmware upgrade mode, the Bootloader starts executing the user application
Refer to Bootloader Trigger Methods for different conditions to enter firmware upgrade mode
The Bootloader performs Flash erase/program operations while in the firmware upgrade mode