<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">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.<div class=""><br class=""></div><div class="">Feeling hopeful 🙂</div><div class=""><br class=""></div><div class="">Geir<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">20. apr. 2019 kl. 23:33 skrev Geir Øyvind Vælidalo <<a href="mailto:geir@validalo.net" class="">geir@validalo.net</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi guys,<div class=""><br class=""></div><div class="">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. </div><div class=""><br class=""></div><div class="">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 ). </div><div class="">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...</div><div class=""><br class=""></div><div class="">Any tips to what to try? I plan to try a different SD-card, so any recommendations?</div><div class=""><br class=""></div><div class="">Best regards,</div><div class="">Geir</div><div class=""><br class=""></div><div class=""><br class=""></div></div>_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.openvehicles.com" class="">OvmsDev@lists.openvehicles.com</a><br class="">http://lists.openvehicles.com/mailman/listinfo/ovmsdev<br class=""></div></blockquote></div><br class=""></div></body></html>