SPRADN2 January 2025 MSPM0G1518 , MSPM0G1519 , MSPM0G3518 , MSPM0G3519 , MSPM0L1227 , MSPM0L1228 , MSPM0L2227 , MSPM0L2228
Start with an empty project. Open Sysconfig and check the boxes for Enable CSC Policy and Enable Flash Bank Swap Policy in Configuration NVM (NONMAIN).
Figure 3-1 NONMAIN Configuration To
Enable CSC PolicySave the NONMAIN configuration and program the MCU with new NONMAIN information. TI recommends to program the NONMAIN alone. For security purposes, MSPM0 devices require a valid Configuration NVM (NONMAIN) at all times. When updating Configuration NVM, the old Configuration NVM configuration is erased, and the new configuration is programmed. Any interruption during the erase or re-program operations (that is, unplugging device, removing SWD jumpers, hitting reset by accident, canceling the code download, an IDE crash, and so forth) can brick the device permanently. Improper configuration of Configuration NVM can also lead to permanent locking of the device.
Change the erase configuration in project -> Properties -> Debug -> MSPM0 Flash Settings -> Erase method choose Erase MAIN and NONMAIN memory (see warning above). This setting allows customers to erase the NONMAIN and program with new configurations. This takes similar steps for other IDE or programmer tools to enable erase NONMAIN setting to program the NONMAIN configuration to the chip.
Figure 3-2 Erase Method
Configuration