# UPGRADE SOM FIRMWARE

## **Step 1:** Access to the boot mode of Pixy SM

Switch the button on Pixy SM SoM to "P"&#x20;

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FLlP9oUeP0rZlyPJCUflH%2Fimage_2022-10-20_170302159.png?alt=media&#x26;token=b361c516-bb63-4780-a95b-4a4122e53f03" alt=""><figcaption></figcaption></figure>

## Step 2: Upgrade firmware

### 2.1. Update with file ".7z"

#### After downloading the zip file, extract this file and make sure that The Firmware folder will include two files “setting.json” and “upgrade.7z”. These files must be in the same folder.

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FWPxNKdIHhYv7rpHKiyHq%2Fimage_2022-10-20_170431736.png?alt=media&#x26;token=729ee5f9-fa37-4d08-8022-1b30b7ea70c9" alt=""><figcaption></figcaption></figure>

**Note:**

* Do not save the folder on Network Drive
* Do not rename the folder or files. If you want to move the files to another place, copy the whole folder.
* The firmware folder link must not have space (blank) or special characters. Ex: link on the picture above.

#### Open the Gremsy Flash tool then choose “PIXY SM”.

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2F79vzIJutV53g4vWhCdAI%2Fimage_2022-10-20_170817424.png?alt=media&#x26;token=5a80cb3d-08e0-4270-a14c-1ed084cbd8a2" alt=""><figcaption></figcaption></figure>

#### Choose “OPEN FILE” and browse the “upgrade.7z” firmware file.

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2F3BtaNOITObJ1oSzDPUD1%2Fimage_2022-10-20_170934056.png?alt=media&#x26;token=e286bedf-2c94-4d16-bd60-389ad2adfbdc" alt=""><figcaption></figcaption></figure>

#### On the SoM, get it into Boot mode by following the steps below.

* Press “BOOT” and hold
* Press “RESET” and hold
* Hold “BOOT” and “RESET” simultaneously for 3 – 5 seconds
* Release “RESET”
* Release “BOOT”

#### On the Gremsy Flash Tool, choose “CHECK DEVICE” and then the connection successfully will show:

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FHKfeLSWeN29HpQPnDek1%2Fimage_2022-10-21_142439897.png?alt=media&#x26;token=b76a94a7-f801-45d5-8ac0-f1b5a6dbb1fc" alt=""><figcaption></figcaption></figure>

#### Choose “FLASH PIXY SM” and wait for 3 -5 minutes for the process to complete:

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FLcnnEuErrbfOobILAhxC%2Fimage_2022-10-21_142532210.png?alt=media&#x26;token=c5fa0b37-706c-4c4b-869a-47ff3863a8a3" alt=""><figcaption></figcaption></figure>

### 2.2 Update with file ".zip"

#### Open the Gremsy Flash Tools and choose Pixy SM

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FoA7Q4T1lJZTSPW4lJNQk%2Fimage_2022-12-08_105021982.png?alt=media&#x26;token=926aacd7-c9bc-458e-b23e-c90b343f3869" alt=""><figcaption></figcaption></figure>

#### Open file

Choose the file with the format ".zip"

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FXljpAsmv2eacNAOToa8n%2Fimage_2022-12-08_105053382.png?alt=media&#x26;token=a0cfc19b-f9e8-4963-b8fd-81ff4c08e254" alt=""><figcaption></figcaption></figure>

#### The address after choosing the file

If you choose the correct firmware for Pixy SM it will not report any errors.

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FCO6iiVfCfJ2scQlybtyu%2Fimage_2022-12-08_105201583.png?alt=media&#x26;token=6a2db115-f89a-4e9d-ab8d-023c00e741e7" alt=""><figcaption></figcaption></figure>

If you choose the wrong files, it will report like the picture below

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2Fp4vsWM05IWxt8HXimCHE%2Fimage_2022-12-08_105352088.png?alt=media&#x26;token=f484f0c6-66ca-4c61-a6d3-1fcfa18ad9d6" alt=""><figcaption></figcaption></figure>

#### On the SoM, get it into Boot mode by following the steps below.

* Press “BOOT” and hold
* Press “RESET” and hold
* Hold “BOOT” and “RESET” simultaneously for 3 – 5 seconds
* Release “RESET”
* Release “BOOT”

#### On the Gremsy Flash Tool, choose “CHECK DEVICE” and then the connection successfully will show:

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FHKfeLSWeN29HpQPnDek1%2Fimage_2022-10-21_142439897.png?alt=media&#x26;token=b76a94a7-f801-45d5-8ac0-f1b5a6dbb1fc" alt=""><figcaption></figcaption></figure>

#### Choose “FLASH PIXY SM” and wait for 3 -5 minutes for the process to complete:

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FLcnnEuErrbfOobILAhxC%2Fimage_2022-10-21_142532210.png?alt=media&#x26;token=c5fa0b37-706c-4c4b-869a-47ff3863a8a3" alt=""><figcaption></figcaption></figure>

## Troubleshooting

### The firmware folder name has space (blank)

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FpjOl9ejPZB2Wllr8L8Oq%2Fimage_2022-10-21_142836789.png?alt=media&#x26;token=ed47fc85-086f-426e-8c63-5bed6102f71a" alt=""><figcaption></figcaption></figure>

This problem will be fixed when saving the folder where the path has no spaces and special characters.

Example: C:\Users\Admin\Desktop\PixySM300\_SoM\_Firmware\Pixy\_SM\_v2.1.0.38 (no spaces and special characters)

### Lost file setting.json

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FnQRXrhA9zzZwTMB46p9h%2Fimage_2022-10-21_143019320.png?alt=media&#x26;token=871a04dd-6c92-4765-a68c-171234584d56" alt=""><figcaption></figcaption></figure>

This error will be fixed by extracting the firmware again and not moving the files contained in the folder after decompression.

During the loading process, if there are other errors, please capture the error code and contact our support team by email: <support@gremsy.com>
