SD Card and Library SDFat

Hi forum, I tried a many ways to use a SD with Arduino Ethernet Shield Clone, Actually I use sdFat library and run the SDinfo sketch. I have the following errors:

SdFat version: 20150324

Disabling SPI device on pin 10

Assuming the SD chip select pin is: 4
Edit SD_CHIP_SELECT to change the SD chip select pin.

type any character to start

cardBegin failed
SD errorCode: 0XA
SD errorData: 0XFF

Using Sd library have errors too:

Could not find FAT16/FAT32 partition. Make sure you've formatted the card

I don't know what to do. I'm using 16, 2 and 1 GB SD

I don't know what to do.

Well, the first step would be to read and pay attention to the message.

cristiams:
I don't know what to do. I'm using 16, 2 and 1 GB SD

Perhaps also tell about which type of Arduino board you are using?

I'm using Arduino UNO R3

cristiams:
I'm using Arduino UNO R3

Please check that the SD card is FAT formatted for the whole SD card.
No NTFS (Windows) or EXT3 (Linux) or other types of formatting is supported!

It is also not allowed to have "partitions" on the SD card. Even not FAT formatted partitions. If you should have partitions on the SD card, remove all partitions first, then create a FAT formatting without any partitioning.

When using Windows or MAC OS you can download a formatting tool from the SD association:

This should create a suitable formatting like that provided with a brand new SD card from the store.

Please also make sure that you create no short circuit while stacking the board:
The upper surface of the Arduino USB jack is not allowed to touch the underside of the Ethernet shield PCB.
(This might happen in case the long male headers are a bit too short.)

Yes, I've used SD formatter and make sure the upper surface of the Arduino USB jack doesn't touch Ethernet shield PCB.

cristiams:
Yes, I've used SD formatter and make sure the upper surface of the Arduino USB jack doesn't touch Ethernet shield PCB.

Did you test that the Ethernet shield is working within your LAN, i.e. using the WebClient or WebServer sketch?

Ethernet-LAN is working, but the SD card is not working?

Or is the SD card not working with the third-party SdFat library, but it is working with the Arduino SD library?

Yes, Web client and WebServer sketch work correctly, my SD card doesn't work with SdFat library neither Arduino SD library. People have told me that can be a the ethernet shield becuase it is a clon, i bought it in amazon

cristiams:
Yes, Web client and WebServer sketch work correctly, my SD card doesn't work with SdFat library neither Arduino SD library.

In that case I don't know what might be going wrong, except perhaps power problems:

Are you using the USB of a desktop PC to power the Arduino board? A notebook PC? A tablet? A passive USB hub where other devices are connected?

SD cards require relatively high currents, up to 300 mA, and desktop PCs can easily deliver up to 500 mA at least at their USB jacks. But notebook PCs or tablets sometimes only can provide 100 mA with their USB adapter.

Also passive USB hubs may create problems if other devices are already connected to the USB hub.

In that case try an "active USB hub" that provides USB power from its own power adapter! So that you can be sure, that the SD card (and Arduino/Ethernet shield) may draw at least 300mA from the USB port without voltage dropping down.

cristiams:
People have told me that can be a the ethernet shield becuase it is a clon, i bought it in amazon

Yes, it is true: Building quality of China made clone boards and shields is poor, and in rare cases it is possible that defective boards/shields are shipped. It may happen, but not very often (I think).