> ## Documentation Index
> Fetch the complete documentation index at: https://docs.primastem.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update the Firmware

> How to update the robot and the control board from your browser.

The update runs in your browser at [update.primastem.com](https://update.primastem.com). You do not need to install anything. The update site is in English, so the screenshots are in English too.

> [!NOTE]
>
> You need a computer with Chrome or Edge and a USB-C cable that transfers data. A charge-only cable will not work.

**1. Switch on the device and connect it**

Switch on the robot or the control board and connect it to the computer with the cable. The computer does not see a device that is switched off.

**2. Open the update site**

Open [update.primastem.com](https://update.primastem.com) in Chrome or Edge.

**3. Select the device**

Choose **Robot** or **Control board** in the top two lines. Leave the other lines alone: they are test versions.

![Select device](https://mintcdn.com/primastem/RnuH_cWKbJ5oCnum/images/update/01-select-device.png?fit=max\&auto=format\&n=RnuH_cWKbJ5oCnum\&q=85\&s=d782b1097ffebecdae18c8cdf81d7dea)

**4. Select the language**

Choose the language the device will speak.

![Select language](https://mintcdn.com/primastem/RnuH_cWKbJ5oCnum/images/update/02-select-language.png?fit=max\&auto=format\&n=RnuH_cWKbJ5oCnum\&q=85\&s=0fd0b9a35cc19bff3df87d5faac850c6)

**5. Click Connect**

Click the blue **Connect** button at the bottom of the page.

![Connect](https://mintcdn.com/primastem/RnuH_cWKbJ5oCnum/images/update/03-connect.png?fit=max\&auto=format\&n=RnuH_cWKbJ5oCnum\&q=85\&s=44de453f53fa3c3f06a36317ef858a9f)

**6. Choose the port**

A window opens in your browser's language. Select the line **USB JTAG/serial debug unit (COM...)** and confirm with the connect button in that window. The number after COM differs from one computer to another.

![USB JTAG/serial debug unit](https://mintcdn.com/primastem/RnuH_cWKbJ5oCnum/images/update/04-choose-port.png?fit=max\&auto=format\&n=RnuH_cWKbJ5oCnum\&q=85\&s=b403a55fbede2dbecaaec6c43dd13447)

**7. Start the installation**

Click **Install Robot update**. For the control board this line says **Install Control update**.

![Install Robot update](https://mintcdn.com/primastem/RnuH_cWKbJ5oCnum/images/update/05-install-menu.png?fit=max\&auto=format\&n=RnuH_cWKbJ5oCnum\&q=85\&s=f3b3f50f53d9fa7834b799486974e37f)

**8. Leave Erase device unchecked**

Leave the **Erase device** box empty and click **Next**. Erasing wipes the calibration and the pairing between the robot and the control board. Use it only if PrimaSTEM support asks you to.

![Erase device](https://mintcdn.com/primastem/RnuH_cWKbJ5oCnum/images/update/06-erase-device.png?fit=max\&auto=format\&n=RnuH_cWKbJ5oCnum\&q=85\&s=7a9700e97ac06f47e9ef4ab2e4182e0d)

**9. Confirm**

Click **Install**.

![Confirm Installation](https://mintcdn.com/primastem/RnuH_cWKbJ5oCnum/images/update/07-confirm-install.png?fit=max\&auto=format\&n=RnuH_cWKbJ5oCnum\&q=85\&s=389a2cd590f32010296366565a1544ff)

**10. Wait**

The update takes about 2 minutes. Keep this page on the screen and do not unplug the cable.

![Installing](https://mintcdn.com/primastem/RnuH_cWKbJ5oCnum/images/update/08-installing.png?fit=max\&auto=format\&n=RnuH_cWKbJ5oCnum\&q=85\&s=25274ebdd41dfd752f5f895d023b9423)

**11. Finish**

When you see **Installation complete!**, click **Next**, close the window and unplug the cable.

![Installation complete!](https://mintcdn.com/primastem/RnuH_cWKbJ5oCnum/images/update/09-complete.png?fit=max\&auto=format\&n=RnuH_cWKbJ5oCnum\&q=85\&s=909a46c848d48e0499c174e0eb65b4d9)

Update the other device the same way.

## If something goes wrong

* **The robot and the control board do not connect.** Pair them again, see [Connecting the Board and Robot](https://docs.primastem.com/en/usermanual.md#connecting-the-board-and-robot).
* **The No port selected window appears.** The computer did not find the device, or no line was selected in the list. Check that the device is on and that the cable transfers data, then click **Try Again**.

![No port selected](https://mintcdn.com/primastem/RnuH_cWKbJ5oCnum/images/update/10-no-port.png?fit=max\&auto=format\&n=RnuH_cWKbJ5oCnum\&q=85\&s=db8577e7f1cd4cfb3ba3574e97d0e558)

* **The update stops with Installation failed.** Unplug the cable, plug it back in and start again from step 2. If this does not help, [contact us](https://docs.primastem.com/en/contacts.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.