TMC reports error: what GSTAT, DRV_STATUS and UART errors mean and what to check

By Sina Esfahani, OmniTechs · Published 30 November 2026

A line such as "TMC 'stepper_y' reports error: GSTAT: 00000001 reset=1(Reset)" means the driver of that motor found a problem and switched itself off. It stopped holding the motor and ignored moves, so Klipper put the printer in a shutdown state (Klipper). The flag after the register name says what went wrong: a reset, low voltage, a short, overheating or an open coil.

Start with the text, not the hardware. Copy the whole line, note which stepper it names and save klippy.log, Klipper's log file. Then switch the printer off, unplug it and check that motor's connector. The causes Klipper lists are mostly wiring, power and the motor; a dead driver is something you prove, not assume.

Fix it in this order:

  1. Copy the full error line and save klippy.log before you restart.

  2. Look up the flag in the table below; it tells you which checks apply.

  3. Switch off and unplug before you touch anything. Never connect or disconnect a stepper motor while the board has power (Pololu).

  4. Short or open-coil flags: reseat the motor cable at both ends, check the coil pairs, then test with StealthChop off.

  5. reset=1 or uv_cp=1: check the power supply connections and every connector to that driver.

  6. Unable to read tmc uart or Unable to write tmc spi: check that the motor supply is on, then the UART or SPI pins, jumpers and printer.cfg.

  7. Still failing: swap the suspect driver, or move the motor to another output, to see whether the fault follows the driver.

Read the flag: what each error means

While a motor is enabled, Klipper reads two status registers of its driver about once a second: GSTAT (global status) and DRV_STATUS (driver status). If an error flag is still set after three reads in a row, Klipper shuts down with the "reports error" line (Klipper source).

TMC error flags in Klipper, what they mean and where to start

Flag names from Klipper's TMC code and TMC drivers page; meanings from that page and the Analog Devices TMC-API register maps (TMC2209, TMC2226, TMC5160), read on 30 November 2026.
Flag in the error lineRegisterWhat it meansFirst check
reset=1(Reset)GSTATThe driver restarted itself while the motor was enabledPower and wiring
uv_cp=1(Undervoltage!)GSTATThe driver saw a low-voltage event and switched offPower supply and its connectors
drv_err=1(ErrorShutdown!)GSTATThe driver shut itself down after a faultklippy.log: the DRV_STATUS lines before it
ot=1(OvertempError!)DRV_STATUSThe driver became too hot and switched offLower current, more cooling
otpw=1(OvertempWarning!), t120, t143, t150, t157DRV_STATUSTemperature pre-warning and thresholds; Klipper only logs theseCooling, before it becomes ot
s2ga or s2gb (ShortToGND_A! or ShortToGND_B!)DRV_STATUSVery high current: a short to ground on coil A or BMotor cable, connector, motor, then StealthChop
s2vsa or s2vsb (ShortToSupply_A! or ShortToSupply_B!)DRV_STATUSA short on coil A or B; Analog Devices calls it a low-side short on the TMC2209As for a short to ground
ola or olb (OpenLoad_A! or OpenLoad_B!)DRV_STATUSOpen load on coil A or B; Klipper does not stop for this flag aloneBroken or unplugged coil wire
CS_ACTUAL=0(Reset?) on a TMC2130, SE=0(Reset?) on a TMC2660DRV_STATUS (READRSP@RDSEL2 on a TMC2660)The current reads zero: the driver probably resetAs for reset=1
DRV_STATUS: ffffffff or 00000000noneNo valid answer from an SPI driverSPI wiring, then a reset or failed driver

Klipper versions before March 2023 printed s2vsa and s2vsb on a TMC2208 or TMC2209 as LowSideShort_A! and LowSideShort_B!, so older forum posts use that name.

Klipper rewrites a driver's settings and clears GSTAT each time it enables that motor, so a GSTAT error happened while the motor was in use. Once you have fixed the cause, send FIRMWARE_RESTART, as the error message asks.

Decoding the number

The hexadecimal number after the register name holds all the flags. Klipper names the ones that are set, so you rarely need to decode it, and the bits sit in different places on each chip:

  • TMC2209: "DRV_STATUS: 40190010 s2vsa=1(ShortToSupply_A!) cs_actual=25 stealth=1". 0x10 is bit 4, s2vsa. 0x190000 puts 25 in cs_actual, the current scale out of 31. 0x40000000 is bit 30: the driver was in StealthChop.

  • TMC5160: "DRV_STATUS: 801f5000 s2vsa=1(ShortToSupply_A!) stealth=1 cs_actual=31 stst=1". Here s2vsa is bit 12 and stst, standstill, is bit 31.

The TMC2226 uses the same GSTAT and DRV_STATUS bits as the TMC2209 (Analog Devices). Klipper's configuration reference has no TMC2226 section, so follow your board maker's example configuration for it.

Use DUMP_TMC before you change anything

DUMP_TMC STEPPER=stepper_y reads every register of that driver and prints it; add REGISTER=DRV_STATUS for one register (Klipper). A shut-down printer refuses it, like most commands, so send FIRMWARE_RESTART first. Run it on the failing axis and on a working axis with the same driver, and compare. A driver that answers with sensible values communicates; one that answers ffffffff or 00000000 does not. INIT_TMC STEPPER=stepper_y writes the settings again after power to the driver was switched off and on.

On Marlin, M122 does this job. All 00:00:00:00 or all FF:FF:FF:FF means the board cannot talk to the driver, and TMC CONNECTION ERROR on the screen means the connection test at startup failed. Marlin only watches for driver faults with MONITOR_DRIVER_STATUS enabled in Configuration_adv.h, which is off by default; then it reports "driver error detected" with "overtemperature" or "coil short circuit" and halts (Marlin).

Short to ground or short to supply: wiring, motor or StealthChop

These flags mean the driver measured very high current and protected itself. Klipper names three causes: a loose or shorted wire to the motor, a short inside the motor, or StealthChop misjudging the load and pushing too much current.

Switch the printer off and unplug it first. Pololu warns that connecting or disconnecting a stepper motor while the driver is powered can destroy the driver; BIGTREETECH says to disconnect the power supply before installing a driver module and never to plug or unplug one while the printer is working.

  1. Reseat the cable at both ends. Look for a crimp that has pulled out, a pin that grips loosely, a pinched wire or bare copper near a moving part.

  2. Check the coil pairs. With the motor unplugged, measure resistance between its wires. Each coil should read close to the phase resistance on the motor's datasheet. The two coils must not connect to each other.

  3. Check the pin order. Motor cables follow no standard, so match the board's pin-out to the motor's coil pairs, not to wire colours.

  4. Test without StealthChop. Klipper uses SpreadCycle unless stealthchop_threshold is set. Remove that line or set it to 0, send FIRMWARE_RESTART and print again. If the error stops, StealthChop was the trigger (Klipper).

Worked example. A Klipper forum thread starts with s2vsa=1 (ShortToSupply_A!) on the extruder of a BIGTREETECH Manta M8P with TMC2209 drivers; the motor buzzed but did not extrude. The accepted answer found the wiring: the board's 2B 2A 1A 1B labels did not match the motor's B+ B- A- A+ order. Another member warned that mixing up the two coils can destroy something, while swapping the two wires of one coil only reverses direction, which you fix in software.

Maker Tutor shows how to find the two coil pairs of a four-wire stepper with a multimeter.

Easy Identify leads on a 4 wire stepper motor with Multimeter (Maker Tutor)

reset=1 and uv_cp=1: power and connectors

reset=1(Reset) means the driver reset itself mid-print; uv_cp=1(Undervoltage!) means it saw a low-voltage event. Klipper points both at voltage, wiring or the power supply. Switch off and unplug before you touch a terminal or connector. Which drivers report it tells you where to look:

  • Several or all drivers at once: a shared cause. Check the screw terminals at the power supply and at the board's power input, and the supply itself. DUMP_TMC on each stepper shows whether all of them carry reset=1.

  • Always the same driver: that driver, its socket or its motor cable. Reseat everything, then do the swap test below.

If you suspect the supply, follow the power supply guide rather than probing live mains terminals.

drv_err=1(ErrorShutdown!) is a consequence, not a cause: the driver shut down after a fault. Look in klippy.log for the DRV_STATUS lines just before it; Klipper logs every change of the temperature and short flags there.

"Unable to read tmc uart" and "Unable to write tmc spi"

This is lost communication, not a fault the driver reported. A TMC2209 counts each successful UART write in its IFCNT register. Klipper writes a setting, reads IFCNT back and expects it to have gone up by one. With no answer after five tries, it reports Unable to read tmc uart 'stepper_x' register IFCNT (Klipper source, Analog Devices).

Check in this order (Klipper):

  1. Motor power. The driver generally needs motor power before it answers. A board running on USB alone, with the main supply off, gives exactly this error.

  2. After a first Klipper flash: remove all power for several seconds, both USB and the mains plug, to clear the driver's old state.

  3. UART wiring and config. Switch off and unplug before you touch a jumper or driver. uart_pin in printer.cfg must match your board. Drivers that share one UART pin need different uart_address values, 0 to 3. With plug-in drivers, set the UART jumpers under each driver as the board manual shows.

SPI drivers, such as the TMC2130 and TMC5160, report Unable to write tmc spi 'stepper_x' register followed by a register name, for example GLOBALSCALER on a TMC5160. Check motor power, the SPI wiring (switched off and unplugged), the spi_bus or software SPI pins and cs_pin. If other devices share the bus, such as a display, configure every one of them in Klipper; for one you cannot configure, hold its CS pin high with a static_digital_output section (Klipper). For UART on Marlin, add the checks from its troubleshooting list: 1 kΩ measured between the RX and TX lines, and an interrupt-capable RX pin.

Chris Riley installs TMC2209 drivers in UART mode on a BIGTREETECH SKR 1.3; the link starts at his board and installation chapter.

TMC2209 Stepper Drivers - Bigtreetech - SKR 1.3 - Install - Chris's Basement (Chris Riley)

ot=1 and otpw: the driver is too hot

ot=1(OvertempError!) means the driver overheated and switched off. Klipper's remedies: lower the motor current, cool the driver better, cool the motor better. otpw is the pre-warning; Klipper only writes it to klippy.log, so check the log when a printer later stops with ot=1. On the TMC2209 the thresholds follow its OTTRIM setting; at %00, the pre-warning is at 120 °C and the shutdown at 143 °C (Analog Devices). How to set run_current for your motor is in stepper motors and drivers: current, heat and microstepping.

Is the driver dead? The swap test

Klipper cannot tell; it only knows the driver disabled itself or stopped answering. Prove it:

  1. Switch off, unplug and wait until the board's lights are out.

  2. Plug-in modules: swap the suspect module with another axis's, the right way round. Soldered drivers: move the suspect motor's cable to another driver output and change printer.cfg to match.

  3. Power up, send FIRMWARE_RESTART and run the same moves.

  4. The error follows the module: replace the driver. It stays with the motor and cable: repair the cable, then try another motor. It stays with the board output: that output or the board is faulty.

Kevin O'Connor, Klipper's lead developer, puts it this way on the forum: if changing the stepstick fixes the error, that generally means the old stepstick had the problem. Fix a shorted cable or motor first, or the same fault may damage the new driver. A driver that still answers ffffffff or 00000000 after the wiring checks, while the same type elsewhere answers properly, has failed or keeps resetting (Klipper).

When to stop

  • A burning smell, a scorched connector or a hot component on the board: keep the printer off and replace the damaged part.

  • Soldered drivers that fail the swap test: the board needs repair or replacement; give its maker the error line and klippy.log.

  • The error returns after wiring, power and a swap: post the full klippy.log on the Klipper forum with the error line, board and driver type.

  • Do not silence the error, for example by editing Klipper's code to treat a short as a warning. A disabled driver no longer holds its motor.

If the drivers are fine but layers move, prove lost steps with layer shifting causes and fixes. A motor that does not turn at all is covered in stepper motor not moving or turning the wrong way. Other messages that stop Klipper, such as Timer too close, are in Klipper shutdown errors. If you need a part while the printer is down, the 3D printing service prints PLA and PETG parts from your file.