MQX/Toolchain/Bootloader changes if memory is added

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

MQX/Toolchain/Bootloader changes if memory is added

819 次查看
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 回复

662 次查看
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