This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Understanding Read/Write Memory Areas | L6406E: No Space in Execution Regions

I am facing the following Linker error:

Build target 'LPC2100'
compiling ecgsyn.c...
linking...
.\Obj\PS2KBD_LCD.axf: Error: L6406E: No space in execution regions with .ANY selector matching ecgsyn.o(.bss).
.\Obj\PS2KBD_LCD.axf: Error: L6407E: Sections of aggregate size 0x4230 bytes could not fit into .ANY selector(s).
Target not created

I realize that its due to the limited size of my IRAM1 Area currently at size 0x4000 (16KB), learning from this thread:
www.embeddedrelated.com/.../33982.php

I could not get this to work even when I increased the IRAM size to 0x5000 Bytes. My Stack is just 0x488 Bytes. Now the code stops working! I could not figure out why? Similar problem is faced in the thread above which was left unanswered. I looked at the Startup.S but could not find anything useful apart from the STACK section size. Need help to understand Memory Areas better.

Is using Flash recommended? I have an LPC2148 blueboard which has a 32KB+8K RAM and 512KB internal flash.

Thanks,
Manav