ESP32-WROOM hardware design for flashing

PabloG
Posts: 4
Joined: Thu May 13, 2021 10:14 am

ESP32-WROOM hardware design for flashing

Postby PabloG » Thu May 13, 2021 8:29 pm

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

ESP_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-WROOM hardware design for flashing

Postby ESP_Sprite » Fri May 14, 2021 3:14 am

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.

PabloG
Posts: 4
Joined: Thu May 13, 2021 10:14 am

Re: ESP32-WROOM hardware design for flashing

Postby PabloG » Fri May 14, 2021 10:32 pm

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.

David_1
Posts: 7
Joined: Sat May 15, 2021 10:51 am

Re: ESP32-WROOM hardware design for flashing

Postby David_1 » Sat May 15, 2021 11:42 am

Image

also needing help !


David_1
Posts: 7
Joined: Sat May 15, 2021 10:51 am

Re: ESP32-WROOM hardware design for flashing

Postby David_1 » Sun May 16, 2021 5:13 pm

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.

ESP_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-WROOM hardware design for flashing

Postby ESP_Sprite » Mon May 17, 2021 2:17 am

...what is your exact issue, what do you require documentation on?

David_1
Posts: 7
Joined: Sat May 15, 2021 10:51 am

Re: ESP32-WROOM hardware design for flashing

Postby David_1 » Mon May 17, 2021 8:30 am

my problem is here, Thank you for looking.
viewtopic.php?f=12&t=20945

dovoto
Posts: 27
Joined: Tue Apr 20, 2021 3:51 pm

Re: ESP32-WROOM hardware design for flashing

Postby dovoto » Mon May 17, 2021 5:14 pm

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

PabloG
Posts: 4
Joined: Thu May 13, 2021 10:14 am

Re: ESP32-WROOM hardware design for flashing

Postby PabloG » Wed May 26, 2021 5:18 pm

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....

Who is online

Users browsing this forum: No registered users and 63 guests