Skip to main content

USB Bridge CAN Firmware Flashing

SSH into the Host Computer

Warning
  • Before compiling the firmware, you need to connect to the host computer SSH via Wi-Fi.
  • First, please: Use Wi-Fi to Connect to Host Computer SSH


USB Bridge CAN Firmware Flashing

Tip
  • The FLYOS-FAST system has pre-compiled a USB bridge CAN firmware, so manual compilation is not required. Execute the command below to flash the firmware.
  • Alternatively, you can choose Manual Compilation of USB Bridge CAN Firmware to compile the firmware yourself.
  • The FAST system defaults to a 1M rate. If a 500K rate 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 for CAN ID

  1. Open a browser, enter the IP address of the host computer in the address bar. For example, if the host IP is 192.168.101.179, simply type it in and press Enter.
Loading...
  1. Open the WEB interface of the host computer. In the configuration options on the left sidebar, 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 in the upper right corner.

    Loading...
    Loading...
  2. Click CAN, then refresh.

    • Refresh in fluidd
    Loading...
    • Refresh in mainsail
    Loading...
  3. Copy the ID. Click the indicated arrow to copy.

    • In fluidd, ensure the first arrow points to Klipper. If yes, click the arrow on the right to copy.
    Loading...
    • In mainsail, ensure the first arrow points to Klipper. If yes, click the arrow on the right to copy.
    Loading...

Fill in the CAN ID

  1. Close DEVICES and fill in the ID.
Note
  • In the configuration file, change:
[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 in the upper right corner.
Loading...
Loading...
  1. If Klipper prompts ADC out of range, this is normal. Connect the heated bed and thermistor to the mainboard, configure the thermistor pins for the nozzle and heated bed, then save and restart.
Danger

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


Loading...