Hi, I'm using LPC1768 controller keil v5.24.2.0. In the LPC1768 controller i put tcpip,http stack and some other application to it. While executing data memory reaches around 32700 it works well. But after that it gives an error".\Objects\IIOT Raw.axf: Error: L6406E: No space in execution regions with .ANY selector matching server.o(.data).". Before reach the error the memory limits are Program Size: Code=35844 RO-data=31472 RW-data=300 ZI-data=32348. But in a datasheet they given the data memory is 64K. How to use the full of that ram memory?</br></br>
Thanks & Regards, Prasanth.
If your linker script is wrong - indicating less SRAM that you physically have - you will get this.
Please tell me how to correct that linker script.
I cannot read minds yet; post it here using the correct tags!
Before delving into the linker script (or "scatter file", in Keil terminology), check your project's memory settings:
www.keil.com/.../uv4_ca_ovwconfigdialogs.htm
Specifically: http://www.keil.com/support/man/docs/uv4/uv4_dg_adsld.htm
Some examples here: www.keil.com/.../mcb1700_wp_cap_params.htm
See also: www2.keil.com/.../learn
Start by looking at the Target tab in the Options, and make sure IRAM fully describes the available resources in the part you have chosen.
Review also the .MAP file to understand the current space utilization/allocation
In a "Setting Target Options" tab values are IROM1:start(0x00),size(0x80000) and IRAM1:start(0x10000000),size(0x8000). In a keil support page"http://www.keil.com/support/man/docs/mcb1700/mcb1700_wp_cap_params.htm" they mentioned ROM size is 0x40000 and RAM is 0x8000. </br> According to lpc1768 datasheet RAM is 64k and ROM is 512k. So what size i need to replace in RAM and ROM size.</br>
View all questions in Keil forum