How can I use the Backdoor Comparison Key without Flash commands

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

How can I use the Backdoor Comparison Key without Flash commands

Jump to solution
2,529 Views
香龙朱
Contributor II

   Hi, all

   In S32K-RM.pdf, I know how to use the backdoor key to unsecure the chip. But if the chip is secured and there's no porgram in it. How can I unsecure it with backdoor key? Is there any tools or applications?

   anyone can tell me?

 

Thanks!

backdoor.PNG

Labels (1)
Tags (2)
0 Kudos
1 Solution
2,030 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

There is an example that shows use of the feature.

https://community.nxp.com/docs/DOC-335429 

Unfortunately, the backdoor key can be used to unlock the MCU by the FTFC command only.

If you want to unlock the MCU from outside, you need to mass erase the whole chip.

Regards,

Daniel

View solution in original post

3 Replies
2,030 Views
paul_lalthuamsa
Contributor I

Hi Daniel,

I am using chip FS32K144HAMLL which is expected to have CSE, but i am facing of issue of Hardfault on access to PRAM.(attached pic, it stuck on PRAM)

Debugger used: segger j-link base.

Example program tried: 1_configure_part_load_keys project from AN5401SW.

I have check this same project on S32K144EVB (with on board PE debugger) which has chip label PS32K144UAVLLA, it works.

pastedImage_1.png

Waiting for your comment!!

The chip what i used on my board seen to have CSE

pastedImage_2.png

0 Kudos
2,030 Views
ummerkunnummalk
Contributor III

Hi paullalthuamsanga,

   Please check the PRAM base address in S32K144.h. It should be #define CSE_PRAM_BASE (0x14000800u).

0 Kudos
2,031 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

There is an example that shows use of the feature.

https://community.nxp.com/docs/DOC-335429 

Unfortunately, the backdoor key can be used to unlock the MCU by the FTFC command only.

If you want to unlock the MCU from outside, you need to mass erase the whole chip.

Regards,

Daniel