I have a big project with LPC54608, so that, SPIFI Flash and external SDRAM must be connected to the LPC54608.
By reading the forum posts and MCUXpressu UM, I managed to get parts of my project stored in the external flash, but the internal flash still gets too much load. Utilization over 100%.
This is the output of my project.
Memory region Used Size Region Size %age Used
PROGRAM_FLASH: 598048 B 512 KB 114.07%
BOARD_FLASH: 2766904 B 16 MB 16.49%
SRAM_UPPER: 144836 B 160 KB 88.40%
SRAMX: 0 GB 32 KB 0.00%
USB_RAM: 0 GB 8 KB 0.00%
BOARD_SDRAM: 587944 B 16 MB 3.50%
(It the current project will not work because the SPIFI is not configured).
I am primarily interested in the information how to configure one project or if two projects have to be created.
The functions __RAMFUNC() or __TEXT() should not be used.
Can a MCUXpresso project be configured so that startup_lpc54628.c, SystemInit(), all interrupts (ADC, Timer, DMA etc) and some functions are stored in the internal SRAM and Flasch? But the main function and others are stored in the external flash but executed in the external RAM?