Hello, I would like to ask about compatiblity with these new boards, there does not seem to be option to select STM32F303 in makeconfig and building for F103 does not seem to work (host cannot connect).
I have this board in Sovol SV01 Pro
This is how new board looks like
Is there any config that currently exists and can work?
Long story short, i wrote support for F3 to klipper, could use some help as there were registers that either did not exist in F3 series or naming was totally off. Any chance to get support for this?
Hi, I thought I would chime in with my recent experience.
I just purchased an Ender 3v2, and it took me 3 days but I finally got klipper installed.
#1 check the chip on your board to verify the GD32F chip.
in menuconfig choose the SWD option. #2 On my particular board I had to select “USB on PA11/PA12” which is different than the instructions for the “real” STM32. It must be another slight variation of the board.
On my board there was a blue light near the USB interface that lit up when the correct USB setting was used. #3 I had to use the " /dev/serial/by-path/*" option to get the USB recognized #4 I ran across 3 different suggestions for the proper filename for flashing. What worked for me was the following convention “firmware-1.bin” the filename is not changed after successfully flashing like on older boards. to reflash you must choose a different filename “firmware-2.bin”. etc. I was able to verify this by reflashing marlin back to the board. after re-flashing klipper I now have the MCU recognized in the mainsail interface.
Extra tip- make sure you have agood USB cable. I had a bad one and didnt know it. Lots of time wasted there.
Hope this helps someone…
-Dave
Hey, would you mind sharing the bin file? I’m on this mission for two days with no luck, I even tried what you did but still didnt manage to bootload…
Just tried it as well, but it doesn’t connect in Octoprint (nor does it send G codes through kllipper).
Flashed your firmware 7 (after remaning it to firmware-1.bin).
Installed Klipper and Octoprint on my Raspberry Pi Zero 2 with Rasp OS lite.
Both are running fine, but I can’t send even gcodes like “echo g28 | /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0” or “echo g28 | /tmp/printer” because it returns permissions denied, even though I chmoded both to 777.
Any ideas?
Yes, I had to use “/dev/serial/by-path/*” which is detailed in the klipper documentation under multi-MCU instructions. The “by-ID” did not work for me. I honestly don’t know the technical differences bewteen the two, I just blundered around long enough to find my way through the maze!
Unfortunately, it didn’t work this way either.
I am getting this Permission denied for both “by-path” and “by-ID”.
I tried using your firmware and also making my own firmware with menuconfig according to your guide, but the printer just isn’t detected at all in Octoprint.
lsusb
Bus 001 Device 007: ID 1a86:7523 QinHeng Electronics CH340 serial converter
ls /dev/serial/by-id/*
/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
ls /dev/serial/by-path/*
/dev/serial/by-path/platform-3f980000.usb-usb-0:1:1.0-port0
Even tried to install moonraker as well, says
Klipper reports mcu 'mcu': unable to connect once the underlying issue is corrected, use the "firmware_restart" command to reset the firmware, reload the config, and restart the host software. error configuring printer
If I’m flashing it back to stock Marlin it starts no problem (so the board isn’t dead).
I also made sure that klipper service is running well in the background.
I’m really running out of ideas as I tried different things for 8 hours already.
Hi, I was trying to get klipper on my ender 3 Neo and was running into similar problems, however after attempting to flash the klipper firmware you provided my lcd screen is now blank and I am unable to interact with the printer in any way. I also tried flashing it back to Marlin but the printer still has a blank screen, do you have any ideas on how to fix this? thank you
The new style screen on my Ender 3v2 is not supported. I assume you have the same problem.
I just run mine “headless” and control from a web browser.
Unfortunately there are some issues with “just” plugging in a standard 12864 screen/ controller.
If I remember correctly, it may be possible but you need to do some custom wiring for the pins.
You would need to google/ research the details on this.
IIRC this limitation was due to “non- standard” pin definitions on the board itself.
One thing i can confirm is no trouble on my host software, because when i flash back the official firmware “/dev/serial/…” is ok while flash klipper firmware is “no such file/dir /dev/serial/…”.
I cannot find the way to trouble shooting, because I cannot find firmware error log, just “mcu: Unable to open serial port: [Errno 2] could not open port /dev/serial/” in klipper log.