Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1.26 KB

Flashing.md

File metadata and controls

40 lines (33 loc) · 1.26 KB

How to flash Klipper to Raspberry Pi Pico

Build klipper for Raspberry Pi Pico

  1. Go to klipper directory
  2. call make menuconfig
  3. select
    • Micro-controller Architecture
      • Raspberry PI RP2040
    • Communication Interface
      • USB
  4. save configuration
  5. build firmware
    • call make
  6. file needed for flashing can be found in
    • klipper/out/klipper.uf2

Flash Raspberry Pi Pico

  1. Press the BOOTSEL button on the Raspberry Pi Pico,
  2. connected the USB cable.
    • The RPi Pico will be detected as USB flash device
  3. Mount flash device
  4. Copy klipper.uf2 to RPi Pico Flash Drive.
    • RPi Pico should now automatically perform a reboot and execute downloaded klipper firmware.
  5. From now on the RPi Pico Module will be detected as an serial interface. Which can be configured in the klipper configuration.

During my development is created a small script which is placed in the klipper folder to automate the process of mounting, copying and unmounting.

Before executing it be sure that the RPi Pico is available at /dev/sda1

mkdir -p /tmp/rpi
sudo mount /dev/sda1 /tmp/rpi/
sudo cp out/klipper.uf2 /tmp/rpi/
sudo umount /tmp/rpi