Page 1 of 1

Error "53" while flashing ESP32

Posted: Fri May 19, 2017 5:21 pm
by alain_kovacs2007
Hello

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

Re: Error "53" while flashing ESP32

Posted: Sat May 20, 2017 10:15 am
by ESP_Sprite
What hardware and OS are you using?

Re: Error "53" while flashing ESP32

Posted: Sat May 20, 2017 11:22 pm
by alain_kovacs2007
I have actually solved the problem, somehow. I restarted my laptop and changed the usb port and it just worked.. I don't know what could have been the problem but whatever..

If you're referring to my laptop setup then I'm using win 10 Edu, hardware: HP laptop, i7, 8Gb ram..

Re: Error "53" while flashing ESP32

Posted: Sun May 21, 2017 5:12 am
by ESP_Sprite
Hmm, maybe a bad connection or a slightly instable driver then... Glad you got it solved, anyway.