Skip to main content

USB Firmware Compilation

Check DIP Switch

Note
  • During normal operation, please set the switch to the up position
  • When toggling the switch, please push it all the way up, otherwise the connection to the microcontroller may fail!!!

SSH into the Host Machine

Warning
  • Before compiling the firmware, you must connect to the host machine via Wi-Fi SSH
  • Please first: Connect to the host machine 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 manually compile the firmware; 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 command below
fly-flash -d auto -h -f /usr/lib/firmware/klipper/stm32h723-128k-usb.bin

Searching for USB ID

  1. Open your browser, enter the IP address of the host computer in the address bar. For example, if my host IP is 192.168.101.179, just type it and press Enter.
  1. Open the host's WEB interface. In the left sidebar configuration options, find:
  • For fluidd: {…}, click to enter, then find printer.cfg
  • For mainsail: Machine, click to enter, then find printer.cfg
  1. Click printer.cfg to enter, then click DEVICES in the top right corner.
  1. Click SERIAL, then refresh.
  • Refreshing in fluidd
  • Refreshing in mainsail
  1. Copy the ID. Click where the arrow points to copy.
  • In fluidd, check if ttyAMC exists, and ensure Path by ID exists. This is the USB ID.
  • In mainsail, check if ttyAMC exists, and ensure Path by ID exists. This is the USB ID.

Filling in the USB ID

dangerous

Please note, 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.
Important Notes
  • In the configuration file, change:
[mcu] 
serial: /tmp/klipper_host_mcu

to:

[mcu host] 
serial: /tmp/klipper_host_mcu
  • Add:
[mcu]
serial: <Replace this with the ID you just queried>
  • Find [MCU] in fluidd
  • Find [MCU] in mainsail
  1. Fill the ID into the configuration.
tip
  • After filling in the ID, click SAVE & RESTART in the top right corner.
  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.
dangerous

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...
- 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...