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

# CANBUS to USB

## Currently Using CANBUS?

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

***

## Step 1. Plug In Cartographer via CANBUS

## 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="https://3044346320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpCp1KnR8izt0cnWQfZF%2Fuploads%2FBiIJY4mfOV7eMGU1Hbff%2Fcan-menu.png?alt=media&amp;token=59df9d22-f097-4c1f-a1ec-862ed5d4d835" alt="" width="557"><figcaption></figcaption></figure>

## Step 3. Find Your Device

<figure><img src="https://3044346320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpCp1KnR8izt0cnWQfZF%2Fuploads%2FZoRK6nOZPNWBY77AjD3r%2Fcan-find-device.png?alt=media&amp;token=93e37707-5bef-481c-b7ad-171bd75b1039" alt="" width="551"><figcaption></figcaption></figure>

## Step 4. Select The USB Firmware

<figure><img src="https://3044346320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpCp1KnR8izt0cnWQfZF%2Fuploads%2FwsEPFZDV3JOQ7B4nD9xV%2Fcan-katapult.png?alt=media&amp;token=17cd26a8-13a1-4514-8420-d532ccbfa9bb" alt="" width="551"><figcaption></figcaption></figure>

<figure><img src="https://3044346320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpCp1KnR8izt0cnWQfZF%2Fuploads%2F7fIU4YZNMf9ybhuTV7c7%2Fcan2usb.png?alt=media&amp;token=255c8326-dd60-4f1f-bcbd-e6e570ffd5b0" alt="" width="551"><figcaption></figcaption></figure>

## Step 5. Flash Katapult Firmware

<figure><img src="https://3044346320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpCp1KnR8izt0cnWQfZF%2Fuploads%2FDIF8eqBg0lF8EySq8rdD%2Fcan-flashed-1.png?alt=media&amp;token=9ec9880f-5950-4920-a053-c221ac9f3405" alt="" width="551"><figcaption></figcaption></figure>

## Step 6. Unplug CANBUS and plug into USB

## Step 7. Re-run Script

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

<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 8. Find 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 9.Select Firmware & Flash

<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>

<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>

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