Every ESP32 talks the moment it resets: before any program runs, its ROM prints a few lines at 115,200 baud. There is nothing to program, and the EN button repeats it as often as you like.
A classic ESP32's ROM message, from Espressif's documentation:
ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:8452 load:0x40078000,len:13608 load:0x40080400,len:6664 entry 0x40080764
ets Jun 8 2016: the date of the chip's ROM, not your program.rst:0x1 (POWERON_RESET): why the chip reset (below).boot:0x13 (SPI_FAST_FLASH_BOOT): the strapping pins' levels at reset; SPI_FAST_FLASH_BOOT is the normal start from flash.load and entry: the bootloader being copied from flash, and where it starts.The classic ESP32's reset reasons (ESP-IDF's ROM header):
| rst: | Name | What it means |
|---|---|---|
| 0x1 | POWERON_RESET | Power-on reset |
| 0x3 | SW_RESET | Software reset of the digital core |
| 0x5 | DEEPSLEEP_RESET | Waking from deep sleep |
| 0x7, 0x8 | TG0WDT_SYS_RESET, TG1WDT_SYS_RESET | A watchdog ran out: a program stopped responding |
| 0xc | SW_CPU_RESET | Software reset of the CPU |
| 0xf | RTCWDT_BROWN_OUT_RESET | The supply voltage dipped (a brown-out) |
Newer chips name their reasons their own way; an ESP32-S3 prints rst:0x1 (POWERON).
Hold BOOT (it pulls GPIO0 low), press and release EN, then release BOOT. The message now says DOWNLOAD_BOOT(...): the chip waits to be programmed. Press EN alone and it boots normally again.
The ESP8266 prints its boot message at 74,880 baud (Espressif's documentation, with a 26 MHz crystal), so a monitor at 115,200 shows garbage at every reset. A good baud-rate exercise: one bit is 13.4 µs.
| What you see | What to change |
|---|---|
| Nothing on the pin at reset | The wrong pin for this chip, or GPIO15 held low (on a classic ESP32 that silences the ROM). |
| Characters, but garbage | Wrong baud rate: 115,200 for the ESP32 family, 74,880 for the ESP8266. |
Invalid header | The ROM could not read a valid bootloader from flash. |
The ROM prints at a fixed rate and the monitor is at another: 115,200 baud for the ESP32 family, 74,880 for the ESP8266.
That the ESP32 started from a power-on reset. The number after rst: is the reset reason.
No. The message comes from the ROM built into the chip, before any program runs. A brand-new board prints it too.