Using external SDRAM memory

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using external SDRAM memory

1,591 Views
KRichard
Contributor II
Hi, this is a newbie question about using external memory with ColdFire processors.

From the programmer's point of view (using CodeWarrior for ColdFire), is the external memory handling the same as if it were internal? I mean it is usable as if it were internal memory, without any hassle.

Or is it like it's an external "hard drive", so the programmer has to first fetch the data into the internal memory of the microprocessor, do the processing then maybe write the result back to the external storage?

Thanks in advance:smileyhappy:
Labels (1)
0 Kudos
2 Replies

406 Views
mccPaul
Contributor I
Hi
 
Using external SDRAM is essentially the same as using the internal SRAM but you need to initialise it differently. All you need to do for SRAM is to change RAMBAR, but SDRAM requires more initialisation (dependent on your hardware and implementation).
 
There may also be some differences in bus width as the SRAM is on the internal 32 bit bus and your SDRAM may be on a 16-bit or DDR bus, but again there is no difference from the programmer's perspective once you have configured the SDRAM controller.
 
Cheers,
 
Paul.
0 Kudos

406 Views
KRichard
Contributor II
Thank you mccp, your reply was most helpful.

Have a nice day, Richard.
0 Kudos