Skylie33 wrote:
cjs wrote:
..why not just add more RAM to your main system and write a small program that reads blocks from the SD card and copies them into that RAM?
Why? Because any SRAM chip over 2MB are only in BGA package and cost ridiculously much. I would've preferred to have 4MB, but 2MB seems to be all I can find at a reasonable price, and even then, it's a TSOP package.
I think I read somewhere that you're allowed to have more than one RAM chip in a system. :-)
Maybe you could explain a bit more about to what use all this RAM and storage, in a single address space, is going to be put. I'm am pretty mystified here about why just loading new data over old data in RAM (as levels change, or whatever), as game consoles traditionally do (via bank switching, in the case of ROM-based systems), would be an issue.
Note that this loading time can be made to be pretty fast, if you're motivated to do so. If you build a controller that can DMA the data directly into memory, that will be able to read in 512 KB of data in less than half a second at 10 MHz.
Regardless, no matter how you load the data it's almost certain to be faster than trying to make single address space reads generate SD card reads, to make it look like random-access memory. You seem to be implying that speed isn't an issue, but I don't see how it cannot be an issue when you're talking about
megabytes of data.