Thanks for the libary and the pin maps.
I am a arduino noob and i managed to access the SD on the Due.
I use direct wires to a sd card socket and the following pin connections:
| DUE | SD | SPI |
| MOSI | CMD | DI |
| MISO | DAT0 | DO |
| SCK | CLK | SCK |
| D10 | CD/DAT3 | CS |
| 3.3V | VDD | VDD |
| GND | VSS | VSS |
| GND | VSS2 | VSS2 |
I get this for a cheap 2GB san disk SD
Free RAM: 62747
Type is FAT16
File size 20MB
Buffer size 32768 bytes
Starting write test. Please wait up to a minute
Write 3863.25 KB/sec
Maximum latency: 27974 usec, Minimum Latency: 7838 usec, Avg Latency: 8472 usec
Starting read test. Please wait up to a minute
Read 4255.58 KB/sec
Maximum latency: 11905 usec, Minimum Latency: 7564 usec, Avg Latency: 7698 usec
and this for a 8GB Sandisk extreme Pro 95mb/s:
Free RAM: 62747
Type is FAT32
File size 20MB
Buffer size 32768 bytes
Starting write test. Please wait up to a minute
Write 4241.14 KB/sec
Maximum latency: 13791 usec, Minimum Latency: 7635 usec, Avg Latency: 7717 usec
Starting read test. Please wait up to a minute
Read 4424.19 KB/sec
Maximum latency: 7806 usec, Minimum Latency: 7384 usec, Avg Latency: 7405 usec