Shield PN 1141, on an UNO R3. Two issues: first, I cannot upload any code when the shield is attached. I only get the "not synced" error and eventual timeout. Code uploads fine to the bare board. This is inconvenient, but not a killer.
Second, just running the SD library example CardinfoSD with CS set to pin 10, initialization worked once, telling me the wiring was OK, but then that it could not read FAT32. Now, I just get Initialization failed. Using 32G Sandisk HC I, slow formatted with SD utility, card R/W fine from card reader. Windows.
The RTC works fine.
Any suggestions deeply appreciated!
arduino data logger- SD init fail
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- dastels
- Posts: 15760
- Joined: Tue Oct 20, 2015 3:22 pm
Re: arduino data logger- SD init fail
Please post a clear photo(s) showing the header soldering on the shield.
Dave
Dave
- jim3003
- Posts: 4
- Joined: Wed Aug 24, 2022 11:00 am
Re: arduino data logger- SD init fail
like these?
- Attachments
-
- IMG_0404.jpg (185.92 KiB) Viewed 266 times
-
- IMG_0403.jpg (227.14 KiB) Viewed 266 times
- dastels
- Posts: 15760
- Joined: Tue Oct 20, 2015 3:22 pm
Re: arduino data logger- SD init fail
What I see looks reasonable. What about the row on the other side?
Dave
Dave
- jim3003
- Posts: 4
- Joined: Wed Aug 24, 2022 11:00 am
Re: arduino data logger- SD init fail
Here's a picture, but it seems pretty much the same. I also checked continuity through the ICSP pins/header, and they were all good. Thanks for thinking about this!
- Attachments
-
- IMG_0408.jpg (319.74 KiB) Viewed 254 times
- dastels
- Posts: 15760
- Joined: Tue Oct 20, 2015 3:22 pm
Re: arduino data logger- SD init fail
That row looks fine as well. Between the card not working and not being able to upload with the shield installed makes me think something is shorted. Something SPI related since the card uses SPI while the RTC uses I2C (and works). Double check the ICSP pins. check that there is no continuity between any of the pins. and maybe check/redo the soldering. Check the reset button on the shield while you're at it. Does the soldering look clean? Does pressing it reset the UNO? Does grounding the reset pin (shield installed) reset the UNO?
Dave
Dave
- jim3003
- Posts: 4
- Joined: Wed Aug 24, 2022 11:00 am
Re: arduino data logger- SD init fail
Hi Dave, based on your remarks and suspicion, I scraped and scoured around the ICSP pins, even under the header plastic bit, and sure enough, it got better. I'll take more care in future, thanks for the guidance. (FYI- the reset button worked)
I really appreciate your taking the time to help!
I really appreciate your taking the time to help!
- dastels
- Posts: 15760
- Joined: Tue Oct 20, 2015 3:22 pm
Re: arduino data logger- SD init fail
Glad to help!
Dave
Dave
Please be positive and constructive with your questions and comments.