Error rst:0x10 (RTCWDT_RTC_RESET),boot:0x1b (SPI_FAST_FLASH_BOOT)

Started by tomdom, July 23, 2025, 02:35:32 PM

Previous topic - Next topic

tomdom

Hi, I can't upload a program to my ESP32 Olimex PoE. After connecting and starting the serial monitor, I get the following messages:

rst:0x10 (RTCWDT_RTC_RESET),boot:0x1b (SPI_FAST_FLASH_BOOT)
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff

Please help me

LubOlimex

This is normal and expected serial output of a blank board. Upload some software over the USB.

Technical support and documentation manager at Olimex

tomdom

Unfortunately, when I try to upload the program via USB using Visual Studio Code (PlatformIO), I get the following error:

Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-poe.html
PLATFORM: Espressif 32 (6.9.0) > OLIMEX ESP32-PoE
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) 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.20017.0 (2.0.17)
 - tool-esptoolpy @ 1.40501.0 (4.5.1)
 - tool-mkfatfs @ 2.0.1
 - tool-mklittlefs @ 1.203.210628 (2.3)
 - tool-mkspiffs @ 2.230.0 (2.30)
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 34 compatible libraries
Scanning dependencies...
Dependency Graph
|-- ESP32 Async UDP @ 2.0.0
|-- Ethernet @ 2.0.0
Building in release mode
Retrieving maximum program size .pio/build/esp32-poe/firmware.elf
Checking size .pio/build/esp32-poe/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [=         ]  13.3% (used 43540 bytes from 327680 bytes)
Flash: [======    ]  59.6% (used 781213 bytes from 1310720 bytes)
Configuring upload protocol...
AVAILABLE: cmsis-dap, esp-bridge, 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/cu.usbserial-120
Uploading .pio/build/esp32-poe/firmware.bin
esptool.py v4.5.1
Serial port /dev/cu.usbserial-120
Connecting......................................

A fatal error occurred: Failed to connect to ESP32: Download mode successfully detected, but getting no sync reply: The serial TX path seems to be down.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
*** [upload] Error 2

LubOlimex

Most likely either a cable that is not good enough or some mistake with the drivers.

Is it certain that ESP32-POE is recognized by your operating system as "/dev/cu.usbserial-120"? Disconnect and check again if that device disappears then connect it again and see if /dev/cu.usbserial-120 appears again.

Try another USB port, another USB cable, try re-installing the CH340 drivers for your OS.

If the issue remains ask the platformio community and meanwhile try another software like Arduino IDE with Espressif package installed.

Finally maybe also follow the troubleshooting link at the bottom of the error message.
Technical support and documentation manager at Olimex