Troubleshooting

Last updated 2026-11-27

Each entry gives a symptom, its usual causes and what to check. Work through the checks in order. The drive's own fault codes are not defined yet; see the last section.

Host interface

Causes: the bit rate is not set, or you set fd on or dbitrate on an adapter or driver without CAN FD support.

  1. Run sudo dmesg | tail. The driver logs the reason, for example bit-timing not yet defined.
  2. Set the bit rate before you bring the interface up. See CAN FD on Linux.
  3. If the error appears only with fd on, check that the adapter and its driver support CAN FD.

Cause: the interface is up. Run sudo ip link set can0 down, change the bit rate, then bring it up again.

cansend reports that the interface is not CAN FD capable

Cause: the interface MTU is 16, so it accepts only classic frames.

  1. Run ip link show can0 and check for mtu 72.
  2. On a real adapter, set fd on together with dbitrate.
  3. On a virtual interface, run sudo ip link set vcan0 mtu 72.

"write: No buffer space available"

Cause: the transmit queue is full because frames are not leaving the controller. Usually no other node acknowledges them, or the controller is bus-off.

  1. Check that the drive is powered and connected.
  2. Check the controller state with ip -details link show can0.
  3. Work through No frames from the drive.
  4. If the error appears only during bursts, raise the queue length: sudo ip link set can0 txqueuelen 1000.

CAN bus

No frames from the drive

  1. Check the supply: 48 V at the drive, and the supply is not in current limit.
  2. Start candump -td can0 before you switch the drive on. If the heartbeat is off (0x1017 = 0), the drive sends only its boot-up frame, once, at power-on.
  3. Check that the host bit rates match the drive's (factory values TBD).
  4. Measure CAN_H to CAN_L with everything unpowered: about 60 Ω. See Electrical and CAN wiring.
  5. Check that CAN_H and CAN_L are not swapped and that CAN ground is connected.
  6. If an update was interrupted, the drive may be waiting in its bootloader. How it shows itself on the bus is TBD. See Firmware updates.

The interface goes to ERROR-PASSIVE when you send

Cause: no node acknowledges the frames.

  1. Check that the drive is powered.
  2. Check that the bit rates match on both sides.
  3. Check the wiring and termination.

The interface goes to BUS-OFF

Causes: a bit-rate or sample-point mismatch, missing or extra termination, swapped CAN_H and CAN_L, or a classic CAN node that is not CAN FD tolerant on a bus that carries CAN FD frames.

  1. Fix the cause. The checks above apply.
  2. Restart the interface: sudo ip link set can0 down, then sudo ip link set can0 up. With restart-ms set, the controller restarts by itself.

Error counters rise slowly or errors come and go

Causes: marginal bit timing, long stubs, missing ground, or termination at the wrong place.

  1. Set the same sample points on all nodes.

  2. Shorten stubs. Use twisted pair for CAN_H and CAN_L.

  3. Turn on bus-error reporting and watch the error frames:

    sudo ip link set can0 down
    sudo ip link set can0 type can bitrate 1000000 dbitrate 5000000 fd on berr-reporting on
    sudo ip link set can0 up
    candump -e can0,0:0,#FFFFFFFF
    

CANopen

An SDO request gets no response

python-canopen reports No SDO response received.

  1. Check the node ID: read it from the boot-up or heartbeat frame (0x700 + <node-id>).
  2. Check the NMT state in the heartbeat byte. In Stopped (0x04) the drive does not answer SDOs. Send Enter pre-operational: cansend can0 000#80NN, where NN is the node ID in hexadecimal.

An SDO request is aborted

The abort frame starts with 0x80. Bytes 4–7 hold the abort code (little-endian). These codes are defined in CiA 301:

Abort code Meaning What to check
0x05040000 SDO protocol timed out Bus load, drive state
0x05040001 Command specifier not valid or unknown The first byte of the request
0x06010000 Unsupported access to an object Access type of the object
0x06010001 Attempt to read a write-only object Object access
0x06010002 Attempt to write a read-only object Object access
0x06020000 Object does not exist Index; the device description file
0x06040041 Object cannot be mapped to the PDO PDO mapping
0x06040042 Mapped objects exceed the PDO length PDO mapping
0x06070010 Data type or length does not match Size of the value you write
0x06090011 Sub-index does not exist Sub-index
0x06090030 Value range exceeded Value
0x06090031 Value too high Value
0x06090032 Value too low Value
0x08000020 Data cannot be transferred or stored Drive state
0x08000021 Not possible because of local control Drive state
0x08000022 Not possible in the present device state NMT state, CiA 402 state

The drive does not reach Operation enabled

Read the statusword (0x6041) and find the state with the table in CANopen (CiA 402).

State you read Cause What to do
Fault A fault is active Read 0x603F (error code) and 0x1001 (error register). Remove the cause. Write 0x0080, then 0x0006.
Switch on disabled, after Shutdown Wrong controlword value, or the drive cannot switch on Check that you wrote 0x0006. Check the supply voltage. Check the STO input (how STO shows in the statusword is TBD).
Ready to switch on or Switched on Commands skipped or sent too fast Send 0x0006, 0x0007, 0x000F in order. Wait for each state in the statusword.

If 0x6061 does not show the mode you wrote to 0x6060, the drive does not support that mode. Read 0x6502.

PDOs do not arrive

  1. Check that the drive is in NMT operational (heartbeat byte 0x05). PDOs work only there.
  2. For transmission type 1, check that the host sends SYNC (0x080).
  3. Change PDO mapping only in pre-operational. In operational the drive can refuse it with abort 0x08000022.
  4. Read the PDO COB-ID (0x1800:01 or 0x1400:01). If bit 31 is set, the PDO is disabled.

The joint goes free during operation

Cause: the drive detected a fault and switched torque off, or the STO function was triggered.

  1. Read the statusword. Check bit 3 (Fault).
  2. Read 0x603F, the EMCY frames (candump can0,080:780) and the UDS fault codes.
  3. Check the STO wiring.

UDS

No response to UDS requests

  1. Check the request and response CAN IDs (TBD). Watch both with candump.
  2. Check whether the drive needs padded 8-byte frames (TBD).
  3. A non-default session ends after 5 s without requests. Send TesterPresent (3E 80) or open the session again.

A UDS request gets a negative response

The response is 7F <service ID> <NRC>. Look up the NRC in UDS diagnostics. The most common:

NRC What to do
0x7F, 0x7E Change to the session the service needs.
0x33 Unlock with SecurityAccess (0x27).
0x22 The drive's state does not allow the request. Switch torque off and unload the joint.
0x31 Check the DID or routine ID.

Short responses arrive but long ones time out

Cause: ISO-TP flow control does not reach the drive, or the frame length does not match.

  1. Check that the host sends flow control on the request CAN ID.
  2. Check that tx_data_length and can_fd in the ISO-TP parameters match the bus.
  3. Check padding (TBD).

Mechanical

The output does not turn freely by hand, unpowered

  1. Remove anything that touches the output face: frame, cables, fixture.
  2. Check the screws in the output M4 holes. Each must be shorter than the clamped thickness plus 3.5 mm.
  3. Check that nothing is screwed into the 3 × M5 fixture holes.
  4. If the output still binds with nothing attached, do not power the drive and do not open it.

Firmware updates

The updater refuses to flash a drive

Cause: the joint holds load or torque is on. Unload the joint, switch torque off (Switch on disabled) and run the update again. The response the drive sends in this case is TBD.

The drive reports the old firmware version after an update

Causes: the signature check failed and the drive did not install the image, or the new image failed its self-test and the drive went back to the previous image.

  1. Read the fault codes over UDS.
  2. Check the image file, then run the update again.

The drive does not start after an interrupted update

The drive is waiting in its bootloader. Run the update again. You do not need to power-cycle or open the drive.

Drive fault codes

The drive's EMCY error codes and UDS DTCs are not defined yet.

Code Meaning What to do
TBD TBD TBD