Toolboard ID Reading and Viewing
- CANBus UUID Retrieval
- RS232 ID Retrieval
-
Before searching for the ID, connect the toolboard to the UTOC or a mainboard flashed with bridging firmware using an XT30 data cable. Below is a reference wiring diagram.
-
Please ensure the DIP switches are set correctly.
Loading... -
Please ensure the resistance measured with a multimeter between CAN H and CAN L is around
60Ωwhen powered off. If it is120Ω, you need to enable the120ΩDIP switch; if it is around40Ω, you need to disable the DIP switch.Loading...Complete Guide to CAN Toolboard Setup
Preparations
Important Prerequisites- Toolboard Status: Ensure the toolboard is flashed with
Klipper-canfirmware or is inKatapult-canmode. - Applicable Scope: This tutorial is only for Toolboard ID searching, not for Mainboard ID searching.
- Connection Requirements: The toolboard must be connected to one of the following devices:
- A
UTOCmodule. - A mainboard flashed with
USB Bridge CANfirmware.
- A
- Final Connection: The aforementioned device needs to be connected to the host computer.
Hardware Connection and Termination Resistor Configuration
Safety First- Complete Power Off: All wiring operations must be performed with the devices completely powered off.
- Prevent Short Circuits: Please disconnect power to all devices before operation.
Connection Specification Table
Device Type Termination Resistor Requirement Configuration Method CAN Toolboard Requires a 120Ωtermination resistorEnable via jumper cap or DIP switch Mainboard CAN Interface Requires a 120Ωtermination resistorEnable via jumper cap or DIP switch UTOC Module Has a built-in 120ΩresistorNo additional connection needed Configuration and Measurement Steps
-
Hardware Configuration
- Check if the
120Ωjumper cap or DIP switch near the mainboard's CAN interface is connected or turned on. - Check if the
120Ωjumper cap or DIP switch on the toolboard is connected or turned on.
- Check if the
-
Resistance Measurement (with power off)
- Measurement Points: Between CAN-H and CAN-L.
- Tool: Multimeter.
Resistance Value Troubleshooting Table
Notes- Measurement must be performed with the power off.
- If the measurement is around
140Ω, it may be due to CAN-H and CAN-L being swapped.
Measured Value Status Possible Cause Solution Around 60Ω✅ Normal Termination resistors correctly connected at both ends Configuration complete Around 120Ω❌ Abnormal Line broken or not connected Check all connections Around 40Ω❌ Abnormal Three ends have resistors connected Remove the middle resistor Important Notes
- UTOC Module: Has a built-in resistor. The mainboard does not need a termination resistor when connected to it.
- Connection Scenarios:
- Toolboard ↔ Mainboard (both ends need termination resistors).
- Toolboard ↔ UTOC ↔ Host Computer (only the toolboard needs a termination resistor).
- Troubleshooting Process:
Measure resistance → 60Ω → Ready for use
↓
Abnormal value → Check table above → Adjust and remeasure
Hardware Checklist
- All devices completely powered off.
- Mainboard CAN interface termination resistor connected (except for UTOC).
- Toolboard termination resistor connected.
- Multimeter measures resistance ≈60Ω.
- CAN-H and CAN-L wiring is correct and secure.
Professional AdviceCorrect termination resistor configuration is crucial for CAN bus communication quality. Deviations in resistance values may lead to unstable communication or data loss.
CAN Network Configuration Requirements
- Default Configuration: This tutorial assumes the host computer's CAN network is already configured.
- Fly System Users: If using a Fly host computer running Fly-FAST or Fly-Armbian system, CAN is configured by default (rate 1Mbps).
- First-time Users: Please be sure to read the tutorial below first: CAN Configuration Tutorial
Summary Process
- Hardware Preparation: Wire with power off, configure termination resistors, measure and confirm 60Ω.
- Network Confirmation: Ensure the host computer's CAN network is correctly configured.
- Connect to Host: Connect to the host computer via UTOC or a USB-bridged mainboard.
- Firmware Status: Confirm the toolboard is in Klipper-can or Katapult-can mode.
- Subsequent Operations: Proceed with ID search and configuration as per the following tutorials.
At this point, your CAN toolboard hardware connection and network environment are ready. You can proceed with ID search and configuration operations.
Connect via SSH
- Log in to SSH over the network (Do not use serial port login).
- Ensure the host computer is properly connected to the CAN network devices.
Search for Devices
- Now that you have successfully logged into the host computer, you can enter
lsusbto search for devices. You may encounter one of the following situations:- If entering
lsusbprompts that thelscommand is not found, you can install the required utility by entering the following command:sudo apt-get install usbutils - If there is no response after entering
lsusb, this is a system issue and cannot be resolved here. You will need to change the system or use a known working system. - If information like that shown in the image below appears, please note that this is only a reference. You only need to confirm that
1d50:606fappears:Loading...
- If entering
1d50:606fis the device you will use in this instance.- If multiple
1d50:606fdevices appear, one must be excluded, as multiple entries may affect subsequent flashing and firmware connection. For example, withFLY MINI PAD, it is recommended to use the onboardUTOCand avoid using other CAN bridges. - If the device does not appear, please check whether the data cable is properly connected and whether the correct firmware has been flashed.
NoteYou can proceed to search for the CAN ID only when
1d50:606fappears.Search for CAN ID
- Fly-Armbian / Generic System
- Fly-FAST System
Execute the following command to search for CAN device IDs:
~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0Execute the following command to search for CAN device IDs:
python ~/klipper/scripts/canbus_query.py can0Search Result Explanation
After executing the search command, the following situations may occur:
Result Display Status Description Next Steps Application: KlipperDevice is flashed with Klipper firmware Can use this ID directly Application: CANBOOTorKatapultDevice is in Bootloader mode Needs to be flashed with Klipper firmware before use Total 0 uuids foundNo devices found Please check the following:
1. Is the CAN network configured correctly?
2. Is the CAN rate consistent? (Default 1Mbps)
3. Is the ID already used in the configuration? (Need to comment it out, save, power off, and restart)Loading...About Duplicate IDsIf a device ID is already configured in
printer.cfg, it will not appear in the search results. To search again, please:- Comment out the device ID in the configuration file.
- Save the configuration and restart Klipper.
- Power off and restart all devices.
Configure CAN Device ID
1. Obtain the Configuration File
Find the
printer.cfgconfiguration file based on the web interface you are using:Fluidd
Click theicon in the left navigation bar, find{...}printer.cfg.Loading...Mainsail
ClickMachinein the top navigation bar, findprinter.cfg.Loading...2. Add Device Configuration
Add the toolboard configuration in
printer.cfg:[mcu toolboard]
canbus_uuid: <Fill in the queried ID here>Configuration Notetoolboardis the toolboard name, please modify according to your actual situation.- For a mainboard ID, the configuration section should be
[mcu]. - In a normal configuration, the mainboard uses
[mcu], and the toolboard uses[mcu toolboard].
3. Save and Restart
- Click the SAVE & RESTART button in the top right corner.
- The system will automatically save the configuration and restart Klipper.
Loading...NoteAll IDs appearing in the documentation are examples. The actual ID for each mainboard is different. Please modify and fill in according to the ID you actually obtained.
- Toolboard Status: Ensure the toolboard is flashed with
- Before searching for the ID, connect the toolboard to the UTOR or G2T using an XT30 data cable. Below is a reference wiring diagram.
- Please ensure the DIP switches are set correctly.
Loading...
RS232 ID of the Toolboard
Notes
Important Preparation- Firmware Requirement:
The toolboard must be flashed with RS232 firmware, otherwise communication is not possible. - Common Ground Required:
⚠️ Before connecting the toolboard, ensure that the toolboard and mainboard share the same GND (this can be achieved by using the same24V/12Vpower supply)
RS232 Notes
- In addition to D8, D8PRO, and C8P, which support the RS232 interface, all other mainboards do not support RS232
- For unsupported mainboards, use
G2TorUTORto connect. This tutorial usesUTORfor connection
Search for RS232 ID
- Open your 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.
Loading...- Open the host computer's web interface and locate the following in the configuration options on the left sidebar:
- For fluidd:
{…}, click into it to findprinter.cfg
Loading...- For mainsail:
Machine, click into it to findprinter.cfg
Loading...-
After entering
printer.cfg, clickDEVICESin the upper right cornerLoading...Loading... -
Click
SERIALand then refresh- Refresh for fluidd
Loading...- Refresh for mainsail
Loading... -
Copy the ID. Click as indicated by the arrow to copy
- Check for
ttyUSBin fluidd and ensure thatPath_by_hardwareexists; this is the RS232_ID
Loading...- Check for
ttyUSBin mainsail and ensure thatPath_by_hardwareexists; this is the RS232_ID
Loading...Note- When connecting the toolboard using
UTOR, there are usually twoRS232_IDs. Try them one by one.
- Check for
Enter the Toolboard RS232 ID
-
Below is a reference configuration
Notetoolboardin the configuration below refers to the name of the toolboard. If the name is different, replace it accordingly
dangerous[mcu toolboard]
serial: <Replace this with the ID you just looked up>
baud: 250000
restart_method: command- To add the
IDfor the toolboard, it must be[mcu toolboard]followed byserial:and then the ID you searched for
- Below is a reference configuration
- Please note that this tutorial is for searching and configuring the toolboard ID. Under normal circumstances, it should already be connected to the mainboard
- The mainboard must be
[mcu], and the toolboard is[mcu toolboard] - Click
SAVE & RESTARTin the upper right corner to automatically save and restart klipper
dangerousNote: All IDs appearing in the document are examples. Each mainboard's ID is different. Please enter the actual ID you obtained.
dangerousThe ID below is not usable !!!!!!
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
- Firmware Requirement: