3.5 TFT Unable to Initialize SD Card

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
Tarkon
 
Posts: 29
Joined: Thu Aug 28, 2014 9:56 pm

3.5 TFT Unable to Initialize SD Card

Post by Tarkon »

Hi,

I have a 2.2" TFT breakout LCD and it worked great. I recently bought a 3.5" TFT breakout board and I'm having problems with getting the SD Card to work. The graphicstest.ino example works great on it, however when I try to use spiftftbitmap.ino on the Adafruit_HX8357 library it always comes back with "Initializing SD card...failed!".

The weird thing is when I use the spiftftbitmap.ino example on the Adafruit_ILI9340 library on the 2.2" TFT, it works fine. This leads me to believe it's not a problem with the SD card but something else. (I've also verified that "Card CS" is connected properly on pin 4).

As an FYI: I'm using SPI on the 3.5" TFT, and I've soldered the IM2 jumper.

Do you have any suggestions?

Thanks!

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: 3.5 TFT Unable to Initialize SD Card

Post by adafruit_support_rick »

Can you post a picture of your soldering? Maybe there's an issue with the CCS pin. Also, try a different jumper or breadboard location.

User avatar
Tarkon
 
Posts: 29
Joined: Thu Aug 28, 2014 9:56 pm

Re: 3.5 TFT Unable to Initialize SD Card

Post by Tarkon »

Sure thing, here's the picture. I also tried resoldering it just in case to make sure that the solder was evenly spread out on the jumper (I did that before taking this picture). Unfortunately, still no go. I also tried moving the SD CS pin from 4 to 5 (and changing it in the code as well) - but still no luck. Lastly, I went out and bought a new 8 GB microSD card and tried that too. Again (as with all scenarios), I got a fail on trying to initialize the SD card when looking at the serial monitor. It's able to draw graphics, it just can't read from the SD card (but the 2.2 TFT can display bitmaps no problem using the Adafruit_ILI9340 library).

Just as an FYI - I'm formatting the cards with FAT32 and no partitions.

Thanks!

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: 3.5 TFT Unable to Initialize SD Card

Post by adafruit_support_rick »

Can you try that picture again?

User avatar
Tarkon
 
Posts: 29
Joined: Thu Aug 28, 2014 9:56 pm

Re: 3.5 TFT Unable to Initialize SD Card

Post by Tarkon »

I'm sorry, I'm uh...I'm new with computers.
Attachments
UtVEbFMEYuEbhygGkPUG2q7VrDNoKNxdVn7x8TrcZj8,vtDyDXqCp5PoZVHs5_hy_R_jyjT9aqtzAYlu26sSPXw.jpg
UtVEbFMEYuEbhygGkPUG2q7VrDNoKNxdVn7x8TrcZj8,vtDyDXqCp5PoZVHs5_hy_R_jyjT9aqtzAYlu26sSPXw.jpg (310.62 KiB) Viewed 508 times

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: 3.5 TFT Unable to Initialize SD Card

Post by adafruit_support_rick »

Shows everything but the soldering. ;)

User avatar
Tarkon
 
Posts: 29
Joined: Thu Aug 28, 2014 9:56 pm

Re: 3.5 TFT Unable to Initialize SD Card

Post by Tarkon »

Are we talking about the IM2 jumper? If so, it's on the right-hand side. Or do you mean all the SPI interface pins? Sorry if I'm misunderstanding.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: 3.5 TFT Unable to Initialize SD Card

Post by adafruit_support_rick »

All the interface pins.

User avatar
Tarkon
 
Posts: 29
Joined: Thu Aug 28, 2014 9:56 pm

Re: 3.5 TFT Unable to Initialize SD Card

Post by Tarkon »

Sorry for the miscommunication, here you go.
Attachments
hx8357Dpins.jpg
hx8357Dpins.jpg (754.97 KiB) Viewed 503 times

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: 3.5 TFT Unable to Initialize SD Card

Post by adafruit_support_rick »

Not too bad. Both GND pins could be better. Re-do those, and try to get the nice flow you have on the other pins. See if that helps.

User avatar
Tarkon
 
Posts: 29
Joined: Thu Aug 28, 2014 9:56 pm

Re: 3.5 TFT Unable to Initialize SD Card

Post by Tarkon »

I hit all the pins again and tried to make sure they were well soldered, but still no luck :(
Attachments
IMG_5974.JPG
IMG_5974.JPG (421.38 KiB) Viewed 470 times
IMG_5975.JPG
IMG_5975.JPG (276.59 KiB) Viewed 470 times
IMG_5976.JPG
IMG_5976.JPG (258.24 KiB) Viewed 470 times

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: 3.5 TFT Unable to Initialize SD Card

Post by adafruit_support_rick »

OK. Let's replace the display. Please email [email protected] with a link to this thread for a replacement

User avatar
Aristodaniel
 
Posts: 17
Joined: Thu Nov 06, 2014 7:08 am

Re: 3.5 TFT Unable to Initialize SD Card

Post by Aristodaniel »

I purchased the 2.2 TFT ILI9340 breakout board with SD card. The screen works fine except when testing the SD card I run into troubles. Following the steps from the learn section I manage to check the SD card and get the following feedback on the serial monitor:
Wiring is correct and card is present
Card type:SDHC
Volume type is FAT32
Volume size(Mbytes):3841
files found : card is still empty
When trying to write to the card I get the message: Initalizing SD card..... failed.
Any suggestions?
Thanks.

User avatar
Tarkon
 
Posts: 29
Joined: Thu Aug 28, 2014 9:56 pm

Re: 3.5 TFT Unable to Initialize SD Card

Post by Tarkon »

Are you attempting to view the woof.bmp test file?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: 3.5 TFT Unable to Initialize SD Card

Post by adafruit_support_rick »

Please post clear, detailed pictures of the display, showing your soldering and wiring

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”