Many adjustments to the firmware section.

This commit is contained in:
Bassam Husain
2023-06-19 00:27:08 -04:00
parent 0a0b20cf98
commit 56a50ae34e
3 changed files with 27 additions and 47 deletions

View File

@@ -18,7 +18,6 @@ I am creating these files for my personal use and cannot be held responsible for
- [Installation Instructions](#installation-instructions) - [Installation Instructions](#installation-instructions)
- [Electronic Wiring](#electronic-wiring) - [Electronic Wiring](#electronic-wiring)
- [⚠️ Important Note About Stepper Motor Current](#important-note-about-stepper-motor-current) - [⚠️ Important Note About Stepper Motor Current](#important-note-about-stepper-motor-current)
- [Download Firmware](#download-firmware)
- [Flash Firmware](#flash-firmware) - [Flash Firmware](#flash-firmware)
- [Download Klipper Configuration](#download-klipper-configuration) - [Download Klipper Configuration](#download-klipper-configuration)
- [Initial Steps](#initial-steps) - [Initial Steps](#initial-steps)
@@ -41,31 +40,42 @@ For the SKR-Mini-E3-V3.0, the `run_current` for x, y, z stepper motors has been
💡 Although stepper motors can withstand upwards of 125C, they should at the most get hot to the touch (~55C), not _very hot_. 💡 Although stepper motors can withstand upwards of 125C, they should at the most get hot to the touch (~55C), not _very hot_.
### Download Firmware ### Flash Firmware
💡 The firmware files are located in `misc/skr-mini`. 💡 _If you have already flashed klipper onto your motherboard in the past, you can skip this step._
💡 Be sure to download the `raw` files. Find out more about this [here](https://stackoverflow.com/questions/4604663/download-single-files-from-github); check the answer with the highest score.
Download [klipper-USB.bin](./misc/skr-mini/klipper-USB.bin) compiled by BTT. Please note:
Or you can download [klipper-v0.11.0-198-g33b18fd6-latest-UNTESTED.bin](./misc/skr-mini/klipper-v0.11.0-198-g33b18fd6-latest-UNTESTED.bin) that I compiled, however, it is **untested**. - The firmware file **must** be named `firmware.bin`.
- The firmware files are located in `misc/skr-mini`.
- Many users have reported having issues flashing Klipper using the Sovol microSD card.
#### Alternatively, find instructions on how to build the firmware yourself [here](https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/tree/master/firmware/V3.0/Klipper#build-firmware-image). #### Select Your Firmware
- `klipper-USB.bin` compiled by BTT.
- `klipper-v0.11.0-198-g33b18fd6-latest-UNTESTED.bin` that I compiled, however, it is **untested**.
##### Build Your Own
Find instructions on how to build the firmware yourself [here](https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/tree/master/firmware/V3.0/Klipper#build-firmware-image).
<img src="./misc/skr-mini/menuconfig.png" width="500" alt='ls output'/> <img src="./misc/skr-mini/menuconfig.png" width="500" alt='ls output'/>
### Flash Firmware #### 1. Prepare the microSD Card for Flashing with These Parameters
⚠️ Make sure the microSD card has been prepared using the instructions found [here](https://github.com/bassamanator/Sovol-SV06-firmware#1-prepare-the-microsd-card-for-flashing-with-these-parameters). - Size: `16GB` maximum.
- File system: `FAT32`.
- Allocation unit size: `4096 bytes`.
- Must not contain any files _except_ the firmware file.
1. Rename whatever firmware file you're using to `firmware.bin`. ⚠️ If the file is not renamed, the bootloader will not be updated properly. #### 2. Flashing Procedure
2. Copy `firmware.bin` to the root directory of the microSD card.
3. Power off the printer. 1. Disconnect any USB cables that might be connected to the motherboard.
4. Insert the microSD card. 2. Copy `firmware.bin` to the microSD card.
5. Power on the printer. 3. Make sure the printer is off.
6. After a few seconds, the skr-mini-E3-V3.0 should be flashed, but wait a full minute just to be sure. 4. Insert the microSD card into printer.
7. You can confirm that the flash was successful, by running `ls -l /dev/serial/by-id/` or `ls -l /dev/serial/by-path/`. If the flash was successful, you'll see something like the following: 5. Turn on the printer and wait a minute (usually takes 10 seconds).
<img src="./misc/skr-mini/ls-output.png" width="400" alt='ls output'/> 6. Turn off the printer and remove the microSD.
### Download Klipper Configuration ### Download Klipper Configuration
@@ -122,12 +132,10 @@ This repository contains many files and folders. Some are _necessary_ for this K
├── misc ❌ ├── misc ❌
│ ├── M503-output.yml │ ├── M503-output.yml
│ ├── skr-mini │ ├── skr-mini
│ │ ├── klipper-USART2.bin
│ │ ├── klipper-USB.bin │ │ ├── klipper-USB.bin
│ │ ├── klipper-v0.11.0-198-g33b18fd6-latest-UNTESTED.bin │ │ ├── klipper-v0.11.0-198-g33b18fd6-latest-UNTESTED.bin
│ │ ├── ls-output.png │ │ ├── ls-output.png
│ │ ├── menuconfig.png │ │ ├── menuconfig.png
│ │ ├── README.md
│ │ └── skr-mini-e3-v3.0-v1678580296384.png │ │ └── skr-mini-e3-v3.0-v1678580296384.png
│ ├── sv06-buildPlate.png │ ├── sv06-buildPlate.png
│ ├── SV06-buildPlate.stl │ ├── SV06-buildPlate.stl

View File

@@ -1,28 +0,0 @@
# Klipper Firmware
## Firmware Precompiled by BIGTREETECH
- [firmware-USB.bin](./firmware-USB.bin). Connect the SKR-Mini to the Raspberry Pi via USB connection.
- [firmware-USART2.bin](./firmware-USART2.bin). Use TFT port USART2 to communicate with raspberry pi. Connect the UART-TX of raspberry pi with the USART-RX2 of motherboard and connect the UART-RX of raspberry pi with the USART-TX2 of motherboard directly to communicate normally.
Alternatively, find instructions on how to build the firmware yourself [here](https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/tree/master/firmware/V3.0/Klipper#build-firmware-image).
## Flash Firmware
1. Rename `firmware-USB.bin` or `firmware-USART2.bin` to `firmware.bin`.
Important: If the file is not renamed, the bootloader will not be updated properly.
2. Copy `firmware.bin` to the root directory of the microSD card (make sure the card is in FAT32 format).
3. Power off the SKR-mini-E3-V3.0.
4. Insert the microSD card.
5. Power on the SKR-mini-E3-V3.0.
6. After a few seconds, the SKR-mini-E3-V3.0 should be flashed.
7. You can confirm that the flash was successful, by running ls /dev/serial/by-id. If the flash was successful, you'll see something like the following:
<img src="ls-output.png" alt='skr-mini-e3-v3.0 installation instructions'/>
# Electronic Wiring
<img src="skr-mini-e3-v3.0-v1678580296384.png" alt='skr-mini-e3-v3.0 installation instructions'/>
# Sources
- https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/tree/master/firmware/V3.0/Klipper#how-to-use-klipper-on-skr-mini-e3-v30
- https://forum.sovol3d.com/t/sv06-mit-skr-e3-mini-v3/1189/24

Binary file not shown.