User Tools

Site Tools


esp:esp32:commands

This is an old revision of the document!


Usefull Commands


Common commands

idf.py --version
idf.py help
idf.py fullclean
idf.py menuconfig
idf.py build

Full Flash

idf.py -p /dev/ttyACM0 flash
python -m esptool --chip esp32c3 -p /dev/ttyACM0 -b 460800 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_size 4MB --flash_freq 80m 0x0 build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin 0xd000 build/ota_data_initial.bin 0x10000 build/LCR-Meter.bin 0x250000 default.config

Write Application to partition

python -m esptool --chip esp32c3 -p /dev/ttyACM0 -b 460800 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_size 4MB --flash_freq 80m 0x10000 build/ESR-Meter.bin

Read/Write config partition

Write Config to partition

esptool.py --port /dev/ttyACM0  write_flash --flash_mode qio  0x250000 default.config

Read CONFIG from partition

esptool.py --port /dev/ttyACM0 -b 460800 --before default_reset --chip esp32c3  read_flash 0x250000 4096 downloaded.config
esp/esp32/commands.1744651060.txt.gz · Last modified: by oscar