Page 1 of 1

What is the meaning of rst:0x1 (POWERON_RESET),boot:0x2

Posted: Thu May 28, 2020 9:05 am
by axellin
Hi,
I have a device no longer boot, it always shows below boot message:

rst:0x1 (POWERON_RESET),boot:0x2 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_FEO_V2))
waiting for download

I check another (good) device, it shows below for download mode:
rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
and shows below for normal boot:
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)

Seems I cannot reproduce the "boot:0x2".
What is the meaning of boot:0x2?

Re: What is the meaning of rst:0x1 (POWERON_RESET),boot:0x2

Posted: Thu May 28, 2020 10:20 am
by Stomper
It seems that you have tied the "BOOT_SEL" pin to GND. Than the ESP32 boots in download mode for flashing new firmware.

Make sure the Boot_SEL Pin is high or floating to boot in normal operation mode.

Here you can find all the boot messages.
https://github.com/espressif/esptool/wi ... -Selection

Best regards
Chris

Re: What is the meaning of rst:0x1 (POWERON_RESET),boot:0x2

Posted: Thu May 28, 2020 11:55 am
by chegewara
boot:0xNN (DESCRIPTION) is the hex value of the strapping pins, as represented in the GPIO_STRAP register. The individual bit values are as follows:

0x01 - GPIO5
0x02 - MTDO (GPIO15)
0x04 - GPIO4
0x08 - GPIO2
0x10 - GPIO0
0x20 - MTDI (GPIO12)