# Using OTA update

## **1. Overview**

* This section will be used to do OTA software update for the Vio/Zio payload
* The Vio payload support 2 ways to update their software: using GremsyFlashTools or using this feature
* This feature will be connect to Gremsy server and download the latest software package.
* The customer must make sure that the Vio/Zio payload was connected to the Internet before applying this feature.

## **2. Process OTA update**

### **Step 1:** Connect Vio/Zio to the Internet.

<figure><img src="/files/MNDo41xjdiJccqc47ujh" alt=""><figcaption></figcaption></figure>

### Step 2: Open "`Update Payload Software"`

<figure><img src="https://bookstack.gremsy.vn/uploads/images/gallery/2023-11/scaled-1680-/image-1699937223309.png" alt=""><figcaption><p><em>The current version</em></p></figcaption></figure>

* The customer can see the current version of all apps in the Vio/Zio payload system before they deceide to do upgrade their Vio/Zio system.

### Step 3: Click "`Update"` the "`OK"` to perform this feature.

<figure><img src="https://bookstack.gremsy.vn/uploads/images/gallery/2023-11/scaled-1680-/image-1699937353333.png" alt=""><figcaption></figcaption></figure>

### Step 4: Wait for the download and update process to be successful.

<figure><img src="https://bookstack.gremsy.vn/uploads/images/gallery/2023-11/scaled-1680-/image-1699937428735.png" alt=""><figcaption></figcaption></figure>

* The result of the OTA progress.

<figure><img src="https://bookstack.gremsy.vn/uploads/images/gallery/2023-11/scaled-1680-/image-1699937488371.png" alt=""><figcaption></figcaption></figure>

### Step 5: Reboot the system after updating. The boot process can take 3-5 minutes for the system to update completely.

> **Note:** do not turn off the power during the update process.

### Step 6: App version information after successful update

<figure><img src="/files/89OH2lZM9ik3CfJR5OvY" alt="" width="563"><figcaption></figcaption></figure>

### Step 7: After successfully updating, select `Setup Custom Models`

<figure><img src="/files/srh2T5kgSielRfxCDup9" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/nmhXq8EtgLRpx3huSuU8" alt="" width="511"><figcaption><p>The interface of Setup Custom Models</p></figcaption></figure>

Click `Apply` to apply 2 models, COCO and CUSTOM for Payload Vio. The service will be restarted then checked for object detection.

## **3. Troubleshooting**

* The notification only pop up when the host PC is connecting to the Setting app via USB.
* In this case, the Vio/Zio payload has 2 connection: USB to the host PC and Ethernet to the Internet router

### **3.1 No internet connection**

* The Settings app will send a notify to the user when this problem was detected.
* Please check the Internet connection for the Vio/Zio payload.

### **3.2 The Internet connection broken while the OTA progress performing**

* If the Internet connection to the Vio/Zio payload was not stable, a notify will be pop up and the OTA progress will be canceled.
* Please check the Internet connection for the Vio/Zio payload and try again

### **3.3 Lost the power while the OTA progress performing**

* Please make sure the Vio/Zio payload will be not powered off while the OTA performing.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gremsy.com/payloads/general/upgrade-firmware-and-software/upgrade-payload-software/vio-payload/using-ota-update.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
