<div dir="ltr">How are we going with this investigation?<div><br></div><div>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.</div><div><br></div><div>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.</div><div> </div><div>Anyway, those patches mentioned above seem to have resolved that issue with the hangups which is why I made the p/r.</div><div> </div><div>BTW I have been running my Ioniq5 with the latest of the timing patches for a while now.</div><div><br></div><div>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. </div><div><br></div><div>//.ichael</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, 22 Feb 2025 at 02:52, Chris Box via OvmsDev <<a href="mailto:ovmsdev@lists.openvehicles.com">ovmsdev@lists.openvehicles.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<blockquote type="cite" style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px">
<div id="m_-33968677479948343v1replybody1" style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div>
<blockquote style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px">
<div id="m_-33968677479948343v1v1v1v1replybody1" dir="auto">
<div>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.</div>
</div>
</blockquote>
<div id="m_-33968677479948343v1v1v1v1replybody1" dir="auto">
<div> </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<div id="m_-33968677479948343v1replybody1" style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div id="m_-33968677479948343v1v1v1v1replybody1" dir="auto">
<div> </div>
<div>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.</div>
<div> </div>
<div>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.</div>
<div> </div>
<div>However I see codes that suggest communication errors between Nissan modules:</div>
<div>C118C-01 ABS Brake: Malfunction is detected in VCM system. Control module communication issue.</div>
<div>B2064-00 BCM Shift PN Diag CAN: Park-Neutral position switch signal discrepancy</div>
<div>C1A70-01 BRAKE: Malfunction is detected in ABS actuator control unit system</div>
<div>U1266-02 MULTI AV: Malfunction is detected between the AV control unit and TCU</div>
<div>U0428-00 AVM: Invalid data received from steering angle sensor module</div>
<div> </div>
<div>So I'm thinking perhaps the whole car briefly had low voltage.</div>
<div> </div>
<div>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.</div>
<div> </div>
<div>P317E-00 EV/HEV HV Battery System EVC-249 (perhaps caused by <a href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/issues/1061" rel="noopener noreferrer" target="_blank">#1061</a>)</div>
<div>U1A06-15 TCU Communication incorrect calibration (probably because I've removed its antenna)</div>
<div> </div>
<div>Chris</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="m_-33968677479948343v1_rc_sig"></div>
</div>
</div>
_______________________________________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank">OvmsDev@lists.openvehicles.com</a><br>
<a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" rel="noreferrer" target="_blank">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
</blockquote></div>