CHERTS / esp8266-devkit

Unofficial Development Kit for Espressif ESP8266
http://www.programs74.ru
GNU General Public License v3.0
261 stars 100 forks source link

Flashing fails against the new esptool #42

Closed kerpz closed 7 years ago

kerpz commented 7 years ago

eclipse console log

07:13:50 **** Build of configuration Default for project esp8266-core ****
mingw32-make.exe -f C:/Backup/GitHub/esp8266-devkit/Espressif/examples/ESP8266/esp8266-core/Makefile flash 
c:/Espressif/utils/ESP8266/esptool.exe -p COM3 -b 256000 write_flash -ff 40m -fm qio -fs 32m-c1 0x01000 firmware/upgrade/user1.4096.new.6.bin
WARNING: Flash size arguments in megabits like '32m-c1' are deprecated.
Please use the equivalent size '4MB-c1'.
Megabit arguments may be removed in a future release.
esptool.py v2.0.0
Connecting....
Detecting chip type... ESP8266
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 256000
Changed.
Attaching SPI flash...

A fatal error occurred: Invalid head of packet ('\x80')
../common_nonos.mk:315: recipe for target 'flash' failed
mingw32-make.exe: *** [flash] Error 2

07:13:52 Build Finished (took 2s.0ms)
CHERTS commented 7 years ago

Fixed flash size arguments in megabits, see commit https://github.com/CHERTS/esp8266-devkit/commit/c76b96b07bac75c3bf16d90d639cad2494d8bee0