How to copy function from flash to ram and run it from ram MCF51QE

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to copy function from flash to ram and run it from ram MCF51QE

跳至解决方案
2,034 次查看
Florijan
Contributor III

Hello,

 

I am using MCF51QE mcu.

Can someone please tell me what is the simplest way to copy a function from flash to RAM and execute it there. For example I have a function:

 

long multiply(int a,int b){


   return a*b;

}

 

Thanks.

标签 (1)
0 项奖励
回复
1 解答
1,005 次查看
CrasyCat
Specialist III

Hello

 

Please look for FAQ-27860 on www.freescale.com.

This should explain how to achieve that.

 

CrasyCat

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,006 次查看
CrasyCat
Specialist III

Hello

 

Please look for FAQ-27860 on www.freescale.com.

This should explain how to achieve that.

 

CrasyCat

0 项奖励
回复
1,005 次查看
Florijan
Contributor III

Thank you very much, I think this should solve my problem.

 

regards,florijan

0 项奖励
回复