I had a heck of a time making the microsSD breakout work for at least, card info. After looking for days at H/W causes, it was S/W!
SD Card Libraries, why so many, which one to use, and why
Pick one of three ???
- Arduino IDE v. 1.0 SD example CardInfo.pde "Absolutely" does not work for my AdaFruit microSD breakout board.
http://arduino.cc/en/Reference/SD There are other links inside Arduino web that confuse further- v.0022.
- AdaFruit suggested in microSD tutorial - https://github.com/adafruit/SD
- Forum:
Re: SDMicro Breakout - volume.init(card) fails
Posted by fat16lib » Sat Mar 10, 2012 7:59 am -http://code.google.com/p/sdfatlib/downloads/list
Pain and pinch -> Before discovering all the Library options (software) I tried all H/W causes for failure.(For Days!!!)
- swapped out everything but the microsSD breakout board while only using Arduino 1.0 IDE SD library in all tests,
None of the 4 examples inside Arduino IDE v1.0 would work. Output looks like what wrong baud rate looks like-sort of.
There are no long wires cause I plugged the damn thing directly into the Arduino after clipping 3.3v pin off on header and bending out and away the 5v pin which I jumped.
Link to the forum post that was so informative.
http://forums.adafruit.com/viewtopic.php?f=19&t=26856&hilit=microSD+breakout
with sdfatlib quickstart and a 2 gig SD micro card the output =
type any character to start
init time: 9 ms
Card type: SD2
Manufacturer ID: 0X3
OEM ID: SD
Product: SU02G
Version: 8.0
Serial number: 1420285729
Manufacturing date: 10/2009
cardSize: 3862528 (512 byte blocks)
flashEraseSize: 32 blocks
eraseSingleBlock: true
SD Partition Table
part,boot,type,start,length
1,0X0,0X6,135,3858489
2,0X0,0X0,0,0
3,0X0,0X0,0,0
4,0X0,0X0,0,0
Volume is FAT16
blocksPerCluster: 64
clusterCount: 60281
freeClusters: 49169
fatStartBlock: 136
fatCount: 2
blocksPerFat: 236
rootDirStart: 608
dataStartBlock: 640

