This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0L1306: Unlocking via SWD SEC-AP using a password

Part Number: MSPM0L1306

Tool/software:

Hello,

I am implementing support of the MSPM0L1306 for a programmer. I am able to program the MCU including its NONMAIN via SWD. I am able to protect it using a password, when I set BOOTCFG0=0xAABBCCDD or when I set a password for MassErase and write BOOTCFG3=0xAABBCCDD. 

But I am not able to unprotect it or MassErase using the password. I tried to communicate with the MCU via SEC-AP as described in the .pptx file here:

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1380289/mspm0l1306-mspm0l-mass-erase-and-factory-reset-via-swd

There is a diagram at page 9. This diagram works nice when the MCU is not protected or I can use it for the Factory reset when the Factory reset is not protected.

But when I set the BOOTCFG0 or BOOTCFG3 registers as I described above and send MassErase or Password authentication command, after the reset the MCU never answers in the SECAP_RCR, I can wait forever, it always answers zero only.

When not protected or when I send the Factory reset command, then the MCU answers properly.

What is wrong, please? 

How should I communicate with the MCU so that it answers for the MassErase or Passsword  authentication commands? Or should there be something else set in the NONMAIN?

Thank you.