You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PlatformIO Version (platformio --version):
PLatformIO Core, version 6.0.1
Description of problem
Since the ESP32S2 chip implements the USB connection itself (it has the USB peripheral), when it restarts, it temporarily loses its USB connection (so the monitor output crashes) and then reconnects (but monitor does not actualizes). This is normal behavior. The same goes for other microcontrollers implementing USB themselves, such as Atmel ATSAMD21 chips.
Other microcontroller boards don’t do this if they have a dedicated USB-serial chip (e.g., CH340, CP2102, …) on them that is not affected by the restart of the main microcontroller, and thus don’t have this problem.
I’m not sure whether anything can be done against that at all – The USB disconnect is pretty much bound to happen when you ESP.restart(). I guess PlatformIO could have an option where it tries to reconnect to the lost device for a while.
Steps to Reproduce
ESP.restart();
Actual Results
Loss of USB connection and serial monitor output
Expected Results
Serial monitor automatically continues showing output after USB reconnection
The text was updated successfully, but these errors were encountered:
I'm not sure if my issue is related but my sgen l v1 board crashes with a ram or memory error also the no "sd card" error pops up. I've been trying to print for over a month to no avail. =\
Kind of issue:
Configuration
platform = espressif32
board = lolin_s2_mini
framework = arduino
Operating system:
Windows 11
PlatformIO Version (
platformio --version
):PLatformIO Core, version 6.0.1
Description of problem
Since the ESP32S2 chip implements the USB connection itself (it has the USB peripheral), when it restarts, it temporarily loses its USB connection (so the monitor output crashes) and then reconnects (but monitor does not actualizes). This is normal behavior. The same goes for other microcontrollers implementing USB themselves, such as Atmel ATSAMD21 chips.
Other microcontroller boards don’t do this if they have a dedicated USB-serial chip (e.g., CH340, CP2102, …) on them that is not affected by the restart of the main microcontroller, and thus don’t have this problem.
I’m not sure whether anything can be done against that at all – The USB disconnect is pretty much bound to happen when you ESP.restart(). I guess PlatformIO could have an option where it tries to reconnect to the lost device for a while.
Steps to Reproduce
ESP.restart();
Actual Results
Loss of USB connection and serial monitor output
Expected Results
Serial monitor automatically continues showing output after USB reconnection
The text was updated successfully, but these errors were encountered: