ASWX2 - Update firmware update procedure

This commit is contained in:
2024-01-23 20:19:24 +01:00
parent 2035bfa433
commit be1377518b
2 changed files with 28 additions and 7 deletions

View File

@@ -101,41 +101,62 @@ BED_MESH_OUTPUT
## Firmware build and update
1. SSH to the ASWX2 Raspberry
2. Browse to Klipper directory:
2. Stop Klipper service
```
#> sudo service klipper stop
```
3. Browse to Klipper directory:
```
#> cd ~/klipper
```
3. Git the last version of the Klipper firmware:
4. Pull the last version of the Klipper firmware from Github:
```
#> git pull
```
4. Check the firmware build configuration
5. Clean up working directory before building firmware
```
#> make clean
```
6. Check the firmware build configuration
```
#> make menuconfig
```
![Klipper firmaware build configuration](images/aswx2-klipper-firmware-config.png)
5. Build the firmaware:
7. Build the firmaware:
```
#> make
```
6. Check printer's Ruby board is in DFU mode and can be updated
8. Check printer's Ruby board is in DFU mode and can be updated
```
#> lsusb
```
![Ruby board in DFU mode](images/aswx2-ruby-board-DFU-mode-USB.png)
7. Note the Ruby board device ID. In example above: `ID: 0483:df11`
9. Note the Ruby board device ID. In example above: `ID: 0483:df11`
8. Flash the new firmware to the printer's Ruby board using the above device ID:
10. Flash the new firmware to the printer's Ruby board using the above device ID:
```
#> make flash FLASH_DEVICE=0483:df11
```
![Klipper firmware flash outputs](images/aswx2-klipper-flash-output.png)
11. Restart Klipper service
```
#> sudo service klipper start
```
12. Check Klipper service is properly restarted
```
#> sudo service klipper status
```
![Klipper service status check](images/awsx2-klipper-service-started.png)
## Switch back printer to operation mode
1. Unplug the USB cable labelled `UPDATE` from printer