Hi all, I am beginning to think there is an issue with these boards (I have bought 3). I do not know how to move forward and any ESP32S3 masters out there, please come to the rescue.
I bought the Adafruit ESP32-S3 2MB PSRAM module, for it’s obvious IOT features, performance and versatility. I started out on the Arduino-ESP integration which proved troublesome (v2.0.6 package on Board manager) then moved to VS code +Platform IO, seeing as this was the natural progression (inheritance, c.,h. files, firmware, ini, and so on). I am stuck, no matter how many times I pio-upgade, default settings and watch tutorials, I cannot get these boards to plug and play basic code. In the Arduino IDE, example sketches like the Wifi-scan upload and run with ease, uploading anything custom else/GPIO related = issues (Compiles, uploads perfectly, no execution). In Platform IO, I get this:
VERBOSE UPLOAD DUMP:
* The terminal process "C:\Users\scarface\.platformio\penv\Scripts\platformio.exe 'run', '--verbose', '--target', 'upload', '--environment', 'adafruit_feather_esp32s3'" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
* Executing task: C:\Users\scarface\.platformio\penv\Scripts\platformio.exe run --verbose --target upload --environment adafruit_feather_esp32s3
Processing adafruit_feather_esp32s3 (platform: espressif32; board: adafruit_feather_esp32s3; monitor_speed: 115200; framework: arduino; lib_deps: adafruit/Adafruit Motor Shield V2 Library @ ^1.1.1, https://github.com/j-bellavance/EdgeDebounceLite.git, arduinogetstarted/ezBuzzer @ ^1.0.0)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/adafruit_feather_esp32s3.html
PLATFORM: Espressif 32 (6.0.0) > Adafruit Feather ESP32-S3 2MB PSRAM
HARDWARE: ESP32S3 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-builtin, 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.20006.221224 (2.0.6)
- tool-esptoolpy @ 1.40400.0 (4.4.0)
- tool-mkfatfs @ 2.0.1
- tool-mklittlefs @ 1.203.210628 (2.3)
- tool-mkspiffs @ 2.230.0 (2.30)
- toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
- toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 44 compatible libraries
Scanning dependencies...
Dependency Graph
|-- Adafruit Motor Shield V2 Library @ 1.1.1 (License: Unknown, Path: C:\Users\scarface\UNI-01-19\.pio\libdeps\adafruit_feather_esp32s3\Adafruit Motor Shield V2 Library)
| |-- Adafruit BusIO @ 1.14.1 (License: Unknown, Path: C:\Users\scarface\UNI-01-19\.pio\libdeps\adafruit_feather_esp32s3\Adafruit BusIO)
| | |-- Wire @ 2.0.0 (License: Unknown, Path: C:\Users\scarface\.platformio\packages\framework-arduinoespressif32\libraries\Wire)
| | |-- SPI @ 2.0.0 (License: Unknown, Path: C:\Users\scarface\.platformio\packages\framework-arduinoespressif32\libraries\SPI)
| |-- Wire @ 2.0.0 (License: Unknown, Path: C:\Users\scarface\.platformio\packages\framework-arduinoespressif32\libraries\Wire)
|-- EdgeDebounceLite @ 0.0.0+20230119170220.sha.7c3e58e (License: Unknown, URI: git+https://github.com/j-bellavance/EdgeDebounceLite.git, Path: C:\Users\scarface\UNI-01-19\.pio\libdeps\adafruit_feather_esp32s3\EdgeDebounceLite)
|-- ezBuzzer @ 1.0.0 (License: Unknown, Path: C:\Users\scarface\UNI-01-19\.pio\libdeps\adafruit_feather_esp32s3\ezBuzzer)
|-- SPI @ 2.0.0 (License: Unknown, Path: C:\Users\scarface\.platformio\packages\framework-arduinoespressif32\libraries\SPI)
Building in release mode
<lambda>(["checkprogsize"], [".pio\build\adafruit_feather_esp32s3\firmware.elf"])
MethodWrapper(["checkprogsize"], [".pio\build\adafruit_feather_esp32s3\firmware.elf"])
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [= ] 8.4% (used 27680 bytes from 327680 bytes)
Flash: [== ] 21.3% (used 307445 bytes from 1441792 bytes)
.pio\build\adafruit_feather_esp32s3\firmware.elf :
section size addr
.rtc.text 0 1611653120
.rtc.dummy 0 1611653120
.rtc.force_fast 0 1611653120
.rtc.data 16 1342177280
.rtc_noinit 0 1342177296
.rtc.force_slow 0 1342177296
.iram0.vectors 1027 1077362688
.iram0.text 56403 1077363716
.dram0.dummy 41048 1070104576
.dram0.data 15928 1070145632
.noinit 0 1070161560
.dram0.bss 11752 1070161560
.flash.text 176255 1107296288
.flash_rodata_dummy 196608 1006632992
.flash.appdesc 256 1006829600
.flash.rodata 57832 1006829856
.flash.rodata_noload 0 1006887688
.iram0.text_end 0 1077420119
.iram0.data 1 1077420119
.iram0.bss 0 1077420120
.dram0.heap_start 0 1070173312
.xt.prop 187308 0
.xt.lit 6184 0
.xtensa.info 56 0
.comment 140 0
.xt.prop._ZN5Print17availableForWriteEv 36 0
.xt.prop._ZN6Stream9readBytesEPhj 36 0
.xt.prop._ZTV7TwoWire 12 0
.xt.prop._ZTV16EdgeDebounceLite 12 0
.xt.lit._ZN5Print5writeEPKc 8 0
.xt.prop._ZN5Print5writeEPKc 60 0
.xt.prop._ZN5Print5flushEv 36 0
.xt.prop._ZTV6Stream 12 0
.xt.prop._ZTV6USBCDC 12 0
.xt.lit._ZN6String4initEv 0 0
.xt.prop._ZN6String4initEv 36 0
.xt.prop._ZNK6String3lenEv 60 0
.xt.prop._ZN6String6setLenEi 72 0
.xt.lit._ZN12StreamStringD5Ev 0 0
.xt.prop._ZN12StreamStringD5Ev 0 0
.xt.prop._ZN12StreamStringD2Ev 36 0
.xt.prop._ZN12StreamStringD0Ev 36 0
.xt.prop._ZNK6String6lengthEv 72 0
.xt.prop._ZTV12StreamString 12 0
.xt.lit._ZN3nvs4Lock4initEv 0 0
.xt.prop._ZN3nvs4Lock4initEv 72 0
.xt.lit._ZN14intrusive_listIN3nvs7Storage14NamespaceEntryEE17clearAndFreeNodesEv 0 0
.xt.prop._ZN14intrusive_listIN3nvs7Storage14NamespaceEntryEE17clearAndFreeNodesEv 108 0
.xt.prop._ZN14intrusive_listIN3nvs7Storage14NamespaceEntryEE9push_backEPS2_ 60 0
.xt.lit._ZN3nvs12NVSPartitionD5Ev 0 0
.xt.prop._ZN3nvs12NVSPartitionD5Ev 0 0
.xt.prop._ZN3nvs12NVSPartitionD2Ev 36 0
.xt.prop._ZN3nvs12NVSPartitionD0Ev 36 0
.xt.prop._ZTVN3nvs12NVSPartitionE 12 0
.xt.lit._ZN3nvs19NVSPartitionManagerD5Ev 0 0
.xt.prop._ZN3nvs19NVSPartitionManagerD5Ev 0 0
.xt.prop._ZN3nvs19NVSPartitionManagerD2Ev 36 0
.xt.prop._ZN3nvs19NVSPartitionManagerD0Ev 36 0
.xt.prop._ZN14intrusive_listIN3nvs12NVSPartitionEE5eraseENS2_8iteratorE 84 0
.xt.prop._ZTVN3nvs19NVSPartitionManagerE 12 0
.xt.prop._ZN14intrusive_listIN3nvs8HashList13HashListBlockEE5eraseENS3_8iteratorE 84 0
.xt.lit._ZN3nvs4ItemC5EhNS_8ItemTypeEhPKch 0 0
.xt.prop._ZN3nvs4ItemC5EhNS_8ItemTypeEhPKch 0 0
.xt.prop._ZN3nvs20isVariableLengthTypeENS_8ItemTypeE 48 0
.xt.prop._ZN3nvs4ItemC2EhNS_8ItemTypeEhPKch 60 0
.xt.prop._ZNK19CompressedEnumTableIN3nvs4Page10EntryStateELj2ELj126EE3getEjPS2_ 48 0
.xt.lit._ZN14intrusive_listIN3nvs4PageEE5clearEv 0 0
.xt.prop._ZN14intrusive_listIN3nvs4PageEE5clearEv 60 0
.xt.prop._ZN14intrusive_listIN3nvs4PageEE9push_backEPS1_ 60 0
.xt.prop._ZN14intrusive_listIN3nvs4PageEE5eraseENS2_8iteratorE 84 0
.xt.prop._ZTISt9exception 12 0
.xt.prop._ZTISt9bad_alloc 12 0
.xt.lit._ZNK9__gnu_cxx24__concurrence_lock_error4whatEv 8 0
.xt.lit._ZNK9__gnu_cxx26__concurrence_unlock_error4whatEv 8 0
.xt.lit._ZN9__gnu_cxx24__concurrence_lock_errorD5Ev 8 0
.xt.lit._ZN9__gnu_cxx26__concurrence_unlock_errorD5Ev 8 0
.xt.lit._ZN9__gnu_cxx7__mutex4lockEv 8 0
.xt.lit._ZN9__gnu_cxx13__scoped_lockD5Ev 8 0
.xt.prop._ZNK9__gnu_cxx24__concurrence_lock_error4whatEv 48 0
.xt.prop._ZNK9__gnu_cxx26__concurrence_unlock_error4whatEv 48 0
.xt.prop._ZN9__gnu_cxx24__concurrence_lock_errorD5Ev 12 0
.xt.prop._ZN9__gnu_cxx26__concurrence_unlock_errorD5Ev 12 0
.xt.prop._ZN9__gnu_cxx7__mutex4lockEv 48 0
.xt.prop._ZN9__gnu_cxx13__scoped_lockD5Ev 12 0
.xt.prop._ZN9__gnu_cxx24__concurrence_lock_errorD2Ev 36 0
.xt.prop._ZN9__gnu_cxx26__concurrence_unlock_errorD2Ev 36 0
.xt.prop._ZN9__gnu_cxx24__concurrence_lock_errorD0Ev 36 0
.xt.prop._ZN9__gnu_cxx26__concurrence_unlock_errorD0Ev 36 0
.xt.prop._ZN9__gnu_cxx13__scoped_lockD2Ev 72 0
.xt.prop._ZTIN9__gnu_cxx24__concurrence_lock_errorE 12 0
.xt.prop._ZTIN9__gnu_cxx26__concurrence_unlock_errorE 12 0
.xt.prop._ZTVN9__gnu_cxx24__concurrence_lock_errorE 12 0
.xt.prop._ZTVN9__gnu_cxx26__concurrence_unlock_errorE 12 0
.xt.prop._ZTVN10__cxxabiv117__class_type_infoE 12 0
.xt.prop._ZTVN10__cxxabiv120__si_class_type_infoE 12 0
.xt.prop._ZTVSt9bad_alloc 12 0
.debug_frame 79512 0
.debug_info 3956511 0
.debug_abbrev 324943 0
.debug_aranges 31176 0
.debug_ranges 81392 0
.debug_line 1434842 0
.debug_str 337660 0
.debug_loc 583153 0
Total 7582039
<lambda>(["upload"], [".pio\build\adafruit_feather_esp32s3\firmware.bin"])
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
BeforeUpload(["upload"], [".pio\build\adafruit_feather_esp32s3\firmware.bin"])
TimeoutError: Could not automatically find serial port for the `Adafruit Feather ESP32-S3 2MB PSRAM` board based on the declared HWIDs=['239A:811B', '239A:011B', '239A:811C']
Auto-detected: COM5
Forcing reset using 1200bps open/close on port COM5
Waiting for the new upload port...
"C:\Users\scarface\.platformio\penv\Scripts\python.exe" "C:\Users\scarface\.platformio\packages\tool-esptoolpy\esptool.py" --chip esp32s3 --port "COM5" --baud 460800 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x0000 C:\Users\scarface\.platformio\packages\framework-arduinoespressif32\variants\adafruit_feather_esp32s3\bootloader-tinyuf2.bin 0x8000 C:\Users\scarface\UNI-01-19\.pio\build\adafruit_feather_esp32s3\partitions.bin 0xe000 C:\Users\scarface\.platformio\packages\framework-arduinoespressif32\tools\partitions\boot_app0.bin 0x2d0000 C:\Users\scarface\.platformio\packages\framework-arduinoespressif32\variants\adafruit_feather_esp32s3\tinyuf2.bin 0x10000 .pio\build\adafruit_feather_esp32s3\firmware.bin
esptool.py v4.4
Serial port COM5
Connecting...
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: f4:12:fa:59:ae:cc
Uploading stub...
Running stub...
on VS code, uploading will stay uploading, I have left it for hours out of curiosity, it does nothing. The code compiles in about 7 seconds, the board seems to be eventually found, then nothing happens, it just becomes stuck. Why so problematic? I have all default settings, I even read into the QSPI vs OPI issues, board package issues, logged many hours looking through git issues, I am truly stuck.
The board is 100% coms active, nothing is obvious.