Hey everyone,
My SD card(SanDisk 8gb SDHC) used to work for a long period of time up until recently when it didn't want to initialize anymore while in the middle of some tests. Based on some other questions that I found on this forum, I tried to do what was written in those questions. Here are some pieces of code gotten from the serial while running SDInfo.ino from Sdfat repository on github
errorCode: 1
errorData: FF
SdFat version: 20150324
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
cardBegin failed
SD errorCode: 0X1
SD errorData: 0X0
type any character to start
cardBegin failed
SD errorCode: 0X1
SD errorData: 0XFF
type any character to start
cardBegin failed
SD errorCode: 0X1
SD errorData: 0XFF
type any character to start
cardBegin failed
SD errorCode: 0X2
SD errorData: 0XFF
type any character to start
cardBegin failed
SD errorCode: 0X1
SD errorData: 0XFF
type any character to start
cardBegin failed
SD errorCode: 0X1
SD errorData: 0XFF
type any character to start
I used the link underneath to attach pins.
http://www.instructables.com/id/Cheap-DIY-SD-card-breadboard-socket/
Although I don't know what the error codes mean, I assumed it would be the FAT32 formatting problem. And this might be a problem because I cannot format it anymore due to the attached pins on the sd card.
If anyone has an idea what might have caused this, and how I could prevent it in the future, please leave a message.
Regards,
Alex