Flash Partitioning

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

Flash Partitioning

636 Views
sungjun
Contributor II

hello. NXP team.
I'm using S32k146.
A core secure operation occurred during flash partitioning.

Afterwards, I cannot download my sw via trace32.

The function performed before core secure operation is FLASH_DRV_EraseAllBlock.

What should I do?


sungjun_0-1718623450628.png

 

0 Kudos
Reply
1 Reply

615 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @sungjun,

If Trace32 cannot mass erase the MCU, and it reports that the MCU is locked, it probably cannot be recovered.

Refer to AN12130 Production Flash Programming Best Practices for S32K1xx MCUs

https://www.nxp.com/docs/en/application-note/AN12130.pdf

Chapter 5 Common problems

 

It is also recommended to use the Erase All Blocks Unsecure FTFC command instead as it programs the FSEC byte to Unsecure.

danielmartynek_0-1718698874040.png

 

Regards,

Daniel

 

0 Kudos
Reply