Has anyone been successful in setting up the Keil tools and changing the Startup.s file to place the heap in external location (on SD/MMC Card or off-chip memory)?
The only reason that I want to use external memory is because I am using a library for the file system that needs to dynamically allocate space. The amount of space it needs to allocate is more than I have in internal memory.
Iam working on LPC2378 with keil uvision4.
Any help will be appreciated. Thanks in advance
Is it??
You said you're using LPC2378
According to http://www.keil.com/dd/chip/4153.htm the LPC2378 has 58KB RAM.
It also says, "External Memory Controller for static devices such as Flash and SRAM" - so you could add external RAM.
You can place the stack/heap using a scatter file, like this:
IRAM_STACK 0x40002040 0xE000 { ; RW data LPC2400.o (STACK) .ANY (+RW +ZI) }
since the linker creates a sections called STACK and HEAP.