# Installing Klipper on Ender 3 - 4.2.2 Board and GD32F303 Chip

**URL:** <https://klipper.discourse.group/t/installing-klipper-on-ender-3-4-2-2-board-and-gd32f303-chip/8165>\
**Category:** General Discussion\
**Created:** [May 1, 2023, 5:29pm UTC](https://klipper.discourse.group/t/installing-klipper-on-ender-3-4-2-2-board-and-gd32f303-chip/8165 "2023-05-01T17:29:14Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Superpenguin89](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Superpenguin89](https://klipper.discourse.group/u/Superpenguin89)\
**Post date:** [May 1, 2023, 5:29pm UTC](https://klipper.discourse.group/t/installing-klipper-on-ender-3-4-2-2-board-and-gd32f303-chip/8165/1 "2023-05-01T17:29:14Z")

</div>

### 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 [https://www.youtube.com/watch?v=yAfalR7-Tvw&t=10s](https://www.youtube.com/watch?v=yAfalR7-Tvw&t=10s)

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?

---

<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:** [May 1, 2023, 5:53pm UTC](https://klipper.discourse.group/t/installing-klipper-on-ender-3-4-2-2-board-and-gd32f303-chip/8165/2 "2023-05-01T17:53:10Z")

</div>

I assume it is an Ender v2, right?

If so, use [klipper/printer-creality-ender3-v2-2020.cfg at master · Klipper3d/klipper · GitHub](https://github.com/Klipper3d/klipper/blob/master/config/printer-creality-ender3-v2-2020.cfg) 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.`

---

<div class="post-metadata">

**Author:** ![Superpenguin89](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Superpenguin89](https://klipper.discourse.group/u/Superpenguin89)\
**Post date:** [May 1, 2023, 6:02pm UTC](https://klipper.discourse.group/t/installing-klipper-on-ender-3-4-2-2-board-and-gd32f303-chip/8165/3 "2023-05-01T18:02:11Z")

</div>

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](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?

---

<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:** [May 1, 2023, 6:14pm UTC](https://klipper.discourse.group/t/installing-klipper-on-ender-3-4-2-2-board-and-gd32f303-chip/8165/4 "2023-05-01T18:14:09Z")

</div>

Not really, the board is important. Follow above

---

<div class="post-metadata">

**Author:** ![Superpenguin89](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Superpenguin89](https://klipper.discourse.group/u/Superpenguin89)\
**Post date:** [May 1, 2023, 6:32pm UTC](https://klipper.discourse.group/t/installing-klipper-on-ender-3-4-2-2-board-and-gd32f303-chip/8165/5 "2023-05-01T18:32:12Z")

</div>

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.

 ![Capture1](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/9/98158aced1f2abd6e12857eba7a4476d2fc74091.jpeg)

---

<div class="post-metadata">

**Author:** ![Superpenguin89](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Superpenguin89](https://klipper.discourse.group/u/Superpenguin89)\
**Post date:** [May 1, 2023, 6:32pm UTC](https://klipper.discourse.group/t/installing-klipper-on-ender-3-4-2-2-board-and-gd32f303-chip/8165/6 "2023-05-01T18:32:49Z")

</div>

![Capture](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/9/963e0933cf40868dfc09a78382cee529dc5cb462.jpeg)

---

<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:** [May 1, 2023, 6:35pm UTC](https://klipper.discourse.group/t/installing-klipper-on-ender-3-4-2-2-board-and-gd32f303-chip/8165/7 "2023-05-01T18:35:40Z")

</div>

> [@Sineos](#):
>
> If so, use [klipper/printer-creality-ender3-v2-2020.cfg at master · Klipper3d/klipper · GitHub](https://github.com/Klipper3d/klipper/blob/master/config/printer-creality-ender3-v2-2020.cfg) as a basis.

Please re-read carefully and compare to your proceedings

---

<div class="post-metadata">

**Author:** ![Superpenguin89](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Superpenguin89](https://klipper.discourse.group/u/Superpenguin89)\
**Post date:** [May 1, 2023, 6:50pm UTC](https://klipper.discourse.group/t/installing-klipper-on-ender-3-4-2-2-board-and-gd32f303-chip/8165/8 "2023-05-01T18:50:25Z")

</div>

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”?

---

<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:** [May 1, 2023, 7:42pm UTC](https://klipper.discourse.group/t/installing-klipper-on-ender-3-4-2-2-board-and-gd32f303-chip/8165/9 "2023-05-01T19:42:02Z")

</div>

![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/7/71d6453fa8c2f34110ea86bb3d5e543c542060c0.png)

---

<div class="post-metadata">

**Author:** ![3dFirefly](https://avatars.discourse-cdn.com/v4/letter/3/bcef8e/32.png) [@3dFirefly](https://klipper.discourse.group/u/3dFirefly)\
**Post date:** [June 9, 2023, 4:05pm UTC](https://klipper.discourse.group/t/installing-klipper-on-ender-3-4-2-2-board-and-gd32f303-chip/8165/10 "2023-06-09T16:05:54Z")

</div>

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

---

<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:** [February 17, 2025, 7:34pm UTC](https://klipper.discourse.group/t/installing-klipper-on-ender-3-4-2-2-board-and-gd32f303-chip/8165/11 "2025-02-17T19:34:24Z")

</div>


