Question about UTEST Secure boot configuration with DCF clients on MPC5777C

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

Question about UTEST Secure boot configuration with DCF clients on MPC5777C

739 次查看
Zhongling_Lang
NXP Employee
NXP Employee

Hi team,

 

Customer have issue with secure boot which showing system memory error in CSE_ECR register on MPC5777C occasionally and the secure boot failed.

Zhongling_Lang_0-1706497822661.png

So we check the AN5418 which said the CSE and boot code may be interfere with each other in parallel mode.

Zhongling_Lang_1-1706498277734.png

So customer want to run sequential secure boot mode with DCF configuration, but the RM show that it only can configure by NXP(write_once), So question is why it have this restriction? and how to resolve this issue in customer boot code, the AN just said set CSE_CR[SUS] to 1.

Zhongling_Lang_2-1706498580434.png

 

0 项奖励
回复
1 回复

717 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @Zhongling_Lang 

yes, the DCF record is write-once only and it cannot be changed by user. It's configured to parallel mode.

The CSE reads the flash in parallel to running application code, so application code should not configure the flash at this moment (like configuring wait states or prefetching...) and it should not start other flash operations (program/erase, flash array integrity check...). Workaround is to read the CSE status register to check if the secure boot is already finished and then you can safely run such operations. Or, as mentioned in your screenshot, suspend the secure boot, perform the flash configuration and resume the secure boot.

Regards,

Lukas

0 项奖励
回复