Printer Model: Ender 3 s1 pro
MCU / Printerboard: STM32F401
Host / SBC Pi 3 B+ using mainsail /klipper
klippy.log
Hi all I’ve been trying to get klipper to work with my ender 3, i’m pretty sure its possible . So far I’ve got the pi board connected to the ender 3 via usb a → usb c.
I made the klipper.bin file using the following settings in the menuconfig
I’ve made a partition on my sd card with fat32, made a folder as ‘STM32F4_UPDATE’ and placed the bin file. Take the sd card and place it into the ender 3 power on, the screen does not load correct which from what i’ve read is normal. After a bit the screen goes black, i assume at this point the flash is done, and power off the ender 3.
reboot/ restart everything log into my pi board via the web to get to the mainsail dashboard, I get the following.
Klipper reports: ERROR
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
I’ve tried what i feel like is everything to get the two to talk to each other , any help will be greatly appreciated.
Is this what you see with running: ls -lta /dev/serial/by-id/*
in an ssh session? or if your using KIAUH you can choose 4) Advanced menu, 5) get mcu id
Aug 2023
fixed
@cbrew
Your error is:
mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0'
Check Debian Bullseye Bug causing Klipper to no longer find the printer board 54
It leads to this one…
hope its that easy, alot of us users fell into the rights bug
on the Klipper discord they had pinned a script that did all the fixes. its pinned in the mainsail forum on klipper discord.
Was hoping, but I guess I’ll have to defer to others here. was reminded earlier tonight, with a warm welcome; that I should let the pro’s support folks on here. Hope you well.
I saw this one as well… with double checking the processor/comm port btw
@DaVinci10 answers point into the right direction.
It is mandatory that you properly identify the MCU on this board and then use the correct settings.
Also the SD card used for flashing can make a big difference.
I’ve added a zip folder of a few pictures, 1: the mcu, 2: the micro sd card I am using) 3: the formatted partition of the micro sd card.
Not sure if this qualifies as a “good quality” sd card. From that link you’re guessing the sd card or cable? Is the a good way to know if the mcu is flashing correctly without a proper screen?
The guide above clearly mentions a SD of below 8 GB for flashing and I cannot comment on the quality of yours (not saying that it has to be the root cause)
The board has CH3xx USB chip, so it will always register as /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 (regardless if Klipper is correctly flashed or not)
From the instructions
# Flash this firmware by copying "out/klipper.bin" to a SD card and
# turning on the printer with the card inserted. The filename
# must be changed to "firmware.bin"
# With STM32F401, you might need to put "firmware.bin" in a
# folder on the SD card called "STM32F4_UPDATE" in order to flash.
It seems not clear with this board if STM32F4_UPDATE is needed or not
There are reports that renaming the klipper.bin to firmware.bin might not be working
A lot of the Creality boards require changing the firmware filename on every flash attempt
I do not own this board, so I cannot comment first hand. There are enough reports that it works, so it is likely something on your end.
Follow the dmesg instructions that are equally outlined in the link and check if there is anything telling.
I appreciate all the help. When I downloaded the firmware from creality it did have the STMF4_UPDATE folder, I forget the name of the file.bin,.but maybe I can just try copying over the klipper.bin and renaming it, I think thats the only thing I haven’t tried. Would you think re-formatting to 8gb would suffice or just getting a 8gb card?