# 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="/files/DphoxoFacmh1eNjhtiKi" alt="" width="543"><figcaption></figcaption></figure>

## Step 4. Find Your Device

<figure><img src="/files/4ifmfgPBsIcLJQrpRlmS" alt="" width="557"><figcaption></figcaption></figure>

## Step 5. Select Your Device

<figure><img src="/files/vUsiNVTnS7oVZWHccOGK" alt="" width="551"><figcaption></figcaption></figure>

## Step 6. Find Latest Firmware

<figure><img src="/files/bIHAeXCkEIPZz0f49wNA" alt="" width="551"><figcaption></figcaption></figure>

## Step 7. Flash Firmware

<figure><img src="/files/rK6Gj8I8bloI4Ge0gOtz" alt="" width="551"><figcaption></figcaption></figure>

## Step 8. Device Flashing

<figure><img src="/files/etUZVP5dbSGeY1zEJwov" alt="" width="551"><figcaption></figcaption></figure>

## Step 9. All Done


---

# 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.cartographer3d.com/original-plugin/firmware-archive/firmware-updating/via-katapult/usb-flash.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.
