# Upload compiled firmware of Pixhawk from odroid

Here is the method for uploading firmware with the necessary of opening AUV tube each time:

* Compile firmware in Ground station computer
* cd build\_px4fmu-v2\_default/src/firmware/nuttx
* 3\) scp px4fmu-v2 default.px4 odroid\@odroid:/home/odroid/uploader

Then

* ssh odroid\@odroid
* cd uploader
* python px\_uploader.py --force --port /dev/ttyACM0 px4fmu-v2\_default.px4

The original code of px\_uploader.py is saved in google driver as in the following link:

<https://drive.google.com/open?id=0B1YP6Mffv0P1d3pwaVF0Rm1ZeVZwRllGdVQybDZFNDNZQmk0>


---

# 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://lamhung81-2.gitbook.io/github-basic-tutorial/upload-compiled-firmware-of-pixhawk-from-odroid.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.
