I have an Arduino sending data over USB and am unable to open it after closing it. The first time it’s opened everything works as expected, data flows fine. However, if I close the device it hangs indefinitely and the only resolution is to physically unplug it and plug it back in. The same Arduino works without issue on my desktop also running Ubuntu 20.
dmesg output:
[10238.430809] usb 1-2.1: new full-speed USB device number 15 using tegra-xusb
[10238.545457] usb 1-2.1: New USB device found, idVendor=2341, idProduct=0042, bcdDevice= 0.01
[10238.545468] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[10238.545474] usb 1-2.1: Manufacturer: Arduino (www.arduino.cc)
[10238.545480] usb 1-2.1: SerialNumber: 85937313237351B09012
[10238.547945] cdc_acm 1-2.1:1.0: ttyACM2: USB ACM device
[10323.198411] usb 1-2.1: USB disconnect, device number 15
[10328.540310] usb 1-2.1: new full-speed USB device number 16 using tegra-xusb
[10343.979890] usb 1-2.1: device descriptor read/64, error -110
[10359.595469] usb 1-2.1: device descriptor read/64, error -110
[10359.787433] usb 1-2.1: new full-speed USB device number 17 using tegra-xusb
[10375.211066] usb 1-2.1: device descriptor read/64, error -110
[10390.826624] usb 1-2.1: device descriptor read/64, error -110
[10390.939118] usb 1-2-port1: attempt power cycle
[10392.762522] usb 1-2.1: new full-speed USB device number 18 using tegra-xusb
[10393.775078] usb 1-2.1: Device not responding to setup address.
[10394.998835] usb 1-2.1: Device not responding to setup address.
[10395.210444] usb 1-2.1: device not accepting address 18, error -71
[10395.294429] usb 1-2.1: new full-speed USB device number 19 using tegra-xusb
[10396.307001] usb 1-2.1: Device not responding to setup address.
[10397.530790] usb 1-2.1: Device not responding to setup address.
[10397.742368] usb 1-2.1: device not accepting address 19, error -71
[10397.749192] usb 1-2-port1: unable to enumerate USB device
Hi,
Please overwrite the files in the system image and re-flash the device. On the host PC, if you have used SDKManager to flash the system, the two files are in
Is this the only option? Can it be done without wiping the filesystem? I never got a resolution to the issue I faced when trying to flash to NVMe and have spent the last 10 days getting the system configured for my project.
@DaneLLL this solution is not viable as I’m not able to flash to an NVMe. I have been using the workaround laid out here which requires loading the system image from the SD card blob. Please advise on how to fix this.