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
If the MCU has been password locked, then the following steps show how to reconnect the MCU and debug a new project.
Since the Nonmain has been configured during the first programming, there is no need to configure Nonmain for subsequent programming. For projects that are burned or debugged later, some changes need to be made. First, disable Nonmain flashing in the project properties, then comment out the Nonmain configuration code in boot_configwithPassword.c, as shown in Figure 4-2 and Figure 4-3.
Figure 4-2 Disable Nonmain Flashing
Figure 4-3 Comment Nonmain Configuration
CodeAfter modification is completed, the following steps need to be performed to unlock and debug the MCU.
Figure 4-4 Open Target Configuration
Figure 4-5 Add Scripts
Figure 4-6 Input Password by GUI
Figure 4-7 Launch the Configuration
Figure 4-8 Run the Script
Figure 4-9 Message Showing The Process of
Mailbox
Figure 4-10 Console Information
Figure 4-11 Fail to Connect MCU