Tool/software:
I am developing a flash programmer for MSPM0 that runs on a Teradyne In-circuit tester that runs through the SWD.
I have successfully developed this Flash Programmer for the MSPM0G1507. It works fine for 2 of 3 firmware samples that I have. The 3rd firmware sample appears to shut down my access to the core by the SWD after is boots.
I want to find out if I am in SWD Security level 1 or level 2. If only level 1, I need to know if there is a well-documented procedure that that will mass-erase or factory-reset the part?
Here is the condition of the SWD at this point. I am able to read the IDCODE, but any attempt to read the IDR register or any register in the core will generate an ACK=001b fault on the SWD. If I hold the NRST pin low, I get the correct ACK=100b, but the contents of any register I access is always reads 0x00000000, including the IDR. By this behavior, can you tell me what Security Level I am in?