Skip to content

No USB Serial port available. #4728

@slaftos

Description

@slaftos

Hardware:

Board: MAGTAG29_ESP32S2
Core Installation version: idf-release/v4.2
IDE name: Arduino CLI or Arduino IDE 8.1.13
Flash Frequency: build.flash_freq=80m
PSRAM enabled: Same results enabled or disabled
Upload Speed: 921600
Computer OS: Mac OS Mohave 10.14.6/Windows 10

Description:

After upload and reset USB serial port is not identified/found by OS.
Tested on Both Windows and Mac OS
Happens on a simple blink sketch, Serial.begin is called first line in setup.
Cloned a fresh release today where this was happening. Commit prior to below did not have this problem:

ESP-IDF update to 2bfdd036b and ESP-DSP

 idf-release/v4.2 (#4485) 

Code operates correctly (blinks) but no USB Serial port available.
Booting up ROM bootloader serial port comes up just fine /dev/cu.usbmodem01

Sketch:

// the setup function runs once when you press reset or power the board
void setup() {

  // initialize USB serial converter so we have a port created
  Serial.begin();

  // initialize built in LED pin as an output.
  pinMode(LED_BUILTIN, OUTPUT);}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);              // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);              // wait for a second
}

Debug Messages:

USB serial port not available

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: Peripherals APIRelates to peripheral's APIs.Status: SolvedThe issue has been resolved and requires no further action.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions