gilestrolab / ethoscope

a platform from monitoring animal behaviour in real time from a raspberry pi
http://lab.gilest.ro/ethoscope/
GNU General Public License v3.0
17 stars 25 forks source link

Ethoscope going into emergency mode #145

Closed ThHoler closed 3 years ago

ThHoler commented 3 years ago

Hello,

Recently our ethoscopes have been having a new issue. Once an experiment is done and we end the acquisition, the ethoscope sometimes disappears entirely from the list of available machines on the Platform Overview page. This happens without us actually shutting the ethoscope down.

We tried connecting a monitor to the ethoscope using an HDMI cable and this is what we saw : 20210201_123602

So far the only solution we have found to that issue was to reset the SD card and flash it again, which is quite bothersome considering it happens somewhat often. What could be the reason for that issue and the solution to it ?

Thanks in advance.

ggilestro commented 3 years ago

This is a sign of failure of the SD card. Unfortunately, the failure rate in SD cards is the weakest aspect of the platform at the moment and depends largely on the brand of SD cards one uses. We have had the best results with Samsung cards in the past.

ThHoler commented 3 years ago

Thank you for the answer.

We have been using Samsung 64 gb cards. Is there any way to mitigate the risk of SD card failure ? I suppose it isn't possible to use a USB stick to host the software for instance ?

ggilestro commented 3 years ago

I have made a change to the code that removes some heavy writing activity on the SD card upon completion of the experiment. Perhaps this was the issue. You may want to try and update your ethoscopes now.

ggilestro commented 3 years ago

Closed for lack of activity