> For the complete documentation index, see [llms.txt](https://docs.cartographer3d.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cartographer3d.com/original-plugin/firmware-archive/firmware-updating/via-katapult/usb-flash.md).

# USB Flash

### CANBUS or USB

* If you ordered a USB flashed cartographer, you use the [USB Katapult Method](/original-plugin/firmware-archive/firmware-updating/via-katapult/usb-flash.md)
* If you ordered a CAN flashed cartographer, you use the [CANBUS Katapult Me](/original-plugin/firmware-archive/firmware-updating/via-katapult/canbus-flash.md)[thod](/original-plugin/firmware-archive/firmware-updating/via-katapult/canbus-flash.md)

### Whats Required?

* Cartographer Probe
* USB-A to JST-PH Cable

  <figure><img src="https://github.com/user-attachments/assets/1c082c5d-44ff-43e1-b1bf-f70b4249a490" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Using the scripts below, you may need to use the **Install Prerequisites** option first to make sure everything is configured prior to flashing.
{% endhint %}

## USB Katapult Updating

## Step 1. Plug Cartographer in via USB

## Step 2. SSH into Device & Run Script

```bash
cd ~
if [ -d ~/cartographer_firmware/ ]; then
    echo "Directory Exists - Starting Firmware Script"
    cd ~/cartographer_firmware/
    git pull
else
    git clone https://github.com/Cartographer3D/cartographer_firmware.git
fi
~/cartographer_firmware/scripts/firmware.py
```

## Step 3. Select Katapult - USB Menu

<figure><img src="https://3044346320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpCp1KnR8izt0cnWQfZF%2Fuploads%2FyJryzH6cJgJbDMSVNLbz%2Fmain-menu-basic.png?alt=media&amp;token=6fe828ce-8071-48ee-80f8-b033428bb7d8" alt="" width="543"><figcaption></figcaption></figure>

## Step 4. Find Your Device

<figure><img src="https://3044346320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpCp1KnR8izt0cnWQfZF%2Fuploads%2FLjGY9b3gSZcGO3LdMRRq%2Fusb-menu.png?alt=media&amp;token=9a5fc568-3893-47db-8a3c-b8e801cab455" alt="" width="557"><figcaption></figcaption></figure>

## Step 5. Select Your Device

<figure><img src="https://3044346320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpCp1KnR8izt0cnWQfZF%2Fuploads%2FAc093GRJy0flUnZEbcor%2Fusb-devices.png?alt=media&amp;token=09188dcd-5adf-4e62-b557-b9cb28bafff0" alt="" width="551"><figcaption></figcaption></figure>

## Step 6. Find Latest Firmware

<figure><img src="https://3044346320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpCp1KnR8izt0cnWQfZF%2Fuploads%2FzgfDnSOutGrrPLVrZpuj%2Fusb-firmware-latest.png?alt=media&amp;token=a93c5e49-8da5-414f-a8f0-901423e80a78" alt="" width="551"><figcaption></figcaption></figure>

## Step 7. Flash Firmware

<figure><img src="https://3044346320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpCp1KnR8izt0cnWQfZF%2Fuploads%2F29k0aC6qvwWPG0BXlu98%2Fusb-confirm.png?alt=media&amp;token=5ccaff8b-b39f-4b29-a25d-4aabe57e7b09" alt="" width="551"><figcaption></figcaption></figure>

## Step 8. Device Flashing

<figure><img src="https://3044346320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpCp1KnR8izt0cnWQfZF%2Fuploads%2FwjBATWEoAk5m85FoHM2A%2Fusb-flashed-1.png?alt=media&amp;token=c1b0c30b-ae85-4080-9311-fa5cc800dfee" alt="" width="551"><figcaption></figcaption></figure>

## Step 9. All Done


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.cartographer3d.com/original-plugin/firmware-archive/firmware-updating/via-katapult/usb-flash.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
