Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Unable to upload when two identical Arudino Nano ESP32 devices attached #2633

Copy link
Copy link
Closed as not planned
@TallestHead

Description

@TallestHead
Issue body actions

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

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.