Hi
Today I encountered strange problem when working with ESP32 S3 code - serial library for some reason refused to print anything on terminal and I don’t have any clue what happened. Here is code I’m testing it with:
#include <Arduino.h>
void setup() {
Serial.begin(115200);
}
void loop() {
Serial.println("hello");
delay(1000);
}
This is output I’m getting on serial port monitor (both PIO, Arduino or Putty):
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x4bc
load:0x403c9700,len:0xbd8
load:0x403cc700,len:0x2a0c
entry 0x403c98d0
When I compile and upload same code through Arduino IDE, it work as expected:
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3818,len:0x508
load:0x403c9700,len:0x4
load:0x403c9704,len:0xad0
load:0x403cc700,len:0x29e4
entry 0x403c9880
hello
hello
hello
hello
Content of platformio.ini is:
[env:esp32-s3-devkitc-1-n16r8v]
platform = espressif32
board = esp32-s3-devkitc-1-n16r8v
framework = arduino
monitor_speed = 115200
Code was working just fine until last couple of hours (did not install any library as such in the meantime). Apparently HW (serial and ESP32 S3) is working as I can see boot messages.
Espressif32 is v.6.8.1 according to PIO.
Tried to uninstall PIO, VS code, delete .platformio and .vscode folder, reinstall everything, but nothing. Same issue. I noticed this issue on much bigger project (spend hours chasing this issue), code I used above is for troubleshooting purposes only.
Btw. I tried same stuff on some regular ESP32 WROOM, and it work as expected.
Any clue what is going on???
Thx