Support for HDSC chips (HC32F460)

Hello. Creality Ender-2 pro V2.4.S4. I used klipper_pro2.bin, renamed and placed file in user/firnware.bin and got blank screen. I restored factory firmware after that. Is it possible that someone built firmware for my HW version already?
MCU is HC32F460 KETA.
Ender-2pro-hw2.4.s4xx-sw2.2.41_200.zip (118.2 KB)

Added
I found out information from ChubbyBunny1.
After the firmware is flashed the LCD will not show anything, so there is no way to tell that the flashing is done. So you can leave he SD for 30sec - 1 minute and then turn off your printer.
I will check later. Printer is busy now for next 24 hours.

Houston, we have a problem :slight_smile:

Still using my KobraMax with stock motherboard and little mod but

Just updated my klipper SW and bam…

MCU Protocol error

This is frequently caused by running an older version of the
firmware on the MCU(s). Fix by recompiling and flashing the
firmware.

Your Klipper version is: v0.12.0-102-g9f41f53c-dirty
MCU(s) which should be updated:
mcu: Current version v0.10.0-677-ga9105618-dirty-20230104_150956-redDog
rpi: Current version v0.11.0-99-g56444815
Up-to-date MCU(s):

So MCU firmware needs to be updated ?
Ok but Steve made a very good klipper.bin for the KobraMax but I don’t know how to update it.
@SteveGotthardt Should it be possible to help again ?

Best regards
Bernard

Steve’s work has been upstreamed so you can just follow the official instructions for building an up-to-date MCU firmware. (check the config options) After building you need you will have a out/klipper.bin file which is what you wanted. (remember to rename as firmware.bin on the SD card for flashing)

1 Like

Thanks !
I checked the Git of Steve and thought it was not accepted.
Great news, I will make the new firmware asap :wink:

I did some debugging work together with someone on the Klipper Discord for this Mainboard and we found that the new Rev B v1.0.2 board uses an additional power control pin that by default disables the power to the heaters.

To get this board version to work you have to enable that pin.

[output_pin power_control]
  pin: PB4
  value: 1
  shutdown_value: 0

Add this to your printer.cfg and the heaters should work

1 Like