To exit the BSL mode, two possibilities are provided:
- The microcontroller continues operation at a defined program address invoked by the load program counter command. Be aware that the password protection is not active at this time. In this case, the user application should ensure that the flash is locked, as this is not done by the BSL. Leaving the BSL unlocked increases the risk of erroneously modifying the flash due to system or software errors. On 2xx devices, the correct setting of the LOCKA bit should also be checked.
- Applying the standard RESET sequence (see Figure 1-1) forces the microcontroller to start with the user reset vector at address 0FFFEh.