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,043件の閲覧回数
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,014件の閲覧回数
CrasyCat
Specialist III

Hello

 

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

This should explain how to achieve that.

 

CrasyCat

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,015件の閲覧回数
CrasyCat
Specialist III

Hello

 

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

This should explain how to achieve that.

 

CrasyCat

0 件の賞賛
返信
1,014件の閲覧回数
Florijan
Contributor III

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

 

regards,florijan

0 件の賞賛
返信