So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By TT_Vert
#59764 Sorry for the basic question but I just got this thing and the specs don't say much. The chip says It's an ESP8266EX and the current FW is 00170901. The reason I ask this is I was trying to update the firmware to a GUI FW usingthis link but had no luck. I was unable to see the AP or use AT commands any longer. So then I attempted to use another ESP8622 FW upload tool which came recommended. It flashed the firmware fine w/o error. I "think" i did it correctly and used the proper addresses as seen in the attached pic but I still cannot get any SSID broadcast or AT commands. I guess the only question I've got is if I've got an 8Mbit, 16Mbit, etc. 8266. Is there some reference # I can find somewhere to figure that out?

I don't know if it matters but I'm using the arduino to actually flash the FW and grounding the GPIO 0 pin to put it into update mode. After the above method failed I flashed a stock AT FW back on and that works fine so I'm fairly certain sending GPIO 0 low is in fact allowing me to flash properly.

Dave
You do not have the required permissions to view the files attached to this post.
User avatar
By RigTig
#59824
Code: Select allpython2.7 esptool.py -p /dev/ttyACM0 flash_id

Of course, you need to put your own device identifier in place of '/dev/ttyACM0'.
You get 2 numbers (both in hex).

Refer to http://code.coreboot.org/p/flashrom/source/tree/HEAD/trunk/flashchips.hfor flash chip manufacturer name and part number.

Info from https://github.com/espressif/esptool
User avatar
By TT_Vert
#59856 I went ahead and installed python and esptool.py. Here is my question. I'm using an arduino to pass through data to the ESP8266 and I am able to flash a stock AT FW onto it as well as run AT commands to connect to APs etc. With that said, I don't have a tty port, rather a COM port. Therefore I ran "python esptool.py -p COM5 flash_id" but I'm presented with no connection. Is there some emulated TTY port I'm missing that I need to figure out and put in or should I be able to use COM5 in the script command?

I did get a flash to go through and got it working and I do know it is an 8Mbit chip but I'd still like ti know what I'm doing wrong here w/ this python script.

**NM figured it out, I had to ground GPIO 0 like when flashing)**

c:\Python27\Scripts>python esptool.py -p COM5 flash_id
esptool.py v1.2.1
Connecting...
A fatal error occurred: Failed to connect to ESP8266


Thanks
Dave