Error "53" while flashing ESP32

alain_kovacs2007
Posts: 2
Joined: Fri May 19, 2017 5:18 pm

Error "53" while flashing ESP32

Postby alain_kovacs2007 » Fri May 19, 2017 5:21 pm

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

ESP_Sprite
Posts: 9833
Joined: Thu Nov 26, 2015 4:08 am

Re: Error "53" while flashing ESP32

Postby ESP_Sprite » Sat May 20, 2017 10:15 am

What hardware and OS are you using?

alain_kovacs2007
Posts: 2
Joined: Fri May 19, 2017 5:18 pm

Re: Error "53" while flashing ESP32

Postby alain_kovacs2007 » Sat May 20, 2017 11:22 pm

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..

ESP_Sprite
Posts: 9833
Joined: Thu Nov 26, 2015 4:08 am

Re: Error "53" while flashing ESP32

Postby ESP_Sprite » Sun May 21, 2017 5:12 am

Hmm, maybe a bad connection or a slightly instable driver then... Glad you got it solved, anyway.

Who is online

Users browsing this forum: No registered users and 139 guests