> For the complete documentation index, see [llms.txt](https://www.opal-rt.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.opal-rt.com/docs/op8666/operational-information/load-an-.hex-file-into-the-op8666.md).

# Load an .hex File Into The OP8666

UniFlash is used to **load** (or **flash**) image files, like an **.hex** file, into the controller.

{% hint style="info" %}
UniFlash v7.2.0 is used as an illustration on this page.
{% endhint %}

The steps required to flash an **.hex** file of a controller **model** on the OP8666 are as follows:

* Connect the **OP8666** to the **host computer** via the **ICP** **connection** port in the **front panel**.
* Open UniFlash. A similar screen is displayed. You should see **your device detected** by UniFlash.

<figure><img src="https://1188700823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqSz7qPxQbRFCsCnF5Xtl%2Fuploads%2FpxwAv1L6h1RyCe8RtduZ%2Fimage.png?alt=media&amp;token=ed830c19-1457-4817-a2ce-030a347f68f7" alt="" width="563"><figcaption></figcaption></figure>

* **Select** the **appropriate TI Controller,** i.e., **LAUNCHXL-F28379D** for the OP8666.

<figure><img src="https://1188700823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqSz7qPxQbRFCsCnF5Xtl%2Fuploads%2FPpA48yqLSvvVcqIpqs2G%2Fimage.png?alt=media&amp;token=b796fca9-e51a-4bc6-acb8-f7ac755b41e1" alt="" width="456"><figcaption></figcaption></figure>

* After selecting the controller, **click** on **Start**.

<figure><img src="https://1188700823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqSz7qPxQbRFCsCnF5Xtl%2Fuploads%2FzXAJsH301b7L5amUiJZX%2Fimage.png?alt=media&amp;token=98304e97-951e-42bd-b589-4ba8c7d1a87e" alt="" width="563"><figcaption></figcaption></figure>

* **Browse the .hex file** of the controller model to be loaded, i.e., “DC-Motor-ExtCrt-20230322.hex” in this **example**.

<figure><img src="https://1188700823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqSz7qPxQbRFCsCnF5Xtl%2Fuploads%2FUA31QZWylp78sGbhB8rt%2Fimage.png?alt=media&amp;token=a730b339-7c1d-4593-b1db-dc0dadd2f0b8" alt="" width="563"><figcaption></figcaption></figure>

* **Click** on **Load Image** to load the selected file on the controller module.

<figure><img src="https://1188700823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqSz7qPxQbRFCsCnF5Xtl%2Fuploads%2Fjhd3VkByJkuCoMPG7feF%2Fimage.png?alt=media&amp;token=8fb84c9e-30e0-41d2-8030-db0df4cab9a9" alt="" width="563"><figcaption></figcaption></figure>

* **If loaded successfully**, a **success message** will be displayed.

<figure><img src="https://1188700823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqSz7qPxQbRFCsCnF5Xtl%2Fuploads%2FT8svnFoSU0qC2ktZvJTM%2Fimage.png?alt=media&amp;token=09235820-ecdf-48fc-8b5c-4d65b174da40" alt="" width="528"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.opal-rt.com/docs/op8666/operational-information/load-an-.hex-file-into-the-op8666.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
