# Follow the disconnections... Ideas?

**URL:** <https://klipper.discourse.group/t/follow-the-disconnections-ideas/4404>\
**Category:** General Discussion\
**Created:** [October 9, 2022, 9:58am UTC](https://klipper.discourse.group/t/follow-the-disconnections-ideas/4404 "2022-10-09T09:58:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peurif](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@Peurif](https://klipper.discourse.group/u/Peurif)\
**Post date:** [October 9, 2022, 9:58am UTC](https://klipper.discourse.group/t/follow-the-disconnections-ideas/4404/1 "2022-10-09T09:58:18Z")

</div>

### Basic Information:

Printer Model:  
 MCU / Printerboard:  
 `klippy.log`

_Fill out above information and in all cases attach your_ `klippy.log` _file. Pasting your_ `printer.cfg` _is **not** needed_

### Describe your issue:

Hi,

after managing to install the EBB42 by CAN, before I had it by USB… I thought that the disconnections were over… but no… When changing to Fluidd, I receive another message, which I don’t know if it will be similar who received before…

I enclose a copy of the message and a copy of the log.

I have to say that I have been able to finish some impressions, less than 1 hour… and that these failures are usually at the beginning of the impression, sometimes I have had them before starting, while I am doing the Tilt adjust…

[klippy (2).log](https://klipper.discourse.group/uploads/short-url/bbkVsE1TwyiLv4kdwVFIcbQ8wUD.log) (5.6 MB)

I have to say that I have a baud rate of 500,000, when they recommend 250,000

> MCU ‘EBBCan’ shutdown: Missed scheduling of next digital out event  
> This is generally indicative of an intermittent  
> communication failure between micro-controller and host.  
> Once the underlying issue is corrected, use the  
> “FIRMWARE\_RESTART” command to reset the firmware, reload the  
> config, and restart the host software.  
> Printer is shutdown

---

<div class="post-metadata">

**Author:** ![Peurif](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@Peurif](https://klipper.discourse.group/u/Peurif)\
**Post date:** [October 9, 2022, 3:23pm UTC](https://klipper.discourse.group/t/follow-the-disconnections-ideas/4404/2 "2022-10-09T15:23:52Z")

</div>

Hi,

this morning i have place a post with a issue with EBB42 v1.1… think remeber that these board uses these Chip…

In this moment i have installed firmwares:

- Octopus pro: v0.10.0-588-g51da02b7
- EBB42v1.1: v0.10.0-591-ga2482d4f

EBB42v1.1, its affected for the explained in post?

> [@Stm32g0 users should update to latest Klipper](https://klipper.discourse.group/t/stm32g0-users-should-update-to-latest-klipper/3612):
>
> A low-level error was found in the Klipper stm32g0 micro-controller code. It is recommended that anyone using one of these micro-controllers update to the latest version of Klipper and reflash their micro-controller. Make sure to use code from 20220726 or later (containing commit [3796a319](https://github.com/Klipper3d/klipper/commit/3796a319599e84b58886ec6f733277bfe4f1a747)). Users running older versions of the code may experience random “Rescheduled timer in the past” errors. This issue only impacts stm32g0 micro-controllers. -Kevin

Is there any other way to update Klipper on the EBB42 other than using a USB cable and STM32?

Thx

---

<div class="post-metadata">

**Author:** ![NAPCAL](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/napcal/32/1794_2.png) [@NAPCAL](https://klipper.discourse.group/u/NAPCAL)\
**Post date:** [October 9, 2022, 3:51pm UTC](https://klipper.discourse.group/t/follow-the-disconnections-ideas/4404/3 "2022-10-09T15:51:01Z")

</div>

Try this if you haven’t already:

sudo nano /etc/network/interfaces.d/can0

Change auto can0 to allow-hotplug can0

Save and reboot

---

<div class="post-metadata">

**Author:** ![Peurif](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@Peurif](https://klipper.discourse.group/u/Peurif)\
**Post date:** [October 9, 2022, 3:56pm UTC](https://klipper.discourse.group/t/follow-the-disconnections-ideas/4404/4 "2022-10-09T15:56:43Z")

</div>

now I’m in an impression… we’ll see if it ends.

Out of curiosity, what does that line do?

That if you disconnect… you can reconnect and hopefully continue?

---

<div class="post-metadata">

**Author:** ![NAPCAL](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/napcal/32/1794_2.png) [@NAPCAL](https://klipper.discourse.group/u/NAPCAL)\
**Post date:** [October 9, 2022, 4:00pm UTC](https://klipper.discourse.group/t/follow-the-disconnections-ideas/4404/5 "2022-10-09T16:00:37Z")

</div>

Yep, hot plug is what you think.

---

<div class="post-metadata">

**Author:** ![Peurif](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@Peurif](https://klipper.discourse.group/u/Peurif)\
**Post date:** [October 9, 2022, 5:02pm UTC](https://klipper.discourse.group/t/follow-the-disconnections-ideas/4404/6 "2022-10-09T17:02:16Z")

</div>

Is there a way to see if there has been a disconnection? Maybe some message in the console or looking for something in the log?

---

<div class="post-metadata">

**Author:** ![NAPCAL](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/napcal/32/1794_2.png) [@NAPCAL](https://klipper.discourse.group/u/NAPCAL)\
**Post date:** [October 9, 2022, 5:49pm UTC](https://klipper.discourse.group/t/follow-the-disconnections-ideas/4404/7 "2022-10-09T17:49:53Z")

</div>

You can test the bus but not the disconnects that I know of.

sudo apt-get install can-utils

Run cangen

Then open a second ssh terminal and run ifconfig

Look at packet loss and errors for can0 note these numbers. Wait for a few minutes and run ifconfig and check to see if those have increased; if so, there might be a connection, termination, or interference.

If those numbers haven’t changed then you might be able to run at a faster bitrate.

Also, in your /etc/network/interfaces.d/can0

If txqueuelen is less than 1024 the change it to 1024, this is the buffer setting.

---

<div class="post-metadata">

**Author:** ![Peurif](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@Peurif](https://klipper.discourse.group/u/Peurif)\
**Post date:** [October 9, 2022, 6:04pm UTC](https://klipper.discourse.group/t/follow-the-disconnections-ideas/4404/8 "2022-10-09T18:04:42Z")

</div>

It sounds to me like I tried this, or something similar… and it gave me an error… but tomorrow I’ll try again…

one thing that I’ve changed in can0, is the value of txqueuelen that I had at 128…

I just finished a short impression about 35 min, and everything went well…

edit

[Try find the limit…](https://klipper.discourse.group/t/in-search-of-the-canboard-limit-the-need-for-speed/4344/4)

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [December 6, 2024, 8:08pm UTC](https://klipper.discourse.group/t/follow-the-disconnections-ideas/4404/9 "2024-12-06T20:08:02Z")

</div>


