MPC56xx place RAM code in different address

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

MPC56xx place RAM code in different address

1,011 次查看
tbonkers
Contributor III

Hello,

When creating a RAM image, can it be placed at a different address than the beginning (0x40000000)?

Or if that's not possible, can the internal RAM, heap and stack be placed at an address after the end of the RAM image, i.e. creating a gap in between?

Thanks

0 项奖励
回复
1 回复

1,002 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

You can do it. It is needed to modify linker command file and change address range where the RAM image is placed.

It is common to have placed heap and stack putted after end of the code, this way it is done by default.

0 项奖励
回复