- Sat Aug 15, 2015 10:22 am
#26073
@BarnabyBear, thanks for your continued attempts to help.
I just connected the esp as in your diagram, except for the 2 10K pullup resistors, I just connected GPIO2 to 3.3V and GPIO0 to either 3.3V or 0V. I don't think that makes any difference, except to protect the GPIO lines from shorting if the sketch makes them outputs, which my simple sketch does not.
Its just the same. I put the ESP into program mode by connecting GPIO0 to 0V, cycle the power and get the single blue flash. I can then upload the sketch, which seems to complete ok. I then connect GPIO0 to 3.3V and cycle the power.
I only get one blue flash, not two, the garbage on the serial monitor and the sketch does not run.
Does the single blue flash in what is supposed to be run-mode mean something? Despite the single flash, the esp is not in program mode, because if I attempt to upload the sketch, I get:
Code: Select allSketch uses 205,612 bytes (47%) of program storage space. Maximum is 434,160 bytes.
Global variables use 32,920 bytes (40%) of dynamic memory, leaving 49,000 bytes for local variables. Maximum is 81,920 bytes.
warning: espcomm_sync failed
error: espcomm_open failed
Next I tried connecting GPIO2 to 0V and GPIO0 to 0V and cycle the power. No blue flash, just the red power led comes on as normal.
If I connect GPIO2 to 0V and GPIO0 to 3.3V and cycle the power, the blue led comes on steady a fraction of a second after the red led, and stays on as long as the power is on.
I don't know what the above 2 tests mean, if anything.
I have seen on another thread, I forget where, not this forum, that it might be worth a try using esptool to re-flash the AT command firmware back onto the ESP. If that works, I can re-try my Arduino sketch.
Where do I get the AT firmware binary? I googled, but the links I found to the binary were broken.