MPC5668G: How to execute a function in startup from RAM

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

MPC5668G: How to execute a function in startup from RAM

跳至解决方案
1,762 次查看
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,561 次查看
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,561 次查看
nishan
Contributor I

Kindly provide your suggestions.

0 项奖励
回复
1,562 次查看
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,561 次查看
nishan
Contributor I

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

0 项奖励
回复