Relocating code from FLASH to RAM, flash used size increases

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

Relocating code from FLASH to RAM, flash used size increases

ソリューションへジャンプ
979件の閲覧回数
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 解決策
875件の閲覧回数
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 返答(返信)
876件の閲覧回数
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 件の賞賛
返信
875件の閲覧回数
curtis_robertso
Contributor III

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

0 件の賞賛
返信