Part Number: MSP432P401R
MSP432P401R JTAG/SWD LOCK
Trying to issue a factory reset command to the MSP432P401R chip to unlock the chip.
Just tried the method mentioned by somebody in the forum, which is this:
Section 126.96.36.199 Recovering a "Locked" Microcontroller(page 188 out of 1817).
The result is not ideal, the part is permanently lock(even the dongle can unlock it no more).
I am suspecting that the unlock sequence of MSP432P401R should consist the following sections:
Section one, run the following routine twice:
JTAG-to-SWD switch sequence(just like the one that is mentioned in the MSP432E4 datasheet above).
SWD-to-JTAG switch sequence(just like the one that is mentioned in the MSP432E4 datasheet above).
Section two, go to this datasheet: www.ti.com/.../slau356i.pdf
and focus on the SYSCTL registers which has the offset value between 0x1000 to 0x1020.
Using SWD for the following operations.
SYS_MASTER_UNLOCK Register (offset = 1000h), go to the UNLKEY field, write 0x695A.
SYS_SYSTEM_STAT Register (offset = 1020h), read the value back. should get something like binary 1 10XX.
SYS_BOOTOVER_REQ0 Register (offset = 1004h), write 0x1.
SYS_BOOTOVER_REQ1 Register (offset = 1008h), write 0x0.
SYS_RESET_REQ Register (offset = 1010h), write 0x6902 to generate a Reboot Reset pulses to the device Reset Controller.
Section three, about a second later, the chip is unlocked.