Skip to main content

USB Firmware Compilation

Check the DIP Switch

Note
  • For normal use, please set the DIP switch to the up position
  • When switching, make sure to push it all the way up, otherwise the lower controller may not be connected!!!
Loading...

SSH Connection to the Upper Controller

Warning
  • Before firmware compilation, you need to connect to the upper controller via SSH using WiFi
  • First, please: Connect to the Upper Controller via SSH Using WiFi


USB Firmware Flashing

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

HID Flashing Failure Prompt

If the prompt shown in the image below appears, please follow the steps below to troubleshoot:

  1. Confirm that the DIP switch is in the correct position
  2. If the DIP switch is correct but flashing still fails, please refer to BL Firmware Flashing
Loading...

Searching for USB ID

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

Filling in the USB ID

Danger

Please note that the ID below CANNOT be used!!!!

serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
  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
  • And add:
[mcu]
serial: <Replace this with the ID you just queried>
  • Find [MCU] in fluidd
Loading...
  • Find [MCU] in mainsail
Loading...
  1. Fill in the ID into the configuration.
Tip
  • After filling in the ID, click SAVE & RESTART on 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 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...