When debugging the CSEc module of the S32K1xx chip, the chip is locked

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

When debugging the CSEc module of the S32K1xx chip, the chip is locked

Jump to solution
533 Views
ZEROOO
Contributor IV

Hi

    When debugging the CSEc module of the S32K1xx chip, the chip is locked, the debugger cannot be connected, and cannot be unlocked.

    CPU:S32K118

    Debugger:IC5000

   Fault phenomenon:1. The CSEc partition fails to be destroyed. 2. The CPU locks, all registers are inaccessible, and the winidea debugger is displayed offline.

    Method of fault recurrence:

    1.First execute the partition code, allocate space for the CSEc module, and then change another program to brush into the same CPU, and then use the command to erase the csec partition can not be executed correctly, this process has not changed MASTER_Key, but can not clear the partition of FlexNvm.

    2.Since it could not be erased, I tried to directly insert 0xFF to the flexnvm address to erase, and then execute mass erase, resulting in MCU lock, how to unlock, using the debugger can not unlock, winidea using unsecure return failure.

 

    I have asked for help many times on the forums and ticket post, hoping for technical support to help solve this problem, especially phenomenon 1, which is the primary reason why I locked the MCU. Thank you!

 

 

0 Kudos
Reply
1 Solution
414 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @ZEROOO 

Unfortunately, there is a high probability that the MCU can not be unlocked.

Please take a look at the below application notes that could help you.

Using the Kinetis Security and Flash Protection Features.

Production Flash Programming Best Practices for S32K1xx MCUs.

 

B.R.

VaneB

View solution in original post

1 Reply
415 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @ZEROOO 

Unfortunately, there is a high probability that the MCU can not be unlocked.

Please take a look at the below application notes that could help you.

Using the Kinetis Security and Flash Protection Features.

Production Flash Programming Best Practices for S32K1xx MCUs.

 

B.R.

VaneB