[Ovmsdev] Uart errors accessing SD Card

Michael Geddes frog at bunyip.wheelycreek.net
Mon Jul 22 16:34:37 HKT 2024


This is what I have according to the welcome message;
  Hardware: OVMS WIFI BLE BT cores=2 rev=ESP32/3; MODEM SIM7600

//.ichael

On Wed, 10 July 2024, 08:14 Mark Webb-Johnson, <mark at webb-johnson.net>
wrote:

> Older versions of OVMS hardware can’t handle high speed sd card access.
> Could that be the problem?
>
> Regards, Mark
>
> On 9 Jul 2024, at 10:52 PM, Michael Geddes via OvmsDev <
> ovmsdev at lists.openvehicles.com> wrote:
>
> 
> It's a 25000kHz sd card.
> config set sdcard maxfreq.khz 15000
> did the trick. Setting it to 20000 was still giving grief.
>
> //.
>
> On Tue, 9 Jul 2024 at 08:37, Michael Geddes <frog at bunyip.wheelycreek.net>
> wrote:
>
>> Since forever I've been getting uart errors (4) - which seems to be an
>> ERROR
>> *E (56071827) uart_events: uart event type: 4*
>>
>> It seems it gets easily overwhelmed.
>>
>> For example while doing (From the web i/f) 'vfs ls /sd'  is fine (there
>> are only 15 entries there) .. the command:
>> *vfs ls /sd/log*
>>
>> causes a whole bunch of the above uart errors (l50 or so) interrupted by
>> the output of the command results (50 or so files).  I'm not sure  whether
>> it lists all of them.. but probably?
>>
>> I was implementing file completion in 'vfs' command.. and it works except
>> for when trying to complete in that directory.  I suspect that it's
>> overwhelming the limited spaces in the complete buffer.. but also the
>> messages queue is getting swamped by all the uart_event errors.
>>
>> Thoughts?
>>
>> //.ichael
>>
>>
>>
>>
> _______________________________________________
> 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/20240722/9e3756c8/attachment.htm>


More information about the OvmsDev mailing list