> 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-switching/usb-to-canbus.md).

# 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
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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cartographer3d.com/original-plugin/firmware-archive/firmware-switching/usb-to-canbus.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
