<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi.</p>
<p>I have now experienced some issues with this updated firmware. I drove the car home just fine, and parked. When I locked the car it issued a continuous warning tone suggesting I shouldn't leave the car in that state. All doors were definitely shut. I turned the car back on, and the dashboard said "When parked apply parking brake". But the handbrake was firmly on. On dismissing that, it reported "I-Key system fault". It wouldn't enter drive ready state.</p>
<p>I turned the car off, unplugged OVMS and turned on again. Errors still present. It told me to press the brake pedal in order to turn the car on. I was pressing it, but it didn't seem to recognise this.</p>
<p>After a while I came back and disconnected the 12V. On starting up again the I-Key message was still on the dash. I dismissed it, and then it seemed happy. OVMS is now plugged back in.</p>
<p>I'm guessing these errors are indicative of CAN bus problems, e.g. preventing communication of brake state?</p>
<p>Some command outputs from very recently (i.e. after the events described above):</p>
<p>OVMS# can can1 status<br />CAN:       can1<br />Mode:      Active<br />Speed:     500000<br />DBC:       none</p>
<p>Interrupts:             7299933<br />Rx pkt:                 7299698<br />Rx ovrflw:                    3<br />Tx pkt:                    1371<br />Tx delays:                   50<br />Tx ovrflw:                    0<br />Tx fails:                   108</p>
<p>Err flags: 0x008040d9<br />Rx err:                       0<br />Tx err:                     128<br />Rx invalid:                   0<br />Wdg Resets:                   0<br />Wdg Timer:                    8 sec(s)<br />Err Resets:                   0</p>
<p><br />OVMS# can can2 status<br />CAN:       can2<br />Mode:      Active<br />Speed:     500000<br />DBC:       none</p>
<p>Interrupts:              210984<br />Rx pkt:                  211985<br />Rx ovrflw:                    0<br />Tx pkt:                       8<br />Tx delays:                    0<br />Tx ovrflw:                    0<br />Tx fails:                     0</p>
<p>Err flags: 0x01000001<br />Rx err:                       0<br />Tx err:                       0<br />Rx invalid:                   0<br />Wdg Resets:                   0<br />Wdg Timer:                    8 sec(s)<br />Err Resets:                   0</p>
<p><br />How would I look for changes in can error frequency in the log?<br />In these numbers perhaps?</p>
<p>2025-01-22 17:28:17.683 GMT E (16789963) can: can2: intr=9475533 rxpkt=9494723 txpkt=52 errflags=0x22401c02 rxerr=0 txerr=0 rxinval=0 rxovr=0 txovr=0 txdelay=0 txfail=0 wdgreset=0 errreset=0<br />2025-01-22 17:28:17.693 GMT E (16789973) can: can2: intr=9475533 rxpkt=9494724 txpkt=52 errflags=0x23401c01 rxerr=0 txerr=0 rxinval=0 rxovr=0 txovr=0 txdelay=0 txfail=0 wdgreset=0 errreset=0</p>
<p>2025-01-22 21:40:18.843 GMT E (10075543) can: can2: intr=210249 rxpkt=211242 txpkt=8 errflags=0x22401c02 rxerr=0 txerr=0 rxinval=0 rxovr=0 txovr=0 txdelay=0 txfail=0 wdgreset=0 errreset=0<br />2025-01-22 21:40:18.843 GMT E (10075543) can: can2: intr=210249 rxpkt=211243 txpkt=8 errflags=0x23401c01 rxerr=0 txerr=0 rxinval=0 rxovr=0 txovr=0 txdelay=0 txfail=0 wdgreset=0 errreset=0</p>
<p>I can't see any mentions of can1 in the log, other than ovms-server-v3 pollstats. The log is set to debug level.</p>
<p>I have poller times and can share those if needed.</p>
<p>Chris</p>
<p><br /></p>
<p id="reply-intro">On 2025-01-22 16:24, Michael Balzer via OvmsDev wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">Chris,<br /><br />typically "can can1 status" & "can can2 status" will give the statistics of the buses, and "poller times on" will enable poller timing statistics to be then shown by "poller times status".<br /><br />The Leaf uses can2 to query these values:<br /><span style="font-family: monospace;">// VIN [19]<br />// QC [2]<br />// L0/L1/L2 [2]</span><br /><br />...but only when the car is on, but not in drive mode. So you should check if you get these values.<br /><br />It also uses can2 for TCU commands, if the model year is >= 2016.<br /><br />So you should try commands and see if they work correctly.<br /><br />Please also check the log for changes in can error occurence & frequency.<br /><br />Regards,<br />Michael<br /><br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<p id="v1reply-intro">On 2025-01-21 00:41, Derek Caudwell via OvmsDev wrote:</p>
<blockquote style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0;">
<div id="v1replybody1">
<div dir="ltr">Hi Chris
<div> </div>
<div>Here are the required changes, as I understand them, to be compiled into a new firmware from this thread: <a class="v1moz-txt-link-freetext" href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/1102/files" target="_blank" rel="noopener noreferrer">https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/1102/files</a></div>
<div> </div>
<div>Cheers</div>
<div>Derek</div>
</div>
</div>
</blockquote>
</blockquote>
</div>
</blockquote>

</body></html>