-->
Page 1 of 1

NodeMCU won't flash with pyFlasher

PostPosted: Wed Sep 12, 2018 12:36 am
by Zeni
I am trying to flash custom firmware build and downloaded from https://nodemcu-build.com/, using PyFlasher by Marcel Stör. I am using Lolin NodeMCU V3.
Problem is PyFlasher get stuck after a few lines in console. I waited for hour but nothing happens.
I tried changing the USB port of laptop the NodeMCU is connected, changed cable, changed baud rates, tried both options “Erase Flash” from ‘yes’ and ‘no’, but no success.
How to get out of this?

Re: NodeMCU won't flash with pyFlasher

PostPosted: Wed Sep 12, 2018 11:31 am
by Zeni
Code: Select allPS D:\PiArduino\esptools> esptool.py --port COM5 --baud 9600 erase_flash
esptool.py v2.5.0
Serial port COM5
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
MAC: 84:f3:xx:bx:xx:xx
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...

A fatal error occurred: Timed out waiting for packet content


I get this when try to erase using pytool.

Re: NodeMCU won't flash with pyFlasher

PostPosted: Thu Sep 13, 2018 2:04 am
by marcelstoer
The PyFlasher is just a GUI on top of esptool.py. I see you already created https://github.com/espressif/esptool/issues/359

Re: NodeMCU won't flash with pyFlasher

PostPosted: Thu Sep 13, 2018 8:32 am
by Zeni
My NodeMCU dev kit has some hardware problem (so I guess as exactly same kind of dev kit is working fine.).