Skip to main content

USB Firmware Compilation

Check the DIP Switch

Note
  • During normal operation, please slide the switch to the up position
  • When adjusting the DIP switch, please make sure to push it all the way up, otherwise the connection to the device might fail!!!

SSH into the Host Machine

Warning
  • Before compiling the firmware, you need to connect to the host machine's SSH via Wi-Fi
  • First, please: Connect to the host machine's SSH via Wi-Fi


USB Firmware Flashing

Tip
  • A USB firmware has already been pre-compiled in the FLYOS-FAST system. There is no need to compile it manually. Just execute the command below to flash the firmware
  • Alternatively, you can choose to compile the USB firmware manually and build it yourself
  • Connect to the host machine via SSH and enter the command below
fly-flash -d auto -h -f /usr/lib/firmware/klipper-h723-128k-usb.bin

Search USB 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, simply type it in and press Enter.
  1. Open the WEB interface of the host computer, and in the configuration section 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. After entering printer.cfg, click on DEVICES at the top right corner.

  2. Click on SERIAL, then refresh.

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

    • For fluidd, check if ttyAMC exists, and ensure that Path by ID exists; this is the USBID
    • For mainsail, check if ttyAMC exists, and ensure that Path by ID exists; this is the USBID

Fill in USB ID

  1. Close DEVICES and fill in 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]
serial: <Replace this with the ID you just found>
  • In fluidd, locate [MCU]
  • In mainsail, locate [MCU]
  1. Fill in the ID into the configuration.
tip
  • After filling in the ID, click SAVE & RESTART at the top right corner.
  1. If Klipper shows a warning ADC out of range, this is normal. Connect the heated bed and thermistor to the mainboard, and configure the thermistor pins for the nozzle and heated bed, then save and restart.
dangerous

Note: All IDs shown in this document are examples. Each mainboard's ID is different; please fill in 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 -
Loading...