Placing & executing functions from RAM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Placing & executing functions from RAM

ソリューションへジャンプ
808件の閲覧回数
VictorLorenzo
Contributor IV

Hi,

How can I do for locating/placing several functions in RAM while keeping the rest of the code in FLASH?

Thanks, Victor

ラベル(1)
0 件の賞賛
1 解決策
523件の閲覧回数
VictorLorenzo
Contributor IV

I just forgot to say I'm using CW10.4 with GCC. Thanks Lei Mao for your replay.

There's one AppNote at http://cache.freescale.com/files/32bit/doc/app_note/AN4695.pdf which deals with in-software flash programming that also addresses RAM code location. All credits an many thanks to Enric for pointing me to this note.

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
524件の閲覧回数
VictorLorenzo
Contributor IV

I just forgot to say I'm using CW10.4 with GCC. Thanks Lei Mao for your replay.

There's one AppNote at http://cache.freescale.com/files/32bit/doc/app_note/AN4695.pdf which deals with in-software flash programming that also addresses RAM code location. All credits an many thanks to Enric for pointing me to this note.

0 件の賞賛
523件の閲覧回数
leimao
Contributor II


you can see IAR k60 example. use __ramfunc to define a function in RAM. good luck