[Ovmsdev] SD-card issues
Geir Øyvind Vælidalo
geir at validalo.net
Sun Apr 21 18:56:21 HKT 2019
Ok, a small update: I’ve added the same functionality to the Kia Soul module and it works perfectly there. That module has a 16GB Toshiba Exceria microSDHC UHS-I card. When the Niro is back home, I’ll test the same SD-card on that module.
Feeling hopeful 🙂
Geir
> 20. apr. 2019 kl. 23:33 skrev Geir Øyvind Vælidalo <geir at validalo.net>:
>
> Hi guys,
>
> I’m having some issues with the SD-card stops working after a few minutes. I haven't used the SD for anything yet, except backup of settings, but currently I’ve started to use it for storing status (SOC), trip energy usage and 12V logging. After some time the SD-card just stops working. I don’t get any error messages. Sometimes the ls-command shows the files, but cat-ing the files only gives «OK». Other times the card just seems either empty or the files appears empty. sd unmount and sd mount «fixes» the issue.
>
> I’m saving fairly seldom; I append 22 bytes to one file every 5 minutes, saving status (currently only SOC) to another file when charging stops or car is turned off, and then 164 bytes to a third file whenever the car is turned off (used by a new range calculator since I can’t find the proper one from the can-bus ).
> Reading is done during boot, and then when user access my new AUX Battery monitor-page, so not very often. Therefore, I don’t think there is any issues with my code in respect to file handles, files sizes or strain on the SD-card. Could be wrong though...
>
> Any tips to what to try? I plan to try a different SD-card, so any recommendations?
>
> Best regards,
> Geir
>
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20190421/eb3df427/attachment.htm>
More information about the OvmsDev
mailing list