esptool_command
Inspect ESP8266/ESP32 chips, read MAC addresses, erase flash, and write raw binary firmware over a serial port.
Instructions
Run esptool directly to inspect ESP8266/ESP32 chips, read MAC, erase flash, or write raw binary firmware.
Args: operation: 'chip_id', 'flash_id', 'read_mac', 'erase_flash', or 'write_flash'. port: Serial port (e.g., '/dev/ttyUSB0'). baudrate: Baud rate for flashing (default 460800). chip: Target chip ('auto', 'esp32', 'esp32s3', 'esp32c3', 'esp8266', etc.). flash_offset: Hex address offset when operation='write_flash' (e.g., '0x10000' or '0x0'). binary_path: Path to .bin file when operation='write_flash'. extra_args: Additional arguments passed to esptool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chip | No | auto | |
| port | No | ||
| baudrate | No | ||
| operation | No | chip_id | |
| extra_args | No | ||
| binary_path | No | ||
| flash_offset | No | 0x0 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||