At work, I had been working with creating the datalog.txt file itself. For some reasons that SD card will have datalog.txt made from Win.
Yes, I used SD formatter that I had downloaded as referred from the sticky thread.
After formatting the SD card with the SD formatter, I created empty datalog.txt afterward with the file manager.
the Cardinfo sketch checked and can see it.
Then I check with the Datalogger sketch, it could not see that file for some reasons.
I found a way around it. I used Files sketch instead to create a datalog.txt file in there. It works!
Then I went home and continue to work on this.
On my home computer, I checked Cardinfo to make sure that it can see the file.
It kept on saying:
Initializing SD card...initialization failed. Things to check:
* is a card inserted?
* is your wiring correct?
* did you change the chipSelect pin to match your shield or module?
I don't understand why. Then I used SD Formatter to format it and tried to create the datalog.txt the same way I did.
It came up with this:
Initializing SD card...initialization failed.
I tried this many times with no success.
Then out of luck, Cardinfo sketch will list no files then I tried Files sketch. It works as it show the result. Then I checked Cardinfo to make sure that it actually does have the file in there.
It failed again and again then it will list nothing. Then I tried Files again with no success.
Is the SD module or SD card broke?
Anyone had this kind of experience?