My setup is as follows:
- Powering the ESP-12F with 3.3V from AMS1117. 100 uF capacitor between Vcc and Ground.
- Reset pulled high with 1k, pulled to Ground when pushbutton pressed. 100nF capacitor is connected from
- Reset to GND to minimise noise.
- GPIO15 pulled to GND via 2k
- GPIO2 pulled to Vcc via 10k
- GPIO0 pulled to Vcc via 1k, pulled to GND when pushbutton pressed.
- CP2102 3.3V USB to UART serial interface module adaptor connects my laptop to the ESP-12.
- GND to GND
- Tx - Rx
- Rx - Tx
The steps I take to get the ESP-12 into flash mode are as follows:
1. Scope shows both Reset and GPIO0 are high when I power on the circuit.
2. Press and hold button on GPIO0. GPIO0 drops to 0V.
3. Press and hold button on Reset. Now both reset and GPIO0 are at 0V.
4. Release Reset button. GPIO0 shows a 26MHz signal. DC average level is 0V, AC RMS = 385mV
5. Release the GPIO0 button. GPIO0 shows a 26MHz signal. DC average level is 2.05V, AC RMS = 630mV
I would have expected GPIO0 to return to 3.3V, but instead it has a clock output wave, centred on 2.05 VDC.
If I try to upload a program, I get the "error: espcomm_upload_mem failed".
Any thoughts? Have I wired something incorrectly? What can I try to get the ESP-12 into Flash mode?
Any suggestions welcome!