The ESP8266 module is a cheap Wireless module
I got 3 of the ESP8266 for my home automation project, initially the module was working perfect.
Go to this this link below to find firmware files.
Watch this video of Kevin Darrah on how to get start with esp8266."https://www.youtube.com/watch?v=qU76yWHeQuw "
I connected esp directly to tx and rx of Arduino .Connect Esp RX to Arduino Rx and esp TX to Arduino TX, the module works on 3.3v logic according to documentation but I had no issue with 5v rx and tx of arduino ,play it at your own risk .you can use simple voltage divider to cutdown 5v to 3.3 v .I am not going into details of connection now .
2. Esp 8266-12 module
I found daflabs instructables best for this module so far
I used Arduino instead of cp2102 module, and I had no issue in communication.
The connection will remain mostly same for esp8266-12 to run it in flash mode.
GPIO0 -> LOW
GPIO2 -> HIGH
GPIO15 -> LOW
YOU can upload any firmware to any of the Esp8266 module.
There are two software to install the bin file on soc of esp8266 ,The second method is by using
2.)Now just browse the bin file you want to upload on
As I mentioned,I accidently uploaded garbage values in esp8266 module. After that my ESP8266 stopped working, it was only transmitting data and was not receiving any data from serial port.
Go to this link http://www.electrodragon.com/w/ESP8266_Firmware And findFirmware Details.
If you find any error in uploading firmware just do one thing remove the chpd pin wire of
Note: If you got something wrong during uploading your esp8266 firmware
This is where you could try to fix it .I used the address 0x40000080 which is
A Reset Vector address of SOC and then just clicked the download button
And the firmware got into ESP8266 Successfully.