Shenzhen Big Tree Technology Co., Ltd.
BIGTREETECH
32 / 34
6.3 Firmware update
6.3.1 Update using SD Card
1. Rename klipper.bin to ”firmware.bin”, Copy to the SD card root directory, insert the
SD card into the SD card slot of the M4P, click the “reset” button or power on
again. The firmware will be updated automatically. After the update, the
"firmware.bin" in the SD card will be renamed as "FIRMWARE.CUR".
2. Enter: ls /dev/serial/by-id/ in terminal to check motherboad ID to confirm
whether firmware is updated successfully like showm below.
copy and save this ID,it is needed when modifying klipper config
6.3.2 Update using DFU
If the MCU klipper device ID can be found by ls /dev/serial/by-id/, we can input:
make flash FLASH_DEVICE= /dev/serial/by-id/usb-Klipper_stm32g0b1xx_190028000D50415833323520-if00
to update firmware (NOTE: Replace /dev/serial/by-id/xxx with the actual ID
found in the previous step)
There will be an error message “dfu-util: Error during download get_status” after
update. Just ignore it.