ESP32-a and ESP32-b.
ESP32-a plugged in via USB takes, from the Arduino IDE, a upload with no problem.
ESP32-b, takes an upload only if I, during the connection point of the upload, press and hold for a moment, both buttons.
Why is that?
What could be done to ESP32-b to have it work like ESP32-a?
Automatic upload only working on some boards
-
- Posts: 166
- Joined: Wed Aug 01, 2018 12:06 pm
Re: Why is that?
It has to do with the bootmode of the board. See:
https://github.com/espressif/esptool/wi ... bootloader
https://github.com/espressif/esptool/wi ... bootloader
esptool.py can automatically enter the bootloader on many boards by using the RTS and DTR modem status lines to toggle GPIO0 and EN automatically.
Development boards (including all Espressif boards) usually use additional circuitry to avoid this problem - if both RTS and DTR are both asserted together, this doesn't reset the chip. Consult Espressif development board schematics for the specific details.
Re: Automatic upload only working on some boards
I've renamed the topic of the post to give some more details.
What models are the two boards? Some third party boards (and very old Espressif boards) can have more reliable auto-reset if a capacitor is added between the EN pin and GND (something in the 1uF-10uF range should work).
What models are the two boards? Some third party boards (and very old Espressif boards) can have more reliable auto-reset if a capacitor is added between the EN pin and GND (something in the 1uF-10uF range should work).
Who is online
Users browsing this forum: No registered users and 162 guests