Skip to main content

USB Firmware Compilation

Check the DIP Switch

Important
  • For normal use, please set the DIP switch to the upward position.
  • When adjusting the DIP switch, ensure it is fully pushed upward, otherwise it may fail to connect to the lower computer!!!
Loading...

SSH into the Upper Computer

Warning
  • Before compiling the firmware, you need to connect to the upper computer via SSH using Wi-Fi.
  • First, please: Connect to the upper computer via SSH using Wi-Fi


USB Firmware Flashing

Note
  • The FLYOS-FAST system comes with a pre-compiled USB firmware, so manual compilation is not required. You can flash the firmware by executing the command below.
  • Alternatively, you can choose to manually compile the USB firmware and compile it yourself.
  • Connect to the upper computer via SSH and enter the following command:
fly-flash -d auto -h -f /usr/lib/firmware/klipper/stm32h723-128k-usb.bin
Loading...
Loading...

Searching for USB ID

  1. Open your browser, enter the IP address of the host computer in the address bar. For example, if the host IP is 192.168.101.179, type it in and press Enter.
Loading...
  1. After accessing the host's WEB interface, find the following in the configuration options on the left sidebar:
  • For fluidd: Click on {…} to enter, then find printer.cfg.
Loading...
  • For mainsail: Click on Machine to enter, then find printer.cfg.
Loading...
  1. Click on printer.cfg to enter, then click on DEVICES in the top right corner.
Loading...
Loading...
  1. Click on SERIAL, then refresh.
  • Refresh in fluidd.
Loading...
  • Refresh in mainsail.
Loading...
  1. Copy the ID. Click on the indicated arrow to copy.
  • In fluidd, ensure ttyACM exists and that Path by ID is present. This is the USB ID.
Loading...
  • In mainsail, ensure ttyACM exists and that Path by ID is present. This is the USB ID.
Loading...

Filling in the USB ID

Danger

The ID shown below is an example and CANNOT be used !!!!

serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
  1. Close the DEVICES window and fill in the ID.
Important
  • In the configuration file, change:
[mcu] 
serial: /tmp/klipper_host_mcu
  • to:
[mcu host] 
serial: /tmp/klipper_host_mcu
  • And add:
[mcu]
serial: <Replace this 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 top 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 hotend 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...