AnsweredAssumed Answered

Need to declare variables in external SDRAM  as well in the internal RAM.

Question asked by Bill Brown on Dec 24, 2016
Latest reply on Jan 5, 2017 by Con Verse

I am using an LPC2468 processor with external SDRAM starting at address 0xa000000 in addition to the the processors built in RAM.  I am using Kiel uVision.  I need to define variables in both address spaces.  


Do I need to define each variable using the __attribute__ modifier?  If so, how?


Is there a way to say, from here until I say otherwise use this memory space or the other ?  Or does each variable need its own qualifier?  


I have played with the scatter allocation file but looking at the map file variables are still allocated in unexpected places/