Closed as not planned
Closed as not planned
Copy link
Description
Describe the problem
When I have two Arduino Nano ESP32's attached to my Mac, I am unable to upload via arduino-cli upload
. The dfu-util
cannot figure out which device is which without a --serial
argument and I cannot seem to supply one.
To reproduce
I have two Nano ESP32s attached to my mac. Attempting to upload to one via the -p
parameter leaves dfu-util
confused.
reiman@notch USB-mapper % arduino-cli upload -p /dev/cu.usbmodemECDA3B6 --fqbn arduino:esp32:nano_nora HostSide
dfu-util 0.11-arduino4
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: More than one DFU capable USB device found! Try `--list' and specify the serial number or disconnect all but one device
Failed uploading: uploading error: exit status 74
Expected behavior
Ideally, upload
could handle this or dfu-util
could. If handling this magically is too difficult, allow users to pass arbitrary arguments to dfu-util
or at least support a --seralno
argument and pass that down as --serial
.
Arduino CLI version
arduino-cli Version: nightly-20240612 Commit: 5c5c176 Date: 2024-06-12T01:32:30Z
Operating system
macOS
Operating system version
14.5
Additional context
Additional reports
- Unable to upload when two identical Arudino Nano ESP32 devices attached #2633 (comment)
- https://forum.arduino.cc/t/cant-upload-to-more-than-1-nano-esp32-dfu-util-more-than-one-dfu-capable-usb-device-found/1162959/1
- https://forum.arduino.cc/t/cant-upload-to-more-than-1-nano-esp32-dfu-util-more-than-one-dfu-capable-usb-device-found/1162959/6
- https://forum.arduino.cc/t/cant-upload-to-more-than-1-nano-esp32-dfu-util-more-than-one-dfu-capable-usb-device-found/1162959/11
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the nightly build
- My report contains all necessary details
Metadata
Metadata
Assignees
Labels
Issue/PR not validIssue/PR not validOff topic for this repositoryOff topic for this repositoryPerceived defect in any part of projectPerceived defect in any part of project