# Klipper don't connect the printer

**URL:** <https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925>\
**Category:** General Discussion\
**Created:** [January 7, 2024, 11:43am UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925 "2024-01-07T11:43:20Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![UHaas](https://avatars.discourse-cdn.com/v4/letter/u/919ad9/32.png) [@UHaas](https://klipper.discourse.group/u/UHaas)\
**Post date:** [January 7, 2024, 11:43am UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925/1 "2024-01-07T11:43:20Z")

</div>

### Basic Information:

Printer Model: Geeetech Mizar S  
 MCU / Printerboard: STM32F103  
 `klippy.log`

[klippy.log](https://klipper.discourse.group/uploads/short-url/7RMqXG8tsLhUTLBQK021RdXWaYO.log) (40.5 KB)

[printer.cfg](https://klipper.discourse.group/uploads/short-url/j3ha2oVaMIUN7x6yuigSlTl8nsI.cfg) (7.6 KB)

Hello everyone,  
I have the following problem Klipper does not connect to the printer. I got the printer.cfg from github. I created the printer firmware using “make menuconfig”. I got the parameters from printer.cfg.  
When installing the firmware on the printer, the display only shows ‘Download done’. After restarting the printer, the display remains black - is that OK?  
Otherwise the MCU cannot establish a connection to the printer.

Can someone please help me, I have seen that the Mizar S runs with Klipper but no one gives information on how to install Klipper.

Greetings

U. Haas

---

<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:** [January 7, 2024, 12:01pm UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925/2 "2024-01-07T12:01:45Z")

</div>

Hello @UHaas !

```auto
[mcu]
serial = /dev/serial/by-path/platform-3f980000.usb-usb-0:1.1.3:1.0-port0
restart_method = command

```

This `serial` looks quite unusual

Is it that what you got from

```auto
ls /dev/serial/by-id/*

```

Can you share the results here?

> [@UHaas](#):
>
> the display remains black - is that OK?

Yes, the display is not supported by Klipper.

---

<div class="post-metadata">

**Author:** ![UHaas](https://avatars.discourse-cdn.com/v4/letter/u/919ad9/32.png) [@UHaas](https://klipper.discourse.group/u/UHaas)\
**Post date:** [January 7, 2024, 12:22pm UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925/3 "2024-01-07T12:22:39Z")

</div>

Thanks for the tip, unfortunately the printer still doesn’t connect to klipper.

---

<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:** [January 7, 2024, 12:23pm UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925/4 "2024-01-07T12:23:43Z")

</div>

So, what do you get from

```auto
ls /dev/serial/by-id/*

```

---

<div class="post-metadata">

**Author:** ![UHaas](https://avatars.discourse-cdn.com/v4/letter/u/919ad9/32.png) [@UHaas](https://klipper.discourse.group/u/UHaas)\
**Post date:** [January 7, 2024, 12:36pm UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925/5 "2024-01-07T12:36:31Z")

</div>

> [@EddyMI3D](#):
>
> `ls /dev/serial/by-id/*`

![Klipper](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/3/366b331415e0e55c09763d7ac86ffd78b492a010.jpeg)

yes, that’s exactly what you entered, see picture…

I’m starting to think that the printer.cfg or the parameters for the board are not correct.

---

<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:** [January 7, 2024, 12:38pm UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925/6 "2024-01-07T12:38:41Z")

</div>

![grafik](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/1/115bf9541f83d72a8956dc21f616b7a7ebe9f95f.png)

That one is different to that in the klippy.log

---

<div class="post-metadata">

**Author:** ![UHaas](https://avatars.discourse-cdn.com/v4/letter/u/919ad9/32.png) [@UHaas](https://klipper.discourse.group/u/UHaas)\
**Post date:** [January 7, 2024, 12:44pm UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925/7 "2024-01-07T12:44:42Z")

</div>

Thanks, my mistake uploaded the current log file again.

---

<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:** [January 7, 2024, 12:54pm UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925/8 "2024-01-07T12:54:39Z")

</div>

There is still an issue:

```auto
mcu 'mcu': Timeout on connect
mcu 'mcu': Wait for identify_response
Traceback (most recent call last):
  File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/pi/klipper/klippy/serialhdl.py", line 261, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/pi/klipper/klippy/serialhdl.py", line 318, in get_response
    self.serial.raw_send_wait_ack(cmds[-1], minclock, reqclock,
  File "/home/pi/klipper/klippy/serialhdl.py", line 253, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
    raise error(self.warn_prefix + (msg % params))
serialhdl.error: mcu 'mcu': Serial connection closed

```

Have you checked a different USB cable?  
Is the connection ok and printer powered on?

---

<div class="post-metadata">

**Author:** ![UHaas](https://avatars.discourse-cdn.com/v4/letter/u/919ad9/32.png) [@UHaas](https://klipper.discourse.group/u/UHaas)\
**Post date:** [January 7, 2024, 12:59pm UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925/9 "2024-01-07T12:59:32Z")

</div>

Yes, I’ve already used 3 different cables, all of which work with an Arduino without any problems.

Yes, the printer has a fan running.

---

<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:** [January 7, 2024, 1:14pm UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925/10 "2024-01-07T13:14:11Z")

</div>

Have you successfully got the Klipper firmware onto the printer?

---

<div class="post-metadata">

**Author:** ![UHaas](https://avatars.discourse-cdn.com/v4/letter/u/919ad9/32.png) [@UHaas](https://klipper.discourse.group/u/UHaas)\
**Post date:** [January 7, 2024, 1:55pm UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925/11 "2024-01-07T13:55:42Z")

</div>

Yes, I think, as already written, the display only shows ‘Download done’, nothing else. I waited 5 minutes before restarting the printer.

---

<div class="post-metadata">

**Author:** ![hcet14](https://avatars.discourse-cdn.com/v4/letter/h/ecd19e/32.png) [@hcet14](https://klipper.discourse.group/u/hcet14)\
**Post date:** [January 7, 2024, 2:59pm UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925/12 "2024-01-07T14:59:46Z")

</div>

I guesss there are two versions of your printer board around.

Some have “real” STM32 MCU some have a clone from GigaDevice. That’s why Geeetech writes about “Disable SWD at startup (for GigaDevice stmf32f103 clones)” at the top of your printer.cfg.

Which one is placed on your printer board?

Good luck, hcet14

---

<div class="post-metadata">

**Author:** ![UHaas](https://avatars.discourse-cdn.com/v4/letter/u/919ad9/32.png) [@UHaas](https://klipper.discourse.group/u/UHaas)\
**Post date:** [January 7, 2024, 4:50pm UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925/13 "2024-01-07T16:50:12Z")

</div>

Thanks for the tip, I couldn’t find anything on the board, so I just switched to Clone with the same result - the printer doesn’t connect. I see via dmes that the ch341-uart is attached to ttyUSB0

---

<div class="post-metadata">

**Author:** ![badwolf](https://avatars.discourse-cdn.com/v4/letter/b/9d8465/32.png) [@badwolf](https://klipper.discourse.group/u/badwolf)\
**Post date:** [January 7, 2024, 7:43pm UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925/14 "2024-01-07T19:43:37Z")

</div>

ok on here now UHaas my connection is as follows…  
serial: /dev/ttyUSB0  
if USB0 does not work try USB1

i never got mine to work by ID but it does work everytime with USB0 or USB1

---

<div class="post-metadata">

**Author:** ![badwolf](https://avatars.discourse-cdn.com/v4/letter/b/9d8465/32.png) [@badwolf](https://klipper.discourse.group/u/badwolf)\
**Post date:** [January 7, 2024, 7:59pm UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925/15 "2024-01-07T19:59:05Z")

</div>

Here is my printer.cfg for reference  
[printer.cfg](https://klipper.discourse.group/uploads/short-url/eAWTEpHFgYBi3aqKQVyXqgirTl2.cfg) (8.2 KB)

---

<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:** [January 8, 2024, 8:53am UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925/16 "2024-01-08T08:53:04Z")

</div>

- Check the marking on your MCU to identify the board, i.e. ST or GD chip
- Refer to [Mizar-S/Klipper/cfg/Geeetech\_Mizar\_S\_Config.txt at main · Geeetech3D/Mizar-S · GitHub](https://github.com/Geeetech3D/Mizar-S/blob/main/Klipper/cfg/Geeetech_Mizar_S_Config.txt)
- Repeat the flashing process and follow the direction in the above link to the letter
- Use a SD card below 8GB and formatted as FAT32. In doubt, try different SD cards
- If you try things, always provide a fresh klippy.log showing the results

---

<div class="post-metadata">

**Author:** ![UHaas](https://avatars.discourse-cdn.com/v4/letter/u/919ad9/32.png) [@UHaas](https://klipper.discourse.group/u/UHaas)\
**Post date:** [January 8, 2024, 7:58pm UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925/17 "2024-01-08T19:58:40Z")

</div>

I used several SD cards (FAT32). everyone has the same problem, I see that right, STM32f103 is not a clone? This chip is installed on my board, see picture.

Does it actually matter whether I use Mainsail or Fluidd?

Sorry, I’m a total beginner, hence these questions.

 ![Chip](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/b/b40e00ac8b7f046a2bba96605b2f79f11f603789.jpeg)

[klippy.log](https://klipper.discourse.group/uploads/short-url/wSN5G0Z4dXEMEAJ9QiZfi8WmzMw.log) (22.8 KB)  
[klippy (2).log](https://klipper.discourse.group/uploads/short-url/c621UPjICPZOudyIQkD4SuGY7mX.log) (24.8 KB)

---

<div class="post-metadata">

**Author:** ![UHaas](https://avatars.discourse-cdn.com/v4/letter/u/919ad9/32.png) [@UHaas](https://klipper.discourse.group/u/UHaas)\
**Post date:** [January 8, 2024, 7:59pm UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925/18 "2024-01-08T19:59:17Z")

</div>

Here my Klipper-Config  
 ![make](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/f/f3aac27a231c823aa9ee852890d56c0d0b113a32.jpeg)

---

<div class="post-metadata">

**Author:** ![badwolf](https://avatars.discourse-cdn.com/v4/letter/b/9d8465/32.png) [@badwolf](https://klipper.discourse.group/u/badwolf)\
**Post date:** [January 9, 2024, 12:42am UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925/19 "2024-01-09T00:42:32Z")

</div>

UHaas most odd i have the same date and version board, wonder why mine works and your does not

 ![IMG_4018](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/9/9f34cb11dfd9591291134464d5b3dd20b5de817f.jpeg)  
 ![IMG_4019](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/2/2c9b525ade06050db0e176e6da240447777fb270.jpeg)

---

<div class="post-metadata">

**Author:** ![badwolf](https://avatars.discourse-cdn.com/v4/letter/b/9d8465/32.png) [@badwolf](https://klipper.discourse.group/u/badwolf)\
**Post date:** [January 9, 2024, 12:52am UTC](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925/20 "2024-01-09T00:52:01Z")

</div>

I can use either mainsail or fluidd on mine.

 ![Screenshot (56)](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/d/dea35c0346e2d9588918010f3a743d0d17b8be8c.png)  
 ![Screenshot (57)](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/d/da86eb501763222b40c5887904227f71e93ef6b6.png)

[Next page](https://klipper.discourse.group/t/klipper-dont-connect-the-printer/12925.md?page=2)
