Skip to main content

USB Firmware Compilation

Check DIP Switch Settings

Note
  • The DIP switches must be set to the positions shown below

SSH into the Host Machine

Warning
  • You must connect to the host machine via SSH using Wi-Fi before compiling the firmware
  • First, please: Use Wi-Fi to connect to the host machine via SSH


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. Simply execute the command below to flash it
  • Alternatively, you can choose to compile the USB firmware manually
  • Connect to the host machine via SSH and enter the following command:
fly-flash -d c8 -h -f /usr/lib/firmware/klipper/stm32f407-32k-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...