-->
Page 1 of 2

Connecting ESP12 for normal function or programming modes

PostPosted: Fri Jan 29, 2021 4:17 pm
by sairfan06
I'm quite confused on ESP pin connections for programming or normal run mode, though this question is widely asked on the internet but wanted to be sure.

I'm designing a PCB where I want ESP run in normal mode, but I can connect through header to program ESP please refer to images.

Please look at my schematic U10 is programming header, I will connect it to ESP-01 header (please refer to image)

Re: Connecting ESP12 for normal function or programming mode

PostPosted: Mon Feb 01, 2021 1:17 am
by JurajA
to enter bootloader mode io 0 must be LOW at reset. that is all.

io 0, 2 and 15 are boot configuration pins. the modes configured by 2 and 15 are used with uncommon configurations. for esp8266 with application in external flash io 2 must be HIGH at boor and io 15 must be LOW at boot. the pull down resistor on io 15 is missing in your schematics

Re: Connecting ESP12 for normal function or programming mode

PostPosted: Mon Feb 01, 2021 10:35 am
by sairfan06
I'm using ESP12E and i believe i have to pull up GPIO 2 and pull down GPIO 15, is that right?

if you pull down GPIO15 with 10k resistor for boot, then in the program (after boot) can i send signal with state HIGH

Re: Connecting ESP12 for normal function or programming mode

PostPosted: Tue Feb 02, 2021 1:44 am
by JurajA
sairfan06 wrote:I'm using ESP12E and i believe i have to pull up GPIO 2 and pull down GPIO 15, is that right?

if you pull down GPIO15 with 10k resistor for boot, then in the program (after boot) can i send signal with state HIGH


yes and yes.

don't use io 15 as CS for SPI slave if you connect one