GPIO0 connected to GND makes the esp32 enter download mode
Posted: Sat Jan 05, 2019 3:16 pm
Hardware:
Board: ESP32 Dev Module
IDE name: Platform.io
Flash Frequency: 40Mhz
PSRAM enabled: no
Upload Speed: 115200
Computer OS: Windows 10
Description:
Hello, I have a custom made PCB developed for esp32-devkit-v4 form factory. This PCB basically has a
a solid state relay controlled by the esp32 module.
Because of the PCB board design the relay is connected to the GPIO0 pin of the esp32 module. So during the boot the GPIO0 acts as it's held low.
I've been able to reproduce this behaviour by connecting, with a jumper cable, the GPIO0 pin with a GND pin. In this case the esp32 does not actually boot and the message printed in the serial monitor is below.
In this case, removing the connection between those two pins and rebooting the esp32 it will boot correctly.
So, as I can not re-design the PCB board at the moment and I can not change the esp32 device, is there a way (a workaround) to fix the GPIO0 behaviour in order to not be considered set on low during boot?
Debug Messages:
Board: ESP32 Dev Module
IDE name: Platform.io
Flash Frequency: 40Mhz
PSRAM enabled: no
Upload Speed: 115200
Computer OS: Windows 10
Description:
Hello, I have a custom made PCB developed for esp32-devkit-v4 form factory. This PCB basically has a
a solid state relay controlled by the esp32 module.
Because of the PCB board design the relay is connected to the GPIO0 pin of the esp32 module. So during the boot the GPIO0 acts as it's held low.
I've been able to reproduce this behaviour by connecting, with a jumper cable, the GPIO0 pin with a GND pin. In this case the esp32 does not actually boot and the message printed in the serial monitor is below.
In this case, removing the connection between those two pins and rebooting the esp32 it will boot correctly.
So, as I can not re-design the PCB board at the moment and I can not change the esp32 device, is there a way (a workaround) to fix the GPIO0 behaviour in order to not be considered set on low during boot?
Debug Messages:
- rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
- waiting for download