# Flashing Firmware

(ota)=
## OTA Process

1. Press and hold the micro switch on the side of the head tracker. Release it after the light turns on to enter OTA mode.

```{image} ../../_static/OTA_entry.png
:alt: OTA_entry
:class: bg-primary
:width: 80%
:align: center
```

2. On your computer, connect to the WiFi network named "**HeadTracker_OTA**" using the password "**123456789**".

```{image} ../../_static/OTA_wifi.png
:alt: OTA_wifi
:class: bg-primary
:width: 80%
:align: center
```

3. Open a browser and enter "**192.168.4.1**" in the address bar to access the OTA page.
4. Click "**Choose a firmware**" and select the firmware you want to upgrade in the pop-up window.
5. Click "**Upload**" to upload the firmware.

```{image} ../../_static/OTA_html.png
:alt: OTA_html
:class: bg-primary
:width: 80%
:align: center
```

6. Wait for the upload progress bar to complete. The following message indicates that the OTA was successful.

```{image} ../../_static/OTA_success.png
:alt: OTA_success
:class: bg-primary
:width: 60%
:align: center
```