Which excact ESP32-S3 DevKit do you have?
The DevKit comes with 2 USB-C ports. One is connected to the ESP32 builtin native USB port, the other is connected to the ESP32’s UART port via an USB2SERIAL chip on the board. Try the latter one. Usually this is labled as “COM” or “UART” on the board.
Try a super simple “Hello World / blink” sketch:
#include <Arduino.h>
void setup() {
Serial.begin(115200);
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
delay(1000);
Serial.println("Hello World");
digitalWrite(LED_BUILTIN, !digitalRead(LED_BUILTIN));
}
Show the complete build and upload output like so
* Executing task: platformio run --target upload
Processing esp32-s3-devkitc1-n16r8 (platform: espressif32; board: esp32-s3-devkitc1-n16r8; framework: arduino)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-s3-devkitc1-n16r8.html
PLATFORM: Espressif 32 (54.3.20) > Espressif ESP32-S3-DevKitC-1-N16R8V (16 MB Flash Quad, 8 MB PSRAM Octal)
HARDWARE: ESP32S3 240MHz, 320KB RAM, 16MB Flash
DEBUG: Current (esp-builtin) On-board (esp-builtin) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 @ 3.2.0
- framework-arduinoespressif32-libs @ 5.4.0+sha.2f7dcd862a
- tool-esptoolpy @ 4.8.9
- tool-mkfatfs @ 2.0.1
- tool-mklittlefs @ 3.2.0
- tool-mkspiffs @ 2.230.0 (2.30)
- tool-riscv32-esp-elf-gdb @ 14.2.0+20240403
- tool-xtensa-esp-elf-gdb @ 14.2.0+20240403
- toolchain-riscv32-esp @ 14.2.0+20241119
- toolchain-xtensa-esp-elf @ 14.2.0+20241119
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 41 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Retrieving maximum program size .pio/build/esp32-s3-devkitc1-n16r8/firmware.elf
Checking size .pio/build/esp32-s3-devkitc1-n16r8/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [= ] 6.4% (used 21012 bytes from 327680 bytes)
Flash: [= ] 5.2% (used 339830 bytes from 6553600 bytes)
Configuring upload protocol...
AVAILABLE: cmsis-dap, esp-bridge, esp-builtin, esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Auto-detected: /dev/ttyACM0
Uploading .pio/build/esp32-s3-devkitc1-n16r8/firmware.bin
esptool.py v4.8.9
Serial port /dev/ttyACM0
Connecting....
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded PSRAM 8MB (AP_3v3)
Crystal is 40MHz
MAC: 80:65:99:c8:58:1c
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Auto-detected Flash size: 16MB
Flash will be erased from 0x00000000 to 0x00004fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x00063fff...
SHA digest in image updated
Compressed 20208 bytes to 13058...
Writing at 0x00000000... (100 %)
Wrote 20208 bytes (13058 compressed) at 0x00000000 in 0.4 seconds (effective 363.6 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 146...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.1 seconds (effective 383.7 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 588.0 kbit/s)...
Hash of data verified.
Compressed 340224 bytes to 182646...
Writing at 0x00010000... (8 %)
Writing at 0x0001c63d... (16 %)
Writing at 0x00029c63... (25 %)
Writing at 0x0002f60e... (33 %)
Writing at 0x00035272... (41 %)
Writing at 0x0003aa39... (50 %)
Writing at 0x0004013f... (58 %)
Writing at 0x00045d55... (66 %)
Writing at 0x0004b673... (75 %)
Writing at 0x0005640b... (83 %)
Writing at 0x0005be05... (91 %)
Writing at 0x000620db... (100 %)
Wrote 340224 bytes (182646 compressed) at 0x00010000 in 3.0 seconds (effective 902.8 kbit/s)...
Hash of data verified.
Hard resetting via RTS pin...
================================================================================================ [SUCCESS] Took 8.86 seconds ================================================================================================