Unable to flash ESP-12
Posted: Mon Dec 21, 2020 2:33 am
I have an ESP-12, which I don't know much about it's origin other than it was probably purchased as a secondary item from an Aliexpress or Ebay vendor, along with an ESP-01, and that was a number of years ago and I essentially forgot that I had bought them.
I recently found my two modules, and after many trial and errors, I was able to determine the ESP-01 is an older 4Mbit module, successfully replaced the third party firmware (ai-thinker) with the latest AT version from Espressif supporting 4Mbit ESP-01 modules and have been using it in a simple circuit sending temperature data via UDP to my server.
Using what I learned with the ESP-01, I am now trying to update the firmware on the ESP-12, but I can't seem to find any way to flash the module, either using command line tools, the Arduino IDE, or the Espressif download tool (V3.8.5).
Nothing I do seems to work in recognizing that there is an ESP-12 module connected (all the tools just time out), and the only way I can see any life is to boot with a FTDI adapter connected at 74880 baud, and this is what I see:
ets Jan 8 2013,rst cause:2, boot mode:(7,0)
waiting for host
or, while holding GPIO0 to GND while resetting:
ets Jan 8 2013,rst cause:2, boot mode:(5,0)
waiting for host
The module itself is soldered to a white carrier board and my breadboard circuit is setup like this instructable.
RST - 10k to Vcc switch to GND
CH_PD - 10k to Vcc (on the carrier board)
GPIO15 - 10k to GND (on the carrier board)
GPIO2 - 10k to Vcc
GPIO0 - 10k to Vcc switch to GND
I am using a genuine FTDI usb adapter (Sparkfun) and the ESP-12 has a clean 3.3V from a bench supply.
At this point, all I am attempting to do is flash with the latest AT firmware from Espressif.
What are my next steps in determining what is needed in troubleshooting and getting this module working?
Thanks in advance,
Justin
I recently found my two modules, and after many trial and errors, I was able to determine the ESP-01 is an older 4Mbit module, successfully replaced the third party firmware (ai-thinker) with the latest AT version from Espressif supporting 4Mbit ESP-01 modules and have been using it in a simple circuit sending temperature data via UDP to my server.
Using what I learned with the ESP-01, I am now trying to update the firmware on the ESP-12, but I can't seem to find any way to flash the module, either using command line tools, the Arduino IDE, or the Espressif download tool (V3.8.5).
Nothing I do seems to work in recognizing that there is an ESP-12 module connected (all the tools just time out), and the only way I can see any life is to boot with a FTDI adapter connected at 74880 baud, and this is what I see:
ets Jan 8 2013,rst cause:2, boot mode:(7,0)
waiting for host
or, while holding GPIO0 to GND while resetting:
ets Jan 8 2013,rst cause:2, boot mode:(5,0)
waiting for host
The module itself is soldered to a white carrier board and my breadboard circuit is setup like this instructable.
RST - 10k to Vcc switch to GND
CH_PD - 10k to Vcc (on the carrier board)
GPIO15 - 10k to GND (on the carrier board)
GPIO2 - 10k to Vcc
GPIO0 - 10k to Vcc switch to GND
I am using a genuine FTDI usb adapter (Sparkfun) and the ESP-12 has a clean 3.3V from a bench supply.
At this point, all I am attempting to do is flash with the latest AT firmware from Espressif.
What are my next steps in determining what is needed in troubleshooting and getting this module working?
Thanks in advance,
Justin