Memory Configuration Editor and External Flash Driver mechanism
Since v4.2 of Red Suite and LPCXpresso, a mechanism for editing the target memory layout used for a project has been introduced.
The Memory Configuration Editor allows for the details of external memory (Flash or RAM) to be defined or for the layout of internal RAM or Flash to be reconfigured. In addition, it allows a flash driver to be allocated for use with parts with no internal flash, but where an external flash part is connected.
Combining the Memory Configuration Editor with Enhanced Managed Linker Scripts, allows for a flexible memory layout without the need to write and maintain your own linker scripts.
For details of how to use this feature, please see the chapter on the "Red Suite Memory Editor and External Flash Driver mechanism" in the Red Suite Getting Started Guide - Red Suite Documentation.
Memory configurations can be exported and imported to allow for them to be used in other projects without needing to redfine the memory configuration.
Notes for NXP LPC18xx/LPC43xx users
With the LPC18xx and LPC43xx project wizards, you can now select an existing memory configuration/external flash file. A number of such files of provided in:
- Red Suite
- LPCXpresso IDE
For example, to use the SPIFI flash fitted to a Hitex LPC1850 eval board, select the file LPC1850A_SPIFI_Hitex.xml. Or if you are using the NGX Technologies LPC4330-Xplorer board, then select the 'LPC4330-Xplorer.xml'.
Alternatively, if you are using your own board, or a board for which there is no predefined config file to select, then leave the field in the wizard blank, and set things up appropriately using the Memory Configuration Editor after your project has been created.