host: Raspberry Pi 3A+
mcu: SKR mini e3 v2 via UART
secondary mcu: RPi
display: Timmit V0 display via USB
- Power off mcu & remove the SD card.
ssh USER@192.168.1.XXX
cd ~/klipper
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
make clean
make
scp USER@192.168.1.XXX:~/klipper/out/klipper.bin ~/firmware.bin
cp ~/firmware.bin SDCARD
- Install SD card in mcu and power on.
V0 Display Flashing Instructions from https://github.com/VoronDesign/Voron-Hardware/blob/master/V0_Display/Documentation/Setup_and_Flashing_Guide.md?plain=1
- Connect the board to the host Raspberry Pi via USB.
- 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
ssh USER@192.168.1.XXX
lsusb
- Make sure you see an STM32 in DFU mode listed
dfu-util --list
- note the text inside the [xxxx:yyyy]
cd ~/klipper
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"
- Run
make clean
to clean up the make environment. - Run
make flash FLASH_DEVICE=xxxx:yyyy
(using xxxx:yyyy from above) - Remove the boot jumper and press the reset button.
- After completion
ls /dev/serial/by-id/*
should return a device begining with/dev/serial/by-id/usb-Klipper_stm32f042x6...
- 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.
ssh USER@192.168.1.XXX
cd ~/klipper
make menuconfig
- Micro-controller Architecture: Linux process
sudo service klipper stop
make clean
- `make flash'
sudo service klipper start