ESPTOOL : 도스용 Esptool 프로그램 (ESP8266, ESP32 firmware, 메모리 관리)

ESPRESSIF|2021. 6. 18. 11:48

ESPTOOL.exe V3 Dev : 도스용 Esptool 프로그램

아래에서 다운 가능합니다. 이 프로그램은 esptool.py를 실행 파일로 만든 것으로, DOS용 프로그램입니다.

esptool.py와 동일하게 동작이 가능하며, python설치 없이 사용 가능합니다. 

 

esptool3.0dev.zip
3.27MB

 

사용 방법은 아래 참고 바랍니다.

https://github.com/espressif/esptool

 

espressif/esptool

Espressif SoC serial bootloader utility. Contribute to espressif/esptool development by creating an account on GitHub.

github.com

 

간단한 사용법은 아래와 같습니다.

1) MAC address read : 

esptool.exe --chip auto --port COM21  read_mac

 

2) Firmware 다운로드 

esptool.exe --chip esp32 --port com21 --baud 1152000 --before default_reset write_flash --flash_mode dio --flash_size 4MB --flash_freq 40m 0x0 firmware.bin

 

3) Help 

 

D:\ESP-Study>esptool -h
usage: esptool [-h] [--chip {auto,esp8266,esp32,esp32s2}] [--port PORT]
               [--baud BAUD]
               [--before {default_reset,no_reset,no_reset_no_sync}]
               [--after {hard_reset,soft_reset,no_reset}] [--no-stub]
               [--trace] [--override-vddsdio [{1.8V,1.9V,OFF}]]
               [--connect-attempts CONNECT_ATTEMPTS]
               {load_ram,dump_mem,read_mem,write_mem,write_flash,run,image_info,make_image,elf2image,read_mac,chip_id,flash_id,read_flash_status,write_flash_status,read_flash,verify_flash,erase_flash,erase_region,version,get_security_info}
               ...

esptool.py v3.0-dev - ESP8266 ROM Bootloader Utility

positional arguments:
  {load_ram,dump_mem,read_mem,write_mem,write_flash,run,image_info,make_image,elf2image,read_mac,chip_id,flash_id,read_flash_status,write_flash_status,read_flash,verify_flash,erase_flash,erase_region,version,get_security_info}
                        Run esptool {command} -h for additional help
    load_ram            Download an image to RAM and execute
    dump_mem            Dump arbitrary memory to disk
    read_mem            Read arbitrary memory location
    write_mem           Read-modify-write to arbitrary memory location
    write_flash         Write a binary blob to flash
    run                 Run application code in flash
    image_info          Dump headers from an application image
    make_image          Create an application image from binary files
    elf2image           Create an application image from ELF file
    read_mac            Read MAC address from OTP ROM
    chip_id             Read Chip ID from OTP ROM
    flash_id            Read SPI flash manufacturer and device ID
    read_flash_status   Read SPI flash status register
    write_flash_status  Write SPI flash status register
    read_flash          Read SPI flash content
    verify_flash        Verify a binary blob against flash
    erase_flash         Perform Chip Erase on SPI flash
    erase_region        Erase a region of the flash
    version             Print esptool version
    get_security_info   Get some security-related data

optional arguments:
  -h, --help            show this help message and exit
  --chip {auto,esp8266,esp32,esp32s2}, -c {auto,esp8266,esp32,esp32s2}
                        Target chip type
  --port PORT, -p PORT  Serial port device
  --baud BAUD, -b BAUD  Serial port baud rate used when flashing/reading
  --before {default_reset,no_reset,no_reset_no_sync}
                        What to do before connecting to the chip
  --after {hard_reset,soft_reset,no_reset}, -a {hard_reset,soft_reset,no_reset}
                        What to do after esptool.py is finished
  --no-stub             Disable launching the flasher stub, only talk to ROM
                        bootloader. Some features will not be available.
  --trace, -t           Enable trace-level output of esptool.py interactions.
  --override-vddsdio [{1.8V,1.9V,OFF}]
                        Override ESP32 VDDSDIO internal voltage regulator (use
                        with care)
  --connect-attempts CONNECT_ATTEMPTS
                        Number of attempts to connect, negative or 0 for
                        infinite. Default: 7.