Can't access SD card on Ardino Due

Hello guys,

I have a problem with my SD-module and my Due. When I try to use it with the sdfat library i can´t access the sd-card. I always get the error message:

"Can't access SD card. Do not reformat. SD errorCode: 0X50,0X0"

There are two strange things about this, I have used the sd module bevore with the Due the second thing is that, when I use the same shield with the same code and the "same" wiring on an Mega2560 there
aren´t any problems. I wire the board over the SPI on the Due and over the ICSP on the Mega.

Now my question: Do you think the chip of my due is probably damaged or could it be another problem?

Hope someone of you can help me.

If I use the CardInfo Sketch from the standard SD library the card can be found an all information can be provided. When using the SdInfo sketch of sdfat I get the following error message:

error: cardSize failed
SD errorCode: 0X50,0X0

Is it probably a problem in the code and not in the hardware?

I was able to solve the problem and it was an SPI problem. In the Sdfat library the SPI speed is set to 50MHz but if your connection to the SD card can´t handle this speed it produces an error.

You can solve this by setting the speed to a lower frequency. For me 45MHz worked without problems.