MPC5668G: How to execute a function in startup from RAM

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

MPC5668G: How to execute a function in startup from RAM

ソリューションへジャンプ
1,735件の閲覧回数
nishan
Contributor I

Currently all the software(boot, application ) is running from Flash. As part of errata implementation, we want to execute one function in startup(boot) from RAM. What are the changes or steps to be considered for this? This case is when the Flash is corrupted when woke-up from sleep.

ラベル(1)
0 件の賞賛
返信
1 解決策
1,534件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hi,

in attachment is example, how to place function to RAM (look at the .lcf). In main.c is shown, which pragma you have to use before you can call the function.

Regards,

Martin

元の投稿で解決策を見る

3 返答(返信)
1,534件の閲覧回数
nishan
Contributor I

Kindly provide your suggestions.

0 件の賞賛
返信
1,535件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hi,

in attachment is example, how to place function to RAM (look at the .lcf). In main.c is shown, which pragma you have to use before you can call the function.

Regards,

Martin

1,534件の閲覧回数
nishan
Contributor I

Thanks a lot for the detailed Reply. It was really helpful.

0 件の賞賛
返信