naikymen / klipper-for-cnc

Fork of the Klipper 3D-printer firmware, plus features for more general CNC.
https://klipper.discourse.group/t/klipper-for-cnc-initiatives-and-projects-list/5698
GNU General Public License v3.0
66 stars 9 forks source link

Increasing the feedrate multiplier to 200% causes "Rescheduled timer in the past" error #7

Closed naikymen closed 1 month ago

naikymen commented 1 year ago

Used M220 S200.

Seemingly relevant messages:

MCU 'tools' shutdown: Rescheduled timer in the past

...

shutdown clock=453348217 static_string_id=Rescheduled timer in the past
Transition to shutdown state: MCU 'tools' shutdown: Rescheduled timer in the past
This generally occurs when the micro-controller has been
requested to step at a rate higher than it is capable of
obtaining.

Perhaps its due to the Arduino UNOs on my machine.

naikymen commented 1 year ago

The "tools" MCU has the lowest rotation_distance (which means more steps to achieve same speed) and highest microsteps (which means even more steps to achieve same speed).

If a CNC shield should fail for this reason, the "tools" would do so first.

naikymen commented 1 year ago

Indeed increasing rotation_distance five-fold prevented the issue.

naikymen commented 1 month ago

Closing this as it has not shown up again.