Closed lkoepsel closed 2 years ago
avrdude: usbdev_open(): WARNING: failed to set configuration 1: Device or resource busy
Looks like missing udev rules to have the proper access right. Ref: https://pypi.org/project/pyedbglib/2.10.0.43/
Or you have not installed hidapi.
Please install hidapi and set up the udev rules to see if that sorted out the issue.
Thank you. I have checked for both issues and neither seems to be the problem. I'll continue to debug and advise/close when I've solved it.
Do you have a VM system (Virtualbox, VMware) running? In that case, check that the VM didn't grab the device. In those situations, I've seen similar error messages.
Thank you, @dl8dtl, however, I'm not using a VM.
I did use the example from pyedbglib and was able to get information from the device:
pedgb.py
pyedbglib version 2.20.3.105
Debugger firmware is version 1.10.249
Target voltage is 5.10V
If I disconnect the target, the voltage goes to 0.3V as expected, so clearly pyedbglib is chatting with the board.
Bloom as in https://bloom.oscillate.io/ is also able to speak to the board. I thought I might have a contention/conflict, however when I uninstalled Bloom the problem remained.
I'll continue to debug...its a bit maddening.
Thanks to guidance from @navnavnav, I downloaded the latest artifact and it now works.
I'm running Manjaro (Arch Linux) and am having problems using avrdude programming an Uno with a Microchip SNAP. I have been successful using the same hardware combination and command on macOS Monterey.
On Manjaro, I get the following:
On the mac, I get the following:
Any guidance as to how to solve?
Thank you, Lief