Chat freely about anything...

User avatar
By Alex P
#50647 Hi,

After working with the ESP8266 successfully for over 6 months I'm now back to step one - having a problem flashing the damn thing. It seems the uploader is unable to connect to the module, since I get stuck on "connecting..." no matter what tool I use. I've tried using Arduino IDE (whichever flasher it uses...), esptool.py and some tool called esp8266_flasher that from what I could see does the same basic thing: takes a bin and flashes it into memory. I have three modules which worked perfectly 4 months ago until I tried to flash them today.

I believe the first time I tried to flash each of the modules I got following error in Arduino IDE:

Uploading 233376 bytes from C:\Users\alex\AppData\Local\Temp\build02af6eae678ed7b229e35b2b2195bc75.tmp/sketch1.ino.bin to flash at 0x00000000
warning: espcomm_send_command: didn't receive command response
warning: espcomm_send_command(FLASH_DOWNLOAD_DATA) failed
warning: espcomm_send_command: didn't receive command response
error: espcomm_upload_mem failed


Once this happened in the middle of the upload (judging by the amount of dots printed to the console), while on the other two right at the start.

After that first failed upload I then get only:
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed


Now I get nothing but nonstop gibberish coming out of the modules and the above errors when trying to flash them.

I've tried erasing the memory with esptool.py, but it just gets stuck on "connecting...". Do you guys know if there is any way to save the modules, or are they bricked for good?

Everything seems to be connected just fine, I could issue AT commands to one of the modules (brand new one) and it worked perfectly right until the moment I set GPIO0 low and did a hard reset.
User avatar
By Alex P
#50648 Perhaps I should mention that in the 4 months I didn't use the modules I "upgraded" to windows 10 and the driver to my PL2303 serial-usb cable stopped working. I fixed that by installing another driver, but when I now looked at the voltage level of the rx wire I saw the voltage was 3.6V. I know the ESP needs a 3.3V supply, and I've been careful not to diverge from that, but does the same go for UART pins, or is 3.6V normal?
User avatar
By Alex P
#50680 Here is the upload verbose:

esptool v0.4.9 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to ck
setting baudrate from 115200 to 115200
setting port from COM1 to COM12
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
espcomm_upload_mem
setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed