platform-espressif32: Adafruit Feather ESP32-S3 8MB No PSRAM - cannot upload

platformio.ini

platform = espressif32
board = adafruit_feather_esp32s3_nopsram
framework = espidf

Problem Stucks on upload after switching to download mode

Build log

Processing adafruit_feather_esp32s3_nopsram (platform: espressif32; board: adafruit_feather_esp32s3_nopsram; framework: 
espidf)
------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/adafruit_feather_esp32s3_nopsram.html
PLATFORM: Espressif 32 (6.0.1+sha.764527e) > Adafruit Feather ESP32-S3 No PSRAM
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB 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-espidf @ 3.50000.0 (5.0.0)
 - tool-cmake @ 3.16.4
 - tool-esptoolpy @ 1.40400.0 (4.4.0)
 - tool-idf @ 1.0.1
 - tool-mconf @ 1.4060000.20190628 (406.0.0)
 - tool-ninja @ 1.9.0
 - toolchain-esp32ulp @ 1.23500.220830 (2.35.0)
 - toolchain-riscv32-esp @ 11.2.0+2022r1
 - toolchain-xtensa-esp32s3 @ 11.2.0+2022r1
Reading CMake configuration...
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Compiling .pio\build\adafruit_feather_esp32s3_nopsram\src\main.o
Generating LD script .pio\build\adafruit_feather_esp32s3_nopsram\memory.ld
Compiling .pio\build\adafruit_feather_esp32s3_nopsram\app_trace\app_trace.o
...
<a lot of *.o files>
...
Compiling .pio\build\adafruit_feather_esp32s3_nopsram\bootloader\soc\esp32s3\usb_otg_periph.o
Generating partitions .pio\build\adafruit_feather_esp32s3_nopsram\partitions.bin
Archiving .pio\build\adafruit_feather_esp32s3_nopsram\bootloader\esp-idf\soc\libsoc.a
Archiving .pio\build\adafruit_feather_esp32s3_nopsram\bootloader\esp-idf\micro-ecc\libmicro-ecc.a
Linking .pio\build\adafruit_feather_esp32s3_nopsram\bootloader.elf
Building .pio\build\adafruit_feather_esp32s3_nopsram\bootloader.bin
esptool.py v4.4
Creating esp32s3 image...
Merged 1 ELF section
Successfully created esp32s3 image.
Linking .pio\build\adafruit_feather_esp32s3_nopsram\firmware.elf
Retrieving maximum program size .pio\build\adafruit_feather_esp32s3_nopsram\firmware.elf
Checking size .pio\build\adafruit_feather_esp32s3_nopsram\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [=         ]   9.8% (used 32140 bytes from 327680 bytes)
Flash: [=======   ]  69.1% (used 724641 bytes from 1048576 bytes)
Building .pio\build\adafruit_feather_esp32s3_nopsram\firmware.bin
esptool.py v4.4
Creating esp32s3 image...
Merged 2 ELF sections
Successfully created esp32s3 image.
============================================ [SUCCESS] Took 164.80 seconds ============================================
 *  Terminal will be reused by tasks, press any key to close it.

Upload log

...
Linking .pio\build\adafruit_feather_esp32s3_nopsram\bootloader.elf
Building .pio\build\adafruit_feather_esp32s3_nopsram\bootloader.bin
esptool.py v4.4
Creating esp32s3 image...
Merged 1 ELF section
Successfully created esp32s3 image.
Linking .pio\build\adafruit_feather_esp32s3_nopsram\firmware.elf
Retrieving maximum program size .pio\build\adafruit_feather_esp32s3_nopsram\firmware.elf
Checking size .pio\build\adafruit_feather_esp32s3_nopsram\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [=         ]   9.8% (used 32140 bytes from 327680 bytes)
Flash: [=======   ]  69.1% (used 724641 bytes from 1048576 bytes)
Building .pio\build\adafruit_feather_esp32s3_nopsram\firmware.bin
esptool.py v4.4
Creating esp32s3 image...
Merged 2 ELF sections
Successfully created esp32s3 image.
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...
Using manually specified: COM10
Forcing reset using 1200bps open/close on port COM10
Waiting for the new upload port...
Uploading .pio\build\adafruit_feather_esp32s3_nopsram\firmware.bin
esptool.py v4.4
Serial port COM9 <--------- Stucks here

Menuconfig Flash SPI Mode = QIO

Device manager Device before switching to download mode: VID:PID=0x239A:0x8113 Device after switching to download mode: VID:PID=0x303A:0x1001

Arduino IDE ESP32 BLE Example compiled und uploaded without issues (QIO)

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 24 (8 by maintainers)

Commits related to this issue

Most upvoted comments

@ruig25 Can you please try if the released esptool v4.5 from today does work too? Just made a package. You can use with

platform_packages = tool-esptoolpy @ https://github.com/tasmota/esptool/releases/download/v4.5/esptool-4.5.zip

Works!

@ruig25 Can you please try if the released esptool v4.5 from today does work too? Just made a package. You can use with

platform_packages = tool-esptoolpy @ https://github.com/tasmota/esptool/releases/download/v4.5/esptool-4.5.zip

From the Arduino log. There is esptool v4.2.1 used. So try with this version. Hope I have remembered the syntax correctly for using a espressif release. Can’t try at the moment

platform_packages = tool-esptoolpy @ https://github.com/espressif/esptool.git#tree/v4.2.1

esptool PlatformIO vs Arduino command side by side comparision (full paths were cut to simplify the overview):

It’s not entirely accurate to compare the upload commands for Arduino and ESP-IDF. Anyway, according to https://github.com/espressif/esptool/issues/808, esptool v4.3 might help here, so could try you downgrading the tool-esptoolpy package?

[env:...]
platform = espressif32
board = adafruit_feather_esp32s3_nopsram
framework = espidf

platform_packages = 
   tool-esptoolpy @ ~1.40300.0