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

axellin
Posts: 200
Joined: Mon Sep 17, 2018 9:09 am

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

Postby axellin » Thu May 28, 2020 9:05 am

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?

Stomper
Posts: 16
Joined: Tue Mar 31, 2020 10:33 pm

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

Postby Stomper » Thu May 28, 2020 10:20 am

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

chegewara
Posts: 2371
Joined: Wed Jun 14, 2017 9:00 pm

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

Postby chegewara » Thu May 28, 2020 11:55 am

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)

Who is online

Users browsing this forum: Baidu [Spider] and 148 guests