ESP32 Boot Mode Message
Posted: Wed Apr 01, 2020 5:47 pm
Hello,
I have developed a custom ESP32-based industrial sensing platform, and am running into the following issue on a new revision of our main product design. After successfully flashing our ESP32 using a CP2104-based PCB and using the pre-built msys make tools, we are able to boot into the software correctly. However, after a hard power cycle, the ESP32 stays in bootloader mode and prints the following message:
I've scoped the ESP_EN and GPIO0 lines to check their behavior, and from my interpretation of the boot modes, they are correct. I've attached a couple of photos showing this behavior, where the blue line is the ESP_EN line rising to 3V3, and the yellow line is GPIO0. In 0_1uF_en.jpg, the ESP_EN line has a 0.1uF capacitor to GND. I was worried about rise times and maybe the ESP32 sampling GPIO0 too early, so 1uF_en.jpg shows the result after I swapped this for a 1uF capacitor to GND.
According to the ESP32 Boot Mode Selection webpage, the example bootloader message should give the strapping register as, so I'm a little confused on why its is now a 0x5. Any insight or help would be greatly appreciated. If there's a better place to post this question, please let me know.
I have developed a custom ESP32-based industrial sensing platform, and am running into the following issue on a new revision of our main product design. After successfully flashing our ESP32 using a CP2104-based PCB and using the pre-built msys make tools, we are able to boot into the software correctly. However, after a hard power cycle, the ESP32 stays in bootloader mode and prints the following message:
Code: Select all
rst:0x1 (POWERON_RESET),boot:0x5 (DOWNLOAD_BOOT(UART0/UART1/SDIO_FEI_REO_V2))
waiting for download
According to the ESP32 Boot Mode Selection webpage, the example bootloader message should give the strapping register as
Code: Select all
boot: 0x3