User Tools

Site Tools


esp:esp32:commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
esp:esp32:commands [2025/04/14 17:17] oscaresp:esp32:commands [2025/04/14 17:48] (current) oscar
Line 2: Line 2:
  
 ---- ----
 +===== Core tools =====
 +Esp-idf commands can be executed using:
 +  * **idf.py**, Located in: ///esp32/esp-idf/tools/idf.py//
 +  * **python**, Located in: ///esp32/idf-tools/python_env/idf5.2_py3.11_env/bin/python//
 +  * **esptool.py**, Located in: ///esp32/idf-tools/python_env/idf5.2_py3.11_env/bin/esptool.py//
  
 ===== Common commands ===== ===== Common commands =====
Line 16: Line 21:
 ===== Write Application to partition ===== ===== 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   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
 +  python ../../esp-idf/components/esptool_py/esptool/esptool.py -p /dev/ttyUSB0 -b 460800 --before default_reset --after hard_reset --chip esp32  write_flash --flash_mode dio --flash_size detect --flash_freq 40m 0x00130000 build/thermometer.bin
  
 ===== Read/Write config partition ===== ===== Read/Write config partition =====
esp/esp32/commands.1744651060.txt.gz · Last modified: by oscar