How to allocate user defined constant array into external memory like FRAM/MRAM for MPC5554 uC.  While other constants (except this user defined array) to be allocated in default uC rom.

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

How to allocate user defined constant array into external memory like FRAM/MRAM for MPC5554 uC.  While other constants (except this user defined array) to be allocated in default uC rom.

673 Views
vemularamavarap
Contributor II

In Lcf file,How to allocate user defined constant array into external memory like FRAM/MRAM for MPC5554 uC.  While other constants (except this user defined array) to be allocated in default uC rom.

Labels (1)
0 Kudos
Reply
1 Reply

609 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

see attached project. It is written for MPC5644A but it doesn't matter, it is still the same. See the MPC5644A.lcf and main.c. It shows how to force a constant to section in internal flash. Just create memory segment for external address space and the rest is the same.

Regards,

Lukas

0 Kudos
Reply