Hi,
I've just tried bench.ino from the SDFat Beta (Dec. 2014) and using a simple SD card module from Ebay and also an Arduino Due. The SD card is a Transcend 16GB Class 10 formatted with FAT32 using the SD formatting tool from sdcard.org, but copied some file on it.
I just can use the SPI_HALF_SPEED, I'll get errors with SPI_FULL_SPEED.
This is the result:
Free RAM: 94075
Type is FAT32
Card size: 15.93 GB (GB = 1E9 bytes)
Manufacturer ID: 0X3
OEM ID: SD
Product: SL16G
Version: 8.0
Serial number: 0X80E4DD27
Manufacturing date: 8/2014
File size 5 MB
Buffer size 512 bytes
Starting write test, please wait.
write speed and latency
speed,max,min,avg
KB/Sec,usec,usec,usec
375.92,58303,798,1354
372.03,38391,1072,1367
372.06,38406,1058,1367
370.59,38381,1055,1372
371.14,39037,1059,1370
371.14,38390,1056,1370
371.64,38387,1071,1368
371.06,38388,1071,1370
370.70,39672,1059,1371
371.42,38398,1057,1368
Starting read test, please wait.
read speed and latency
speed,max,min,avg
KB/Sec,usec,usec,usec
1178.89,866,423,432
1178.89,867,415,432
1178.61,866,416,432
1178.61,867,416,432
1178.61,867,416,432
Done
But sometimes when I start the sketch I'll get this error:
Can't access SD card. Do not reformat.
No card, wrong chip select pin, or SPI problem?
SD errorCode: 0X1,0X0
without changing anything. Turning off the Arduino IDE and the Arduino (cycle power) may fix this problem.
Any idea?
Best regards
Nils