Relocating code from FLASH to RAM, flash used size increases

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

Relocating code from FLASH to RAM, flash used size increases

跳至解决方案
898 次查看
curtis_robertso
Contributor III

When I follow the steps in the manual for "Relocating code from FLASH to RAM" the ram used size increases as expected but the program flash used size also increases.  This seems contradictory to the goal of moving code from flash to ram.  I can't think of an explanation for this contradiction. 

0 项奖励
回复
1 解答
794 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi,

Only flash can keep code and data when power off. All data and code in RAM will lost when power off. Relocating means some code and data will be copy to RAM to execute when system power on.

Regards

Jing

在原帖中查看解决方案

0 项奖励
回复
2 回复数
795 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi,

Only flash can keep code and data when power off. All data and code in RAM will lost when power off. Relocating means some code and data will be copy to RAM to execute when system power on.

Regards

Jing

0 项奖励
回复
794 次查看
curtis_robertso
Contributor III

Jing that totally slipped my mind, this was very helpful, thank you.

0 项奖励
回复