klipper icon indicating copy to clipboard operation
klipper copied to clipboard

Replicape: "Timer too close" when starting a print

Open marcuswu opened this issue 7 years ago • 7 comments
trafficstars

It looks to me like it is sending the command to heat the print bed and then immediately sending the command to heat the extruder without waiting:

Send: N6 M190 S60*88
Recv: T0:23.7 /0.0 B:22.9 /60.0
Recv: ok
Send: N7 M104 S205 T0*33
Recv: // MCU 'mcu' shutdown: Timer too close

It's totally possible I have something misconfigured, but I'm not sure what if anything I changed since the last time I printed (it's been a while). klippy.log

marcuswu avatar Jun 03 '18 12:06 marcuswu

I also got an error related to timing. When I set pressure advance to 5.0 I immediately get the message that the timer is in the past. I don't have the correctly worded message (and my printer runs) but found it a strange thing to happen.

oderwat avatar Jun 03 '18 13:06 oderwat

On Sun, Jun 03, 2018 at 05:59:13AM -0700, Marcus Wu wrote:

It looks to me like it is sending the command to heat the print bed and then immediately sending the command to heat the extruder without waiting:

Alas, you've hit a bug in Klipper. The bug is specific to the handling of the Replicape's global enable pin. Specifically, Klipper raced with the delayed fan disablement (M106 S255 ; G4 P500 ; M106 S0) and the following bed heater enable (M190 S60).

I need to think about how to best fix this. In the meantime, you should be able to avoid this by either removing the fan toggle or enabling the bed heater prior to toggling the fan.

-Kevin

KevinOConnor avatar Jun 03 '18 16:06 KevinOConnor

On Sun, Jun 03, 2018 at 06:45:28AM -0700, Hans Raaf wrote:

I also got an error related to timing. When I set pressure advance to 5.0 I immediately get the message that the timer is in the past. I don't have the correctly worded message (and my printer runs) but found it a strange thing to happen.

If Klipper does something strange, then I recommend you issue an M112 and post the Klipper log file, as described at:

https://github.com/KevinOConnor/klipper/blob/master/docs/Contact.md

It's unlikely your issue is related to this one, as Marcus' issue is specific to the timing of specific set of commands on the Replicape board.

-Kevin

KevinOConnor avatar Jun 03 '18 16:06 KevinOConnor

In the meantime, you should be able to avoid this by either removing the fan toggle or enabling the bed heater prior to toggling the fan.

This workaround did the trick. I'm up and printing again. Thanks!

marcuswu avatar Jun 03 '18 16:06 marcuswu

I know it's a bit old. But I've seen to hit this "bug" or limitation as well. However it started happening at random parts of the same print.

The only value I've been messing around with is the PA from .25 to 1.1 But I think I might have hit the actual limit to the ramps1.4/2560 - The fix seemed to be reduce speed overall on the printer, especially on the extruder.

But this seems contradicting as it happened different places on the same print.

Grimpster avatar Jul 02 '18 05:07 Grimpster

This issue is limited to a specific gcode sequence on the Replicape. If you're seeing a "timer too close" error on a ramps it is not related to this. A "timer too close" is typically the result of comms issues, but you can open a new issue with the klipper log file and we'll take a look.

-Kevin

KevinOConnor avatar Jul 04 '18 02:07 KevinOConnor

I just got this with a smoothie clone.

dothebart avatar Dec 27 '18 12:12 dothebart

I think i have a similar problem. Since the update to v0.11.0-66-g4671cf2d, the same message with firmware stop comes if I want to cancel a print that is still waiting for the temperature of the heating bed/extruder in the warm-up phase.

ckvsoft avatar Jan 14 '23 02:01 ckvsoft