Page 1 of 2

ESP32-WROOM hardware design for flashing

Posted: Thu May 13, 2021 8:29 pm
by PabloG
Hi,
I have several time using microcontrollers. Now I'm starting with this module.
I need to make a PCB with this module but I coldn't find how I will flash the firmware on it. I reed that need to put IO0 to GND, then that only a pulse is enough.

Please, I need some help or where I can find that procedure.

Regards

Pablo

Re: ESP32-WROOM hardware design for flashing

Posted: Fri May 14, 2021 3:14 am
by ESP_Sprite
It's pretty simple: just after it comes out of reset, the ESP32 will look at IO0 and if it's grounded, it will boot into download (flashing) mode. The simplest implementation is two buttons: button 1 to ground IO0 and button 2 to ground EN. If you keep button 1 pressed while pressing and releasing button 2, the ESP32 is in download mode. There also are simple circuits that can do this automatically given your USB-to-serial converter has handshaking lines: check out e.g. the ESP32-DevkitC schematics for that.

Re: ESP32-WROOM hardware design for flashing

Posted: Fri May 14, 2021 10:32 pm
by PabloG
Thank You. Then I will build my own USB converter with those buttons or the handshaking circuit, I don't want to leave that on board.

Re: ESP32-WROOM hardware design for flashing

Posted: Sat May 15, 2021 11:42 am
by David_1
Image

also needing help !

Re: ESP32-WROOM hardware design for flashing

Posted: Sat May 15, 2021 1:15 pm
by David_1

Re: ESP32-WROOM hardware design for flashing

Posted: Sun May 16, 2021 5:13 pm
by David_1
I really wish it was so simple, I am also struggling to get in and out of programming mode
is there any other documents available ?
Please and thankyou
David.

Re: ESP32-WROOM hardware design for flashing

Posted: Mon May 17, 2021 2:17 am
by ESP_Sprite
...what is your exact issue, what do you require documentation on?

Re: ESP32-WROOM hardware design for flashing

Posted: Mon May 17, 2021 8:30 am
by David_1
my problem is here, Thank you for looking.
viewtopic.php?f=12&t=20945

Re: ESP32-WROOM hardware design for flashing

Posted: Mon May 17, 2021 5:14 pm
by dovoto
I would start here:
https://github.com/espressif/esptool/#e ... bootloader

and then read this:
https://github.com/espressif/esptool/wi ... l-Protocol

The datasheet has the electrical characteristics for the strapping sequence.
https://www.espressif.com/en/support/do ... -documents

Re: ESP32-WROOM hardware design for flashing

Posted: Wed May 26, 2021 5:18 pm
by PabloG
I need to program the modules in production. I mean that is not easy the way to push a button, hold, then release, etc. If I will program thousand per day, that will be a caos....