Other Parts Discussed in Thread: UNIFLASH
Tool/software:
I have big trouble unlocking my MSP432P4111
I used MSP432P4xx Security and Update tool to generate one hex file that do two things:
- Configure factory reset with a password
- Lock JTAG / SWD with a password
Then i used Uniflash to flash that hex file, so my microcontroller is locked now.
Now i want to unlock so i tried two things:
1- I generated a hex file using MSP432P4xx Security and Update tool that performs a factory reset with a password but it will not work as JTAG/SWD are locked and no way to flash it.
2- I opened Code composer and tried the approach explained in slau575k.pdf to do a factory reset with a password by running a gel script and putting my password in the script, but it did not work and i got this result

3- Tried to use Uniflash but it is impossible as i always get this result when doing any operation, and also there is no unlock with a password option.
4- I tried running those commands and they dont even run and does not have an option for a password so it is probably not a solution.
- dbgjtag -f @xds110 -Y unlock,mode=msp432p4
- dbgjtag -f @xds110 -Y unlock,mode=msp432p4011
Note:
- I tested on several MSP432P4111 boards and i get the same result!
- I am not using BSL.
- I am sure about the password as I used the same number for the whole password so no chance to be wrong.
- I have checked on many answers on this forum and answers to my previous question and they all are not viable or did not work.
- It is crucial to be able to unlock this microcontroller as it is part of our business and cannot be changed soon.




