TFT 5'' lcd display SD card can't read the file

Hi,

I am using a 5'' lcd display, arduino Mega and

this shield. I have attached a 2GB FAT SD card into this shield

The libraries i am using are <tinyFAT.h> <UTFT.h> <UTFT_tinyFAT.h> and i use the Demo_Landscape example to test my 5" lcd display

However, the screen just show "File not found..."

I would be glad if anyone could help in this matter

Thanks and regards

Learn to use search!!!!!!!!!!!!!!

http://forum.arduino.cc/index.php?topic=380141.0

Graham

i tried using the UTFT_SdRaw library

the serial monitor shows the following :

Initialising SD card...
Card failed, or not present
Retrying....

but the SD card was put in the SD slot
Does any specification restrictions for the SD card?

Thanks!

Did you set the right pin of the sd card reader?

My arduino shield datasheet said that "SD Card Chip Select Signal, Arduino Board Digital IO 47"
So i changed the #define SD_CHIP_SELECT 53 to #define SD_CHIP_SELECT 47
but it still not working

Hi hu,

If you are sure you have the correct SD_CHIP_SELECT pin, the only other likely problem is SPI speed.

Find this line     if (!sd.begin(SD_CHIP_SELECT, SPI_FULL_SPEED)) { .

Where it says SPI_FULL_SPEED, you can try SPI_HALF_SPEED, SPI_QUARTER_SPEED or SPI_EIGHTH_SPEED.

Clearly you want the fastest that works reliably as the slower the SPI speed, the slower your images will be drawn.

Hope this helps.

Regards,

Graham

I tried SPI_HALF_SPEED, SPI_QUARTER_SPEED and SPI_EIGHTH_SPEED
But still said

Initialising SD card...
Card failed, or not present
Retrying....

Is my SD card's problem?

How are you connecting your display to the Arduino? Either there is a 'jumper' somewhere that needs enabling, you have something wrong with your wiring, or something is faulty. That is the only conclusion I can make at this point.

Regards,

Graham