Salut,
ich habe ein wenig mit dem Shield herum gespielt und folgendes beobachtet:
es ist gar nicht so leicht, eine 8 GB microSD in eine SD mit weniger als 2 GB und fat16 zu verwandeln. Unter Windows7 geht das mittels diskpart:
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ---------- ------- ------- --- ---
Disk 0 Online 40 GB 0 B
Disk 1 Online 7538 MB 0 B
DISKPART> select disk 1
Disk 1 is now the selected disk.
DISKPART> list part
Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 Primary 500 MB 1024 KB
DISKPART> clean
DiskPart succeeded in cleaning the disk.
DISKPART> create part primary size=500
DiskPart succeeded in creating the specified partition.
DISKPART> active
DiskPart marked the current partition as active.
DISKPART> format fs=fat quick
100 percent completed
DiskPart successfully formatted the volume.
DISKPART> assign
DiskPart successfully assigned the drive letter or mount point.
DISKPART>exit
Wenn ich diese SD Karte in das Shield einlege kann ich mit dem SD Demoesketch die Partition sehen:
Initializing SD card...Wiring is correct and a card is present.
Card type: SDHC
Volume type is FAT16
Volume size (bytes): 524009472
Volume size (Kbytes): 511728
Volume size (Mbytes): 499
Files found on the card (name, date and size in bytes):
WHAT_O~1.MP3 2013-12-13 11:28:20 3695519
FIRST_~1.MP3 2013-12-13 11:28:16 4029861
GODRES~1.MP3 2013-12-13 11:28:08 3512009
GIVE_M~1.MP3 2013-12-13 11:28:04 4463911
COME_T~1.MP3 2013-12-13 11:27:52 3997696
WAYFAR~1.MP3 2013-12-13 11:27:46 2686976
BLIND_~1.MP3 2013-12-13 11:27:28 2703360
Wenn ich nun das MusicPlayAll Sketch lade, erhalte ich als Fehler:
Init SPI
Init VS10
Init IO keys
Init LED
Init Filesystem
Card found, starting... Failed.
InitStorage: Can't start MMC.
Storage init returns error
1MP3reset
Ich vermute, dass die Kollegen von Elecfreaks bei ihrem Versuch, die SD Karte zu lesen schon gescheitert sind.
Ab Mittwoch habe ich Urlaub ... dann kann ich den Code debuggen
Ciao, Mathias