esptool skrypt do ESP8266

W sumie za nim użyłem narzędzi graficznych do zabawy z ESP8266 korzystałem z esptool. Kilka przykładów użycia:

~$ esptool --chip auto --port /dev/ttyUSB0 --baud 115200 flash_id
esptool.py v2.1
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266
Enabling default SPI flash mode...
Manufacturer: 20
Device: 4016
Detected flash size: 4MB
Hard resetting...

~$ esptool --chip auto --port /dev/ttyUSB0 --baud 115200 chip_id
esptool.py v2.1
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266
Enabling default SPI flash mode...
Chip ID: 0x00c3079d
Hard resetting...

Pierwsze próby wgrywania firmware-u:

~$ esptool --port /dev/ttyUSB0 write_flash -ff 40m -fm dio -fs 4MB 0x00000 ../boot_v1.2.bin 0x01000 512+512/user1.1024.new.2.bin 0xfc000 ../esp_init_data_default_v05.bin 0x7e000 ../blank.bin 0xfe000 ../blank.bin 

~$ esptool --port /dev/ttyUSB0 write_flash -ff 40m -fm qio -fs 4MB 0x00000 ../boot_v1.2.bin 0x01000 512+512/user1.1024.new.2.bin 0xfc000 ../esp_init_data_default_v05.bin 0x7e000 ../blank.bin 0xfe000 ../blank.bin 


Komentarze