I'm unable to open the file system, i have tried different libraries, different hardware configurations but nothing seams to work properly.
I get an type 0xEE on the partition: i wiped the card with diskpart: "clean disk", and formated fat32
To make it complete, I have now two hardware setup with the same component types running and they behave equally.
Can some one please, help me: I suspect it is a pinout problem, mayby the chip select.
My configuration now:
- arduino Nano v3 : like this Nano 3.0 Mini Usb Driver Atmega328 5v 16m Micro Controller Board Nano Ch340 V3.0 For Arduino - Integrated Circuits - AliExpress
- with pinout like this Introduction to Arduino Nano - The Engineering Projects
- micro SD card adapter: like this 1pcs Micro Sd Storage Board Adapter Tf Card Memory Shield Expansion Module Spi Interface For Arduino Avr Microcontroller 3.3v - Integrated Circuits - AliExpress
no extra power than through usb-cable (for now)
circuit:
adapter -> arduino
GND -> GND(Beside VIN)
VCC -> VIN
MISO -> MISO(D12)
MOSI -> MOSI(D11)
SCK -> SCK (D13)
CS -> SS(D10)
Code: unchanged SdInfo Example from SdFat
SdFat version: 10100
Assuming the SD is the only SPI device.
Edit DISABLE_CHIP_SELECT to disable another device.
Assuming the SD chip select pin is: 10
Edit SD_CHIP_SELECT to change the SD chip select pin.
type any character to start
init time: 118 ms
Card type: SDHC
Manufacturer ID: 0X3
OEM ID: SD
Product: SC16G
Version: 8.0
Serial number: 0XBA1339DA
Manufacturing date: 8/2011
cardSize: 15931.54 MB (MB = 1,000,000 bytes)
flashEraseSize: 128 blocks
eraseSingleBlock: true
OCR: 0XC0FF8000
SD Partition Table
part,boot,type,start,length
1,0X0,0XEE,1,4294967295
2,0X0,0X0,0,0
3,0X0,0X0,0,0
4,0X0,0X0,0,0
error:
File System initialization failed.