Questions with ESP8266

Hi guys, I've been working on ESP8266 for days and I have some questions about it if you guys could help me with it. I would really appreciate it.

List of question:

  • What happens if I reset the ESP8266 with the RST pin?
  • If I connect GPIO0 to GND, and uploads an empty sketch(That's what I did, and I couldn't get any response from AT command anymore). Does it overwrite the AT firmware? What is the effect of uploading an empty sketch whilst GPIO0 is connected to GND?
  • If so, how do I get back the AT firmware? By flashing?
  • Can I flash ESP8266 with Arduino Due, or must I have something like a FTDI?
  • If I want to upload a sketch, do I select Generic ESP8266 or do I select Arduino Due?

Flashing any firmware to the ESP overwrites the firmware that was there before. To use the AT firmware, the AT firmware must be re-uploaded (flashed) if overwritten. If GPOI0 is low during reset the ESP enters programming mode and uploading will overwrite whatever was in flash.

It is much easier to upload using a FTDI. I don't know how you would use a Due to upload. Maybe possible, I just don't know. If you are uploading via FTDI, choose whichever ESP variant that you have, certainly not Due.

There are many pages on the net on how to flash the AT firmware. Google "esp8266 flash at firmware".