LPC43xx Max External Flash/SDRAM?

I'm interested in using the EMC controller for flash and SDRAM, though I'm confused on what the limits are. What is the maximum memory addressable by the EMC? When reading the <a href="http://www.nxp.com/documents/user_manual/UM10503.pdf">user manual</a>, I'm having a hard time connecting the dots. Here's what is throwing me for a loop:

The memory mapping refers to addressable space assigned for that region, while the EMC info refers to the limitations for the EMC.

For the static memmory regions, you have 4x 16MB regions that can address 64MB max (using all 4 CS and all 24 address lines).

&gt;<em>Refers to to 512MB, 256MB, and 128MB parts, which all exceed the per CS and total MB stated in the mapping</em>

This comment refers to MBits for DRAM based devices, which would be a 64MByte sized part for 512MB (max).

&gt;<em>128MB for DCYS0, 258MB for the other 3, 896MB total</em>

This is also the size of the memory mapped region for DRAM. However, the maximum DRAM parts you could put on each DYCS line is 64MBytes (512MBit), so the maximum memory size for DRAM with all 4 DYCS signals being used is 256MByte. Accessing beyond the 64MByte range on a DRAM device will probably wrap the access back to the start of the device.<em></em>

Content originally posted in LPCWare by wmues on Thu May 02 00:28:23 MST 2013

Because the maximum static Memory (Nor Flash) area is small compared to the dynamic Memory area, it is the best to use dynamic memory for data AND code, and use an EMMC chip or SD card for flash storage.

(For performance reasons, you may want to place the stack in internal RAM).