AnsweredAssumed Answered

S32K144EVB-Can't program, erase mass & debug, and the reset pin is always low.

Question asked by Dee Alen on Oct 10, 2018
Latest reply on Oct 10, 2018 by Dee Alen

I get the info below from the MDK when I user jlink to debug the board:



* JLink Info: InitTarget()
* JLink Info: Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.
For debugger connection the device needs to be unsecured.
Note: Unsecuring will trigger a mass erase of the internal flash.
* JLink Info: Executing default behavior previously saved in the registry.
* JLink Info: Device will be unsecured now.
* JLink Info: Found SW-DP with ID 0x2BA01477
* JLink Info: Scanning AP map to find all available APs
* JLink Info: AP[2]: Stopped AP scan as end of AP map has been reached
* JLink Info: AP[0]: AHB-AP (IDR: 0x24770011)
* JLink Info: AP[1]: JTAG-AP (IDR: 0x001C0000)
* JLink Info: Iterating through AP map to find AHB-AP to use
* JLink Info: AP[0]: Skipped. Invalid implementer code read from CPUIDVal[31:24] = 0x00
* JLink Info: AP[1]: Skipped. Not an AHB-AP
***JLink Error: Could not find core in Coresight setup
Error: Flash Download failed - Target DLL has been cancelled


I have try to recover: 

1. Download Kinetis recovery utility from

2. Make sure EVB is powered using 12V adapter and USB is connected to computer. All jumpers must be placed as per details in Quick start guide.

3. Launch the Kinetis utility, Select OpenSDAUSB under Test Hardware and SWD under communication. Click on Start.

4. Use should able to see the message "Continuously attempting to halt processor" and "Please try power cycling your board until this operation is sucessful" in the Kinetis utility console.

5. Remove the 12V adapter and reconnect. Now the message "Success. Process halted" is printed on the console. Close the Kinetis utility.

6. Reprogram the new software using NxpS32 Design Studio.

But I didn't recive the message "Success. Process halted" when I acture step 5.

It seemed to be secured, but I can't erase mass, so It can't to be unsecure, What should I do?

Thanks for helping!