-->
Page 1 of 2

GPIO0 pin driving low at boot resulting in boot failure

PostPosted: Thu Feb 24, 2022 5:42 am
by Ashram56
Good morning,

I have a very odd behaviour I'd like to get clarification on:
- custom PCB using an ESP12F, which was working fine before, suddenly stopped working
- after multiple investigations (reflashing using FTD32, etc), I realized that GPIO0 pin reading was at 1.9V (GPIO2 was at 3.3V)
- Schematics are super simple: these two inputs are pulled-up to 3.3V. When measuring on PSU side of the resistor I see a nice 3.3V, when measuring at ESP side of the resistor, 1.9V

That would explain why the ESP does not boot, since I assume it's entering flash mode (1.9V is just below TTL level)

But now... why in the world would the ESP input try to drive this signal low ? I can only think of a defective input, but that seems a stretch (ESD damage maybe ? I was indeed manipulating the board at one point, but did not mishandled it though)

Re: GPIO0 pin driving low at boot resulting in boot failure

PostPosted: Fri Feb 25, 2022 1:21 am
by JurajA
the esp8266 design guide requires a pull-up resistor on io 0

Re: GPIO0 pin driving low at boot resulting in boot failure

PostPosted: Fri Feb 25, 2022 1:48 am
by Ashram56
There is a pull up on both GPIo2 and GPiO0. 1k value.

Re: GPIO0 pin driving low at boot resulting in boot failure

PostPosted: Fri Feb 25, 2022 2:51 am
by Ashram56
GPIO0 and GPIO2 both have 1k pull up on the design. Which is why it's super surprising that there would be a 1.4V drop across the pull up resistor