Here are the setting :
- Arduino IDE 1.85
- Arduino Mega 2560
- Pin connections: CS-> 4 | MOSI → 51 | MISO-> 50 | SCK-> 52 | VCC → 5V | GND->GND
- sD CARD adapter: https://www.amazon.it/Skynet-Lettore-scheda-Arduino-Raspberry/dp/B01DNXWVES
- The microsd is 2GB
I’ve tried both SD library and SdFat library and here are the output when running CardInfo from SD library:
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
And here is what I get when running SdInfo from SdFat:
SdFat version: 1.0.5
Assuming the SD is the only SPI device.
Edit DISABLE_CHIP_SELECT to disable another device.
Assuming the SD chip select pin is: 4
Edit SD_CHIP_SELECT to change the SD chip select pin.
type any character to start
init time: 613 ms
Card type: SD2
Manufacturer ID: 0X3
OEM ID: SD
Product: SD032
Version: 8.0
Serial number: 0XFFFFFFFF
Manufacturing date: 2/2006
cardSize: 1434381.75 MB (MB = 1,000,000 bytes)
flashEraseSize: 32 blocks
eraseSingleBlock: true
OCR: 0X80FF8000
SD Partition Table
part,boot,type,start,length
1,0X0,0X0,0,0
2,0X0,0X0,0,0
3,0X0,0X0,0,0
4,0X0,0X0,0,0
error:
File System initialization failed.
Any help/idea would be really appreciated! Thank you!