SLAAEO4 November 2025 MSPM0G3507 , MSPM0L1306
The ROM BSL provides an option to use an alternative (secondary) BSL. To achieve this, load the alternative BSL image in the main flash memory and register the image address in the BSLCONFIG1.ALTBSLCONFIG field.
When BSL is invoked, the ROM BCR checks for the alternative BSL presence (BSLCONFIG1.ALTBSLCONFIG field). If the alternative BSL is enabled, the ROM BCR branches to the alternative BSL. The ROM BSL is not expected to execute at this moment.
The BSL policy (Section 3.1.7) in the BCR configuration also applies to secondary BSL. When the BSL policy setting is disabled, a hardware pin check or software reset does not invoke a secondary BSL.
To avoid unintended erase during the bootloading process, do write-protect the flash memory region where the secondary BSL is loaded in Main Flash Static Write Protection (Section 3.1.3.1). Non-main write protection is optional in case of a secondary bootloader. After NONMAIN erase, the secondary BSL API pointer should be properly restored.
The secondary BSL allows for further flexibility for the BSL customization. Modify the full configuration of communication interfaces, protocol, and security features based on the user expectation. If supported by the device, follow the below steps to enable the secondary BSL:
Refer to MSPM0 Bootloader (BSL) user's guide and the MSPM0 Bootloader Implementation application note for more details on secondary BSL implementation.
SDK example provides a series of examples for the secondary BSL interface implementation.