AnsweredAssumed Answered

K70 external ram simple question

Question asked by James Elliot on May 10, 2012
Latest reply on May 10, 2012 by James Elliot

Hi, I'm looking at using a K70 for a new project but having never used external ram in any embedded project before, I just have a simple question... once all the registers and what-not are set up, can the memory be used just like internal SRAM? i.e. completely transparently from the C code's point of view:

 

void foo(uint32_t * p)
{

*p = 0;

 

foo(sram_pointer);

foo(dram_pointer);

 

as oppose to say having to use some compiler extension like "unsigned int far *" or needing to use registers in order to actually read/write to the memory.

 

Are there any restrictions you think I might need to know about?

 

Thanks

Outcomes