# How to add memory to an ARM Cortex Microcontroller

I am looking into a design that would use the ARM Cortex M4F core but am just the software engineer for the project. The EE tells me that there will be an 64 MByte sdram memory module connected to the chip. After looking at the datasheets I don't understand how I am suppose to access that memory space. Does the EMC make that space globally available to the firmware without any modification? I'm not even really sure I'm asking the question correctly. Any help would be greatly appreciated.

• What processor (mfg and part#)? What compiler are you using? – Tut Oct 28 '13 at 20:54
• The processor is the NXP LPC4088 and we are still deciding on a compiler. It will either be GCC, ARM-CC, or IAR – Dabloons Oct 28 '13 at 21:02
• Did you read the EMC chapter of the user manual? (the datasheet contains general and electronic information, the user manual is what you need to program the chip.) – Wouter van Ooijen Oct 28 '13 at 21:42
• AFAIK the LPC4088 is similar to the more popular LPC1788, which has a Cortex M3 core. Which might help you to find more information/examples. – starblue Oct 29 '13 at 21:41

If you use IAR, this will be in your .icf file. You can specify the section to place a variable in by using #pragma location = "SectionName".