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
Solved! Go to Solution.
External RAM can be used like internal RAM; it lies in the same 32-bit flat address space. Things to look out for:
External RAM can be used like internal RAM; it lies in the same 32-bit flat address space. Things to look out for:
Cool, thanks.
I have a Jlink Ultra which at least claims to support external RAM, so I guess we'll see.