Re: Flashing fw stops after 20 seconds
Posted:
Sat Jun 20, 2015 10:19 am
by shuntera
Mr.Morse wrote:- Edit esptool.py so that:
ESP_RAM_BLOCK = 0x180
ESP_FLASH_BLOCK = 0x40
This worked for me on my Mac, thanks very much.
Re: Flashing fw stops after 20 seconds
Posted:
Sat Jun 20, 2015 11:59 pm
by tytower
Man that system sounds complicated . Move to Arduino IDE its just so much simpler!
Re: Flashing fw stops after 20 seconds
Posted:
Thu Jul 09, 2015 6:06 am
by pkerney
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.
Re: Flashing fw stops after 20 seconds
Posted:
Mon Aug 17, 2015 12:29 pm
by pietrushnic
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 ?