Chat freely about anything...

User avatar
By KrishnaRao
#20609 Hi There,

Currently i'm working with EP8266 ESP-12 Module.

Yesterday i thought of loading pre compiled binaries to flash to connect wifi router ( eagle.flash.bin & eagle.irom0text.bin)

i will let you know steps followed & kindly help on this..

Environment: WINDOWS VISTA, Python2.x, ESPTool

1) i played command "esptool.py -p COM5 flash_id" .. then i got "Manufacturer : C8, Device: 4016"
2) i played command "esptool.py -p COM5 write_flash 0x00000 eagle.flash.bin 0x40000 eagle.irom0text.bin" .. then i got "invalid packet exception" .
3) i played command "esptool.py -p COM5 flash_id" .. then i got below output

Code: Select allConnecting...
Traceback (most recent call last):
File "D:\esptool-master\esptool.py", line 482, in <module>
esp.connect()
File "D:\esptool-master\esptool.py", line 158, in connect
raise Exception('Failed to connect')
Exception: Failed to connect


4) Now, i thought of using AT command to reset the ESP8266.. i used many serial monitor softwares (realterm, arduino, sscomm32E, Terminal, accessport etc..)
5) i made "AT" command .. no response in return.. i tried "AT+RST" command no response in return..

Now i'm clueless .. can somebody help me out by answer below questions

1) how can i reset my device ( factory settings ) ?
2) how to load my precompiled binary files to flash ?

Thanks in advance & have a great day.

Cheers.
User avatar
By tytower
#21348 For a much more understandable approach I recommend getting the ArduinoIDE from Arduino.cc and then getting the json address for ESP/Arduino on github .

You will then have a mountain of examples and expertise to help you
I won't go to the stuff you are working with now . Too complex
However the Wiki above in grey menu bar contains a lot of info for you too.