Skip to content

Instantly share code, notes, and snippets.

@Fleafa
Last active July 14, 2023 20:55
Show Gist options
  • Save Fleafa/8dcac89cbcac4c4e727c1f238eea2091 to your computer and use it in GitHub Desktop.
Save Fleafa/8dcac89cbcac4c4e727c1f238eea2091 to your computer and use it in GitHub Desktop.
Voron 0.880 Software Installation

Specifications

host: Raspberry Pi 3A+
mcu: SKR mini e3 v2 via UART
secondary mcu: RPi display: Timmit V0 display via USB

mcu

  1. Power off mcu & remove the SD card.
  2. ssh USER@192.168.1.XXX
  3. cd ~/klipper
  4. make menuconfig
    • Enable extra low-level configuration options
    • Micro-controller Architecture: STM32
    • Processor model: STM32F103
    • Bootloader offset: 28KiB bootloader
    • Clock Reference: 8 Mhz crystal
    • Communication interface: Serial on USART2 PA3/PA2
    • GPIO pins to set at micro-controller startup: !PA14
  5. make clean
  6. make
  7. scp USER@192.168.1.XXX:~/klipper/out/klipper.bin ~/firmware.bin
  8. cp ~/firmware.bin SDCARD
  9. Install SD card in mcu and power on.

Display

V0 Display Flashing Instructions from https://github.com/VoronDesign/Voron-Hardware/blob/master/V0_Display/Documentation/Setup_and_Flashing_Guide.md?plain=1

  1. Connect the board to the host Raspberry Pi via USB.
  2. This step depends on if your board has firmware on it or not already:
    a) If you have a pre-flashed board:
    -Install the boot jumper and reset the board. This will put the board into DFU mode.
    b) If you have an unflashed board:
    • The MCU default's to DFU mode if there is no other firmware installed.
    • confirm the board enters DFU mode in step 4
  3. ssh USER@192.168.1.XXX
  4. lsusb
    • Make sure you see an STM32 in DFU mode listed
  5. dfu-util --list
    • note the text inside the [xxxx:yyyy]
  6. cd ~/klipper
  7. make menuconfig
    • Enable extra low-level configuration options
    • Micro-controller Architecture: STM32
    • Processor model: STM32F042
    • Bootloader offset: No bootloader
    • Clock Reference: Internal clock
    • Communication interface: USB on PA9/PA10
      Optional features:
    • Support GPIO "bit-banging" devices
    • Support LCD devices
    • Support external sensor devices
    • Support software based SPI "bit-banging"
  8. Run make clean to clean up the make environment.
  9. Run make flash FLASH_DEVICE=xxxx:yyyy (using xxxx:yyyy from above)
  10. Remove the boot jumper and press the reset button.
  11. After completion ls /dev/serial/by-id/* should return a device begining with /dev/serial/by-id/usb-Klipper_stm32f042x6...
  12. Copy this serial port name (/dev/serial/by-id/usb-Klipper_stm32f042x6... ) and place it in your [mcu display] section of the display config file.

Secondary mcu

  1. ssh USER@192.168.1.XXX
  2. cd ~/klipper
  3. make menuconfig
    • Micro-controller Architecture: Linux process
  4. sudo service klipper stop
  5. make clean
  6. `make flash'
  7. sudo service klipper start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment