Problem with CANBUS during print/idle

I’m not a CAN bus expert, but there is something strange here.

It’s not the greatest capture, but best I can do.
This is a single capture of a intermittent (but frequent) anomaly.
Whats strange about this:

  • The CAN H and CAN L both have a differential offset from 2.5V instead
  • This causes the Differential to not go down to 0V
  • This is coming from the EBB42, as it is present even when not connected to canbus.

I am not sure if this is a potential issue with my EBB42, or if it’s something else. It might even be normal behaviour, but I can’t find enough info on it…
This would of course affect can performance.

What you’re seeing is most likely scope artifacts. I have no idea what your oscilloscope is, but other than the pauses, I don’t see anything that I can glean what the data is or the quality of the signals on the lines.

At a guess, your scope is running at 400kSamples/second (1/(50us/s) (for the timebase) x 10 (as a guess) x 2 (for the Nyquist frequency)) which just won’t be fast enough for the 500 kbps signals you’re trying to look at.

Regardless, differential signals are notoriously hard to probe effectively with single ended probes. I suggest that you look to see if you can find somebody with a scope capable of 100 Msamples/s with probes that can be combined to handle differential signals like this. Note that in the video @NAPCAL posted, it uses an instrument designed for looking at a CAN bus and it displays the difference between the two lines, not each one individually.

If I can throw in another variable - how do you know your 12V/24V power to the EBB is good and continuous? I’m wondering if you have a break in a power line that is failing very intermittently when the wires are being flexed.

Good luck!

@mykepredko. Thx for the input!

At a guess, your scope is running at 400kSamples/second (1/(50us/s) (for the timebase) x 10 (as a guess) x 2 (for the Nyquist frequency)) which just won’t be fast enough for the 500 kbps signals you’re trying to look at.

So I used two probes. One on Can H, one on Can L with common ground.
Cyan - CAN H
Yellow - CAN L
Magenta is A-B (differential)
DS212 scope

  • 10Msa/s
  • 1Mhz Bandwith

My scope is not made for this :upside_down_face: I guess I wasn’t trying to decode the CAN data, was just really trying to see if there were obvious anomalies. Don’t know many people with logic analyzers/high-end scopes. Long story short, it would make sense to even buy a entry-level $500 scope to diagnose this.

If I can throw in another variable - how do you know your 12V/24V power to the EBB is good and continuous? I’m wondering if you have a break in a power line that is failing very intermittently when the wires are being flexed.

Definitely not a PSU issue. I eliminated bad wiring early on in my tests. Replaced and re-crimped power and can wires. Since I can make klipper (notice I say klipper, not can interface) fall over using cangen. This is without running a print and the tool head is stationary. My deduction is that the physical layer is as good as it gets…

I have also swapped out the EBB42 with another one, to eliminate a bad board.

I’m just concerned that using cangen as a method to test is not valid. IT could simply be overwhelming the available bandwidth… There’s no good way to really measure this.

In trying to figure this out… the “B” in the log is a Bitrate switch flag.
image
I’m not sure why this is even there, but it seems, scratching in the firmware code, that the stm32G0B1 is set up in FD (Flexible Datarate). Not sure if that is relevant, but the packets I generate with cangen don’t have that at all. Seems like it’s only the message generated by the klipper, and only the one?

I think I’m downgrading back to old-school tomorrow. Can’t afford more downtime on my printer. So not more debugging from my side… I’m hoping someone else has a similar experience and might find the underlying issue.

FYI, I have been informed that the code sets up the CAN bus to be CAN 2.0 and not CAN-FD.
This also makes sense since the transceivers on most all BTT boards are CAN and not CAN-FD.
The only exception is the SKR3/SKR3 EZ. This will probably be updated when more boards can support CAN-FD.

Those “B” and “E” in candump are random and should be ignored. (Or, at least, I’ve never seen a pattern to them, and I ignore them.)

-Kevin

1 Like

@koconnor

Firstly. I’m really grateful for all the feedback and suggestions I’m getting from everyone in this community. Everyone has been really forthcoming.
As for the FLAGS
With mine, it is absolutely patterned. Here is a small video clip showing the pattern.

What’s also a little funny is how there is a string of BRS flags, then a string of ERR flags… almost like some resonance. It’s ONLY on the TX messages. In fact closely looking at it now. ALL TX messages either have a B or E flag.
This is what it looks like after issuing a FIRMWARE RESTART (small extract)

 (370.383112)  can0  RX - -  109   [8]  31 10 00 94 28 28 2A E8
 (370.383336)  can0  RX - -  109   [8]  C0 E5 B9 2F 5D 91 22 53
 (370.383566)  can0  RX - -  109   [8]  8B E4 7B EF D4 18 7A 10
 (370.383794)  can0  RX - -  109   [8]  F5 B7 4F 31 50 9B 3E 66
 (370.384020)  can0  RX - -  109   [8]  03 B6 69 DB 92 2B A7 0D
 (370.384258)  can0  RX - -  109   [8]  38 38 79 5F E6 E0 5F 80
 (370.384462)  can0  RX - -  109   [6]  7E 05 10 9E 81 7E
 (370.386133)  can0  TX - -  108   [8]  09 10 01 94 50 28 11 5D
 (370.386411)  can0  TX - -  108   [1]  7E
 (370.386699)  can0  RX - -  109   [8]  31 11 00 94 50 28 A2 0F
 (370.386920)  can0  RX - -  109   [8]  EF 70 BB 8C 80 BE EC DB
 (370.387146)  can0  RX - -  109   [8]  68 91 51 98 BE D2 E1 B9
 (370.387381)  can0  RX - -  109   [8]  56 0B BF EF 94 39 A0 B6
 (370.387614)  can0  RX - -  109   [8]  65 C6 0A 74 8A A0 98 51
 (370.387881)  can0  RX - -  109   [8]  F6 0C 11 E3 94 89 C1 C8
 (370.388040)  can0  RX - -  109   [6]  7E 05 11 8F 08 7E
 (370.389616)  can0  TX B -  108   [8]  09 11 01 94 78 28 F7 EA
 (370.389884)  can0  TX B -  108   [1]  7E
 (370.390170)  can0  RX - -  109   [8]  31 12 00 94 78 28 79 B2
 (370.390409)  can0  RX - -  109   [8]  04 B9 98 26 CE 1F D0 CA
 (370.390629)  can0  RX - -  109   [8]  29 86 B8 A3 4D 9F FF 4B
 (370.390855)  can0  RX - -  109   [8]  2D BB 43 B5 9C 06 6E 67
 (370.391083)  can0  RX - -  109   [8]  4F F3 DB 10 D7 25 09 FD
 (370.391310)  can0  RX - -  109   [8]  F2 92 20 45 E0 C0 8A 65
 (370.391512)  can0  RX - -  109   [6]  7E 05 12 BD 93 7E
 (370.393254)  can0  TX - E  108   [8]  09 12 01 95 20 28 AD CD
 (370.393527)  can0  TX - E  108   [1]  7E
 (370.393818)  can0  RX - -  109   [8]  31 13 00 95 20 28 80 0B
 (370.394039)  can0  RX - -  109   [8]  6E BF 79 85 CD 81 DE 29
 (370.394270)  can0  RX - -  109   [8]  9B 3E DC 71 06 AC DD F4
 (370.394510)  can0  RX - -  109   [8]  F5 8F B0 20 F0 5C 0C A7
 (370.394743)  can0  RX - -  109   [8]  64 76 11 10 CE 3F D6 E8
 (370.394963)  can0  RX - -  109   [8]  38 90 AF DB CC 72 54 2D
 (370.395164)  can0  RX - -  109   [6]  7E 05 13 AC 1A 7E
 (370.396647)  can0  TX B E  108   [8]  09 13 01 95 48 28 0D 1C
 (370.396924)  can0  TX B E  108   [1]  7E
 (370.397211)  can0  RX - -  109   [8]  31 14 00 95 48 28 05 1D
 (370.397434)  can0  RX - -  109   [8]  0E 1B 0B BF A7 17 33 4A
 (370.397661)  can0  RX - -  109   [8]  8A EB 96 D2 CF E5 92 53
 (370.397919)  can0  RX - -  109   [8]  E4 A6 57 E6 A6 CB F5 57
 (370.398119)  can0  RX - -  109   [8]  F3 95 75 76 D6 B7 0A 46
 (370.398351)  can0  RX - -  109   [8]  7D 04 6E 9D 2A 80 7F 5B
 (370.398549)  can0  RX - -  109   [6]  7E 05 14 D8 A5 7E
 (370.400515)  can0  TX - -  108   [8]  09 14 01 95 70 28 45 A2
 (370.400925)  can0  TX - -  108   [1]  7E
 (370.401179)  can0  RX - -  109   [8]  31 15 00 95 70 28 59 8C
 (370.401345)  can0  RX - -  109   [8]  5C E1 50 0E 47 FD 43 C7
 (370.401571)  can0  RX - -  109   [8]  71 8B 84 B3 F6 FA E6 C2
 (370.401799)  can0  RX - -  109   [8]  21 FD D8 56 60 A5 5A BA
 (370.402030)  can0  RX - -  109   [8]  0D 83 DE 7A C0 2B 98 BA
 (370.402259)  can0  RX - -  109   [8]  FF 68 FF DD F5 0C 35 37
 (370.402464)  can0  RX - -  109   [6]  7E 05 15 C9 2C 7E
 (370.404326)  can0  TX B -  108   [8]  09 15 01 96 18 28 0A 17
 (370.404604)  can0  TX B -  108   [1]  7E
 (370.404889)  can0  RX - -  109   [8]  31 16 00 96 18 28 E4 E9
 (370.405120)  can0  RX - -  109   [8]  29 47 E6 1F A3 3A 77 13
 (370.405343)  can0  RX - -  109   [8]  6B 33 FD DB 35 54 77 0F
 (370.405570)  can0  RX - -  109   [8]  B3 53 CF 3B 9D 4D C3 70
 (370.405792)  can0  RX - -  109   [8]  BA 9B CF 57 89 17 43 25
 (370.406020)  can0  RX - -  109   [8]  F5 F2 5F 86 5A 33 46 EF
 (370.406222)  can0  RX - -  109   [6]  7E 05 16 FB B7 7E
 (370.407872)  can0  TX - E  108   [8]  09 16 01 96 40 28 0A EC
 (370.408155)  can0  TX - E  108   [1]  7E
 (370.408421)  can0  RX - -  109   [8]  0A 17 00 96 40 01 AA 74
 (370.408638)  can0  RX - -  109   [7]  12 7E 05 17 EA 3E 7E
 (370.410453)  can0  TX - E  108   [8]  09 17 01 96 41 28 18 70
 (370.410737)  can0  TX - E  108   [1]  7E
 (370.411001)  can0  RX - -  109   [8]  09 18 00 96 41 00 C3 7D
 (370.411190)  can0  RX - -  109   [6]  7E 05 18 12 C9 7E
 (370.429513)  can0  TX B E  108   [6]  06 18 4C 3C D3 7E
 (370.429762)  can0  RX - -  109   [8]  0E 19 68 06 12 3F 6B 25
 (370.430049)  can0  RX - -  109   [8]  0C B1 04 E2 CA 7E 05 19
 (370.430118)  can0  RX - -  109   [3]  03 40 7E
 (370.432247)  can0  TX - -  108   [6]  06 19 04 EB 47 7E
 (370.432504)  can0  RX - -  109   [8]  0C 1A 51 06 83 FB A7 9D
 (370.432814)  can0  RX - -  109   [8]  52 FD BB 7E 05 1A 31 DB
 (370.432859)  can0  RX - -  109   [1]  7E
 (370.443163)  can0  RX - -  109   [8]  0E 1A 59 09 84 84 C8 FC
 (370.443321)  can0  RX - -  109   [6]  4A BA 0A CD 65 7E
 (370.453150)  can0  RX - -  109   [8]  0F 1A 59 0A 84 84 F0 84
 (370.453335)  can0  RX - -  109   [7]  4A 81 F5 46 B9 95 7E
 (370.484746)  can0  TX - E  108   [6]  06 1A 05 D0 A6 7E
 (370.484987)  can0  RX - -  109   [8]  0B 1B 52 83 FC F4 A7 56
 (370.485221)  can0  RX - -  109   [8]  1D 0B 7E 05 1B 20 52 7E
 (370.536997)  can0  TX B E  108   [6]  06 1B 05 C9 7E 7E
 (370.537257)  can0  RX - -  109   [8]  0B 1C 52 83 FE C0 BB 0E
 (370.537498)  can0  RX - -  109   [8]  E4 56 7E 05 1C 54 ED 7E
 (370.589286)  can0  TX - -  108   [6]  06 1C 05 84 76 7E
 (370.589539)  can0  RX - -  109   [8]  0B 1D 52 84 80 8C DB 46
 (370.589767)  can0  RX - -  109   [8]  B7 94 7E 05 1D 45 64 7E
 (370.642120)  can0  TX B -  108   [6]  06 1D 05 9D AE 7E
 (370.642374)  can0  RX - -  109   [8]  0B 1E 52 84 81 DB 8C 7E
 (370.642608)  can0  RX - -  109   [8]  2F 93 7E 05 1E 77 FF 7E
 (370.694597)  can0  TX B -  108   [6]  06 1E 05 B7 C6 7E
 (370.694847)  can0  RX - -  109   [8]  0B 1F 52 84 83 A8 8A 36
 (370.695081)  can0  RX - -  109   [8]  7C 10 7E 05 1F 66 76 7E
 (370.743148)  can0  RX - -  109   [8]  0E 1F 59 09 84 8D DC EC
 (370.743322)  can0  RX - -  109   [6]  4A BA 08 0D 4E 7E
 (370.746718)  can0  TX B E  108   [6]  06 1F 05 AE 1E 7E
 (370.746978)  can0  RX - -  109   [8]  0B 10 52 84 84 F3 DB 6E
 (370.747202)  can0  RX - -  109   [8]  8C 62 7E 05 10 9E 81 7E
 (370.753149)  can0  RX - -  109   [8]  0F 10 59 0A 84 8E 83 F4
 (370.753339)  can0  RX - -  109   [7]  4A 81 F5 44 B8 D7 7E
 (370.799354)  can0  TX - -  108   [6]  06 10 05 2D D6 7E
 (370.799608)  can0  RX - -  109   [8]  0B 11 52 84 86 C1 A7 3E
 (370.799834)  can0  RX - -  109   [8]  12 36 7E 05 11 8F 08 7E
 (370.851609)  can0  TX B -  108   [6]  06 11 05 34 0E 7E
 (370.851859)  can0  RX - -  109   [8]  0B 12 52 84 88 8D B7 76
 (370.852086)  can0  RX - -  109   [8]  EC 12 7E 05 12 BD 93 7E
 (370.855895)  can0  TX - E  108   [6]  06 12 05 1E 66 7E
 (370.856150)  can0  RX - -  109   [8]  0B 13 52 84 88 9E 95 16
 (370.856385)  can0  RX - -  109   [8]  6A B3 7E 05 13 AC 1A 7E
 (370.860703)  can0  TX B E  108   [8]  0C 13 0C 01 81 FF FD EB
 (370.861110)  can0  TX B E  108   [4]  28 FD DD 7E
 (370.861384)  can0  RX - -  109   [8]  08 14 55 88 07 57 08 7E
 (370.861552)  can0  RX - -  109   [5]  05 14 D8 A5 7E
 (370.863235)  can0  TX - -  108   [8]  0C 14 0C 01 81 FF FD EB
 (370.863625)  can0  TX - -  108   [4]  4A 21 C7 7E
 (370.863887)  can0  RX - -  109   [8]  08 15 55 8A 63 5D 21 7E
 (370.864111)  can0  RX - -  109   [5]  05 15 C9 2C 7E
 (370.888831)  can0  TX - -  108   [6]  06 15 07 70 7C 7E
 (370.889081)  can0  RX - -  109   [8]  0F 16 53 01 8D FD B9 8A
 (370.889317)  can0  RX - -  109   [8]  7B 00 88 00 18 5B 7E 05
 (370.889484)  can0  RX - -  109   [4]  16 FB B7 7E
 (370.895764)  can0  TX B -  108   [8]  09 16 32 04 00 00 B4 3E
 (370.896151)  can0  TX B -  108   [1]  7E
 (370.896472)  can0  RX - -  109   [8]  12 17 5D 04 84 89 BB A8
 (370.896696)  can0  TX - E  108   [8]  0E 17 19 01 00 00 00 00
 (370.896937)  can0  RX - -  109   [8]  67 8E 3B 00 00 00 00 87
 (370.897138)  can0  TX - E  108   [6]  00 00 00 E3 4D 7E
 (370.897411)  can0  RX - -  109   [7]  1B 7E 05 17 EA 3E 7E
 (370.897538)  can0  RX - -  109   [5]  05 18 12 C9 7E
 (370.897780)  can0  TX - E  108   [8]  0A 18 1D 02 00 00 00 08
 (370.898185)  can0  TX - E  108   [2]  72 7E
 (370.898449)  can0  RX - -  109   [5]  05 19 03 40 7E
 (370.898652)  can0  TX B E  108   [8]  08 19 14 05 00 C8 26 7E
 (370.898914)  can0  RX - -  109   [5]  05 1A 31 DB 7E
 (370.899133)  can0  TX B E  108   [8]  08 1A 0E 0C 01 DD 95 7E
 (370.899392)  can0  RX - -  109   [5]  05 1B 20 52 7E
 (370.899615)  can0  TX B E  108   [8]  0D 1B 0F 06 E4 8F B4 89
 (370.900025)  can0  TX B E  108   [5]  36 00 C5 D5 7E
 (370.900230)  can0  RX - -  109   [5]  05 1C 54 ED 7E
 (370.904098)  can0  TX - -  108   [8]  0D 1C 0F 07 E4 8F B5 8C
 (370.904561)  can0  TX - -  108   [5]  16 00 B5 D7 7E
 (370.904835)  can0  RX - -  109   [5]  05 1D 45 64 7E
 (370.905054)  can0  TX B -  108   [8]  0D 1D 0F 08 E4 8F B5 DE
 (370.905463)  can0  TX B -  108   [5]  27 00 78 FF 7E
 (370.905738)  can0  RX - -  109   [5]  05 1E 77 FF 7E
 (370.905954)  can0  TX B -  108   [8]  19 1E 1F 09 E4 B8 B5 EA
 (370.906420)  can0  TX B -  108   [8]  06 83 F4 00 08 89 93 F0
 (370.906895)  can0  TX B -  108   [8]  00 00 83 FF 7F 04 1C 2E
 (370.907230)  can0  TX B -  108   [1]  7E
 (370.907494)  can0  RX - -  109   [5]  05 1F 66 76 7E
 (370.907712)  can0  TX - E  108   [8]  1A 1F 1F 0A E4 B8 DC F2
 (370.908232)  can0  TX - E  108   [8]  06 83 F4 00 08 89 93 F0
 (370.908710)  can0  TX - E  108   [8]  00 8B 5F 81 FC 2F 04 FF
 (370.909068)  can0  TX - E  108   [2]  51 7E
 (370.909333)  can0  RX - -  109   [5]  05 10 9E 81 7E
 (370.909548)  can0  TX - E  108   [8]  0D 10 0F 0B E4 8F BC C0
 (370.909948)  can0  TX - E  108   [5]  13 00 60 6C 7E
 (370.910156)  can0  RX - -  109   [5]  05 11 8F 08 7E
 (371.263497)  can0  TX B E  108   [8]  0E 11 44 00 05 EA 03 48
 (371.263947)  can0  TX B E  108   [6]  20 E4 0A 09 80 7E
 (371.264169)  can0  RX - -  109   [5]  05 12 BD 93 7E
 (371.267153)  can0  RX - -  109   [8]  08 12 65 00 00 AC 8F 7E
 (371.269998)  can0  TX B E  108   [8]  0E 12 44 00 05 EA 03 48
 (371.270436)  can0  TX B E  108   [6]  20 E4 0A 7D E9 7E
 (371.270651)  can0  RX - -  109   [5]  05 13 AC 1A 7E
 (371.273641)  can0  RX - -  109   [8]  08 13 65 00 00 B0 34 7E
 (371.275395)  can0  TX B E  108   [8]  0E 13 44 00 05 EA 03 48
 (371.275845)  can0  TX B E  108   [6]  20 E4 0A 51 CE 7E
 (371.276066)  can0  RX - -  109   [5]  05 14 D8 A5 7E
 (371.279064)  can0  RX - -  109   [8]  08 14 65 00 00 E7 15 7E
 (371.282239)  can0  TX - -  108   [8]  0E 14 44 00 05 EA 03 48
 (371.282672)  can0  TX - -  108   [6]  20 E4 0A 95 3B 7E
 (371.282891)  can0  RX - -  109   [5]  05 15 C9 2C 7E
 (371.285889)  can0  RX - -  109   [8]  08 15 65 00 00 FB AE 7E
 (371.287893)  can0  TX - -  108   [8]  0E 15 44 00 05 EA 03 48
 (371.288329)  can0  TX - -  108   [6]  20 E4 0A B9 1C 7E
 (371.288550)  can0  RX - -  109   [5]  05 16 FB B7 7E
 (371.291539)  can0  RX - -  109   [8]  08 16 65 00 00 DE 63 7E
 (371.348196)  can0  TX B -  108   [8]  31 16 0F 08 E4 9E DF F2
 (371.348699)  can0  TX B -  108   [8]  58 85 E1 40 1D 02 E4 B3
 (371.349167)  can0  TX B -  108   [8]  C0 82 1C A7 88 00 02 1C
 (371.349619)  can0  TX B -  108   [8]  02 E4 B4 A1 D6 1C 19 01
 (371.350075)  can0  TX B -  108   [8]  E4 B3 C0 82 1C 87 40 04
 (371.350534)  can0  TX B -  108   [8]  83 F3 7D 00 02 01 44 B2
 (371.350865)  can0  TX B -  108   [1]  7E
 (371.351123)  can0  RX - -  109   [5]  05 17 EA 3E 7E
 (371.755946)  can0  RX - -  109   [8]  0F 17 50 85 46 A8 F0 6A
 (371.756125)  can0  RX - -  109   [7]  82 E3 AC 41 3A 95 7E
 (371.840876)  can0  TX B -  108   [8]  0E 17 05 0F 08 E4 B0 B9
 (371.841342)  can0  TX B -  108   [6]  C2 58 00 44 C6 7E
 (371.841620)  can0  RX - -  109   [8]  0B 18 52 84 A6 A7 C6 4E
 (371.841939)  can0  RX - -  109   [8]  00 C2 7E 05 18 12 C9 7E
 (372.273903)  can0  RX - -  109   [8]  0E 18 58 02 01 00 84 B3
 (372.274075)  can0  RX - -  109   [6]  C0 85 2D 11 17 7E
 (372.283894)  can0  RX - -  109   [8]  0E 18 58 02 01 00 84 B3
 (372.284063)  can0  RX - -  109   [6]  E7 8D 6B 77 DB 7E
 (372.285696)  can0  TX B -  108   [8]  0C 18 1C 02 84 B4 CA 80
 (372.286110)  can0  TX B -  108   [4]  51 76 E3 7E
 (372.286324)  can0  RX - -  109   [5]  05 19 03 40 7E
 (372.293876)  can0  RX - -  109   [8]  0E 19 58 02 01 00 84 B4
 (372.294049)  can0  RX - -  109   [6]  8E 95 4D 8A EB 7E
 (372.295958)  can0  TX B -  108   [8]  0C 19 1C 02 84 B4 F1 89
 (372.296390)  can0  TX B -  108   [4]  20 ED 42 7E
 (372.296600)  can0  RX - -  109   [5]  05 1A 31 DB 7E
 (372.303897)  can0  RX - -  109   [8]  0E 1A 58 02 01 00 84 B4
 (372.304011)  can0  RX - -  109   [6]  B5 9D 2F DF 5E 7E
 (372.304938)  can0  TX B -  108   [8]  0C 1A 1C 02 84 B5 98 92
 (372.305369)  can0  TX B -  108   [4]  18 2E 88 7E
 (372.305598)  can0  RX - -  109   [5]  05 1B 20 52 7E
 (372.313882)  can0  RX - -  109   [8]  0E 1B 58 02 01 00 84 B4
 (372.314060)  can0  RX - -  109   [6]  DC A5 11 CA B5 7E
 (372.315134)  can0  TX - E  108   [8]  0C 1B 1C 02 84 B5 BF 9A
 (372.315547)  can0  TX - E  108   [4]  6A BE 5C 7E
 (372.315757)  can0  RX - -  109   [5]  05 1C 54 ED 7E
 (372.323867)  can0  RX - -  109   [8]  0E 1C 58 02 01 00 84 B5
 (372.324119)  can0  RX - -  109   [6]  83 AD 01 05 9E 7E
 (372.324984)  can0  TX - E  108   [8]  0C 1C 1C 02 84 B5 E6 A3
 (372.325415)  can0  TX - E  108   [4]  62 D0 5D 7E
 (372.325620)  can0  RX - -  109   [5]  05 1D 45 64 7E
 (372.333883)  can0  RX - -  109   [8]  0E 1D 58 02 01 00 84 B5
 (372.334076)  can0  RX - -  109   [6]  AA B4 63 B4 01 7E
 (372.335569)  can0  TX B -  108   [8]  0C 1D 1C 02 84 B6 8D AC
 (372.336110)  can0  TX B -  108   [4]  33 98 00 7E
 (372.336190)  can0  RX - -  109   [5]  05 1E 77 FF 7E
 (372.343887)  can0  RX - -  109   [8]  0E 1E 58 02 01 00 84 B5
 (372.344088)  can0  RX - -  109   [6]  D1 BC 5D 7F 2B 7E
 (372.345656)  can0  TX B -  108   [8]  0C 1E 1C 02 84 B6 B4 B5
 (372.346075)  can0  TX B -  108   [4]  2C A2 9F 7E
 (372.346285)  can0  RX - -  109   [5]  05 1F 66 76 7E
 (372.353896)  can0  RX - -  109   [8]  0E 1F 58 02 01 00 84 B5
 (372.354061)  can0  RX - -  109   [6]  F8 C4 67 6C F4 7E
 (372.355000)  can0  TX - E  108   [8]  0C 1F 1C 02 84 B6 DB BD
 (372.355418)  can0  TX - E  108   [4]  79 A7 42 7E
 (372.355630)  can0  RX - -  109   [5]  05 10 9E 81 7E
 (372.363870)  can0  RX - -  109   [8]  0E 10 58 02 01 00 84 B6
 (372.364075)  can0  RX - -  109   [6]  9F CC 61 C6 5B 7E
 (372.365230)  can0  TX - E  108   [8]  0C 10 1C 02 84 B7 82 C6
 (372.365653)  can0  TX - E  108   [4]  72 BF 09 7E
 (372.365870)  can0  RX - -  109   [5]  05 11 8F 08 7E
 (372.373860)  can0  RX - -  109   [8]  0E 11 58 02 01 00 84 B6
 (372.374043)  can0  RX - -  109   [6]  C6 D5 0B 7B 54 7E
 (372.375133)  can0  TX B -  108   [8]  0F 11 1C 02 84 B7 A9 CF
 (372.375602)  can0  TX B -  108   [7]  43 1B 02 04 87 08 7E
 (372.375922)  can0  RX - -  109   [8]  0A 12 58 02 00 04 00 A1
 (372.376084)  can0  RX - -  109   [7]  6A 7E 05 12 BD 93 7E
 (372.377054)  can0  TX - E  108   [8]  08 12 1B 02 03 3D 67 7E
 (372.377316)  can0  RX - -  109   [8]  0A 13 58 02 00 04 00 A5
 (372.377532)  can0  RX - -  109   [7]  41 7E 05 13 AC 1A 7E
 (372.378061)  can0  TX B -  108   [8]  0E 13 19 01 00 00 00 00
 (372.378527)  can0  TX B -  108   [6]  00 00 00 53 D1 7E
 (372.378787)  can0  RX - -  109   [5]  05 14 D8 A5 7E
 (372.379011)  can0  TX - E  108   [8]  08 14 1B 02 03 76 FD 7E
 (372.379284)  can0  RX - -  109   [8]  0A 15 58 02 00 04 00 BD
 (372.379499)  can0  RX - -  109   [7]  BB 7E 05 15 C9 2C 7E
 (372.402566)  can0  TX - E  108   [8]  0F 15 0F 08 E4 BA BC AE
 (372.403086)  can0  TX - E  108   [7]  60 88 C7 00 A4 6D 7E
 (372.403306)  can0  RX - -  109   [5]  05 16 FB B7 7E
 (372.442188)  can0  RX - -  109   [8]  0E 16 59 09 84 C1 C9 DA
 (372.442372)  can0  RX - -  109   [6]  06 BA 09 5C 45 7E
 (372.452175)  can0  RX - -  109   [8]  0F 16 59 0A 84 C1 F0 E2
 (372.452372)  can0  RX - -  109   [7]  06 81 F5 47 66 EE 7E

As per my previous posts. This could of course all be irrelevant, but whilst it’s there, I can’t rule it out.

@NAPCAL

I only based my statement on the following found in the stm32 Kconfig for the STM32G0B1 (EBB42)

config HAVE_STM32_CANBUS
    bool
    default y if MACH_STM32F1 || MACH_STM32F2 || MACH_STM32F4x5 || MACH_STM32F446 || MACH_STM32F0x2
config HAVE_STM32_FDCANBUS
    bool
    default y if MACH_STM32G0B1 || MACH_STM32H7 || MACH_STM32G4

What actual impact it has I can;t tell you. From what I could see it mainly affects the available pins.

UPDATE:

I finally gave in and risked some prints in a hail-Mary situation.

I have now printed three 10hr+ prints successfully. Here’s the backstory and some deductions.
I currently have it set up as follows:

  • MCP2512-based can hat (dual one actually)
  • 500 000 kbps

I can still get it to fall over using cangen… I think it’s a matter of latency when the buffer starts filling up… There might be room for some more tolerance in this regard rather than a full printer halt, but I think that’s unlikely to happen because of the synchronisation requirements for the MCUs.

I think that maybe when using bridge mode, this situation is exacerbated. At the same bitrate, the bridge mode failed more often. After catching up on some prints, I will re-visit the bridge mode setup, and risk some prints also

I have all but completely eliminated the actual CAN wiring to be any issue…

I still believe that the CAN implementation in klipper/3d printers might need some additional design considerations to be reliable.

I just want to chime in, I think I’m having a very similar problem on my voron setup - the can mcu will timeout without any obvious cause. In my case, the can mcu is an sb2040 (problem happens at both 500000 and 1000000, txqueuelen doesn’t seem to make a difference, and for some reason after installing canboot the timeout happens even quicker, but that may be coincidence?), the can interface is a standalone usb one (both the BTT U2Cv2.1 and Mellow UToC 3 seem to have the same issue), along with an octopus 1.1 and pi4. Installed os is 32 bit.

It DOES NOT time out when homing, in fact I can run complete bed meshes and qgl routines, complete with probe (euclid) docking, with no issues. Even heating commands work fine. This only happens once a print has started. What’s stranger is I was able to complete a few prints before this problem started, but I don’t really know what changed. I’m incredibly frustrated, it feels like I’m running in circles.

I noticed you said you got it working using a MCP2512-based can hat, I do have a waveshare can hat (based on the same chip, I think), I could try that. Is your setup still working reliably?

I got four really long prints out without issue, but had one fail with a different error, but also seemed communication-related… “Got EOF when reading from device”. This might be unrelated.

I’m not confident in the setup yet (at all). Time will tell, either way, this is only supposed to be a temporary setup, as I really want to use the Bridge mode with the Octopus. I will get back to that next week again, but then I think the CAN buffer will be overwhelmed again, since both comms to the Octopus and EBB42 will go via CAN, even though comms to the Octopus is not true CAN, it does seem to have an impact on the buffer performance.

I firmly believe this is a software restriction/issue.

Hmm. Interesting. I wonder though, why are some people able to run these setups with seemingly no problems? I’m really curious what exactly about the different setups (hardware/wiring or software) is causing this for only some people.

I do agree, I think this probably stems from software at this point, but I have no idea what part exactly is causing the problems.

It’s also a mystery to me.

I have looked into maybe it’s the Distro I am using (Mainsail), but I doubt it.

Unfortunately, even though I am at least printing now, I still can’t say for sure what the resolution was (if it is in fact resolved).

There is no good way of testing the stability, since using CanGen, introduces false failures. I can say that you can’t get anywhere near the theoretical limit of the CAN bitrate in real terms. It causes comm loss with MCU.

Will keep at it

Hey all,

Wanted to leave a quick note here thanking you for this thread. It Helped me with my can bus error.

The klippy error i was getting in my logs was:
b’Got error -1 in can write: (105)No buffer space available’

So while not the same as yours, your thread was helpful.

Changed the txqueuelen from 256 to 1024 and have completed one long print, 25 hours and two shorter prints 5 hours each and its running with no issues. Such a simple fix this time.

I am using a voron 2.4 with octopus pro board with the can bus ebb36 to the PA11/PA12 on the octopus board.

And with lots of help from the can bus to octopus pdf doc listed in the forum below.

Here is my latest output of the can0 with tons a packets passed and no buffer issues.
can0: flags=193<UP,RUNNING,NOARP> mtu 16
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 1024 (UNSPEC)
RX packets 27059417 bytes 156977910 (149.7 MiB)
RX errors 0 dropped 1000 overruns 0 frame 0
TX packets 102717538 bytes 781399161 (745.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

thanks again!

1 Like

And you use 500000 as your can speed, right?

Yes I am using 500000.

I had a run a candump during one of these crashes, and I saw this in the output:

 (013.877770)  can0  TX B -  108   [8]  0F 12 0F 0C 87 CD BF 91
 (013.877845)  can0  TX B -  108   [7]  26 87 A9 40 AC 10 7E
 (013.877933)  can0  TX B -  108   [8]  0F 13 0F 0D 87 CD BF A3
 (013.878067)  can0  TX B -  108   [7]  46 87 A9 40 EF C1 7E
 (013.878872)  can0  RX - -  109   [5]  05 13 AC 1A 7E
 (013.879069)  can0  RX - -  109   [5]  05 14 D8 A5 7E
 (013.908078)  can0  RX - -  109   [8]  12 14 67 00 87 CD 8D 9F
 (013.908297)  can0  RX - -  109   [8]  54 01 81 89 9F FE 54 BB
 (013.908435)  can0  RX - -  109   [2]  58 7E
 (013.918101)  can0  RX - -  109   [8]  12 14 67 01 87 CD 94 C9
 (013.918298)  can0  RX - -  109   [8]  14 01 81 89 A7 A8 14 92
 (013.918426)  can0  RX - -  109   [2]  DF 7E
 (013.918644)  can0  RX - -  109   [8]  0E 14 50 82 4E 83 CC 08
 (013.918857)  can0  RX - -  109   [6]  87 FA 17 F6 8A 7E
 (014.047996)  can0  RX - -  2000000C   [8]  00 00 04 00 00 00 00 01   ERRORFRAME
	controller-problem{}
	protocol-violation{{bit-stuffing-error}{}}
	error-counter-tx-rx{{0}{1}}
 (014.048091)  can0  RX - -  2000000C   [8]  00 00 02 00 00 00 00 11   ERRORFRAME
	controller-problem{}
	protocol-violation{{frame-format-error}{}}
	error-counter-tx-rx{{0}{17}}
 (014.048141)  can0  RX - -  2000000C   [8]  00 00 02 00 00 00 00 19   ERRORFRAME
	controller-problem{}
	protocol-violation{{frame-format-error}{}}
	error-counter-tx-rx{{0}{25}}
 (014.048190)  can0  RX - -  2000000C   [8]  00 00 02 00 00 00 00 29   ERRORFRAME
	controller-problem{}
	protocol-violation{{frame-format-error}{}}
	error-counter-tx-rx{{0}{41}}
 (014.048238)  can0  RX - -  20000004   [8]  00 00 00 00 00 00 00 39   ERRORFRAME
	controller-problem{}
	error-counter-tx-rx{{0}{57}}
 (014.048290)  can0  RX - -  2000000C   [8]  00 00 02 00 00 00 00 41   ERRORFRAME
	controller-problem{}
	protocol-violation{{frame-format-error}{}}
	error-counter-tx-rx{{0}{65}}
 (014.048334)  can0  RX - -  2000000C   [8]  00 00 02 00 00 00 00 59   ERRORFRAME
	controller-problem{}
	protocol-violation{{frame-format-error}{}}
	error-counter-tx-rx{{0}{89}}
 (014.048387)  can0  RX - -  20000004   [8]  00 0C 00 00 00 00 00 61   ERRORFRAME
	controller-problem{rx-error-warning,tx-error-warning}
	error-counter-tx-rx{{0}{97}}
 (014.048441)  can0  RX - -  2000000C   [8]  00 0C 02 00 00 00 00 71   ERRORFRAME
	controller-problem{rx-error-warning,tx-error-warning}
	protocol-violation{{frame-format-error}{}}
	error-counter-tx-rx{{0}{113}}
 (014.048490)  can0  RX - -  2000000C   [8]  00 30 02 00 00 00 00 F9   ERRORFRAME
	controller-problem{rx-error-passive,tx-error-passive}
	protocol-violation{{frame-format-error}{}}
	error-counter-tx-rx{{0}{249}}
 (014.048543)  can0  RX - -  2000000C   [8]  00 30 02 00 00 00 00 F9   ERRORFRAME
	controller-problem{rx-error-passive,tx-error-passive}
	protocol-violation{{frame-format-error}{}}
	error-counter-tx-rx{{0}{249}}
 (014.048600)  can0  RX - -  2000000C   [8]  00 30 02 00 00 00 00 F9   ERRORFRAME
	controller-problem{rx-error-passive,tx-error-passive}
	protocol-violation{{frame-format-error}{}}
	error-counter-tx-rx{{0}{249}}
 (014.680274)  can0  TX - E  108   [6]  06 14 05 4A B6 7E
 (014.680967)  can0  RX - -  20000024   [8]  00 30 00 00 00 00 00 F9   ERRORFRAME
	controller-problem{rx-error-passive,tx-error-passive}
	no-acknowledgement-on-tx
	error-counter-tx-rx{{0}{249}}
 (014.706275)  can0  TX B E  108   [7]  7E 06 14 05 4A B6 7E
 (014.757359)  can0  TX B E  108   [7]  7E 06 14 05 4A B6 7E
 (014.858553)  can0  TX B E  108   [7]  7E 06 14 05 4A B6 7E
 (015.059770)  can0  TX B E  108   [7]  7E 06 14 05 4A B6 7E
 (015.461288)  can0  TX B E  108   [7]  7E 06 14 05 4A B6 7E
 (015.664751)  can0  TX - E  108   [6]  06 15 05 53 6E 7E
 (016.262523)  can0  TX B E  108   [8]  7E 06 14 05 4A B6 7E 06
 (016.262576)  can0  TX B E  108   [5]  15 05 53 6E 7E

I would assume this is related to my problem.

If you’re having an issue with Klipper, you should attach the complete Klipper log from the event, the complete candump log from the event (if applicable), as well as a description of the hardware being used. Please include all of that information in the same post. Please also make sure you are running the pristine Klipper code and that it is relatively recent.

Where possible it is a good idea to run M112 to force a shutdown immediately after the event.

Be sure to attach the complete unmodified logs from the event - snippets from the logs have no value.

-Kevin

I don’t know how it applies to others in this thread, but I believe it tracked my issue down to a failing 5v regulator on my toolboard causing the MCU to mess up can signalling if too many fans are turned on. I’m waiting for 24v fans to come in to test it. I’ll report back if it solves my problem.

EDIT: I got the 24v fans in, the printer is now working as expected, no more timeouts. Just errors caused by faulty components.

For others: my setup is a sb2040 connected to a pi4 through a mellow utoc board. I have three 5v fans connected to the sb2040, if more than one is on at a time the system resets with the timeout error I have been seeing. I’m not sure if this is the only problem I have, or if anything similar is happening to the other people with this happening.

So any new Infos ?
I got my BTT EBB Board with Octopus connected , but during Prints i get these

Stats 10913.5: gcodein=0  mcu: mcu_awake=0.010 mcu_task_avg=0.000004 mcu_task_stddev=0.000004 bytes_write=37152 bytes_read=51008 bytes_retransmit=0 bytes_invalid=0 send_seq=1961 receive_seq=1958 retransmit_seq=0 srtt=0.003 rttvar=0.002 rto=0.025 ready_bytes=53 stalled_bytes=237 freq=180001766 ebb: mcu_awake=0.002 mcu_task_avg=0.000011 mcu_task_stddev=0.000011 bytes_write=4196 bytes_read=19092 bytes_retransmit=0 bytes_invalid=0 send_seq=426 receive_seq=426 retransmit_seq=0 srtt=0.002 rttvar=0.001 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=63999901 adj=63999132 host: mcu_awake=0.001 mcu_task_avg=0.000010 mcu_task_stddev=0.000016 bytes_write=1389 bytes_read=6238 bytes_retransmit=0 bytes_invalid=0 send_seq=208 receive_seq=208 retransmit_seq=0 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=49999812 adj=49999017  ebb: temp=39.1 heater_bed: target=0 temp=87.5 pwm=0.000 raspberry_pi: temp=41.9 chamber: temp=23.2 mcu_temp: temp=32.5 sysload=0.14 cputime=17.410 memavail=112704 print_time=104.600 buffer_time=0.712 print_stall=0 extruder: target=0 temp=139.7 pwm=0.000
Stats 10914.5: gcodein=0  mcu: mcu_awake=0.010 mcu_task_avg=0.000004 mcu_task_stddev=0.000004 bytes_write=37667 bytes_read=51436 bytes_retransmit=0 bytes_invalid=0 send_seq=1979 receive_seq=1979 retransmit_seq=0 srtt=0.002 rttvar=0.002 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=180001755 ebb: mcu_awake=0.002 mcu_task_avg=0.000011 mcu_task_stddev=0.000011 bytes_write=4202 bytes_read=19206 bytes_retransmit=0 bytes_invalid=0 send_seq=427 receive_seq=427 retransmit_seq=0 srtt=0.002 rttvar=0.001 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=63999903 adj=63999169 host: mcu_awake=0.001 mcu_task_avg=0.000010 mcu_task_stddev=0.000016 bytes_write=1395 bytes_read=6254 bytes_retransmit=0 bytes_invalid=0 send_seq=209 receive_seq=209 retransmit_seq=0 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=49999810 adj=49999104  ebb: temp=39.1 heater_bed: target=0 temp=87.4 pwm=0.000 raspberry_pi: temp=41.9 chamber: temp=23.1 mcu_temp: temp=32.6 sysload=0.14 cputime=17.503 memavail=112800 print_time=104.600 buffer_time=0.000 print_stall=0 extruder: target=0 temp=139.2 pwm=0.000
Stats 10915.5: gcodein=0  mcu: mcu_awake=0.029 mcu_task_avg=0.000003 mcu_task_stddev=0.000005 bytes_write=38382 bytes_read=51919 bytes_retransmit=0 bytes_invalid=0 send_seq=1999 receive_seq=1999 retransmit_seq=0 srtt=0.004 rttvar=0.004 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=180001757 ebb: mcu_awake=0.002 mcu_task_avg=0.000011 mcu_task_stddev=0.000011 bytes_write=4208 bytes_read=19306 bytes_retransmit=0 bytes_invalid=0 send_seq=428 receive_seq=428 retransmit_seq=0 srtt=0.002 rttvar=0.001 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=63999904 adj=63999262 host: mcu_awake=0.001 mcu_task_avg=0.000010 mcu_task_stddev=0.000016 bytes_write=1401 bytes_read=6270 bytes_retransmit=0 bytes_invalid=0 send_seq=210 receive_seq=210 retransmit_seq=0 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=49999807 adj=49999130  ebb: temp=39.1 heater_bed: target=0 temp=87.3 pwm=0.000 raspberry_pi: temp=41.9 chamber: temp=23.1 mcu_temp: temp=32.5 sysload=0.14 cputime=17.611 memavail=112792 print_time=104.600 buffer_time=0.000 print_stall=0 extruder: target=0 temp=138.8 pwm=0.000
Stats 10916.5: gcodein=0  mcu: mcu_awake=0.029 mcu_task_avg=0.000003 mcu_task_stddev=0.000005 bytes_write=39325 bytes_read=52367 bytes_retransmit=0 bytes_invalid=0 send_seq=2024 receive_seq=2024 retransmit_seq=0 srtt=0.004 rttvar=0.004 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=180001801 ebb: mcu_awake=0.002 mcu_task_avg=0.000011 mcu_task_stddev=0.000011 bytes_write=4214 bytes_read=19448 bytes_retransmit=0 bytes_invalid=0 send_seq=429 receive_seq=429 retransmit_seq=0 srtt=0.002 rttvar=0.001 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=63999911 adj=63999269 host: mcu_awake=0.001 mcu_task_avg=0.000016 mcu_task_stddev=0.000032 bytes_write=1407 bytes_read=6299 bytes_retransmit=0 bytes_invalid=0 send_seq=211 receive_seq=211 retransmit_seq=0 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=49999811 adj=49999128  ebb: temp=39.1 heater_bed: target=0 temp=87.3 pwm=0.000 raspberry_pi: temp=41.9 chamber: temp=23.1 mcu_temp: temp=32.5 sysload=0.14 cputime=17.749 memavail=112792 print_time=106.687 buffer_time=0.000 print_stall=0 extruder: target=0 temp=138.2 pwm=0.000
Stats 10917.5: gcodein=0  mcu: mcu_awake=0.029 mcu_task_avg=0.000003 mcu_task_stddev=0.000005 bytes_write=40564 bytes_read=52825 bytes_retransmit=0 bytes_invalid=0 send_seq=2054 receive_seq=2051 retransmit_seq=0 srtt=0.004 rttvar=0.003 rto=0.025 ready_bytes=172 stalled_bytes=62 freq=180001796 ebb: mcu_awake=0.002 mcu_task_avg=0.000011 mcu_task_stddev=0.000011 bytes_write=4220 bytes_read=19548 bytes_retransmit=0 bytes_invalid=0 send_seq=430 receive_seq=430 retransmit_seq=0 srtt=0.002 rttvar=0.001 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=63999918 adj=63999144 host: mcu_awake=0.001 mcu_task_avg=0.000016 mcu_task_stddev=0.000032 bytes_write=1413 bytes_read=6315 bytes_retransmit=0 bytes_invalid=0 send_seq=212 receive_seq=212 retransmit_seq=0 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=49999817 adj=49999053  ebb: temp=39.3 heater_bed: target=0 temp=87.2 pwm=0.000 raspberry_pi: temp=41.9 chamber: temp=23.1 mcu_temp: temp=32.5 sysload=0.13 cputime=17.886 memavail=112848 print_time=108.307 buffer_time=0.406 print_stall=0 extruder: target=0 temp=137.8 pwm=0.000
Stats 10918.5: gcodein=0  mcu: mcu_awake=0.029 mcu_task_avg=0.000003 mcu_task_stddev=0.000005 bytes_write=41244 bytes_read=53312 bytes_retransmit=0 bytes_invalid=0 send_seq=2075 receive_seq=2075 retransmit_seq=0 srtt=0.002 rttvar=0.001 rto=0.025 ready_bytes=22 stalled_bytes=0 freq=180001788 ebb: mcu_awake=0.002 mcu_task_avg=0.000011 mcu_task_stddev=0.000011 bytes_write=4226 bytes_read=19648 bytes_retransmit=0 bytes_invalid=0 send_seq=431 receive_seq=431 retransmit_seq=0 srtt=0.002 rttvar=0.001 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=63999917 adj=63999310 host: mcu_awake=0.001 mcu_task_avg=0.000016 mcu_task_stddev=0.000032 bytes_write=1419 bytes_read=6331 bytes_retransmit=0 bytes_invalid=0 send_seq=213 receive_seq=213 retransmit_seq=0 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=49999816 adj=49999258  ebb: temp=39.3 heater_bed: target=0 temp=87.1 pwm=0.000 raspberry_pi: temp=42.4 chamber: temp=23.2 mcu_temp: temp=32.5 sysload=0.13 cputime=18.032 memavail=112844 print_time=109.981 buffer_time=1.079 print_stall=0 extruder: target=0 temp=137.3 pwm=0.000
Stats 10919.5: gcodein=0  mcu: mcu_awake=0.029 mcu_task_avg=0.000003 mcu_task_stddev=0.000005 bytes_write=41577 bytes_read=53710 bytes_retransmit=0 bytes_invalid=0 send_seq=2090 receive_seq=2090 retransmit_seq=0 srtt=0.001 rttvar=0.001 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=180001772 ebb: mcu_awake=0.002 mcu_task_avg=0.000011 mcu_task_stddev=0.000011 bytes_write=4232 bytes_read=19762 bytes_retransmit=0 bytes_invalid=0 send_seq=432 receive_seq=432 retransmit_seq=0 srtt=0.002 rttvar=0.001 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=63999916 adj=63999329 host: mcu_awake=0.001 mcu_task_avg=0.000016 mcu_task_stddev=0.000032 bytes_write=1425 bytes_read=6347 bytes_retransmit=0 bytes_invalid=0 send_seq=214 receive_seq=214 retransmit_seq=0 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=49999808 adj=49999290  ebb: temp=39.2 heater_bed: target=0 temp=87.1 pwm=0.000 raspberry_pi: temp=42.4 chamber: temp=23.2 mcu_temp: temp=32.5 sysload=0.13 cputime=18.092 memavail=112844 print_time=109.981 buffer_time=0.078 print_stall=0 extruder: target=0 temp=136.9 pwm=0.000
Stats 10920.5: gcodein=0  mcu: mcu_awake=0.084 mcu_task_avg=0.000003 mcu_task_stddev=0.000006 bytes_write=41723 bytes_read=54105 bytes_retransmit=0 bytes_invalid=0 send_seq=2101 receive_seq=2101 retransmit_seq=0 srtt=0.001 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=180001788 ebb: mcu_awake=0.002 mcu_task_avg=0.000011 mcu_task_stddev=0.000011 bytes_write=4238 bytes_read=19876 bytes_retransmit=0 bytes_invalid=0 send_seq=433 receive_seq=433 retransmit_seq=0 srtt=0.002 rttvar=0.001 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=63999916 adj=63999395 host: mcu_awake=0.001 mcu_task_avg=0.000016 mcu_task_stddev=0.000032 bytes_write=1431 bytes_read=6363 bytes_retransmit=0 bytes_invalid=0 send_seq=215 receive_seq=215 retransmit_seq=0 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=49999803 adj=49999239  ebb: temp=39.1 heater_bed: target=0 temp=87.0 pwm=0.000 raspberry_pi: temp=41.9 chamber: temp=23.2 mcu_temp: temp=32.5 sysload=0.13 cputime=18.186 memavail=112828 print_time=109.981 buffer_time=0.000 print_stall=0 extruder: target=0 temp=136.4 pwm=0.000
Stats 10921.5: gcodein=0  mcu: mcu_awake=0.084 mcu_task_avg=0.000003 mcu_task_stddev=0.000006 bytes_write=42434 bytes_read=54582 bytes_retransmit=0 bytes_invalid=0 send_seq=2123 receive_seq=2123 retransmit_seq=0 srtt=0.002 rttvar=0.002 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=180001779 ebb: mcu_awake=0.002 mcu_task_avg=0.000011 mcu_task_stddev=0.000011 bytes_write=4244 bytes_read=19990 bytes_retransmit=0 bytes_invalid=0 send_seq=434 receive_seq=434 retransmit_seq=0 srtt=0.002 rttvar=0.001 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=63999916 adj=63999291 host: mcu_awake=0.001 mcu_task_avg=0.000014 mcu_task_stddev=0.000028 bytes_write=1437 bytes_read=6392 bytes_retransmit=0 bytes_invalid=0 send_seq=216 receive_seq=216 retransmit_seq=0 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=49999800 adj=49999132  ebb: temp=39.0 heater_bed: target=0 temp=87.0 pwm=0.000 raspberry_pi: temp=41.9 chamber: temp=23.2 mcu_temp: temp=32.5 sysload=0.13 cputime=18.288 memavail=112960 print_time=109.981 buffer_time=0.000 print_stall=0 extruder: target=0 temp=136.0 pwm=0.000
Got error -1 in can read: (19)No such device
Got error -1 in can read: (100)Network is down
Stats 10922.5: gcodein=0  mcu: mcu_awake=0.084 mcu_task_avg=0.000003 mcu_task_stddev=0.000006 bytes_write=42580 bytes_read=54916 bytes_retransmit=0 bytes_invalid=0 send_seq=2134 receive_seq=2134 retransmit_seq=0 srtt=0.001 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=180001770 ebb: mcu_awake=0.002 mcu_task_avg=0.000011 mcu_task_stddev=0.000011 bytes_write=4244 bytes_read=20074 bytes_retransmit=0 bytes_invalid=0 send_seq=434 receive_seq=434 retransmit_seq=0 srtt=0.002 rttvar=0.001 rto=0.025 ready_bytes=0 stalled_bytes=1 freq=63999916 adj=63999330 host: mcu_awake=0.001 mcu_task_avg=0.000014 mcu_task_stddev=0.000028 bytes_write=1443 bytes_read=6408 bytes_retransmit=0 bytes_invalid=0 send_seq=217 receive_seq=217 retransmit_seq=0 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=49999798 adj=49999171  ebb: temp=39.0 heater_bed: target=0 temp=86.9 pwm=0.000 raspberry_pi: temp=41.9 chamber: temp=23.2 mcu_temp: temp=32.5 sysload=0.12 cputime=18.390 memavail=112036 print_time=109.981 buffer_time=0.000 print_stall=0 extruder: target=0 temp=135.5 pwm=0.000
Stats 10923.5: gcodein=0  mcu: mcu_awake=0.084 mcu_task_avg=0.000003 mcu_task_stddev=0.000006 bytes_write=42580 bytes_read=54916 bytes_retransmit=0 bytes_invalid=0 send_seq=2134 receive_seq=2134 retransmit_seq=0 srtt=0.001 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=10 freq=180001770 ebb: mcu_awake=0.002 mcu_task_avg=0.000011 mcu_task_stddev=0.000011 bytes_write=4244 bytes_read=20074 bytes_retransmit=0 bytes_invalid=0 send_seq=434 receive_seq=434 retransmit_seq=0 srtt=0.002 rttvar=0.001 rto=0.025 ready_bytes=0 stalled_bytes=2 freq=63999916 adj=63999364 host: mcu_awake=0.001 mcu_task_avg=0.000014 mcu_task_stddev=0.000028 bytes_write=1449 bytes_read=6424 bytes_retransmit=0 bytes_invalid=0 send_seq=218 receive_seq=218 retransmit_seq=0 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=49999796 adj=49999210  ebb: temp=39.0 heater_bed: target=0 temp=86.9 pwm=0.000 raspberry_pi: temp=42.9 chamber: temp=23.2 mcu_temp: temp=32.5 sysload=0.12 cputime=18.431 memavail=111936 print_time=109.981 buffer_time=0.000 print_stall=0 extruder: target=0 temp=135.5 pwm=0.000
Stats 10924.5: gcodein=0  mcu: mcu_awake=0.084 mcu_task_avg=0.000003 mcu_task_stddev=0.000006 bytes_write=42580 bytes_read=54916 bytes_retransmit=0 bytes_invalid=0 send_seq=2134 receive_seq=2134 retransmit_seq=0 srtt=0.001 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=11 freq=180001770 ebb: mcu_awake=0.002 mcu_task_avg=0.000011 mcu_task_stddev=0.000011 bytes_write=4244 bytes_read=20074 bytes_retransmit=0 bytes_invalid=0 send_seq=434 receive_seq=434 retransmit_seq=0 srtt=0.002 rttvar=0.001 rto=0.025 ready_bytes=0 stalled_bytes=3 freq=63999916 adj=63999344 host: mcu_awake=0.001 mcu_task_avg=0.000014 mcu_task_stddev=0.000028 bytes_write=1455 bytes_read=6440 bytes_retransmit=0 bytes_invalid=0 send_seq=219 receive_seq=219 retransmit_seq=0 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=49999798 adj=49999195  ebb: temp=39.0 heater_bed: target=0 temp=86.9 pwm=0.000 raspberry_pi: temp=42.9 chamber: temp=23.2 mcu_temp: temp=32.5 sysload=0.12 cputime=18.472 memavail=112040 print_time=109.981 buffer_time=0.000 print_stall=0 extruder: target=0 temp=135.5 pwm=0.000
Stats 10925.5: gcodein=0  mcu: mcu_awake=0.084 mcu_task_avg=0.000003 mcu_task_stddev=0.000006 bytes_write=42580 bytes_read=54916 bytes_retransmit=0 bytes_invalid=0 send_seq=2134 receive_seq=2134 retransmit_seq=0 srtt=0.001 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=12 freq=180001770 ebb: mcu_awake=0.002 mcu_task_avg=0.000011 mcu_task_stddev=0.000011 bytes_write=4244 bytes_read=20074 bytes_retransmit=0 bytes_invalid=0 send_seq=434 receive_seq=434 retransmit_seq=0 srtt=0.002 rttvar=0.001 rto=0.025 ready_bytes=0 stalled_bytes=4 freq=63999916 adj=63999330 host: mcu_awake=0.001 mcu_task_avg=0.000014 mcu_task_stddev=0.000028 bytes_write=1461 bytes_read=6456 bytes_retransmit=0 bytes_invalid=0 send_seq=220 receive_seq=220 retransmit_seq=0 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=49999797 adj=49999256  ebb: temp=39.0 heater_bed: target=0 temp=86.9 pwm=0.000 raspberry_pi: temp=42.4 chamber: temp=23.2 mcu_temp: temp=32.5 sysload=0.12 cputime=18.521 memavail=112108 print_time=109.981 buffer_time=0.000 print_stall=0 extruder: target=0 temp=135.5 pwm=0.000
Timeout with MCU 'ebb' (eventtime=10926.495989)
Transition to shutdown state: Lost communication with MCU 'ebb'
Dumping gcode input 0 blocks
Dumping 20 requests for client 1967705824

You’re not giving much to go on here, but as you can see in the thread. CAN is a bit finicky at best, and there could be a multitude of reasons for the loss of comms. I suggest you read through this thread and others, and start by eliminating potential issues:

  • Physical wiring and connections
  • power supply issues (noise)
  • Data rates and CAN settings

If you have any specific questions perhaps we can get them answered.

FWIW. I gave up getting the Octopus and EBB to work reliably… Had better success with a CAN hat, but it has performance limitations.

1 Like