SLAAEO4 November 2025 MSPM0G3507 , MSPM0L1306
To enable the Flash Static Write Protection, set the bit of the MAIN SWP as 0.Tthe minimum memory range is 1KB or 8KB and is dependent on the protected sector order. For more details, see Section 3.1.3.
Figure 4-6 shows how to configure the static write protection of MSPM0G3507. For FLASHSWP0 (Lower sectors), 1 bit represents 1 sector in flash memory (1KB), and a value of 0 indicates the write protection applies to the corresponding sector.
For FLASHSWP1 (the remaining sectors), 1 bit represents 8 sectors in flash memory. The lower 4 bits and higher 16-bit are ignored, which means FLASHSWP1 protects the memory address from 32KB to 128KB. A value of 0 indicates the write protection applies to the corresponding sectors.
The SysConfig tool also supports the NONMAIN static write protection, after the device locks the write/erase operation of FLASHCTL of the NONMAIN region are enabled. Only the factory reset generated using the DSSM command restore the NONMAIN.