Skip to main content

USB Bridge CAN Firmware Flashing

SSH into the Host Computer

Warning
  • Before compiling the firmware, use wifi to connect to the host computer SSH
  • First please: Use wifi to connect to the host computer SSH


USB Bridge CAN Firmware Flashing

Tip
  • A USB bridge CAN firmware has been pre-compiled in the FLYOS-FAST system, no need to manually compile the firmware, execute the command below to flash
  • You can also choose to manually compile the USB bridge CAN firmware and compile it yourself
  • Choose carefully according to your device, FLY system defaults to 1M

  • The C5 system defaults to 1M speed, if you need 500K, modify the canbus_bitrate speed in the system configuration

  • This command flashes the 1M USB bridge CAN firmware

fly-flash -d c5 -h -f /usr/lib/firmware/klipper-h723-128k-usbcan-1m.bin
  • This command flashes 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 your 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, simply type it in and press Enter.
  1. Open the host computer's web interface, and in the configuration options of the left sidebar, find:
  • For fluidd: {...}, click into it to find printer.cfg
  • For mainsail: Machine, click into it to find printer.cfg
  1. Click on printer.cfg, then click DEVICES in the upper right corner.

  2. Click CAN, then refresh.

    • Refresh for fluidd
    • Refresh for mainsail
  3. Copy the ID; click the arrow as shown to copy it.

    • For fluidd, confirm the first arrow points to Klipper, then click the right arrow to copy.
    • For mainsail, confirm the first arrow points to Klipper, then click the right arrow to copy.

Enter the CAN ID

  1. Close DEVICES and enter 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 this with the ID you just queried>
  • In fluidd, find [MCU]
  • In mainsail, find [MCU]
  1. Enter the ID into the configuration
tip
  • After entering the ID, click SAVE & RESTART in the upper right corner.
  1. If Klipper displays ADC out of range, this is normal. Connect the heated bed and thermistor to the mainboard and configure the thermistor pins for the extruder and heated bed, then save and restart.
dangerous

Note: All IDs in this document are examples. Each mainboard has a unique ID, so please enter the actual ID you obtained.


Loading...
- 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 -