I have problem with uploading test project to ESP. When I execute that command:
Code: Select all
./esptool32.py -p /dev/ttyUSB0 -b 115200 write_flash -ff 40m -fm qio -fs 2m 0x0 boot.bin 0x04000 irom1.bin 0x40000 irom0_flash.bin 0xFC000 blank.bin
Code: Select all
Connecting...
Erasing flash...
Erase size 1800 num_blocks 6 offset 0
Traceback (most recent call last):
File "./esptool32.py", line 611, in <module>
esp.flash_begin(blocks*esp.ESP_FLASH_BLOCK, address)
File "./esptool32.py", line 229, in flash_begin
struct.pack('<IIII', erase_size, num_blocks, ESPROM.ESP_FLASH_BLOCK, offset))
File "./esptool32.py", line 121, in command
raise Exception('Invalid head of packet')
Exception: Invalid head of packet
Thanks for help!