Skip to main content

USB Bridge CAN Firmware Burning

SSH Connection to Host Machine

Warning
  • Before compiling the firmware, you need to use WiFi connection to connect to the host machine via SSH
  • First, please: Use WiFi to Connect to Host Machine SSH


USB Bridge CAN Firmware Burning

Tip
  • A pre-compiled USB Bridge CAN firmware is available in the FLYOS-FAST system, so there's no need to manually compile the firmware; just run the following commands to burn it.
  • Alternatively, you can choose to manually compile the USB Bridge CAN firmware and compile the firmware yourself.
  • Carefully select based on your device; the FLY system defaults to 1M.

  • The C5 system defaults to 1M baud rate; if you need 500K, you'll need to modify the canbus_bitrate in the system settings.

  • This command burns the 1M USB Bridge CAN firmware.

fly-flash -d c5 -h -f /usr/lib/firmware/klipper-h723-128k-usbcan-1m.bin
  • This command burns the 500k USB Bridge CAN firmware.
fly-flash -d c5 -h -f /usr/lib/firmware/klipper-h723-128k-usbcan-500k.bin


Search for CAN ID

  1. Open the browser and enter the IP address of the host computer in the address bar. For example, if my host computer's IP is 192.168.101.179, just type it in and press Enter.

  2. Open the WEB interface of the host computer, find in the configuration options on the left sidebar:

    • For fluidd: {…}, click to enter and you can find printer.cfg
    • For mainsail: Machine, click to enter and you can find printer.cfg
    1. Click printer.cfg, then click DEVICES on the top right
    1. Click CAN, then refresh
    • Refresh for fluidd
    • Refresh for mainsail
    1. Copy the ID, click the arrow to copy
    • For fluidd, confirm whether the first arrow points to Klipper, if yes, click the right arrow to copy
    • For mainsail, confirm whether the first arrow points to Klipper, if yes, click the right arrow to copy

Fill in CAN ID

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

to

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

Note: All IDs mentioned in the document are examples. Each motherboard has a different ID. Please fill in the actual obtained ID.


- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -