OVMS# can can1 start active 1000000Can bus can1 started in mode active at speed 1000000bpsOVMS# can can2 start active 1000000Can bus can2 started in mode active at speed 1000000bpsOVMS# test cantx can1 25000Testing 25000 frames on can1Transmitted 25000 frames in 6.466209s = 258us/frameOVMS# can can1 statusCAN: can1Mode: ActiveSpeed: 1000000Interrupts: 24771Rx pkt: 0Rx err: 0Rx ovrflw: 0Tx pkt: 24880Tx delays: 24703Tx err: 0Tx ovrflw: 109Err flags: 0OVMS# can can2 statusCAN: can2Mode: ActiveSpeed: 1000000Interrupts: 19084Rx pkt: 24770Rx err: 0Rx ovrflw: 1Tx pkt: 0Tx delays: 0Tx err: 0Tx ovrflw: 0Err flags: 0x2040
OVMS# test cantx can1 25000Testing 25000 frames on can1Transmitted 25000 frames in 6.479670s = 259us/frameOVMS# can can1 statusCAN: can1Mode: ActiveSpeed: 1000000Interrupts: 49546Rx pkt: 0Rx err: 0Rx ovrflw: 0Tx pkt: 49771Tx delays: 49417Tx err: 0Tx ovrflw: 207Err flags: 0OVMS# can can2 statusCAN: can2Mode: ActiveSpeed: 1000000Interrupts: 38288Rx pkt: 49545Rx err: 0Rx ovrflw: 3Tx pkt: 0Tx delays: 0Tx err: 0Tx ovrflw: 0Err flags: 0x2040
SSSSSSSSFFFFFFFF***EB01TLLLLLLLL
- SSSSSSSS = intstat
- FFFFFFFF = errflag
- B = RXB0 or RXB1 overflow flags cleared
- 0 = RXB0 overflowed
- 1 = RXB1 overflowed
- T = TX buffer has become available
- E = Error/WakeUp flags were cleared
- LLLLLLLL = intflag
OVMS# test cantx can1 25000
Testing 25000 frames on can1
Transmitted 25000 frames in 6.389849s = 255us/frame
OVMS# can can1 status
CAN: can1
Mode: Active
Speed: 1000000
Interrupts: 24777
Rx pkt: 0
Rx err: 0
Rx ovrflw: 0
Tx pkt: 24884
Tx delays: 24739
Tx err: 0
Tx ovrflw: 116
Err flags: 0x00000000
OVMS# can can2 status
CAN: can2
Mode: Active
Speed: 1000000
Interrupts: 18935
Rx pkt: 24777
Rx err: 0
Rx ovrflw: 0
Tx pkt: 0
Tx delays: 0
Tx err: 0
Tx ovrflw: 0
Err flags: 0x01000001
On 7 Jul 2018, at 10:42 AM, Tom Parker <tom@carrott.org> wrote:On 07/07/18 00:05, Mark Webb-Johnson wrote:Err flags 0x2040. The 0x20 part is the error interrupt. The 0x40 part is "RX0OVR: Receive Buffer 0 Overflow Flag bit”.
Where the number on ‘can can2 status’ moving at all? Or completely stuck?
None of the can can2 status numbers change when the can bus is broken. After power cycling it they move.Seems different than the fault Greg and I are seeing. This one likely to be interrupt flag, or buffer overflow, not being cleared correctly. I’m guessing the overflow because that just doesn’t seem correct in mcp2515::RxCallback(). I’ll focus on that and have a look.
I just checked the car again and it stopped with Rx ovrflw number only 1281, half what it got to last time.
_______________________________________________
OvmsDev mailing list
OvmsDev@lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev