I'm new of Arduino world. Trying to assemble a simple data-logger.
So, I have an SD card shield:
and SdFat http://code.google.com/p/sdfatlib/
Running SdFatInfo from examples gives:
Card type: SD1 Manufacturer ID: 1B OEM ID: SM Product: SD Version: 1.0 Serial number: 1221333468 Manufacturing date: 1/2008 cardSize: 1987584 (512 byte blocks) flashEraseSize: 128 blocks eraseSingleBlock: true part,boot,type,start,length 1,0,6,249,1987335 2,0,0,0,0 3,0,0,0,0 4,0,0,0,0 Volume is FAT32 blocksPerCluster: 8 clusterCount: 247928 fatStartBlock: 281 fatCount: 2 blocksPerFat: 1937 rootDirStart: 2 dataStartBlock: 4155 Data area is not aligned on flash erase boundaries!
Also file reading from SD card works well.
But problems starts when I'm writting data to card. Filesistem looks broken when I'm connect SD to my laptop and resulting file have 0 bytes length.
The same result I had with standard SD library with arduino-0022.
Is it hardware problem? I suggest, SD shield works wrong.
Any ideas? Please help.