I'm using the Embedded Artist LPC3250 development board. It has 64MB of external RAM. In my application, I need to create a few large global arrays. The internal memory of the 3250 is only 256KB so I'd like to relocate the zi-data or all the R/W data to the external SDRAM.
I used Project - Options - Target and added off-chip RAM1 and set it as the default. I then set "Use Memory Layout from Target Dialog" on the Linker tab. That creates a custom scatter file for me (shown below).
However when I build, the linker generates the error: .\output\armd.sct(7): error: L6236E: No section matches selector - no section to be FIRST/LAST.
This error doesn't make sense to me because the section where First is used is the ROM portion.
Based on a SDRAM Phytec example, this project configuration and resulting scatter file should have worked.
Has anybody used the EA LPC3250 in this manner either relocating R/W or ZI to SDRAM? Does anyone have a suggestion on how to create the scatter file needed to put my data in SDRAM?
; ************************************************************* ; *** Scatter-Loading Description File generated by uVision *** ; ************************************************************* LR_IROM1 0x00000000 0x00004000 { ; load region size_region ER_IROM1 0x00000000 0x00004000 { ; load address = execution address *.o (RESET, +First) *(InRoot$$Sections) .ANY (+RO) } RW_RAM1 0x80000000 0x04000000 { ; RW data .ANY (+RW +ZI) } }
Hi John. I know that this thread is old, but can you tell me exactly how you resolved this issue? I have the same problem.