What is this error?

Help me.
what is this error?

In [3]: odrv0.config.brake_resistance

AttributeError Traceback (most recent call last)
File :1
----> 1 odrv0.config.brake_resistance

AttributeError: ‘anonymous_interface_2156041654688’ object has no attribute ‘brake_resistance’

In [4]: odrv0.axis0.motor.config.pole_pairs = 15

AttributeError Traceback (most recent call last)
File :1
----> 1 odrv0.axis0.motor.config.pole_pairs = 15

AttributeError: ‘anonymous_interface_2156048387424’ object has no attribute ‘config’

In [5]: odrv0.axis0.motor.config.resistance_calib_max_voltage = 4

AttributeError Traceback (most recent call last)
File :1
----> 1 odrv0.axis0.motor.config.resistance_calib_max_voltage = 4

AttributeError: ‘anonymous_interface_2156048387424’ object has no attribute ‘config’

In [6]:

  1. pip install --upgrade odrive
  2. odrivetool dfu
1 Like

Thanks Wetmelon.
thanks to you i solved it!