Klipper not flashing or not connecting

Basic Information:

Printer Model: Ender 3 v2
MCU / Printerboard: GD32F303
klippy.log (66.2 KB)

Fill out above information and in all cases attach your klippy.log file. Pasting your printer.cfg is not needed
Be sure to check our Knowledge Base and in particular this and this post

Describe your issue:

About 3 days ago I started installing klipper in a old machine that I had laying around but when I got to flashing klipper it seems its not flashing. I tried switching between different SD cards (FAT32, 4096) but still wont flash (It is stuck on the creality logo screen not the blank that was supposed to) I can flash back to marlin and other firmware. I did follow trough the cfg for ender 3 v2 2020 (STM32F103, 28KiB bootloader, Selected disable SWD for Gigadevice clone, Extra low-level, USART3 PB11/PB10, 250000 baudrate, and changed the .bin file name between flash tries). After that I though it could be that the mcu was just not connecting to Linux, so I followed along another post and disabled modemmanager and brittly. Now it outputs the the path when using ls /dev/serial/by-id/* our by-path (both works) but still saying that it cant connect to the mcu (tried connecting with marlin flashed and it cant recognize the mcu)

Edit: Here it is the dmesg output

[ 4762.240136] usb 2-1: new full-speed USB device number 3 using uhci_hcd
[ 4762.424219] usb 2-1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.64
[ 4762.424245] usb 2-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 4762.424257] usb 2-1: Product: USB Serial
[ 4762.427945] ch341 2-1:1.0: ch341-uart converter detected
[ 4762.441529] usb 2-1: ch341-uart converter now attached to ttyUSB0

Are you sure, that it is a GD32 chip?

Yes.

Try:

  • STM32F103
  • 28KiB bootloader
  • Disable SWD at startup
  • Serial (on USART1 PA10/PA9)

Flash via SD card. The firmware filename must end in “.bin” and must not match the last filename that was flashed.

Ok. I did and still stuck on the same screen
The config settings
image
And the dmesg output
[ 6076.196122] usb 2-1: new full-speed USB device number 5 using uhci_hcd
[ 6076.385196] usb 2-1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.64
[ 6076.385222] usb 2-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 6076.385234] usb 2-1: Product: USB Serial
[ 6076.387582] ch341 2-1:1.0: ch341-uart converter detected
[ 6076.398598] usb 2-1: ch341-uart converter now attached to ttyUSB0

I did remove the USB cable when flashing so the USB doesn’t provide power

For a v4.2.2 board, these should be the matching settings. Sorry no further idea currently.

Could you make a firmware with these settings and post here? Maybe my linux install is not letting klipper compile the firmware correctly. I tried reinstalling klipper via KIAUH but nothing changed.

My PC is a LG X140 with a ATOM processor (its extremely old) and Im using linux mint XFec version

This should not make any difference. If there were any incompatibilities, then the compiler should error out, but anyhow, here you go:
klipper.zip (19.4 KB)

Yep, no joy. Thanks for the help anyway :blue_heart:

I’m having the same problem. @X_Fighter did you ever figure the problem out?

Hello @skott !

As the thread is not marked solved, it seems it isn’t.

For this and the age of this thread, I recommend to open a new thread in Get Help with all requested information.