SD CARD INITIALIZATION FAILS

Hi!

I am having the same problem. I tried the "DataLogger" example and modified it in a way that it outputs the errors' code and date. The interesting thing is, that it works once after every second reset!

<<< RESET button pressed >>>

Initializing SD card...Initialization failed.
Error code: 2
Error data: FF

<<< RESET button pressed >>>

Initializing SD card...Wiring is correct and a card is present.

<<< RESET button pressed >>>

Initializing SD card...Initialization failed.
Error code: 2
Error data: FF

<<< RESET button pressed >>>

Initializing SD card...Wiring is correct and a card is present.

I am using this adapter (link to eBay)

And if the initialization has been successful I can write exactly one time to a file. After the first file.open() / file.close() it cannot be opened again. :frowning:

Unbenannt 1.png