-->
Page 1 of 1

Confused regarding bootloaders and flashing...

PostPosted: Thu Feb 10, 2022 10:33 am
by edsut
Hi,
I have worked with ESP8266 on a few different modules using Arduino and Adafruit's HUZZAH-ESP8266-Feather... (https://cdn-learn.adafruit.com/assets/assets/000/088/838/original/adafruit_products_Feather_ESP8266_HUZZAH_sch.png). All good. Now I'm trying to dig a bit deeper because I need to be able to program the ESP8266 from another microcontroller. I see that most of the "flashing" is done by interfacing to the ESP8266's bootrom (GPIO0->low while RESET->low to enter ROM bootloader mode); however, the HUZZAH board (refer to schematic) has a few transistors that force GPIO0 high when RESET is low (which means Arduino can't put the ESP8266 into low-level ROM bootloader mode), so I have to assume that Arduino assumes that there is some other bootloader installed in the flash. Is that the case or am I missing something?

Thanks

Re: Confused regarding bootloaders and flashing...

PostPosted: Fri Feb 11, 2022 1:17 am
by JurajA
that is the auto-reset circuit which adopts the RTS and DTR signals from the USB chip.
you can directly set io 0 LOW and pulse the reset pin.