hi guys can you help me about this. i cant also enter dfu
In [1]: odrv0.config.gpio4_mode = GPIO_MODE_PWM
AttributeError Traceback (most recent call last)
/usr/local/lib/python3.8/dist-packages/odrive/pyfibre/fibre/shell.py in
----> 1 odrv0.config.gpio4_mode = GPIO_MODE_PWM
/usr/local/lib/python3.8/dist-packages/odrive/pyfibre/fibre/libfibre.py in setattr(self, key, value)
671 def setattr(self, key, value):
672 if self.sealed and not hasattr(self, key):
â 673 raise AttributeError(âAttribute {} not foundâ.format(key))
674 object.setattr(self, key, value)
675
AttributeError: Attribute gpio4_mode not found
also on DFU
~$ sudo odrivetool dfu
ODrive control utility v0.5.2.post0
Waiting for ODriveâŚ
Found ODrive 206439585030 (v3.6-56V) with firmware v0.5.1-dev
Checking online for newest firmware⌠found v0.5.2
Downloading firmware v0.5.2âŚ
Saving configuration to /tmp/odrive-config-206439585030.jsonâŚ
The file /tmp/odrive-config-206439585030.json already exists. Do you want to override it? [Y/n] Y
Traceback (most recent call last):
File â/usr/local/bin/odrivetoolâ, line 148, in
odrive.dfu.launch_dfu(args, logger, app_shutdown_token)
File â/usr/local/lib/python3.8/dist-packages/odrive/dfu.pyâ, line 471, in launch_dfu
update_device(device, firmware, logger, cancellation_token)
File â/usr/local/lib/python3.8/dist-packages/odrive/dfu.pyâ, line 356, in update_device
odrive.configuration.backup_config(device, None, logger)
File â/usr/local/lib/python3.8/dist-packages/odrive/configuration.pyâ, line 77, in backup_config
with open(filename, âwâ) as file:
PermissionError: [Errno 13] Permission denied: â/tmp/odrive-config-206439585030.jsonâ