# Flashing guide

{% hint style="info" %}
Note: There are scripts to help you do the necessary basic setup after flashing Jetson on Holybro's Github page:

&#x20;<https://github.com/Holybro/holybro-jetson-companion>
{% endhint %}

Two methods to flash the board:

### SDK Manager:

This is a GUI-based solution by Nvidia which can be found from the link below:\
\
<https://docs.nvidia.com/sdk-manager/install-with-sdkm-jetson/index.html>

**Note:** Keep it in mind that at the time of writing this document, we chose to install Jetpack 5.1.2.

### Command Line:

You could benefit from [Nvidia flash guide](https://docs.nvidia.com/jetson/archives/r35.3.1/DeveloperGuide/text/IN/QuickStart.html#to-flash-the-jetson-developer-kit-operating-software) .&#x20;

{% hint style="info" %}
The difference here is you need to change the DIP switch on the carrier board to REC to boot in recovery mode.&#x20;

<img src="https://2367252986-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLIgtGDAvVGkCKGOJb1bR%2Fuploads%2F3OV1ODpUhk3RJ04U8Fl9%2Fimage.png?alt=media&#x26;token=faa581b9-0c08-47bc-95da-4dd643a1c481" alt="" data-size="original">![](https://2367252986-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLIgtGDAvVGkCKGOJb1bR%2Fuploads%2F2nRPtcWBtR7krSQiitPX%2FCleanShot%202024-05-31%20at%2018.27.04.png?alt=media\&token=f726c613-9426-459c-884a-de7a45d17a27)
{% endhint %}

### Important procedure if the SSD has preinstalled Jetpack

After the system is cloned to a new SSD, we connect the SSD and Jetson module to the baseboard, enter the force recovery mode, and connect to the computer.\
On the computer used to flash the firmware with the SDK manager, navigate to the folder: nvidia ->nvidia\_sdk, find the target version Jetpack folder, open it, and open the terminal at the folder location.

<figure><img src="https://2367252986-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLIgtGDAvVGkCKGOJb1bR%2Fuploads%2F8EdvPUazZY4VHvFSxjuD%2F%E5%9B%BE%E7%89%87.png?alt=media&#x26;token=fc74207f-6705-4124-8e72-83872a475d12" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2367252986-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLIgtGDAvVGkCKGOJb1bR%2Fuploads%2FdIX8w7LmPefzqIp7pomK%2F%E5%9B%BE%E7%89%87.png?alt=media&#x26;token=5df2f876-fa9c-4e74-b322-e4f28e481f8d" alt=""><figcaption></figcaption></figure>

Once in the terminal, enter the command below:\
sudo ./flash.sh --no-systemimg -c bootloader/t186ref/cfg/flash\_t234\_qspi.xml jetson-orin-nano-devkit  mmcblk0p1

{% hint style="info" %}
In the latest Jetpack, the file path is bootloader/generic/cfg/flash\_t234\_qspi.xml
{% endhint %}


---

# 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.holybro.com/autopilot/pixhawk-baseboards/pixhawk-jetson-baseboard/flashing-guide.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.
