[Ovmsdev] can log

Michael Balzer dexter at expeedo.de
Thu Jun 20 02:25:18 HKT 2019


Possibly a Captain Obvious statement, but you also should disable SD logging while doing anything that needs full speed capacity.

And for the web access, see the server docs: you can't get a directory listing of the root directory, as that has the same URL as the framework index page. You
can access files if their paths do not match any internal page path though, so you can access a root level file by its name.

Regards,
Michael


Am 19.06.19 um 06:23 schrieb Tamás Kovács:
> Now set 20000, and now the dropped package about 25%.
>
> Mark Webb-Johnson <mark at webb-johnson.net <mailto:mark at webb-johnson.net>> ezt írta (időpont: 2019. jún. 18., K, 7:14):
>
>     The Mac processor and I/O is a little bit faster than the little esp32.
>
>     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.
>
>     Regards, Mark
>
>>     On 18 Jun 2019, at 11:56 AM, Tamás Kovács <kommykt at gmail.com <mailto:kommykt at gmail.com>> wrote:
>>
>>     Now i remove the SD card in my Mac the speed is 10MB/s / 80MB /s (W/R).
>>     I have a 1.5 year old modell with the following numbers (2018020219PTWU)
>>     If run ‘config list sdcard’ only show 'sdcard (readable writeable)'
>>     if i run 'config set sdcard maxfreq.khz 16000' now show this value for ‘config list sdcard’.
>>
>>     For download, if i copy the log to another folder than sd root, i can browse the folder tree, and download directly. 
>>
>>     Mark Webb-Johnson <mark at webb-johnson.net <mailto:mark at webb-johnson.net>> ezt írta (időpont: 2019. jún. 18., K, 2:14):
>>
>>         Tamás,
>>
>>         Yes, it seems SD CARD is too slow.
>>
>>         Can you check ‘config list sdcard’ and see if you have a ‘maxfreq.khz’ value set? The default is 16000.
>>
>>         If you have a reasonably modern OVMS module, or are running from USB power (even if 12v is connected as well), you can set:
>>
>>             config set sdcard maxfreq.khz 20000
>>
>>
>>         and reboot, to improve the SD CARD write speed.
>>
>>         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.
>>
>>         Regards, Mark.
>>
>>>         On 15 Jun 2019, at 1:58 AM, Tamás Kovács <kommykt at gmail.com <mailto:kommykt at gmail.com>> wrote:
>>>
>>>         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?
>>>
>>>         I start logging with can log crtd /sd/lexia.crtd command
>>>
>>>         Closing log: Type:crtd; Path:'/sd/lexia.crtd'; Filter:off; Vehicle:MI;
>>>
>>>         Statistics: total messages: 3334194, dropped: 2707476 = 81.2%
>>>
>>>
>>>         In can log i can see the incoming messages?
>>>         This is a RX message:
>>>         175594.785 1R11 346 27 10 40 00 00 00 00 42
>>>         if 1R11 is 1T11 this is a TX message on CAN1?
>>>         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.
>>>
>>>
>>>
>>>
>>>         _______________________________________________
>>>         OvmsDev mailing list
>>>         OvmsDev at lists.openvehicles.com <mailto:OvmsDev at lists.openvehicles.com>
>>>         http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>>
>>         _______________________________________________
>>         OvmsDev mailing list
>>         OvmsDev at lists.openvehicles.com <mailto:OvmsDev at lists.openvehicles.com>
>>         http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>>
>>
>>
>>     -- 
>>     Üdvözlettel:
>>     Kovács Tamás
>>
>>     _______________________________________________
>>     OvmsDev mailing list
>>     OvmsDev at lists.openvehicles.com <mailto:OvmsDev at lists.openvehicles.com>
>>     http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>
>     _______________________________________________
>     OvmsDev mailing list
>     OvmsDev at lists.openvehicles.com <mailto:OvmsDev at lists.openvehicles.com>
>     http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>
>
>
> -- 
> Üdvözlettel:
> Kovács Tamás
>
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev

-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20190619/fb510ed2/attachment.htm>


More information about the OvmsDev mailing list