https://github.com/nodemcu/nodemcu-flasher
I did exactly what was written in the documentation. I am using ESP-01 with EN pulled HIGH. I first used the default settings and it worked fine but the nodemcu firmware was old (0.9.5)
To upgrade the firmware I burned the downloaded firmware at 0x00000 and init data at 0x7c000 and spi mode QIO. But after burning I am unable to upload any code to the module. The code always times out. Also it prints out garbage value when I reset. However the command from the serial works fine.
When I try to format the file system it says
*** ERROR ***: unable to format. FS might be compromised.
It is advised to re-flash the NodeMCU image.
stdin:1: Failed to format file system
stack traceback:
[C]: in function 'format'
stdin:1: in main chunk
Can anybody please help me out.