Re: esptool.py: Exception('Invalid head of packet')
Posted:
Fri Oct 23, 2015 2:54 pm
by EdOsgood
After much testing I find that FTDI boards are unavailable. Have two that quite working.
Now using Ch340 or CP2102. Both work fine.
Re: esptool.py: Exception('Invalid head of packet')
Posted:
Tue Nov 24, 2015 5:39 am
by desertwalker66
Hello Everyone,
I too was having this issue, but found an answer from another post on this forum by mr Morse.
Navigate to your esptool.py file and open it up with your editor ( I used vim, as I am using the terminal on my Mac).
you will see 2 lines
Line 43 ESP RAM BLOCK =0x1800 //change this to 180
Line 44 ESP RAM BLOCK =0x400 //change this to 40
save the file, and try again.
This worked for me today. Spent hours trying to get it to work, edited the file as described and presto, first time.
Hope this helps...
Re: esptool.py: Exception('Invalid head of packet')
Posted:
Mon Jan 11, 2016 3:28 pm
by abhishekborar
Hello,
Solved the issue by flashing using the
NodeMCU Flasher utility instead
In the config tab set 0x00000.bin to 0x00000 and 0x40000.bin to 0x40000
The *.bin are compiled binaries of the firmware
After a successful flash, the esptool flasher works normally
Re: esptool.py: Exception('Invalid head of packet')
Posted:
Wed Feb 17, 2016 6:59 am
by kmakhil
Same problem...
give me any solution...