Cannot detect SD card after battery runs out
PROBLEM :
The kit is set to SD mode and collects data properly. Next, the kit is left to run using its battery until it completely drains out and the kit is off.
Next, charge the battery and turn the kit back on. The sensor cannot detect the SD card. Light showing ⚠️ Warning. Collecting data but not storing it in sdcard
SOLUTION :
-
Connect the kit with the shell
-
SCK > outlevel 2
-
Take the SD card out, and re-insert.
Problem solved, data is written into the SD card. Firstly historical data, gradually catches up with real-time data.
Hi @mingyuzhuu
can you indicate:
- how long was the device left without power?
- what was the configuration (reading interval) if not the default one?
If it's possible to repeat the test, I would suggest to do the following before running it:
- Enable debugging onto sdcard messages:
debug -sdcard
- Increase verbosity level:
outlevel 2
And in the sd-card there should be a DEBUG.txt file that we can inspect, at least with the information from before the misdetection.
Thanks @oscgonfer
Update :
- The sensor was unplugged for more than five days.
- The reading interval is every minute.
New Solution procedure:
After more trials, here are the new observations.
- After re-plugging, the sensor first shows '❌ Error. Not collecting data'.
- Push the power button once, '👍 Ready to be setup'. Click start logging on the phone.
- The sensor then shows '⚠️ Warning. Collecting data but not storing it in sdcard'.
- Extract the sdcard and re-insert, everything then works perfectly fine.
No increasing verbosity level is done during the whole process.
Hi @mingyuzhuu
Thank you for the update. I have repeated your steps but I am still unable to reproduce it.
One question: was the sd-card extracted at some point and put into a computer? If so, can you check the "dirty bit"? https://www.partitionwizard.com/clone-disk/dirty-bit.html