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

Activity

self-assigned this
on Jul 20, 2021
added a commit that references this issue on Jul 21, 2021
5458df0
added a commit that references this issue on Aug 23, 2021
b1d072d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Serial.end() on ESP32-S2 resets the board · Issue #5429 · espressif/arduino-esp32