Used steps from printer-creality-ender6-2020.cfg.
Ran make menuconfig and selected:
STMicroelectronics STM32
STM32F103
28KiB bootloader
Serial (on USART1 PA10/PA9)
All as described in the file.
Saved and exited.
Ran make.
Copied compiled out/klipper.bin onto the SD card (into the root dir).
Shut off the printer, inserted SD card, turned the printer back on… “Creality Ender-6” logo pops up with an empty progress bar at the bottom and nothing happens. Waited for a few minutes… Nothing.
After that point the printer doesn’t boot, even after restarting.
Used the same SD card with the stock firmware from Creality. Logo pops up and after about 10 seconds the progress bar starts to move. Printer is now functional with the stock firmware.
TL;DR: The flashing procedure works with the stock firmware but not with the Klipper firmware.
See Issues flashing the printer board for typical issues when flashing the board. The recommendation is to go step by step through each item and, in particular, verify that the MCU is what you expect.
# This file contains pin mappings for the stock 2020 Creality Ender 6.
# To use this config, during "make menuconfig" select the STM32F103
# with a "28KiB bootloader" and serial (on USART1 PA10/PA9)
# communication.
I ran make menuconfig and selected the following:
STMicroelectronics STM32
STM32F103
28KiB bootloader
Serial (on USART1 PA10/PA9)
Ran make and tried flashing klipper.bin, which makes the printer hang.
After I’ve attempted to flash the firmware from the SD card, I didn’t see anything happening on the touchscreen, so I’ve assumed the printer hung. But, maybe that’s by design…
So, should the touchscreen on the printer be responsive after I load the Klipper firmware?
The settings you posted above should match. Also the bootloader offset of 28KiB should be correct. DO NOT play with other offsets as this might make your situation quite more complicated.
Klipper does not support this touch screen, so this is to be expected. Klipper’s support for the “traditional” printer screens is quite limited or put differently: These screens do not match Klipper’s philosophy as being operated via much more powerful browser based interfaces or “real” screens that run under Klipperscreen.
Generally your error is indicative of a board that is not properly flashed.
As your settings seem OK, refer to the rest of the items mentioned in the above link, like SD card, USB cable etc.
When you attempt another flash of the firmware especially take note of:
# Flash this firmware by copying "out/klipper.bin" to a SD card and
# turning on the printer with the card inserted. The firmware
# filename must end in ".bin" and must not match the last filename
# that was flashed.
SD card is OK. I’ve used it several times to flash the stock firmware. USB cable is not applicable in my situation.
Tried that too.
Oh well, that makes more sense. I’ve been expecting some sort of confirmation on the touchscreen like with most other firmwares. And not seeing one, assumed the printer hung… It didn’t dawn on me to try connect with Klipper in this state.