Searching for ideas: as many of you may have noticed, I’ve been working on a POV display. By itself, it works great: the images are stored in PROGMEM and the code pulls stuff out of there. There are two issues with this though:
a) you’re always limited by the amount of memory the microcontroller has, and
b) in order to update the data, you need to recompile the code with the new data and upload it to the microcontroller
So, my goal is to add the ability to have an SD card that holds the images data sets. When it comes time to update, just replace the SD card with new data files.
Here’s the problem: reading an SD card takes for-e-ver! An 18K text file takes about 725ms to read in, let alone parsing the data. I can’t possibly be displaying one image on the POV system and change to the next one without a very noticeable pause, where nothing’s being displayed. I need to be able to switch from one to the next with no pause or break.
So this is where I need ideas. What would you do? One idea I have is to add external flash memory to the system. When it’s first turned on, it reads the SD card and dumps everything into flash memory. Then, as the system runs, it ought to be able to access that memory a lot faster than the SD card. If I have to wait 10-30 seconds at the beginning to save on the time it takes in between switching from one data set to the next, great. But I don’t know if that’s truly any better.
So, ideas, suggestions, declaration of insanity … Hit me!
The claim is you can read data off of an SD card as high as 600KB/s - that’s 600 bytes/ms - what are you using to talk to the SD card code wise?