yes I did try that. The serial monitor keeps printing:
initialization failed. Things to check:
* is a card is inserted?
* Is your wiring correct?
* did you change the chipSelect pin to match your shield or module?
Card type: SD1
Could not find FAT16/FAT32 partition.
Make sure you've formatted the card
advice before purchase
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88160
- Joined: Sat Feb 07, 2009 10:11 am
Re: advice before purchase
Interesting. It is seeing the card, it just can't recognize the partition. Do you see the same thing with both of your SD cards?
Make sure to use the SD association formatter on your cards. We've seen OSX create some non-standard partitions before.
Make sure to use the SD association formatter on your cards. We've seen OSX create some non-standard partitions before.
-
- Posts: 26
- Joined: Mon Jan 20, 2014 9:04 pm
Re: advice before purchase
yes, same thing with both SD cards. Do I need to change the chipSelect pin? right now is set to 4. What about the jumpers on the shield? I followed the picture in the original tutorial. I mean the jumpers from CCS/LAT/DI/CLK and LCS to the digital I/O on the shield. Right now I have:
LCS -> DIGITAL I/O 2
CLK -> 3
DI -> 4
LAT -> 5
CCS -> 10
Is that correct?
LCS -> DIGITAL I/O 2
CLK -> 3
DI -> 4
LAT -> 5
CCS -> 10
Is that correct?
- adafruit_support_bill
- Posts: 88160
- Joined: Sat Feb 07, 2009 10:11 am
Re: advice before purchase
Yes. Your jumpers have it set to 10, so your code should be 10 also.Do I need to change the chipSelect pin? right now is set to 4.
LCS -> DIGITAL I/O 2
CLK -> 3
DI -> 4
LAT -> 5
CCS -> 10
-
- Posts: 26
- Joined: Mon Jan 20, 2014 9:04 pm
Re: advice before purchase
I changed the chipSelect assignment in the sketch to 10. I got this out of the serial monitor:
Card type: SD2
Could not find FAT16/FAT32 partition.
Make sure you've formatted the card
Why is the card type now SD2 being the same card?
Also at the top of the sketch I find the following comment:
The circuit:
* SD card attached to SPI bus as follows:
** UNO: MOSI - pin 11, MISO - pin 12, CLK - pin 13, CS - pin 4 (CS pin can be changed)
and pin #10 (SS) must be an output
** Mega: MOSI - pin 51, MISO - pin 50, CLK - pin 52, CS - pin 4 (CS pin can be changed)
and pin #52 (SS) must be an output
** Leonardo: Connect to hardware SPI via the ICSP header
Pin 4 used here for consistency with other Arduino examples
I have CCS going to pin 10, does that make it an output?
Also I have CLK going to pin 3 is that ok?
I really don't know what it means "SD card attached to SPI bus as follows" so I'm wondering if there's an issue with the pinouts.
Card type: SD2
Could not find FAT16/FAT32 partition.
Make sure you've formatted the card
Why is the card type now SD2 being the same card?
Also at the top of the sketch I find the following comment:
The circuit:
* SD card attached to SPI bus as follows:
** UNO: MOSI - pin 11, MISO - pin 12, CLK - pin 13, CS - pin 4 (CS pin can be changed)
and pin #10 (SS) must be an output
** Mega: MOSI - pin 51, MISO - pin 50, CLK - pin 52, CS - pin 4 (CS pin can be changed)
and pin #52 (SS) must be an output
** Leonardo: Connect to hardware SPI via the ICSP header
Pin 4 used here for consistency with other Arduino examples
I have CCS going to pin 10, does that make it an output?
Also I have CLK going to pin 3 is that ok?
I really don't know what it means "SD card attached to SPI bus as follows" so I'm wondering if there's an issue with the pinouts.
- adafruit_support_bill
- Posts: 88160
- Joined: Sat Feb 07, 2009 10:11 am
Re: advice before purchase
The shield connects the card to the MOSI, MISO and CLK pins of the SPI bus (pins 11, 12 & 13) by default. The CS pin is jumper selectable. In your photos you have connected it to pin 10.I really don't know what it means "SD card attached to SPI bus as follows" so I'm wondering if there's an issue with the pinouts.
That is a different CLK signal, used to talk to the DAC.Also I have CLK going to pin 3 is that ok?
I've run out of things to try here. Your build looks OK, but clearly it has trouble reading either of your cards. If you contact [email protected] with a link to this thread we can ship you a replacement kit.
Please be positive and constructive with your questions and comments.