BACKDOOR KEY Verify Failed if request multiple times in a power on cycle

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

BACKDOOR KEY Verify Failed if request multiple times in a power on cycle

609 次查看
Asher
Contributor II

Hi:

   I met a question about backdoor access function Based on S32K144/S32K146 chip.

  The situation is that the first time of unlocking by backdoor access key always pass at a power-on cycle of MCU. but if I retry to unlock several times, the result will generate MCU CORE LOCK reset cause sometimes. Blows figure is the backdoor access function code. Do you have any idea for this situation?

Asher_0-1743412440619.png

 

 

标记 (2)
0 项奖励
回复
4 回复数

554 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Asher,

I'm not able to replicate it.

What is the purpose of launching the command several times?

If the command passes successfully, the MCU is unlocked untill it is reset.

Please read FSEC[SEC] and launch the command only if SEC = Secure.

 

BR, Daniel

 

0 项奖励
回复

506 次查看
Asher
Contributor II

Hi @danielmartynek :

 Thanks for your information.

For your question: 

What is the purpose of launching the command several times?

 In our project, software verify backdoor key by a CAN communication request,  the software should ensure that sending communication requests does not result in a software reset. So, Sending multiple unlock request is a test situation.

The failure frequency is not fixed. It may occur once every five times or once every ten or more times.

By the way, the flash command code is running at PFLASH memory area, are you replicate it at the same situation? or I have to program the code at RAM memory area?

Looking forward to your reply!

 

-------------------

Best regards

Asher

 

 

标记 (1)
0 项奖励
回复

481 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Asher,

I used a modified version of this example.

https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-Verify-Backdoor-Access-Key-S32DS1-3...

I can reproduce the issue only when the command is launched from PFlash, where it fails with an FTFC Read Collision Error (RDCOLERR). Previously, I tested it with the code in SRAM only.

I don't see this requirement mentioned in the documentation anywhere, so I reported it.

 

Best regards,

Daniel

 

 

 

 

0 项奖励
回复

450 次查看
Asher
Contributor II

Hi @danielmartynek :

    I catch your point,  I will try run flash command code in RAM.

    Thanks for all your support!

 

 

------------------------

Best Regards

Asher

0 项奖励
回复