Hi @yuanzhiwen
To avoid locking the MCU again, make sure the J-Link does not reset the device when connecting. Instead, you will need to use a special J-Link script that allows you to attach without triggering a reset. You can find the script and instructions here: SEGGER Wiki – S32Kxxx Attach to Debug Session
To run it, just launch J-Link Commander like this:
C:\Programme\SEGGER\JLink\JLink.exe -JLinkScriptFile NXP_Kinetis_S32_Attach.JLinkScript
This way, the MCU stays running and you’ll have full access to memory and registers.
If you run into any issues or need more help, please contact SEGGER support.
BR, VaneB