How to Relocate Code and Data from Flash to RAM Using HCS12x

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

How to Relocate Code and Data from Flash to RAM Using HCS12x

980件の閲覧回数
zegeyealemu
Contributor III

Hi All,

 

Can someone help please as to how to configure the Linker Command File for the HCS12x device to relocate code and data to a RAM at runt time please?

 

The appnote I found does not pertain to the HCS12x device.

 

Thank you in advance for your help.

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

653件の閲覧回数
kef2
Senior Contributor V
0 件の賞賛
返信

653件の閲覧回数
iggi
NXP Employee
NXP Employee

Hi,

You may want to know about technical note TN 228 - Running Portion of the Application in RAM:
http://www.freescale.com/files/community_files/8BITCOMM/7695_3_TN228.pdf

There is clear description how it should be done.

Regards,

Ivan

0 件の賞賛
返信

653件の閲覧回数
zegeyealemu
Contributor III

Thanks Ivan. Will look into this.

I have also been told that I can directly link the code directly to RAM and that should work too (quite different from what I have been exposed before where you need a Load and Run sections). I am currently implementing this.

Thanks again for taking the time to help and I appreciate it very much.

Best regards,

Ziggy

0 件の賞賛
返信