Skip to main content

USB Firmware Compilation

Check DIP Switch

Note
  • When in normal use, please set the DIP switch to the up position
  • When switching the DIP switch, please push it all the way up, otherwise it may fail to connect to the lower-level machine!!!

SSH Connection to Host Machine

Warning
  • Before compiling the firmware, you need to use WiFi to connect to the host machine via SSH
  • First, please: Use WiFi to connect to the host machine SSH


USB Firmware Burning

Tip
  • A pre-compiled USB firmware is available in the FLYOS-FAST system, so there is no need to manually compile the firmware; just execute the command below to burn it.
  • Alternatively, you can choose to manually compile the USB firmware and compile the firmware yourself.
  • Enter the following command through SSH connection to the host machine
fly-flash -d c5 -h -f /usr/lib/firmware/klipper-h723-128k-usb.bin

Search for USB ID

  1. Open the browser and enter the IP address of the host computer in the address bar, for example, if the IP address of my host computer is 192.168.101.179, simply enter it and press Enter.
  1. Open the WEB interface of the host computer, find in the configuration options on the left sidebar:
  • For fluidd: {…}, click to enter, you can find printer.cfg
  • For mainsail: Machine, click to enter, you can find printer.cfg
  1. Click into printer.cfg, then click DEVICES on the top right
  1. Click SERIAL, then refresh
  • Refresh for fluidd
  • Refresh for mainsail
  1. Copy the ID, click the arrow to copy
  • For fluidd, check whether ttyAMC exists and ensure Path by ID exists, this is the USBID
  • For mainsail, check whether ttyAMC exists and ensure Path by ID exists, this is the USBID

Fill in USB ID

  1. Close DEVICES and fill in the ID
Note
  • Please modify the configuration file as follows:
[mcu] 
serial: /tmp/klipper_host_mcu

to

[mcu host] 
serial: /tmp/klipper_host_mcu
  • Add:
[mcu]
serial: <replace with the ID you just queried>
  • Find [MCU] in fluidd
  • Find [MCU] in mainsail
  1. Fill in the ID in the configuration
tip
  • After filling in the ID, click SAVE & RESTART on the top right
  1. If Klipper prompts ADC out of range, this is a normal phenomenon. Connect the heated bed and thermistor to the motherboard, configure the thermistor pins for the nozzle and heated bed, then save and restart.
dangerous

Note: All IDs mentioned in the document are examples. Each motherboard has a different ID, please fill in the actual obtained ID.



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 -