[Ovmsdev] debugging CAN bus error flags

Derek Caudwell d.caudwell at gmail.com
Wed Jul 15 19:15:12 HKT 2020


On my Nissan Leaf I am getting the following error irqs repeating on CAN
bus 2. The error flags appear to be set in esp32can.cpp but I could use
some pointers on how to interpret their meaning and hence how to handle the
interrupts (assuming they are not real errors):

1970-01-01 13:01:41 NZDT E (89501) can: can2: intr=93510 rxpkt=127559
txpkt=14 errflags=0x23000001 rxerr=0 txerr=0 rxovr=0 txovr=0 txdelay=0
wdgreset=0 errreset=0
1970-01-01 13:01:41 NZDT E (89511) can: can2: intr=93511 rxpkt=127564
txpkt=14 errflags=0x23400401 rxerr=0 txerr=0 rxovr=0 txovr=0 txdelay=0
wdgreset=0 errreset=0
1970-01-01 13:01:41 NZDT E (89531) can: can2: intr=93525 rxpkt=127592
txpkt=14 errflags=0x22400402 rxerr=0 txerr=0 rxovr=0 txovr=0 txdelay=0
wdgreset=0 errreset=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20200715/ad9354f1/attachment.html>


More information about the OvmsDev mailing list