SLAAEQ5 March 2025 MSPM0C1103 , MSPM0C1104 , MSPM0C1104-Q1 , MSPM0C1105 , MSPM0C1106 , MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G1518 , MSPM0G1519 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0G3518 , MSPM0G3518-Q1 , MSPM0G3519 , MSPM0G3519-Q1 , MSPM0H3216 , MSPM0L1105 , MSPM0L1106 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346 , MSPM0L2228 , MSPM0L2228-Q1
MSPM0 utilizes the SEC-AP to communicating with application software by DSSM. The prerequisite for this to work is that the Arm serial wire debug port needs to be retained to make sure that data can be received. Then, the data can be dealt in DSSM. At the same time, to prevent hackers from accessing the MCU app code, the AHB-AP port is disabled in Nonmain.
For factory reset, to prevent the MCU code from being easily cleared, choose to disable in Nonmain.
The most important part of the configuration process is the password setting. Since there is extra space in the Nonmain area of the MSPM0C that is not allocated to the corresponding register, the software password can be stored here. Doing so also allows customers to avoid having to repeatedly burn the password into the MCU when updating the code later.
According to the above, MSPM0C series Nonmain configuration is as shown in Table 3-2.
| Offset | Acronym | Setting Value | Purpose |
|---|---|---|---|
| 41C00000h | BCRCONFIGID | 0x00000003 |
Configuration ID of the BOOTCFG |
| 41C00004h | BOOTCFG0 | 0xAABBFFFF | The SW-DP is enabled but AHB-AP, ET-AP, PWR-AP are disabled |
| 41C00008h | BOOTCFG3 | 0xFFFFFFFF | Disable factory reset command;Disable static write protection configuration for Non-Main |
| 41C0000Ch | SWPMAINLOW | 0xFFFFFFFF | Disable lower part Flash protection |
| 41C00010h | SWPMAINHIGH | 0xFFFFFFFF | Disable higher part Flash protection |
| 41C00014h | Password0 | Customization | No hardware register. Use Nonmain remain free area to store the password |
| 41C00018h | Password1 | ||
| 41C0001Ch | Password2 | ||
| 41C00020h | Password3 |