hckweb / ESP32-Cheatsheet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESP32 Cheatsheet

Writing Flash

Single Writing Flash

.\esptool.exe --port COM23 write_flash 0x00000 flash_ok_empty.bin

Multiple Writing Flash

.\esptool.exe --port COM23 write_flash 0x10000 firmware.bin 0x910000 spiffs.bin

Reading Flash

.\esptool.exe -p COM23 -b 460800 read_flash 0 0x1000000 flash_ok_empty.bin

Core Dump

Read coredump partition. Offset: 1114112 Size: 65536

esptool.py --port /dev/ttyUSB0 read_flash 1114112 65536 core.bin

Print Core Dump

espcoredump.py info_corefile -t raw -c core.bin build/download-file.elf

About