Code: Select all
$ esptool.py --port /dev/ttyUSB0 --baud 115200 flash_id
esptool.py v3.3
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: c8:c9:a3:6b:3b:9a
Uploading stub...
Running stub...
Stub running...
Manufacturer: ef
Device: 4016
Detected flash size: 4MB
Hard resetting via RTS pin...
$
$ esptool.py --port /dev/ttyUSB0 --baud 115200 erase_flash
Code: Select all
$ esptool --port /dev/ttyUSB0 write_flash --flash_mode dout --flash_freq 26m --flash_size 4MB 0x8000 partition_table/partition-table.bin 0x9000 ota_data_initial.bin 0x0 bootloader/bootloader.bin 0x10000 esp-at.bin 0xF0000 at_customize.bin 0xFC000 customized_partitions/client_ca.bin 0x106000 customized_partitions/mqtt_key.bin 0x104000 customized_partitions/mqtt_cert.bin 0x108000 customized_partitions/mqtt_ca.bin 0xF1000 customized_partitions/factory_param.bin 0xF8000 customized_partitions/client_cert.bin 0xFA000 customized_partitions/client_key.bin
Nicer view:
Code: Select all
$ esptool --port /dev/ttyUSB0 write_flash --flash_mode dout --flash_freq 26m --flash_size 4MB
0x8000 partition_table/partition-table.bin
0x9000 ota_data_initial.bin
0x0 bootloader/bootloader.bin
0x10000 esp-at.bin
0xF0000 at_customize.bin
0xFC000 customized_partitions/client_ca.bin
0x106000 customized_partitions/mqtt_key.bin
0x104000 customized_partitions/mqtt_cert.bin
0x108000 customized_partitions/mqtt_ca.bin
0xF1000 customized_partitions/factory_param.bin
0xF8000 customized_partitions/client_cert.bin
0xFA000 customized_partitions/client_key.bin
Code: Select all
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x40100000, len 6960, room 16
tail 0
chksum 0x4f
load 0x3ffe8008, len 24, room 8
tail 0
chksum 0xc6
load 0x3ffe8020, len 3196, room 8
tail 4
chksum 0x03
csum 0x03
csum err
ets_main.c