Hi,
i needed this for an other project, and maybe it is useful for others too (?!)
The sketch searches for a directory "SERFLASH" on sd-card, and flashes all files in it to the W25Q128FV on the Audio Shield.
The chip is erased before, and the contents are veryfied automatically.
Have fun
Edit: Newest version here: https://github.com/FrankBoesing/Arduino-Teensy-Codec-lib/tree/master/examples/sd2serialflash
Sample Output:
Regards,
Frank.
i needed this for an other project, and maybe it is useful for others too (?!)
The sketch searches for a directory "SERFLASH" on sd-card, and flashes all files in it to the W25Q128FV on the Audio Shield.
The chip is erased before, and the contents are veryfied automatically.
Have fun
Edit: Newest version here: https://github.com/FrankBoesing/Arduino-Teensy-Codec-lib/tree/master/examples/sd2serialflash
Sample Output:
Code:
W25Q128FV Serial Flasher
Initializing SD card...initialization done.
FOREVERM.MP3 2520884 Bytes
AAC2.M4A 4159965 Bytes
K.FLA 9427298 Bytes
3 File(s), 16108147 Bytes
Flash Status: 0x0, ID:0xEF,0x40,0x18,0x0 is ok.
File(s) fit(s) in serial flash, 669069 Bytes remaining.
Erasing chip....done.
1. Flashing "FOREVERM.MP3" at Position: 0x0...done.
2. Flashing "AAC2.M4A" at Position: 0x267734...done.
3. Flashing "K.FLA" at Position: 0x65F111...done.
Verify.
1. Verifying "FOREVERM.MP3" at Position: 0x0...ok.
2. Verifying "AAC2.M4A" at Position: 0x267734...ok.
3. Verifying "K.FLA" at Position: 0x65F111...ok.
Ready. All Done.
Regards,
Frank.
Last edited: