MPC56xx place RAM code in different address

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC56xx place RAM code in different address

1,000 Views
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 Kudos
Reply
1 Reply

991 Views
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 Kudos
Reply