Skip to content

Serial.end() on ESP32-S2 resets the board #5429

@SuGlider

Description

@SuGlider

What you are trying to do?

Use Serial.end() after calling Serial.begin(115200) using UART and CDC

Hardware:

Board: Esp32-S2 Devkit-Saola-1
Core Installation version: 2.0.0 RC1
IDE name: Arduino IDE
Flash Frequency: 80Mhz
PSRAM enabled: no
Upload Speed: 115200
Computer OS: Windows 10

Description:

After initializing Serial UART port on ESP32-S2, when trying to end it, the board resets.

Sketch:

void setup() {
  Serial.begin(115200);
  Serial.println("Testing ... 1");
  Serial.end();
}

Debug Messages:

ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x7 (TG0WDT_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x4008522c
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x4b0
load:0x4004c000,len:0xa6c
load:0x40050000,len:0x25c0
entry 0x4004c198

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions