https://github.com/CrealityOfficial/Creality_Sonic_Pad_Firmware.git
Using Linux subsystem under Windows 10 64-bit Download and install VirtualBox Download VirtualBox from www.VirtualBox.org Download Ubuntu 18.04.LTS Download Ubuntu 18.04.LTS from www.ubuntu.com/download Create a new virtual machine and install Ubuntu system
- Open VirtuslBox and create a new virtual machine
- Select destination folder、Enter a name,Type: Select Linux、Version: Select Ubuntu(64-bit)
- Resize memory to 4096MB
- Create a virtual hard disk
- Select VDI
- Select dynamic allocation
- Resize the virtual hard disk to 25GB
- General Settings – Advanced,Change the shared clipboard and the drag and drop to bidirectional
- System settings - adjust the boot order to optical drive - hard disk - floppy drive
- Storage Settings--IDE--Select Downloaded Ubuntu 18.04.6LTS
- SATA--tick Use Host I/0 Cache
- Network Settings - Advanced - Make sure the network is connected
- User Interface -Device-Tick Insert Guest additions CD image
- Start the virtual machine after confirmation
- Install Ubuntu System upgrade and install git
- run command sudo apt update (list all updatable software)
- run command sudo apt upgrade (upgrade the package)
- Devices -- Install Insert Guest additions CD image
- run command sudo apt-get install git(install git)
- Restart the system Download Klipper firmware
- run command cd ~ (switch the working directory to the home directory)
- run command git clone
https://github.com/CrealityOfficial/Creality_Sonic_Pad_Project.git Configure printer firmware - Open the file manager-Klipper folder-scripts folder-Right click-open in terminal
- run command ls (confirm that the content in the current directory is consistent with that in the folder)
- run command ./install-ubuntu-18.04.sh(install ubuntu)
- run command cd .. (switch to the upper directory)
- run command ls (confirm that the content in the current directory is consistent with that in the folder)
- run command make menuconfig (configure the printer motherboard)
- Select the Micro-controller Architecture、Processor model、Bootloader Offset、Clock Reference、Communication interface etc. parameters
- After the parameter configuration is completed, press "Q" to save,Press "Y" to confirm
- run command make (generate firmware) Upgrade printer firmware via SD/TF card
- Create a new "ubuntu_sharing" on the computer disk
- Open VirtualBox--Settings--Shared Folders,Add a shared folder (tick auto mount),Mount point type "/sharings"
- Copy the klipper.bin file just generated to the sharings folder
- Copy klipper.bin in the ubuntu_sharing folder of the computer disk to the TF/SD Upgrade printer firmware via USB (The motherboard has no Bootloader and does not support SD card upgrades) Please use a USB cable to connect the printer to the computer where the virtual machine is located. Please keep the connection during the firmware upgrade process
- Refer to the previous video to enter the configuration motherboardinterface、Select the Micro-controller Architecture、 Processor model、Clock Reference、Communication interface etc. parameters
- After the parameter configuration is completed, press "Q" to save,Press "Y" to confirm
- run command make (generate firmware)
- Device--USB--Tick the USB option for connection to the printer
- run command ls /dev/tty*(Confirm that /dev/ttyUSB0 appears in the directory)
- run command sudo avrdude -cwiring -patmega2560 -P/dev/ttyUSB0 -b115200 -D -Uflash:w:out/klipper.elf.hex:i(Transfer the klipper firmware to the printer for upgrade,Note the space before the "-" in the command)