Installing Klipper on Ender 3 - 4.2.2 Board and GD32F303 Chip

Basic Information:

Ender 3
4.2.2 Board
GD32F303 Processor

Hello, I am trying to install Klipper on my Ender 3. I got to the part for flashing the firmware onto the 3d Printer itself and encountered this error:

~/klipper $ avrdude -carduino -patmega1284p -P/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 -b57600 -D -Uflash:w:out/klipper.elf.hex
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xe8
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x5a
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x95
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x0a
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x0e
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x0e
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xe8
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x88
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x4a
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xe2

I think it is because I do not have the right options selected in the make menuconfig section. From what I read the board/processor combination might not be supported by Klipper. I am not a programmer, and I rely mainly on Youtube videos and written instructions to figure out how to make things work. I was using this video to help me install Using a 32 bit Raspberry Pi to boost your 3D printer mainboard - Klipper Ender 3 guide - YouTube

Does anyone know if Klipper can be run on these chip combinations and if so what I need to do to get it to flash onto the Ender 3?

1 Like

I assume it is an Ender v2, right?

If so, use klipper/printer-creality-ender3-v2-2020.cfg at master · Klipper3d/klipper · GitHub as a basis.
In make menuconfig:

  • select STM32F103 with a “28KiB bootloader” also for the GD chip
  • Enable Enable extra low-level configuration options → Disable SWD at startup
  • Use SD card to flash but especially mind The firmware filename must end in ".bin" and must not match the last filename that was flashed.
1 Like

No it is actually just a regular Ender 3 - https://www.amazon.com/gp/product/B07BR3F9N6/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

Does it really matter if its a v2 or original Ender 3 though?

Not really, the board is important. Follow above

Tried your recommended settings, copied the entire “out” folder to the SD card, booted up the Ender 3 and it is just stuck at the blank blue screen. I gave it like 5-7 mins and I tried turning it on and off and still stuck their. How long should the install usually take, less then a minute?

BTW thank you for helping.

Please re-read carefully and compare to your proceedings

So I went through the instructions. I did change the communication interface to “USART1 PA10/PA09” per the instructions and I did only copy the Klipper.bin file to the SD card this time but it still seems stuck at the blank loading screen.

It the communication interface section optionally changed from “USB”?

I think I have the same printer as OP, my Ender 3 has a 4.2.2 (but with a STM32F103 RET6) and it has the blue/white LCD is not a V2. the LCD will stay blank and had to add the following for display to work:

[board_pins]
aliases:
EXP1_1=PC6,EXP1_3=PB10,EXP1_5=PB14,EXP1_7=PB12,EXP1_9=,
EXP1_2=PB2,EXP1_4=PB11,EXP1_6=PB13,EXP1_8=PB15,EXP1_10=<5V>,
POWER_P=PB0,BED_COOLER=PB1

#The default Ender 3 display
[display]
lcd_type: st7920
cs_pin: PB12
sclk_pin: PB13
sid_pin: PB15
encoder_pins: ^PB14, ^PB10
click_pin: ^!PB2

1 Like