Chat freely about anything...

User avatar
By pkerney
#22828 I have been banging my head against this issue for nearly a week and there is so much information and speculation on this "Invalid head of packet" issue.
I was thinking it was the FTDI USB-RS232 module I was using. I had marginally more success with one module that another one but they were both very intermittent.
This modification to the esptool.py script worked instantly! 100% written.
Now comes the hard part, do something with the ESP.
User avatar
By pietrushnic
#26280
Mr.Morse wrote:This is what I did to flash my ESP8266 - 01 from my windows pc
- Edit esptool.py so that:
ESP_RAM_BLOCK = 0x180
ESP_FLASH_BLOCK = 0x40

esptool.py -p COM7 write_flash 0x000000 nodemcu_latest.bin


+1

I didn't have to change ESP_FLASH_BLOCK. Changing ESP_RAM_BLOCK fixed issue.
Any reasonable explanation why changing ESP_RAM_BLOCK works ?