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:
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.