I’ve been trying to get the music shield going with a Sandisk 4GB MicroSD HC card and the demo music.pde sketch. Have run into a few issues.
It never gets past the InitFileSystem() call in setup(). A few Serial.println() calls added revealed the following:
(using music_v1_13.zip downloaded from the google code site today)
- line 171 of mmc.cpp has an unnecessary line “i–” which effects a “count down by 2” instead of 1 and also keeps it looping forever since it never hits 0 and loops around at -1.
- the call to MmcCommand on line 38 of mmc.cpp never returns anything other than 0xFF. It loops forever in RebootMmc.
Is the 4GB card too big ? I’ve verified that it’s a FAT16 partition and formatted with Fat16 filesystem. I’ve used 8.3 filenames to be 100% sure … no dice, the Mmc never boots successfully.