Einleitung

I wanted to try and keep everything as neat as possible while reusing as many of the original components as possible. I wanted the RPI to remain hidden. I came up with a design that uses the existing are the motherboard was installed in but also eliminates the tool drawer. Believe it or not this was a hard choice because as simple as the tool drawer was I really liked that they incorporated it.

I recommend you do not install the SKR3 EZ and RPI into the printer until the firmware flashing is complete.

    • Download and extract the latest version of Mainsail from their Github

    • Open the Raspberry Pi Imager

    • Select Operating System > Use custom > Select the Mainsail OS you downloaded.

    • Select Storage > Select your SD/USB.

    • Bring up the Advanced Settings menu by pressing CTRL+SHIFT+X

    • Here you can setup your WiFi, locale, enable SSH and numerous other options.

    • Write > Yes to confirm

    • After imaging is complete the SD/USB is automatically ejected. Insert it into the RPI.

  1. yjFCiYWYLUW1WvF6
    yjFCiYWYLUW1WvF6
    C5OQTnk2xpxK5Odn
    pEKodcWAPFZJn6uN
    • Connect your Raspberry Pi to the SKR3 EZ by USB or UART cable. I used a UART cable so that is what I will be showing but I'll try to explain how to setup USB as well.

    • UART wiring

    • PA10 > GPIO15

    • PA9 > GPIO14

    • GND > GND

    • For USB ONLY connect a USB cable from the SKR3 EZ to the RPI and place a jumper on VUSB

    • Make sure the double throw switch is in the up position

    • Connect the RPI to it's 5v power supply and power it on. Do not power on the the 24v PSU

  2. khFlHIgfLo1L24Q4
    khFlHIgfLo1L24Q4
    oqFHUUHiLSVmUGqZ
    • Verify the RPI is connected to your network. Open command prompt and run

    • ping mainsailos.local

    • You should see it return successful pings

    • Open a web browser and go to

    • mainsail.local

    • On the machine tab you can see the IP address of your RPI next to "wlan0"

    • I use Remote Terminal, but using your favorite SSH client login to your RPI with the default credentials

  3. D1NGvEZJpM2IBAs5
    D1NGvEZJpM2IBAs5
    M3bxxPsXXjBYbcTm
    4juleflOT4rLTew2
    • Set your locale

    • sudo raspi-config

    • Set your region preferences for L1-L4

    • Reboot your RPI when finished

  4. FEKBQkNiVJQD2YYc
    • SSH back into your RPI and run

    • sudo apt-get update

    • sudo apt-get upgrade -y

    • Because I used a brand new image (released the day before) there was nothing to update. If yours installs updates make sure you restart the pi

  5. cnOByaWjLlfFHG6S
    • SSH into your pi and run

    • cd ~/klipper

    • make menuconfig

    • Set the following parameters

    • Enable extra low-level configuration options

    • Micro-controller Architecture (STMicroelectronics STM32) --->

    • Processor model (STM32H743) --->

    • Bootloader offset (128KiB bootloader (SKR SE BX v2.0)) --->

  6. 3Z5UyCEqIZdIKpbT
    3Z5UyCEqIZdIKpbT
    ZjO2TZxdsJOnhdpT
    IXEn6xJTxHXKkGXo
    • Continued

    • Clock Reference (25 MHz crystal) --->

    • 3 wire cable connected from TFT to RPI GPIO

    • Communication interface (USART1 (on PA10/PA9)) --->

    • USB Cable

    • Communication interface (USB (on PA11/PA12)) --->

    • Press ESC key

    • Y to save configuration

  7. 1yaX6Eo6BL1cNKEM
    1yaX6Eo6BL1cNKEM
    rcgWISffTZ3o4Hve
    • Press and hold the BOOT and RESET buttons.

    • Release the RESET button first, than release BOOT. This will put the board in DFU mode.

    • Get the boards ID number by running

    • lsusb

  8. bKEqsmBiAMywTMNO
    bKEqsmBiAMywTMNO
    aCO4fKLtKM5DVJC5
    • Compile the firmware by running

    • Make

    • The SKR3 doesn't have a bootloader so you cannot flash it from the RPI. You'll need to use the SD method.

    • Open WINSCP

    • Navigate to /klipper/out/

    • Copy klipper.bin to your PC and rename it to firmware.bin

    • Copy firmware.bin to a SD. I used a 128mb one I had laying around

    • Holding the RESET button on the SKR3 EZ, insert the SD card into the SKR3 EZ.

  9. XYj1ORFcCn1NCjxX
    XYj1ORFcCn1NCjxX
    DATuAu4TiTvcXVMD
    • Release the reset button and the firmware will update. When the status LED goes out the firmware update is complete.

    • Remove the SD card and press the RESET button.

    • FOR USB CONNECTED ONLY

    • You need to get the boards ID. Run

    • ls /dev/serial/by-id/

    • Reboot the RPI

  10. JLhUcOUDWFrZeupA
    • Power on the RPI and SSH into it.

    • Run

    • cd ~/klipper

    • sudo cp "./scripts/klipper-mcu-start.sh" /etc/init.d/klipper_mcu

    • sudo update-rc.d klipper_mcu defaults

    • sudo service klipper stop

    • make clean

    • make

  11. iQjUvRXbIKU22eZJ
    iQjUvRXbIKU22eZJ
    sgNnyYI6hNNC1Iln
    • Continued

    • make menuconfig

    • Micro-Controller Architecture > Linux Process. Press esc than Y

    • make flash

    • sudo service klipper start

    • Verify klipper_host_mcu is in the tmp directory with ls /tmp/*

    • Add the pi to the TTY group

    • sudo usermod -a -G tty pi

    • Once complete go to Step #** Canbus

David Husolo

Mitglied seit: 16/06/21

7405 Reputation

0 Kommentare