Flashing a voice device from a PC over USB
AI-generated illustration. It does not depict an actual product, screen or verified operation.

Connect the PC and device over USB and transfer the built firmware with the appropriate flashing tool. This guide covers ordinary USB/serial flashing for ESP32-S3, using Windows examples. AI voice devices and radios both require firmware for the exact hardware and the correct file addresses. The same chip name does not imply the same display, audio circuit, memory or wiring.

These are general instructions based on Espressif documentation, not a report of testing on a specific device or delivery package. Follow the manufacturer and firmware provider first. Devices using Secure Boot or Flash Encryption require their dedicated procedures.

1. Choose the method for your files

What you haveWhat to do
Built project and its ESP-IDF environmentUse method A
Complete binaries and flash_args from the same buildUse method B
Merged .bin and the provider’s commandUse the specified file, starting address and options
Only an application .bin, or unknown addressesAsk the provider for the complete first-flash files and addresses

A file named firmware.bin is not necessarily written at address zero. Distinguish an application binary, merged image and OTA update file. Do not copy another device’s addresses. ESP-IDF displays the flashing command after a build; use that output and the argument file from the same build. Espressif: flashing built firmware.

2. Prepare files and a recovery route

Prepare firmware for the exact model and revision, a PC and USB data cable, the specified tool version, and the original firmware, recovery instructions and settings backup if needed. Flashing replaces software and may erase settings or data. Check the provider’s backup procedure first.

Extract the ZIP, verify any supplied SHA-256 checksum, preserve folder structure and do not mix builds. The tool erases the regions it writes. A full erase is not a routine first step. Perform it only when specifically required, after checking data loss and recovery. Espressif: writing and erasing.

3. Connect USB and identify the port

  1. Find the correct flashing connector in the device instructions. Multiple connectors may have different power, USB or UART roles.
  2. Use a USB data cable.
  3. On Windows, check Device Manager and “Ports (COM & LPT)”. Compare before and after connecting.
  4. Close serial monitors or other programs using the same port.

The examples use COM5: replace it with your device’s port. macOS often uses /dev/cu.usbmodem… or /dev/cu.usbserial…; Linux may use /dev/ttyACM0 or /dev/ttyUSB0. If no port appears, check cable, connector and power. Install only the driver specified for the board’s USB-UART chip if needed. Native USB and USB-UART boards connect differently. Espressif: serial connection.

4. Method A: use the original ESP-IDF build environment

Open the same ESP-IDF terminal used for the successful build and change to the project root. This is an example path:

cd C:\work\my-firmware
idf.py -p COM5 flash

The flash command can rebuild if necessary. Keep the original target and configuration. To flash supplied binaries without rebuilding, use method B instead. Do not disconnect during transfer. Check for successful completion, then inspect startup logs:

idf.py -p COM5 monitor

Usually Ctrl + ] exits the monitor. Close it before flashing again. If the USB mode changes the port number, use the new number. This method is for ESP-IDF projects; Arduino and PlatformIO projects need their own build and delivery procedures. Espressif: build and flash.

5. Method B: flash a complete binary package with esptool

Source code is not required if you have all files from the same build and correct flashing instructions. An ESP-IDF package may look like this:

build/
  flash_args
  bootloader/
    bootloader.bin
  partition_table/
    partition-table.bin
  application.bin
  (other files required by this build)

The application name is illustrative. Keep the actual filenames specified in flash_args and check that every referenced file exists and matches the target device.

Use the provider’s tool version. The following Windows PowerShell example assumes Python 3.10 or later and esptool 5 when no version is specified. Create a separate flashing environment rather than upgrading the esptool bundled with ESP-IDF. Replace the folder with your actual extraction folder containing flash_args:

cd C:\firmware\build
py -3 -m venv .flash-venv
.\.flash-venv\Scripts\python.exe -m pip install "esptool>=5,<6"
.\.flash-venv\Scripts\python.exe -m esptool version

If py is missing, check the Python installation and command name. If python starts a supported version, replace py -3 with python. Espressif: installation.

Run this from the same folder, replacing COM5:

.\.flash-venv\Scripts\python.exe -m esptool --chip esp32s3 --port COM5 --baud 115200 write-flash "@flash_args"

The quoted @flash_args loads that file’s settings, addresses and filenames. Keep the quotes in PowerShell. This example uses 115200 baud; the provider’s command and connection options take precedence. On macOS/Linux, change the executable path and port; the virtual-environment Python is usually .flash-venv/bin/python. Do not run the Windows path unchanged.

Older esptool versions may use write_flash. Match the tool and command versions. If flash_args is missing or you only have a merged image, ask for the provider’s starting address and command instead of applying this example unchanged.

6. If connection stalls, check boot mode

Some boards require manual download mode. A common sequence on boards with BOOT and RESET/EN is:

  1. Hold BOOT.
  2. Press and release RESET/EN once.
  3. Release BOOT.
  4. Recheck the port and run the flashing command.

Follow the manufacturer if buttons or timing differ. Never guess pins to short together. After manual download mode, a reset or power cycle may be needed to start the program.

7. Verify transfer and actual operation separately

Check completion and verification messages and ensure there are no errors. Successful transfer alone does not prove every function works. Restart and check the expected firmware/version, screen and startup logs; look for repeated resets. Check display, buttons, volume and speaker. Follow network setup instructions. For AI, check input, spoken response and service settings; for radio, verify agreed stations and controls.

AI conversation connects to the HIQOO service, which includes 30 minutes of talk time a month. Follow the delivery instructions to connect after flashing.

8. Troubleshooting order

SymptomCheck first
No COM portData cable, flashing connector, driver and boot mode
Port cannot openAnother monitor, changed port number; device access permissions on Linux
Connection stallsCorrect port, BOOT procedure and stable power
Transfer fails midwayCable and power; reduce a high speed only following provider guidance
Missing fileWorking folder, paths in flash_args and complete extraction
Chip/image mismatchCorrect ESP32-S3 and target device; do not bypass with force flashing
Flash succeeds but boot failsLogs, hardware/memory configuration, required files, addresses and reset method

If unresolved, collect model/revision, firmware version, PC OS, tool version, command and error. Remove Wi-Fi passwords, API keys and authentication tokens from logs before sharing. Espressif: troubleshooting.

If you have not chosen hardware, start with the AI preparation guide or radio preparation guide. Formal ordering is still being prepared. The requirements sheet is a local draft, not a submission or order. After flashing, follow Wi-Fi and startup checks and your device-specific delivery instructions.