<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=""><div class=""><br class=""></div>25% is better than 81.2% :-)<div class=""><br class=""></div><div class="">Sounds like the SD CARD just can’t keep up with logging volume. You could try to use RETOOLS ’serve’ mode to log over wifi. Alternatively, the new code I just committed can log in pcap mode, which may be less cpu intensive (as crtd is a textual format), but won’t do anything for SD speed.</div><div class=""><br class=""></div><div class="">Regards, Mark.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 19 Jun 2019, at 12:23 PM, Tamás Kovács <<a href="mailto:kommykt@gmail.com" class="">kommykt@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Now set 20000, and now the dropped package about 25%.</div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net" class="">mark@webb-johnson.net</a>> ezt írta (időpont: 2019. jún. 18., K, 7:14):<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class=""><div dir="ltr" class="">The Mac processor and I/O is a little bit faster than the little esp32.</div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class="">You can try to set to 20000 then reboot. Should be about 5 times faster than default. But if running old hardware without 5v usb connected, then may crash. Recent modules, or when you have USB connected, can operate at high speed.</div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class="">Regards, Mark</div><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 18 Jun 2019, at 11:56 AM, Tamás Kovács <<a href="mailto:kommykt@gmail.com" target="_blank" class="">kommykt@gmail.com</a>> wrote:</div><br class="gmail-m_-9004060277200527494Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class="">Now i remove the SD card in my Mac the speed is 10MB/s / 80MB /s (W/R).</div><div class="">I have a 1.5 year old modell with the following numbers (2018020219PTWU)</div><div class="">If run ‘config list sdcard’ only show 'sdcard (readable writeable)'</div><div class="">if i run 'config set sdcard maxfreq.khz 16000' now show this value for ‘config list sdcard’.</div><div class=""><br class=""></div><div class="">For download, if i copy the log to another folder than sd root, i can browse the folder tree, and download directly. </div></div></div></div></div></div></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net" target="_blank" class="">mark@webb-johnson.net</a>> ezt írta (időpont: 2019. jún. 18., K, 2:14):<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class="">Tamás,<div class=""><br class=""></div><div class="">Yes, it seems SD CARD is too slow.</div><div class=""><br class=""></div><div class="">Can you check ‘config list sdcard’ and see if you have a ‘maxfreq.khz’ value set? The default is 16000.</div><div class=""><br class=""></div><div class="">If you have a reasonably modern OVMS module, or are running from USB power (even if 12v is connected as well), you can set:</div><div class=""><br class=""></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px" class=""><div class="">config set sdcard maxfreq.khz 20000</div></blockquote><div class=""><div class=""><br class=""></div><div class="">and reboot, to improve the SD CARD write speed.</div><div class=""><br class=""></div><div class="">The 1R11 means reception of a 11bit (standard) CAN message on CAN1 bus. A 1T11 would mean transmission. I think you should be able to download via the browser - personally, I just scp the files off the module over wifi.</div><div class=""><br class=""></div><div class="">Regards, Mark.</div><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 15 Jun 2019, at 1:58 AM, Tamás Kovács <<a href="mailto:kommykt@gmail.com" target="_blank" class="">kommykt@gmail.com</a>> wrote:</div><br class="gmail-m_-9004060277200527494gmail-m_1509172195149913941Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class="">I want to create log file from can messages while Lexia connected to obd, but many message has dropped. My sd card is too slow to write all data?</div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class="">I start logging with can log crtd /sd/lexia.crtd command</div><div dir="ltr" class=""><br class=""><div class=""><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Closing log: Type:crtd; Path:'/sd/lexia.crtd'; Filter:off; Vehicle:MI;</span></div><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class="">
</p><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Statistics: total messages: 3334194, dropped: 2707476 = 81.2%</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><br class=""></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><br class=""></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class="">In can log i can see the incoming messages?</div><pre style="word-wrap:break-word;white-space:pre-wrap" class="">This is a RX message:</pre><pre style="word-wrap:break-word;white-space:pre-wrap" class="">175594.785 1R11 346 27 10 40 00 00 00 00 42</pre><pre style="word-wrap:break-word;white-space:pre-wrap" class="">if 1R11 is 1T11 this is a TX message on CAN1?</pre><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class="">How can i download the log file, the easiest way, because if i use browser and add the file url (ip/lexia.crtd) the browser load its content.</div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div class=""><br class=""></div><div dir="ltr" class="gmail-m_-9004060277200527494gmail-m_1509172195149913941gmail_signature"><br class=""><br class=""></div></div></div></div></div></div>
_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank" class="">OvmsDev@lists.openvehicles.com</a><br class=""><a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" target="_blank" class="">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br class=""></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">
OvmsDev mailing list<br class="">
<a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank" class="">OvmsDev@lists.openvehicles.com</a><br class="">
<a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" rel="noreferrer" target="_blank" class="">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br class="">
</blockquote></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="gmail-m_-9004060277200527494gmail_signature">Üdvözlettel:<br class="">Kovács Tamás<br class=""><br class=""></div>
_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank" class="">OvmsDev@lists.openvehicles.com</a><br class=""><a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" target="_blank" class="">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br class=""></div></blockquote></div><br class=""></div>_______________________________________________<br class="">
OvmsDev mailing list<br class="">
<a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank" class="">OvmsDev@lists.openvehicles.com</a><br class="">
<a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" rel="noreferrer" target="_blank" class="">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br class="">
</blockquote></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="gmail_signature">Üdvözlettel:<br class="">Kovács Tamás<br class=""><br class=""></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>