# USB to CANBUS

## Currently Using USB?

Looking at using Cartographer via CANBUS instead of USB? Follow the steps below to make the change!

***

## Step 1. Plug In Cartographer via USB

## Step 2.  SSH Into Your Host Device & Run The 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
```

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

## Step 3. Find Your Device

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

## Step 4. Select Which Firmware/Bitrate You Want

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

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

## Step 5. Flash Katapult Firmware

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

## Step 6. Unplug USB and plug into CANBUS

## Step 7. Re-run Script

```bash
~/cartographer_firmware/scripts/firmware.py -f can
```

## Step 8. Find Your Device

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

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

## Step 9. Select Firmware & Flash

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

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

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

## Step 10. 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-switching/usb-to-canbus.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.
