S32K142 Csec FlashPartition run in ram

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

S32K142 Csec FlashPartition run in ram

Jump to solution
668 Views
top
Contributor I

Hi

Now i used SDK RTM v4.0.2 Example Project about "csec_keyconfig“,In initFlashForCsecOperation Function montioned Flash partitioning for CSEc operation must only be ran with RAM configuration.

1.can i run some function in ram such as FLASH_DRV_DEFlashPartition,FLASH_DRV_CommandSequence ... or all project run in ram?

0 Kudos
Reply
1 Solution
596 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Yes, it is needed to do it in steps with reset in between. 

View solution in original post

0 Kudos
Reply
3 Replies
641 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

This needs only first time to run from RAM (as flash partitioning needs to be done only once), so may run the whole project from RAM.

But in principle only flashing routines needs to run from RAM to avoid read-while-write issues.

0 Kudos
Reply
621 Views
top
Contributor I

thanks

but When conducting quantity production, is it necessary to first burn a program that runs entirely in RAM to partition Flash, and then burn the app?

0 Kudos
Reply
597 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Yes, it is needed to do it in steps with reset in between. 

0 Kudos
Reply