Copy code from Flash to RAM and run s32K342

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

Copy code from Flash to RAM and run s32K342

445 Views
Kazarian
Contributor III

Hello,

I am currently working with the S32K342 microcontroller and S32DS v3.5 , SDK v4.0.0, and I have a requirement that during startup the complete program should be copied from flash to RAM . so it will execute fully from RAM.


Probably i need to modify some sections on linker script, also modify the startup code, but im not very familair with this device yet. I would appreciate guidance on how to do it.

Best regards.

Tags (1)
0 Kudos
Reply
3 Replies

411 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

340 Views
Kazarian
Contributor III

Hello @davidtosenovjan  / NXP team,

any update on this topic !

Thanks & regards.

0 Kudos
Reply

406 Views
Kazarian
Contributor III

Hello David,

this is not what im searching for. the example you provided is just for copying 1 function from flash to RAM.

what i want is to copy the complete code during startup from flash and execute it from RAM only.

Best regards.

0 Kudos
Reply