Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

random board name appended to Arduino Port menu listing #7292

Closed
1 task done
jake653 opened this issue Sep 22, 2022 · 1 comment
Closed
1 task done

random board name appended to Arduino Port menu listing #7292

jake653 opened this issue Sep 22, 2022 · 1 comment
Labels
Resolution: Wontfix Arduino ESP32 team will not fix the issue Type: Question Only question

Comments

@jake653
Copy link

jake653 commented Sep 22, 2022

Board

AI-Thinker (NodeMCU) ESP32-C3-01M-KIT

Device Description

ESP32-C3 board (not in list), using "ESP32C3 Dev Module" board name.

Hardware Configuration

Using internal USB IO18, IO19

Version

v2.0.4

IDE Name

Arduino IDE 2.0.0-rc8 (same behavior with 1.8.19)

Operating System

MacOS Catalina

Flash frequency

40 mhs

PSRAM enabled

no

Upload speed

115200

Description

The Port Select Menu lists: /dev/cu.wchusbserial1410 (some board name)

The board name randomly changes when resetting board, this causes the no board selection, have to re-select current name displayed in menu to reactivate port. The current port menu title lists just the port name: "/dev/cu.wchusbserial1410"

This change in behavior started some time in September, I assume an Arduino or espressif board plugin update introduced the new behavior.

In a dozen resets I might see a variation of port names like:
/dev/cu.wchusbserial1410 (ESP32S3 Dev Module)
/dev/cu.wchusbserial1410 (AirM2M-Core-ESP32C3)
/dev/cu.wchusbserial1410 (ESP32-S3-Box)
/dev/cu.wchusbserial1410 (Adafruit QT PY ESP32-C3)
/dev/cu.wchusbserial1410 (LOLIN C3 Mini)
/dev/cu.wchusbserial1410 (DFRobot BeetleESP32-C3)

Sketch

Not sketch related

Actually using: ESP32 by espressif 2.0.5

Debug Message

Compile/Upload result after reset changed port menu listing:

Failed uploading: no upload port provided

Other Steps to Reproduce

FYI using ESP32-C3 micro-USB connection, I get 2 port choices:

/dev/cu.wchusbserial1410 which works for code uploads.

/dev/cu.usbserial1410 which works for serial monitoring

(I might have 2 CH340 drivers installed?)

Also found patching boards.txt entries to TRUE helps serial monitoring work

esp32c3.serial.disableDTR=true
esp32c3.serial.disableRTS=true

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@jake653 jake653 added the Status: Awaiting triage Issue is waiting for triage label Sep 22, 2022
@me-no-dev
Copy link
Member

Because the USB PID and VID of our boards are the same, the IDE can not differentiate which board is connected and usually shows the first one that matches VID/PID. This is not something that we can fix.

As for serial.disableDTR/RTS values, those might depend on the USB UART chip and/or EN/BOOT setup of the board.

@VojtechBartoska VojtechBartoska added Type: Question Only question Resolution: Wontfix Arduino ESP32 team will not fix the issue and removed Status: Awaiting triage Issue is waiting for triage labels Sep 26, 2022
@VojtechBartoska VojtechBartoska closed this as not planned Won't fix, can't repro, duplicate, stale Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Wontfix Arduino ESP32 team will not fix the issue Type: Question Only question
Projects
None yet
Development

No branches or pull requests

3 participants