Question about UTEST Secure boot configuration with DCF clients on MPC5777C

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

Question about UTEST Secure boot configuration with DCF clients on MPC5777C

403 Views
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 Kudos
Reply
1 Reply

381 Views
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 Kudos
Reply