[Ovmsdev] Draft P/R - Retrying starting of ECU Can

Michael Geddes frog at bunyip.wheelycreek.net
Thu Mar 12 20:40:58 HKT 2026


I have a draft for a little issue I was encountering where the ECU CAN was
not starting.  It was possibly happening in a hot car?
It was compounded by the state going to ON despite it not actually starting.

I have moved the map loading into the ECU Task, and I retry turing the CAN
on in the task until it starts or is killed.

I've also put some mutexes around the value map access.  I was
contemplating just moving the map reload into the thread, but then the dump
still should be mutexed.

https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/1350

It still needs some more testing, but feedback wouldbe welcome.

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


More information about the OvmsDev mailing list