Onboard USB Port Precautions
Overview
This document explains the USB interface functions, connection methods, and DIP switch configuration for the Fly-D8 mainboard.
Host Connection Instructions
The Fly-D8 mainboard can only communicate with the host via the Type-C USB interface for Klipper.
Connection Requirements:
- Use a high-quality Type-C data cable to ensure stable data transmission.
- It is recommended to avoid excessively long cables (not exceeding 1.5 meters).
- Connect to a standard USB-A port on the host.
USB Interface Function Description
Integrated Architecture Description
The RS232 serial port and USB expansion function on the Fly-D8 mainboard are two completely independent functional modules, only physically integrated on the board.
The Fly-D8 mainboard is equipped with two USB interfaces with different functions:
1. Type-C USB (Host Interface)
- Function: Dedicated for connecting to the host.
- Power Switch: The
USB-5V>ENswitch next to it controls the 5V power output of the Type-C interface.- Pressed Down: Turns ON the Type-C interface 5V output (can power the host).
- Popped Up: Turns OFF the Type-C interface 5V output.
For regular use, it is recommended to keep the USB-5V>EN switch popped up (5V output OFF) to avoid:
- Conflict with the host's own 5V power supply.
- Potential power backflow issues.
- Protecting the host's USB interface.
Only press the switch (turn 5V output ON) when the host requires additional power from the Type-C interface.
2. USB-A (Device Expansion Interface)
- Function: Used for expanding peripherals, supports connecting:
- USB cameras
- USB drives/storage devices
- Other standard USB devices
- Independent Module: The USB expansion function is a completely independent module, only physically integrated on the mainboard.
USB/RS232 Mode Switching
Function Selection Description
The Fly-D8 mainboard uses a DIP switch to select between USB expansion function or RS232 serial port function on the same physical interface.
DIP Switch Settings
| DIP Direction | Function Mode | Corresponding Interface | Typical Use |
|---|---|---|---|
| Right | USB Expansion Mode | USB-A Interface ❷ | Connect cameras, USB drives, etc. |
| Left | RS232 Serial Mode | RS232 Interface ❸ | Connect toolboards supporting RS232 |
Mode Switching Precautions
- Mutually Exclusive: USB expansion and RS232 serial port functions cannot be enabled simultaneously; only one can be selected.
- Firmware Compatibility: When using RS232 function, the toolboard must support RS232 communication and have the RS232 firmware flashed.
- Independent Modules: The RS232 serial port and USB expansion are two independent functional modules, only physically integrated on the mainboard.
Common Issues and Troubleshooting
Issue 1: Host Cannot Recognize D8 Mainboard
Troubleshooting Steps:
- Confirm connection is made via the Type-C interface.
- Check the state of the
USB-5V>ENswitch next to the Type-C interface (for regular use, recommended popped up/5V output OFF). - Check data cable quality; try replacing the cable.
- Verify the host USB port is functioning normally.
- Check if the mainboard power supply is providing power normally.
Issue 2: USB Device Not Recognized
Troubleshooting Steps:
- Confirm the DIP switch is set correctly (Right for USB Expansion Mode).
- Check USB device compatibility.
- Verify the USB device works normally on another host.
- Ensure the
USB-5V>ENswitch on the Type-C interface is popped up (5V output OFF).
Issue 3: RS232 Communication Abnormal
Troubleshooting Steps:
- Confirm the DIP switch is set correctly (Left for RS232 Serial Mode).
- Check RS232 cable connection, confirm TX/RX are cross-connected.
- Check for common ground (ensure GND connection between mainboard and toolboard).
- Verify the toolboard supports RS232 communication and has the corresponding firmware flashed.
Usage Recommendations
- Type-C Connection: When connecting to the host, it is recommended to keep the
USB-5V>ENswitch popped up (5V output OFF) to avoid power conflicts. - Function Selection: Choose between USB expansion or RS232 serial port function based on needs; they are independent modules.
- RS232 Connection: Switch the DIP switch to the Left when connecting an RS232 toolboard.
- USB Expansion: Switch the DIP switch to the Right when connecting USB devices like cameras.
- Safe Operation: All mode switching operations must be performed with the power OFF.
- Firmware Compatibility: Before using RS232 function, confirm the toolboard has the RS232 firmware flashed.