I am trying to flash the ESP but I get the following error. I really don't know what it could be.. I've tried to search it on Google but I can't find anything about it.. Could anybody help me?
Code: Select all
LD hello-world.elf
esptool.py v2.0-beta3
Flashing binaries to serial port COM3 (app at offset 0x10000)...
esptool.py v2.0-beta3
Connecting........_
Uploading stub...
Traceback (most recent call last):
File "C:/msys32/home/Alain/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 2349, in <module>
_main()
File "C:/msys32/home/Alain/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 2342, in _main
main()
File "C:/msys32/home/Alain/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 2076, in main
esp = esp.run_stub()
File "C:/msys32/home/Alain/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 455, in run_stub
self.mem_block(stub[field][from_offs:to_offs], seq)
File "C:/msys32/home/Alain/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 382, in mem_block
self.checksum(data))
File "C:/msys32/home/Alain/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 256, in check_command
val, data = self.command(op, data, chk)
File "C:/msys32/home/Alain/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 227, in command
self.write(pkt)
File "C:/msys32/home/Alain/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 210, in write
self._port.write(buf)
File "C:/msys32/mingw32/lib/python2.7/site-packages/serial/serialwin32.py", line 323, in write
raise writeTimeoutError
serial.serialutil.SerialTimeoutException: Write timeout
make: *** [/home/Alain/esp/esp-idf/components/esptool_py/Makefile.projbuild:53: flash] Error 1