# Klipper "Internal error on command:"G1"

**URL:** <https://klipper.discourse.group/t/klipper-internal-error-on-command-g1/2480>\
**Category:** General Discussion\
**Created:** [April 3, 2022, 6:53am UTC](https://klipper.discourse.group/t/klipper-internal-error-on-command-g1/2480 "2022-04-03T06:53:04Z")\
**Posts on this page:** 6\
**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:** [April 3, 2022, 6:53am UTC](https://klipper.discourse.group/t/klipper-internal-error-on-command-g1/2480/1 "2022-04-03T06:53:04Z")

</div>

Hi,

this morning i have try print a gcode, generated from CURA (last version) and in the first layer, the print stopped with these message in console:

> Internal error on command:“G1”

Attach Klipper log

Some ideas can be?  
[Klipper error G1.log](https://klipper.discourse.group/uploads/short-url/6N0w3yPemR2PtN22pqbS5NsNkIE.log) (726.6 KB)

---

<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:** [April 3, 2022, 7:00am UTC](https://klipper.discourse.group/t/klipper-internal-error-on-command-g1/2480/2 "2022-04-03T07:00:03Z")

</div>

i have read some about… i have configured the extruder driver, with these lines

```auto
[tmc2209 extruder]
interpolate: true
uart_pin: e_uart_pin
run_current: 0.901
hold_current: 0.1
stealthchop_threshold: 0
driver_TBL: 1
driver_HEND: 6
driver_HSTRT: 7
driver_TOFF: 4

```

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [April 3, 2022, 9:33am UTC](https://klipper.discourse.group/t/klipper-internal-error-on-command-g1/2480/3 "2022-04-03T09:33:08Z")

</div>

> [@Peurif](#):
>
> Internal error on command:“G1”

This is not the cause, it is a symptom. If you take a look at your log, you will find some lines above:

```auto
TMC 'extruder' reports GSTAT: 00000001 reset=1(Reset)
Transition to shutdown state: TMC 'extruder' reports error: GSTAT: 00000001 reset=1(Reset)
Dumping gcode input 0 blocks
Dumping 20 requests for client 1968865032

```

See: [TMC 'extruder' reports error: GSTAT: 00000001 reset=1(reset - #39 by Sineos](https://klipper.discourse.group/t/tmc-extruder-reports-error-gstat-00000001-reset-1-reset/1156/39)

> [@Peurif](#):
>
> ```auto
> driver_TBL: 1
> driver_HEND: 6
> driver_HSTRT: 7
> driver_TOFF: 4
> 
> ```

These values depend on the exact driver type and the specification of the exact stepper model. They should be determined carefully by referring to the TMC driver spec, knowing your stepper and doing quite some experiments (even down to measurements with an Oscilloscope).  
Copying them from somewhere in the WWW is not the way to go.

---

<div class="post-metadata">

**Author:** ![neilmc](https://avatars.discourse-cdn.com/v4/letter/n/90db22/32.png) [@neilmc](https://klipper.discourse.group/u/neilmc)\
**Post date:** [October 21, 2023, 1:33am UTC](https://klipper.discourse.group/t/klipper-internal-error-on-command-g1/2480/4 "2023-10-21T01:33:46Z")

</div>

‘Use an Oscilliscope to figure out the software’

- some klipper guy

I ran into this today after update. Immediately after the test extrude my printer MCU crashes with the same error.

---

<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:** [October 21, 2023, 6:57am UTC](https://klipper.discourse.group/t/klipper-internal-error-on-command-g1/2480/5 "2023-10-21T06:57:00Z")

</div>

Hello @neilmc !

You noticed this:

![grafik](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/0/01cfae8882baf5f2d4f91db52973bfe025ab941b.png)

Things have changes since then. Please open a new thread in _General Discussion_ with all requested information.

---

<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:** [October 21, 2023, 6:57am UTC](https://klipper.discourse.group/t/klipper-internal-error-on-command-g1/2480/6 "2023-10-21T06:57:03Z")

</div>


