IO0 and EN needed to flash ESP32

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
pidou46
Posts: 101
Joined: Sat May 28, 2016 7:01 pm

IO0 and EN needed to flash ESP32

Post by pidou46 » Mon Aug 09, 2021 1:49 pm

Hello,

When flashing micropython firmware to ESP32-S module (not usual dev board) for the first time, it is need to use two switches: IO0 and EN

https://fr.aliexpress.com/item/10050029 ... 3370bf2b-1

Then after it seems that it's not needed anymore. Is that true ? is there some situation where it would be needed

I ask this question because I would like to avoid soldering IO0 and EN pin on the breadboard, if not needed.
nodemcu V2 (amica)
micropython firmware Daily build 05/31/2016

Lixas
Posts: 10
Joined: Fri Aug 21, 2020 9:09 am

Re: IO0 and EN needed to flash ESP32

Post by Lixas » Tue Aug 10, 2021 9:57 am

ESP-CAM is also requires some pins to be shorted to burn firmware into MCU, so i presume it could be the same on ESP-S2 bare module.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: IO0 and EN needed to flash ESP32

Post by Roberthh » Tue Aug 10, 2021 2:00 pm

you need to pull EN low to reset the device, and when at boot-up GPIO0 is low, it will enter bootloader mode. So yes, you have to control both signals to flash the firmware.

Post Reply