<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 id="reply-intro">On 2025-01-23 08:19, Michael Balzer wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">did you take the can status outputs _before_ unplugging the OVMS when the car wouldn't enter drive ready?</div>
</blockquote>
<div> </div>
<div>No, unfortunately at the time I was only thinking of wanting to get the car working again.</div>
<div> </div>
<div> </div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div>Also, did you use the new poller firmware before without issues, i.e. can you confirm the issue only turns up with the new bus timing test? That would confirm it's a timing issue, and it would mean the new timing makes it worse.</div>
<div> </div>
</blockquote>
<div> </div>
<div>Previously I was using git master firmware from 19th November. I covered 800 miles in two months using this firmware and only experienced one issue (drive going to neutral).</div>
<div> </div>
<div>As this firmware gave me an issue on the same day I flashed it, this morning I've reverted the bus timing back to how it was before. But I've kept the single sampling change:</div>
<div> </div>
<div><code>MODULE_ESP32CAN->BTR1.B.SAM = (MyESP32can->m_speed < CAN_SPEED_125KBPS) ? 1 : 0;</code></div>
<div> </div>
<div>So we'll see how this one goes.</div>
<div> </div>
<div> </div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">How would I look for changes in can error frequency in the log?</blockquote>
<br />Basically by counting the error log entries for each bus to see if they generally increase or decrease, in more detail by also taking the error types logged into account. Some errors log entries are normal, may even occur frequently.</div>
</blockquote>
<div> </div>
<div>Could I do this by looking at these counters? e.g. delays/overflow/fails/err/invalid/resets.</div>
<div> </div>
<div>
<div><code><span>OVMS# can can1 status</span></code></div>
<div><code><span>CAN: can1</span></code></div>
<div><code><span>Mode: Active</span></code></div>
<div><code><span>Speed: 500000</span></code></div>
<div><code><span>DBC: none</span></code></div>
<div><code><span> </span></code></div>
<div><code><span>Interrupts: 6752500</span></code></div>
<div><code><span>Rx pkt: 6752388</span></code></div>
<div><code><span>Rx ovrflw: 1</span></code></div>
<div><code><span>Tx pkt: 737</span></code></div>
<div><code><span>Tx delays: 0</span></code></div>
<div><code><span>Tx ovrflw: 0</span></code></div>
<div><code><span>Tx fails: 0</span></code></div>
<div><code><span> </span></code></div>
<div><code><span>Err flags: 0x00000000</span></code></div>
<div><code><span>Rx err: 0</span></code></div>
<div><code><span>Tx err: 0</span></code></div>
<div><code><span>Rx invalid: 0</span></code></div>
<div><code><span>Wdg Resets: 0</span></code></div>
<div><code><span>Wdg Timer: 0 sec(s)</span></code></div>
<div><code><span>Err Resets: 0</span></code></div>
<p>The above set was taken before charging.</p>
<p>After charging (and soc limit applied):</p>
<div><code><span>OVMS# can can1 status</span></code></div>
<div><code><span>CAN: can1</span></code></div>
<div><code><span>Mode: Active</span></code></div>
<div><code><span>Speed: 500000</span></code></div>
<div><code><span>DBC: none</span></code></div>
<div><code><span> </span></code></div>
<div><code><span>Interrupts: 7294918</span></code></div>
<div><code><span>Rx pkt: 7294172</span></code></div>
<div><code><span>Rx ovrflw: 1</span></code></div>
<div><code><span>Tx pkt: 1103</span></code></div>
<div><code><span>Tx delays: 50</span></code></div>
<div><code><span>Tx ovrflw: 0</span></code></div>
<div><code><span>Tx fails: 144</span></code></div>
<div><code><span> </span></code></div>
<div><code><span>Err flags: 0x008040d9</span></code></div>
<div><code><span>Rx err: 0</span></code></div>
<div><code><span>Tx err: 128</span></code></div>
<div><code><span>Rx invalid: 0</span></code></div>
<div><code><span>Wdg Resets: 0</span></code></div>
<div><code><span>Wdg Timer: 2 sec(s)</span></code></div>
<div><code><span>Err Resets: 0</span></code></div>
</div>
<div> </div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div>So I suggest first isolating this by selectively putting one bus into listen mode and testing if the issue then still turns up.<br />Use the "can <bus> start" command to switch the mode, e.g.: can can1 start listen 500000</div>
</blockquote>
<div> </div>
<div>I think I'll first give this new firmware a couple of days to see if it's free of issues.</div>
<div> </div>
<div>If it is, then I could reapply the bus timing changes and then set can1 into listen mode. And see how that goes.</div>
<div> </div>
<div>Chris</div>
<p><br /></p>
</body></html>