Open
Description
Describe the problem
Arduino board continuously dis/reconnects in the IDE. I cannot upload any sketch.
To reproduce
- Open the AppImage IDE by running the
./arduino-ide_2.1.1_Linux_64bit.AppImage
command in the directory - Connect the Nano 33 BLE Sense
- The board constantly disconnects and reconnects as shown in this video Screencast from 2023-07-12 12:40:49.webm
- This is the console output that is constantly repeated
2023-07-12T10:48:12.052Z discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[{"name":"Arduino Nano 33 BLE","fqbn":"arduino:mbed_nano:nano33ble","isHidden":false}],"port":{"address":"/dev/ttyACM0","label":"/dev/ttyACM0","protocol":"serial","protocolLabel":"Serial Port (USB)","propertiesMap":[["pid","0x005a"],["serialNumber","00000000000000007877035BF3A113E9"],["vid","0x2341"]],"hardwareId":"00000000000000007877035BF3A113E9"}},"error":""} 2023-07-12T10:48:12.065Z root INFO Attached boards and available ports changed: 2023-07-12T10:48:12.066Z root INFO - Attached board: Arduino Nano 33 BLE [arduino:mbed_nano:nano33ble] on /dev/ttyACM0 Serial Port (USB) 2023-07-12T10:48:12.066Z root INFO ------------------------------------------ 2023-07-12T10:48:12.082Z discovery-log INFO {"eventType":"remove","port":{"matchingBoardsList":[],"port":{"address":"/dev/ttyACM0","label":"","protocol":"serial","protocolLabel":"","propertiesMap":[],"hardwareId":""}},"error":""} 2023-07-12T10:48:12.084Z daemon INFO INFO[0007] from discovery builtin:serial-discovery received message type: remove, port: /dev/ttyACM0
Expected behavior
I can select the board from the drop down list and upload to it.
Arduino IDE version
2.1.1
Operating system
Linux
Operating system version
Ubuntu 22.04
Additional context
- udev rules are applied as stated in this Help Centre article https://support.arduino.cc/hc/en-us/articles/9005041052444-Fix-udev-rules-on-Linux#mbed-os
- The current user is added to the dialout group via the
sudo adduser user dialout
command - To eliminate potential Serial conflicts, the
brltty
tool is uninstalledsudo apt remove brltty
- Output of
sudo dmesg | tail -f
user@user-laptop:~/Downloads$ sudo dmesg | tail -f [sudo] password for user: [ 1830.373843] cdc_acm 1-3:1.0: ttyACM0: USB ACM device [ 1830.423944] usb 1-3: USB disconnect, device number 24 [ 1830.731637] usb 1-3: new full-speed USB device number 25 using xhci_hcd [ 1830.883801] usb 1-3: New USB device found, idVendor=2341, idProduct=005a, bcdDevice= 0.11 [ 1830.883821] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1830.883830] usb 1-3: Product: Arduino Nano 33 BLE [ 1830.883837] usb 1-3: Manufacturer: Arduino [ 1830.883844] usb 1-3: SerialNumber: 00000000000000007877035BF3A113E9 [ 1830.887146] cdc_acm 1-3:1.0: ttyACM0: USB ACM device [ 1830.936194] usb 1-3: USB disconnect, device number 25
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details