Abhijit Khadtare

How to Copy Function from Flash to RAM & execute it

Discussion created by Abhijit Khadtare on Nov 23, 2011
Latest reply on Dec 1, 2011 by Abhijit Khadtare

Hi

 

We are using MPC560xx (PowerPC)

our compiler is 4.3 mwcceppc.exe

Codewarrior IDE is 5.9

 

We need to copy some function (from flash) to RAM and execute from RAM itself.

 

We refered

https://community.freescale.com/message/15640#15640

 

"In order to execute portion of your application from RAM in a PowerPC application, you need to create a ROM image of your application, and then copy this image into RAM"

 

So what is the correct  method to do this in case of PowerPC?

 

Regards,

Abhijit Khadtare

Outcomes