I am using the Adafruit Data Logging shield for Arduino with a Adafruit Metro ESP32-S2. I am using the SD card library that came with the Metro board. I have been able to read and write to the SD card, but sometimes the card cannot be mounted. For instance, if I turn the power off and on with the card in the slot, the SD card cannot be mounted. But if I remove the card and reinsert it into the card reader when the power is on, the program runs successfully.
I am using the SD Test example that came with the Metro board library.
Does anyone know why I am seeing this behavior? The card was formatted with the SD card formatter utility suggested by the documentation.
Adafruit Assembled Data Logging shield for Arduino
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- lemdavis
- Posts: 11
- Joined: Wed Nov 03, 2021 7:24 am
- adafruit_support_bill
- Posts: 88092
- Joined: Sat Feb 07, 2009 10:11 am
Re: Adafruit Assembled Data Logging shield for Arduino
I have not seen that kind of behavior before on these shields. Do you have another SD card to try?if I turn the power off and on with the card in the slot, the SD card cannot be mounted. But if I remove the card and reinsert it into the card reader when the power is on, the program runs successfully.
- lemdavis
- Posts: 11
- Joined: Wed Nov 03, 2021 7:24 am
Re: Adafruit Assembled Data Logging shield for Arduino
I just received another board. I will try that one and let you know.
Please be positive and constructive with your questions and comments.