Greetings all,
I am trying to get an 8GB microSD card working with a 3.3v/8mhz arduino pro micro, under Arduino IDE 1.6.4, which previously worked with IDE 1.0.6.
I have this wiring:
SD SS/CS: pro micro pin 10
SD MISO: pro micro pin 14
SD CLK: pro micro pin 15
SD MOSI: pro micro pin 16
SD GND: pro micro GND pin
SD VCC: pro micro Vcc pin
The example code "CardInfo" under 1.6.4 reports*:
Initializing SD card...Wiring is correct and a card is present.
Card type: SD2
Could not find FAT16/FAT32 partition.
Make sure you've formatted the card
*=I think this might be a lie.
I also tried the example code "ReadWrite" which gave a DIFFERENT error:
Initializing SD card...initialization failed!
(I note that these two examples initialize the card differently)
I had this setup working previously with Arduino IDE 1.0.6. I had some issues there, which were PEBKAC issues, documented here, and were resolved, but it might be good background:
http://forum.arduino.cc/index.php?topic=284664.5
In that setup, I used the same arduino pro micro, but I used an SD->microSD adapter in that setup, which I had used as a microSD slot. I have replaced this ad-hoc experimental setup with a smaller version, this one:
http://linksprite.com/wiki/index.php5?title=Raspberry_Pi_microSD_Card_Adaptor
I have triple-checked the wiring to this new adapter.
The only things that have changed since the setup was working are:
- Arduino IDE 1.0.6 to Arduino IDE 1.6.4
- Different microSD adapter
I have verified:
- The previous setup worked fine, both with cardinfo and the readwrite demo
- Triple-checked the wiring to the SD card adapter
- The card is formatted properly, with a valid VFAT
Any thoughts? Wild supposition: Arduino 1.6.4 doesn't know about the odd SPI pin assignments for the arduino pro micro, but I have no way to test or verify this (the variants tree is present and looks correct, has an entry for 'promicro' etc).