Need Help Flashing Ender 3 V2 (4.2.2 GD32F303)

Basic Information:

Printer Model: ender 3 v2
MCU / Printerboard: 4.2.2 GD32F303

Hey, I tried flashing Klipper on my Ender 3 V2 (board 4.2.2 GD32F303) following the config guide, but no luck.

  • Screen is stuck on the Creality logo

  • Tried disabling SWD at startup — still not working

  • Printer doesn’t show up in the web interface

  • 1gb samsung sdcard formated to fat32 with 4096

steps i do:

Started my Raspberry Pi Zero 2 W

  1. SSH into the Pi

  2. Ran make menuconfig with these settings:

    • STM32F103

    • Interface: USB (on USART1 PA10/PA9)

    • Disable SWD: enabled

    • Bootloader: 28KiB

  3. Ran make

  4. Took a 1GB Samsung SD card, formatted it to FAT32 with 4096 allocation

  5. Copied the generated klipper.bin to my PC via FTP

  6. Renamed the file to Ender0508.bin (to match the current date)

  7. Transferred the .bin file to the SD card

  8. Inserted the SD card into the printer

  9. Turned on the printer (display was connected — not sure if that matters?)

  10. Screen is stuck on Creality logo

  11. Waited ~1 minute

  12. Connected Pi to printer using USB-A to Micro-USB

  13. Ran: ls /dev/serial/by-id/*nothing shows up

Make sure there is only 1 file on the card
Rename the file.

The 4.2.2 card requires the .bin file have a name DIFFERENT than the name of the file that was used to flash the last time.

I prefer to keep my names short (8 characters) but not a requirement. An example e080425a. E for ender then the 6 digit date and then a for first try of the day.

Putting in the date prevents me from EVER recycling a name.

What’s a “1gm” SD Card?

Use as low a capacity SD Card as you can find. I normally use a 4GB card around for this purpose and I still have a 2GB card or two around as well.

Did it all the trys

Maybe I do somthing wrong in the make settings look at the image or it’s OK?

Misspelled it’s gb

Can you go through the process that you’re using to update the firmware?

Please be as precise as possible and list all file names and show what’s on the SD Card.

You should be following the process:

  1. Started my Raspberry Pi Zero 2 W

  2. SSH into the Pi

  3. Ran make menuconfig with these settings:

    • STM32F103

    • Interface: USB (on PA11/PA12)

    • Disable SWD: enabled

    • Bootloader: 28KiB

  4. Ran make

  5. Took a 1GB Samsung SD card, formatted it to FAT32 with 4096 allocation

  6. Copied the generated klipper.bin to my PC via FTP

  7. Renamed the file to Ender0508.bin (to match the current date)

  8. Transferred the .bin file to the SD card

  9. Inserted the SD card into the printer

  10. Turned on the printer (display was connected — not sure if that matters?)

  11. Screen is stuck on Creality logo

  12. Waited ~1 minute

  13. Connected Pi to printer using USB-A to Micro-USB

  14. Ran: ls /dev/serial/by-id/*nothing shows up

One thing jumped out at me:

image

Could you try not renaming klipper.bin and loading the file as is on the SD Card? I seem to recall that the file name has to be eight characters - your name has nine.

If that doesn’t work, I’m wondering about:

image

How do you know the klipper.bin file was transferred correctly without any inadvertent changes?

What is the process you’re using for transferring the file and it’s contents?

i allso tried to keep the name klipper.bin dosent work

i just use ftp connect and transfare it to my pc and then drag it to the sd card
is there other way ?

Try transferring it back under a different name and then doing a kdiff on the two files:

https://kdiff3.sourceforge.net/

That will tell you if there are any problems with the file transfer.

Personally, I use NotePad++ with its NppFTP plugin.

i think its the same file its copied using ftp
should i load config file before i make framework or its independent ?

What makes you think that?

Make sure the two files are exactly the same length (and the same length as the file that is on your PC).

What you’re describing is that the Ender 3 main board is not recognizing that there is a file with new firmware.

Causes for that are:

  1. The file is not in the correct format. Now, I should have asked how did you identify your board and, looking at the OP you have identified it as a GD32F303, how did you do that?
  2. The SD Card doesn’t work (which seems unlikely because you can read it on your PC)
  3. The SD Card slot on the main board doesn’t work. I’ve discounted this because I assumed that you did 3D prints with the firmware out of the box before trying to install Klipper - was this a valid assumption?

Thoughts?

  1. open the cover of the mother board and look on it
    3. after failed instalation i downloaded marlin frameware for my ender 3 v2 and it allso has a bin file and its flashing the frameware

How do you know it’s flashing the firmware?

Are you using a different version from before with any features/indications that show you that you’re putting in different firmware?

Sorry, I misunderstood the question earlier. I’ve confirmed that the SD card and the printer are working fine — I successfully flashed a different custom marlin firmware (not Klipper) using the same setup, and it worked.

So it seems like the problem is with the Klipper .bin file I built — the screen just freezes on the Creality logo and the Pi can’t detect the printer over USB.

Any idea what might be wrong in the build process or config?
Thanks in advance!

What happens when you load the Creality firmware - you get the logo on the user interface and then it changes into the firmware?

Where did you get the make menuconfig settings? Have you tried any others?

You’re using the rPi Zero 2W as your host. How are you connecting it?

Yes when i load firmware i get the logo and the screen.
I got the make menuconfig from the config file of ender 3v2 and ender3v2 pro tried all of them
i am connecting the pi like that microusb to usb> usb to micro usb> micro usb to ender

Usually you will find an answer among Issues flashing the printer board
Note that we had users here that:

  • Tried up to 5 different SD cards
  • Multiple USB cables

before finding one that worked.

This is definitely wrong. Needs to be serial (on USART1 PA10/PA9)

1 Like

about the usb interface it was misspelled look at the picture
the only discusion i saw is here Support for new Creality boards 4.2.2 with GD32F303 - #28 by fklco

I wondered about that.

Again, @michisha how did you identify the board that you’re using?

Where did you get this information and can you make a list of the parameters that you’ve tried? It sounds like there’s more than one.