[Ovmsdev] Another incident

Michael Geddes frog at bunyip.wheelycreek.net
Sat Mar 22 10:26:13 HKT 2025


How are we going with this investigation?

I've been following along mostly and have been periodically going over the
poller code trying to work out if there are any points where there could be
timing issues with long-held mutexes (or even deadlocks).  I did push up
some small tweaks recently but there was no aha! moment.

I have been working on some changes that would move forward on the idea of
building a vehicle implementation from duktape scripts... and I had been
getting some points where ovms went berserk, kicked out the ssh session and
stopped responding on ssh http but then eventually came back (without a
reset) after some minutes. The script was simply adding a new
PollSeriesEntry which then uses the dbc decoder (with improvements) to
decode to metrics, noting that the script is setup only and that there are
no call-backs into the duktape engine/task.

Anyway, those patches mentioned above seem to have resolved that issue with
the hangups which is why I made the p/r.

BTW I have been running my Ioniq5 with the latest of the timing patches for
a while now.

Because of the correlation of the bus issues with the poller changes, I am
still concerned that the poller changes are contributing to the problem
(even if not directly causing it), so would be happy to chase down any
leads people might have.

//.ichael

On Sat, 22 Feb 2025 at 02:52, Chris Box via OvmsDev <
ovmsdev at lists.openvehicles.com> wrote:

> Check your DTCs with leafspy, if it shows a bunch of DTCs including a
> B2604 BCM Shift PN diag, then likely low 12v, try a 24 hr charge or replace
> it.
>
>
>
>
> I did indeed have B2604-00, along with nineteen others. Most of these
> mention CAN errors, and it seems plausible that low 12v could be a common
> cause.
>
> Do you think this rules out a poor OVMS OBDII connection? I'm thinking if
> I have high resistance in that connector, then OVMS will experience low
> voltage but the rest of the car modules will have good voltage.
>
> However I see codes that suggest communication errors between Nissan
> modules:
> C118C-01 ABS Brake: Malfunction is detected in VCM system. Control module
> communication issue.
> B2064-00 BCM Shift PN Diag CAN: Park-Neutral position switch signal
> discrepancy
> C1A70-01 BRAKE: Malfunction is detected in ABS actuator control unit system
> U1266-02 MULTI AV: Malfunction is detected between the AV control unit and
> TCU
> U0428-00 AVM: Invalid data received from steering angle sensor module
>
> So I'm thinking perhaps the whole car briefly had low voltage.
>
> To try to fix this, I cleaned the 12v battery terminals and performed a
> long charge. After clearing the codes, I have only two codes that reappear.
>
> P317E-00 EV/HEV HV Battery System EVC-249 (perhaps caused by #1061
> <https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/issues/1061>
> )
> U1A06-15 TCU Communication incorrect calibration (probably because I've
> removed its antenna)
>
> Chris
> _______________________________________________
> 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/20250322/670808a6/attachment.htm>


More information about the OvmsDev mailing list