# CANBUS Flash

### CANBUS or USB

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

### Whats Required?

* Cartographer Probe
* Canbus to JST-PH Cable (For Katapult Canbus Flashing)

{% 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 %}

## CANBus Katapult Updating

## Step 1. Plug Cartographer in via CANBUS

## Step 2. Get Your UUID

This method requires prior knowledge of your **CANBUS UUID**.

This should have been supplied to you in your hardware box if purchased (insert date).

If you do not have your UUID. Visit [HERE](https://docs.cartographer3d.com/cartographer-probe/archive/classic-installation/klipper-setup#finding-the-serial-or-uuid) to get it.

## 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 - Can Menu

![Screen #1 - Canbus Detected](https://3044346320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpCp1KnR8izt0cnWQfZF%2Fuploads%2FyJryzH6cJgJbDMSVNLbz%2Fmain-menu-basic.png?alt=media\&token=6fe828ce-8071-48ee-80f8-b033428bb7d8)

## 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%2FBiIJY4mfOV7eMGU1Hbff%2Fcan-menu.png?alt=media&#x26;token=59df9d22-f097-4c1f-a1ec-862ed5d4d835" alt="" width="557"><figcaption></figcaption></figure>

## Step 4. Find Your Device pt2

<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&#x26;token=93e37707-5bef-481c-b7ad-171bd75b1039" alt="" width="551"><figcaption></figcaption></figure>

## Step 5. Find Latest Firmware

{% hint style="info" %}
Your CANBUS bitrare (if configured on your host device) should be detected and displayed. You should flash your cartographer with MATCHING bitrate firmware.
{% endhint %}

<figure><img src="https://3044346320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpCp1KnR8izt0cnWQfZF%2Fuploads%2F2XlPbNz0CLTCbMmUCAO2%2Fcan-firmware-latest.png?alt=media&#x26;token=27c6a907-f4d3-4663-9c1d-1399c2f825a7" alt="" width="551"><figcaption></figcaption></figure>

## Step 6. Flash Firmware

<figure><img src="https://3044346320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpCp1KnR8izt0cnWQfZF%2Fuploads%2F5uLkrlqos7zBDuoU0OYR%2Fcan-confirm.png?alt=media&#x26;token=0794b965-6f11-4046-b65d-ac803af84d1a" alt="" width="551"><figcaption></figcaption></figure>

## Step 7. Device Flashing

<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&#x26;token=9ec9880f-5950-4920-a053-c221ac9f3405" alt="" width="551"><figcaption></figcaption></figure>

## Step 8. All Done
