Skip to main content

USB Bridge CAN Firmware Flashing

SSH Connect to the Upper Computer

Warning
  • Before compiling the firmware, you need to connect to the upper computer SSH via WiFi
  • First, please: Connect to the upper computer SSH via WiFi


USB Bridge CAN Firmware Flashing

Note
  • In the FLYOS-FAST system, a USB bridge CAN firmware has been pre-compiled. No need to manually compile the firmware. Execute the command below to flash it.
  • You can also choose to manually compile the USB bridge CAN firmware and compile it yourself.
  • The FAST system defaults to a 1M rate. If 500K is needed, modify the canbus_bitrate rate in the system configuration.

  • This command flashes the 1M USB Bridge CAN Firmware

fly-flash -d auto -h -f /usr/lib/firmware/klipper/stm32f407-32k-usbcan-1m.bin
  • This command flashes the 500k USB Bridge CAN Firmware
fly-flash -d auto -h -f /usr/lib/firmware/klipper/stm32f407-32k-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...