ive got a project lined up where part of it will involve loading pcm audio data from the computer to a flash chip connected to an arduino.
I would like to say, be able to upload 5 different pcm files onto the flash. then layer have the arduino play each pcm through a simple r2r dac.
my thoughts so far for proof of concept:
segment the flash into 5 known size chunks, hardcode the page value into the arduino
write a small processing app that you can specify a number from 1-5 and a txt file containing the pcm data.
the arduino will have a jumper, if the jumper is in program mode, it will wait for serial data.
the processing app writes an ID char to serial 1-5 to tell the arduino which chunk it is.
the processing app then streams the pcm data to the arduino which writes it to flash.
....
to later build on this, im assuming i could use the built in flash/eeprom memory and have the processing app write all 5 at the same time, updating the arduino flash/eeprom memory with the new page value (would have to update the entire flash at the same time doing this as opposed to being able to rewrite any chunk, but you could upload different length pcm samples.
any ideas?