MQX/Toolchain/Bootloader changes if memory is added

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

MQX/Toolchain/Bootloader changes if memory is added

421 Views
sriramchadalava
Contributor III

If we add _any_ memory (such as additional Flash, EEPROM, DDR3 etc) is added to a K40 tower board, what sort of changes would we have to make in MQX(BSP), Toolchain(Linker) or bootloader to bring up and possibly test the memory?

For example, the .lcf (linker configuration files) of CodeWarrior for MCUs contain address and other information that would have to be updated. My question is what are other places to look at?

Thanks.

1 Reply

264 Views
soledad
NXP Employee
NXP Employee

Hi Sriram:

MQX provides external flash driver (flashx).  You only need to configure FlexBus in order to communicate with your external memory. You must calculate the time your memory  needs for read and write cycles to do this.

Once you configure Flexbus flashx driver usage will be transparent for the user.

You must consider 2 things.

1) MQX configures Flexbus is BSP by default. This configuration is set to communicate with external MRAM. You must be sure that you are not keeping any default configuration that may impact your memory.

2)  Check in the Linker Command File (LCF) the addresses that are used for external memory because the driver will look for these addresses.

Hope this information helps!!!


Sol