I am working on a project that requires me to know how to lock and unlock an LPC55S28JBD100 microcontroller. I have perused the user guides for the chip itself, the MCUXpresso IDE, the MCUXpresso Secure Provisioning Tool, and the user guide for the J-link probe I am using to connect to and read the flash content.
I am doing this on a development board from NXP for the LPC55S28 microcontroller. When I first got the development board and flashed the chip using the IDE, I had to unlock it by using a J-link command. The command worked and the chip was unlocked, but I need to know how to lock it again to recreate the process.
I would like to be able to write a program to the chip using the IDE, lock it, and then verify it can be unlocked using my J-link probe and the on-board SWD interface.