Precompiled firmware(The source code version used is Commits on Nov 20, 2023)
Build your own firmware
Building the micro-controller
with the configuration shown below.
STMicroelectronics STM32
STM32F072
8KiB bootloader
No bootloader
8 MHz crystal
USB (on PA11/PA12)
CAN bus (on PB8/PB9)
(1000000)
CAN bus speedq
to exit, and "Yes" when asked to save the configuration.make
klipper.bin
file will be generated in the folder home/pi/kliiper/out
when the make
command completed. And you can use the windows computer under the same LAN as raspberry pi to copy klipper.bin
from raspberry pi to the computer with pscp
command in the CMD terminal. such as pscp -C pi@192.168.0.101:/home/pi/klipper/out/klipper.bin c:\klipper.bin
(The terminal may prompt that The server's host key is not cached
and ask Store key in cache?((y/n)
, Please type y
to store. And then it will ask for a password, please type the default password raspberry
for raspberry pi)Precompiled firmware(The source code version used is Commits on Nov 20, 2023)
Build your own firmware
Building the micro-controller
with the configuration shown below.
STMicroelectronics STM32
STM32G0B1
8KiB bootloader
No bootloader
8 MHz crystal
USB (on PA11/PA12)
CAN bus (on PB0/PB1)
(1000000)
CAN bus speedq
to exit, and "Yes" when asked to save the configuration.make
klipper.bin
file will be generated in the folder home/pi/kliiper/out
when the make
command completed. And you can use the windows computer under the same LAN as raspberry pi to copy klipper.bin
from raspberry pi to the computer with pscp
command in the CMD terminal. such as pscp -C pi@192.168.0.101:/home/pi/klipper/out/klipper.bin c:\klipper.bin
(The terminal may prompt that The server's host key is not cached
and ask Store key in cache?((y/n)
, Please type y
to store. And then it will ask for a password, please type the default password raspberry
for raspberry pi)(Only for EBB 36/42 CAN V1.1)
STM32G0B1CB needs to jump to the System memory area to run bootloader (written by STMicroelectronics) when using DFU to update firmware through the Type-C port. Referring to the description in manual AN2606, The initialization process of this bootloader is shown in the following figure:
The IO of USART will be configured before going to the USB DFU mode.
After going to DFU mode, PA2 will be configured to output high level by bootloader in System memory area refer to the datasheet of STM32G0B1CB__
PA2 is used for the hotend MOSFET in EBB36 & 42 CAN V1.1, The high level in the DFU mode change the hotend into heating state. Therefore, please pay attention to disconnect the main power VIN of the hotend when using the DFU of Type-C port to update the firmware, or ensure that the firmware update is completed soon and goto the normal working mode. Never keep MCU in DFU mode for a long time when the main power supply and hotend are connected.__
V1.2 compared with v1.1: only the IO of hotend is changed from PA2
to PB13
Precompiled firmware(The source code version used is Commits on Jan 8, 2023)
Build your own firmware
Building the micro-controller
with the configuration shown below.
STMicroelectronics STM32
STM32G0B1
8KiB bootloader
No bootloader
8 MHz crystal
USB (on PA11/PA12)
CAN bus (on PB0/PB1)
q
to exit, and "Yes" when asked to save the configuration.make
klipper.bin
file will be generated in the folder home/pi/kliiper/out
when the make
command completed. And you can use the windows computer under the same LAN as host to copy klipper.bin
from host to the computer with pscp
command in the CMD terminal. such as pscp -C pi@192.168.0.101:/home/pi/klipper/out/klipper.bin c:\klipper.bin
(The terminal may prompt that The server's host key is not cached
and ask Store key in cache?((y/n)
, Please type y
to store. And then it will ask for a password, please type the default password raspberry
for raspberry pi or biqu
for CB1)TMC2209 Version: uncomment tmc2209 config and comment tmc2240 config
[tmc2209 extruder]
uart_pin: EBBCan: PA15
run_current: 0.650
stealthchop_threshold: 999999
# [tmc2240 extruder]
# cs_pin: EBBCan: PA15
# spi_software_sclk_pin: EBBCan: PB10
# spi_software_mosi_pin: EBBCan: PB11
# spi_software_miso_pin: EBBCan: PB2
# run_current: 0.650
# stealthchop_threshold: 999999
TMC2240 Version: uncomment tmc2240 config and comment tmc2209 config
# [tmc2209 extruder]
# uart_pin: EBBCan: PA15
# run_current: 0.650
# stealthchop_threshold: 999999
[tmc2240 extruder]
cs_pin: EBBCan: PA15
spi_software_sclk_pin: EBBCan: PB10
spi_software_mosi_pin: EBBCan: PB11
spi_software_miso_pin: EBBCan: PB2
driver_TPFD: 0
run_current: 0.650
stealthchop_threshold: 999999