Chat freely about anything...

User avatar
By Mr.Morse
#16043 After a bit more digging I tried to change the esptool.py file to these values.
ESP_RAM_BLOCK = 0x180
ESP_FLASH_BLOCK = 0x40
Tried to flash it with latest nodemcu and it got stuck at 2%..... but I tried it again and lucky me, it worked!
Uploaded the pin lua example and it also worked!
So if anybody has the same problem try changing the esptool.py and flash several times.
However my other two esp8266 esp01 won't flash to 100%. Tried several different .bin files and reaches between 2% - 79%.
User avatar
By Mr.Morse
#16082 This is what I did to flash my ESP8266 - 01 from my windows pc
- Wire it up like this
- Install python 2.7 download here
- Install pyserial download here
- Download to the esptool.py from here save it in the pyton installation folder
- Download nodemcu_latest.bin from here and save it in the python installation folder

- Edit esptool.py so that:
ESP_RAM_BLOCK = 0x180
ESP_FLASH_BLOCK = 0x40


- Open cmd and go to the python folder and type in this (change the COM7 to whatever your FTDI is)
esptool.py -p COM7 write_flash 0x000000 nodemcu_latest.bin