# Flash firmware

URL: https://docs.assistantcore.com/en/devices/flash-firmware

Install Assistant Core firmware on an ESP32 board from Chrome or Edge, then connect the device to Wi-Fi.

Flash Assistant Core firmware onto a supported ESP32 board straight from this page, then connect the board to Wi-Fi so it can show its activation code.

## Before you start [#before-you-start]

- A computer running **Google Chrome** or **Microsoft Edge** version 89 or later. Flashing uses the Web Serial API, which Safari, Firefox, and mobile browsers do not support.
- A USB cable that carries **data**, not a charge-only cable.
- The USB-to-serial driver for your board if your computer does not see it: **CP210x** (Silicon Labs) or **CH340/CH343** (WCH). The flasher's troubleshooting panel links to both.
- A **2.4 GHz** Wi-Fi network. The boards cannot join 5 GHz networks.

## Choose your device [#choose-your-device]

<SupportedDevicesCatalog headingLevel={3} />

If you have your own `.bin` file instead, use [Flash custom firmware](/en/devices/custom-flash).

## Flash the board [#flash-the-board]

1. Connect the board to your computer with the USB cable.
2. In the device card above, click **Flash to Device**. The panel shows the firmware version it will install.
3. Click **Connect Device** and choose the board's serial port in the browser prompt.
4. Optional: click **Erase Flash** first if a previous install failed or you want a clean start. This also deletes the saved Wi-Fi network.
5. Click **Flash Firmware** and keep the cable connected until you see **Firmware flashed successfully!**

The board restarts on its own. If the screen stays blank, press the **RST** (Reset) button.

## Connect the device to Wi-Fi [#connect-the-device-to-wi-fi]

A freshly flashed device has no Wi-Fi saved, so it starts its setup hotspot.

1. On your phone or computer, join the Wi-Fi network named `AssistantCore-XXXX` (the last four characters come from the device).
2. The setup page usually opens by itself. If it does not, open `http://192.168.4.1` in a browser.
3. Select your 2.4 GHz network, enter its password, and click **Connect Now**.

When the device is online it shows a 6-digit activation code and reads it aloud. Continue with [Register a device](/en/devices/register-device) within 5 minutes, before the code expires.

<Callout type="idea">
To change Wi-Fi later, restart the device and press the **BOOT** button while it is starting up. It returns to the setup hotspot.
</Callout>

## Troubleshooting [#troubleshooting]

<Accordions>
<Accordion title="The browser shows no serial port">
Check that the cable carries data and is plugged into this computer, install the CP210x or CH340 driver, then try again. If it is still missing, hold **BOOT**, press and release **RST**, release **BOOT**, and click **Connect Device** again.
</Accordion>

<Accordion title="Chip mismatch warning">
The board you connected is not the chip the firmware was built for. Check that you picked the right device card.
</Accordion>

<Accordion title="No firmware available for board">
No release is published for that board yet. Try again later or choose another device.
</Accordion>

<Accordion title="The device never shows an activation code">
Make sure it joined a 2.4 GHz network and that the network can reach the internet. See [Configure the OTA URL](/en/devices/configure-ota-url) if you built your own firmware.
</Accordion>
</Accordions>

<Cards>
<Card title="Register a device" href="/en/devices/register-device" description="Link the device to an assistant with its activation code." />

<Card title="Supported devices" href="/en/devices/supported-boards" description="Specifications of each supported board." />
</Cards>