Hello corytodd,
I just got new reply from SE team as below, you can refer to the method to unlock your chip.
"
We are confirming with Segger, they still doesn't clarify what the J-Link unlock command would do. So we are still following up this issue.
We provide another way, customer can test it. Please see attached zip, it has two scripts, suggest they use LPC546xxMassErase.scp with EVK on-board LPC-Link and MCUXpresso IDE first.
Assume that MCUXpressoIDE_11.4.0_6237 is installed in C:\nxp\MCUXpressoIDE_11.4.0_6237.
- Please place LPC546xxMassErase.scp to C:\nxp\MCUXpressoIDE_11.4.0_6237\ide\binaries\Scripts.
- Open a Command Prompt window.
- Change the path to C:\nxp\MCUXpressoIDE_11.4.0_6237\ide\binaries.
- Execute the command of redlinkserv -commandline.
- After the execution of the command of redlinkserv -commandline, you should see redlink> prompt.
- Execute the command of load "C:\nxp\MCUXpressoIDE_11.4.0_6237\ide\binaries\Scripts\LPC546xxMassErase.scp".
- After the execution of the command of load "C:\nxp\MCUXpressoIDE_11.4.0_6237\ide\binaries\Scripts\LPC546xxMassErase.scp", you should see Loading " LPC546xxMassErase.scp".
- Execute the command of run.
- After the execution of the command of run, you should see messages below.
If customer doesn’t program any OTP field, then it should work.
I also provide a J-Link command script, just for reference, still suggest they use above method first, to avoid the impact of JLink tool set.
Assume JLink is installed in C:\Program Files (x86)\SEGGER\JLink.
- Open a Command Prompt window.
- Change the path to C:\Program Files (x86)\SEGGER\JLink.
- Execute the command like shown below:
- JLink.exe -Device LPC54605J512 -If SWD -speed 4000 -CommanderScript "The path of LPC546xxMassErase.jlink "