esp:esp32:flash-commands
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| esp:esp32:flash-commands [2026/08/29 13:24] – [Flash Application Partition] oscar | esp:esp32:flash-commands [2026/12/01 04:49] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Flash Commands ====== | ||
| - | |||
| - | ---- | ||
| - | ===== Core tools ===== | ||
| - | Esp-idf commands can be executed using: | ||
| - | * **python**, Located in: /// | ||
| - | * **idf.py**, Located in: /// | ||
| - | * **esptool.py**, | ||
| - | |||
| - | **idf.py** to be invoked as: | ||
| - | < | ||
| - | $ idf.py < | ||
| - | </ | ||
| - | |||
| - | **esptool.py** can be invoked in different ways: | ||
| - | < | ||
| - | $ esptool < | ||
| - | $ python -m esptool < | ||
| - | </ | ||
| - | |||
| - | ===== Full Flash ===== | ||
| - | < | ||
| - | idf.py -p / | ||
| - | python -m esptool --chip esp32c3 -p / | ||
| - | </ | ||
| - | ===== Flash Application Partition ===== | ||
| - | Use following examples to write to flash: | ||
| - | < | ||
| - | esptool.py -chip esp32c3 -p / | ||
| - | |||
| - | python -m esptool --chip esp32c3 -p / | ||
| - | |||
| - | python ../ | ||
| - | </ | ||
| - | |||
| - | Where parameters are: | ||
| - | * write_flash | ||
| - | * -chip esp32c3 | ||
| - | * -p / | ||
| - | * -b 460800 | ||
| - | * --before default_reset | ||
| - | * --after hard_reset | ||
| - | * --flash_mode dio | ||
| - | * --flash_size 4MB or --flash_size detect | ||
| - | * --flash_freq 80m or 40m | ||
| - | * 0x10000 build/ | ||
| - | ===== Flash Config Partition ===== | ||
| - | === Write Config to partition === | ||
| - | esptool.py --port / | ||
| - | === Read CONFIG from partition === | ||
| - | esptool.py --port / | ||
| - | |||
| - | |||
esp/esp32/flash-commands.1788009845.txt.gz · Last modified: by oscar
