Skip to main content

USB Bridge CAN Firmware Flashing

SSH Connect to Host

Warning
  • Before compiling firmware, you must connect to the host via SSH using WiFi
  • First, please: Connect to the host via SSH using WiFi


USB Bridge CAN Firmware Flashing

Tip
  • FLYOS-FAST system has pre-compiled a USB Bridge CAN firmware; no need to manually compile. Execute the command below to flash.
  • Alternatively, you can choose to manually compile the USB Bridge CAN firmware.
  • The FAST system defaults to 1M baud rate. If 500K is needed, modify the canbus_bitrate in the system configuration.

  • This command flashes the 1M USB Bridge CAN firmware

fly-flash -d auto -h -f /usr/lib/firmware/klipper/stm32h723-128k-usbcan-1m.bin
  • This command flashes the 500K USB Bridge CAN firmware
fly-flash -d auto -h -f /usr/lib/firmware/klipper/stm32h723-128k-usbcan-500k.bin
Loading...
Loading...


Search CAN ID

  1. Open the browser, enter the host computer's IP address in the address bar. For example, if my host computer's IP is 192.168.101.179, directly input it and press Enter.
Loading...
  1. Open the WEB interface of the host computer, and in the sidebar's configuration options, find:
  • For fluidd: {…}, click to enter, then find printer.cfg
Loading...
  • For mainsail: Machine, click to enter, then find printer.cfg
Loading...
  1. Click printer.cfg to enter, then click DEVICES at the top right.
Loading...
Loading...
  1. Click CAN, then refresh.
  • Fluidd refresh
Loading...
  • Mainsail refresh
Loading...
  1. Copy the ID by clicking where the arrow points.
  • For fluidd, confirm if the first arrow points to Klipper. If so, click the copy button indicated by the right arrow.
Loading...
  • For mainsail, confirm if the first arrow points to Klipper. If so, click the copy button indicated by the right arrow.
Loading...

Fill in the CAN ID

  1. Close DEVICES and fill in the ID.
Note
  • Please change the following in the configuration file:
[mcu]
serial: /tmp/klipper_host_mcu

to

[mcu host]
serial: /tmp/klipper_host_mcu
  • Add:
[mcu]
canbus_uuid: <Replace here with the ID you just queried>
  • Find [MCU] in fluidd
Loading...
  • Find [MCU] in mainsail
Loading...
  1. Fill the ID into the configuration.
Tip
  • After filling in the ID, click SAVE & RESTART at the top right.
Loading...
Loading...
  1. If Klipper prompts ADC out of range, this is normal. Connect the heated bed and thermistor to the motherboard, configure the thermistor pins for the nozzle and heated bed, then save and restart.
Danger

Note: All IDs appearing in the document are examples. The actual ID of each motherboard is different. Please fill in the ID you actually obtained.

Loading...