Timer too close

Background

This error typically occurs when the host sends a message to the MCU, scheduling an event at a time that is in the past.

Reasons

  • High system load of the host
  • High disk activity of the host
  • Swapping due to low free memory
  • Disk errors / dying SD card
  • Unstable voltage
  • Other hardware hogging the USB bus or other system resources
  • Running in a Virtual Machine
  • USB, UART or CANBUS wiring faults leading to extremely delayed messages
  • ElectroMagnetic Interference (EMI) affecting proper signal transmission or leading to high resend rates

Potential solutions

  • Check for other resource-intensive processes running in parallel
  • Remove additional hardware, especially web cams
  • Check SD card for errors / replace SD card
  • Check for Under-voltage detected! errors / make sure to use a good and adequate power supply
  • Do not run data lines (USB, UART, CANBUS) close to and in parallel to high current lines like heaters or steppers. Use high quality cables (shielded / ferrite core). Keep such cables as short as possible
  • Also see Advanced Trouble-Shooting / Graphing Klipper