diff --git a/Manuals/MCU_Firmware/Images/5vJumper.png b/Manuals/MCU_Firmware/Images/5vJumper.png new file mode 100644 index 0000000..e1c9c44 Binary files /dev/null and b/Manuals/MCU_Firmware/Images/5vJumper.png differ diff --git a/Manuals/MCU_Firmware/Images/boot.png b/Manuals/MCU_Firmware/Images/boot.png new file mode 100644 index 0000000..2c53418 Binary files /dev/null and b/Manuals/MCU_Firmware/Images/boot.png differ diff --git a/Manuals/MCU_Firmware/Images/spider_klipper_menuconfig.png b/Manuals/MCU_Firmware/Images/spider_klipper_menuconfig.png new file mode 100644 index 0000000..f329a72 Binary files /dev/null and b/Manuals/MCU_Firmware/Images/spider_klipper_menuconfig.png differ diff --git a/Manuals/MCU_Firmware/Images/stm32f446_id.png b/Manuals/MCU_Firmware/Images/stm32f446_id.png new file mode 100644 index 0000000..2e90f6d Binary files /dev/null and b/Manuals/MCU_Firmware/Images/stm32f446_id.png differ diff --git a/Manuals/MCU_Firmware/Readme.md b/Manuals/MCU_Firmware/Readme.md new file mode 100644 index 0000000..c66e340 --- /dev/null +++ b/Manuals/MCU_Firmware/Readme.md @@ -0,0 +1,89 @@ +# SPIDER V2.2 MCU FW INSTALL/UPDATE + +The firmware installation process for the Fysetc Spider MCU + +## Prerequisites: + +- Klipper must be installed onto the Raspberry Pi +- Take two blue jumpers out of the Fysetc Spider box +- You should have physical access to the MCU +- Voron Design recommends using USB to control the Spider, which simply requires connecting a USB-A to USB-C cable between the Spider and Pi. If you prefer a UART connection, please consult the fysetc documentation for the necessary configuration adjustments. + + +# 1. Enter DFU Mode + +1. First power off the board + +2. Set jumper on 5v pin and DC5V +![](Images\5vJumper.png) +3. Place jumper on BT0 to 3.3V pin +![](Images\boot.png) +4. Connect USB cable to the board and RPI + +5. Power up the board with 24v + + +# 2. Build Firmware Image + +- Login to the Raspberry Pi via ssh + ``` + username: pi + pass: raspberry + ``` +- Run the following: + ``` + sudo apt install make + cd ~/klipper + make clean + make menuconfig + ``` +- In the menu structure there are a number of items to be selected. + - Select “Enable extra low-level configuration options” + - Set the micro-controller architecture is set to STMicroelectronics STM32 + - Set the Processor model to STM32F446 + - Set the Bootloader offset to 32KiB bootloader + - If your Spider was made prior to 2021/06/23, set the Bootloader offset to 64KiB bootloader + - Set the Clock Reference to 12 MHz crystal + - Set the Communication interface to USB (on PA11/PA12) (note: see Fysetc documentation if you intend to use UART rather than USB) +![](Images\spider_klipper_menuconfig.png) + +- Once the configuration is selected, press ```q``` to exit, and ```“Yes”``` when asked to save the configuration. + +- Run the command + ``` + make + ``` + +- The make command, when completed, creates a firmware file klipper.bin which is stored in the folder /home/pi/klipper/out. + +# 3. Firmware Installation + +- From your ssh session, run + ``` + lsusb + ``` + and find the ID of the DFU device. +- Run command below replacing 1234:5678 with the ID from the previous step + ``` + make flash FLASH_DEVICE=1234:5678 + ``` + + +# 4. Exit DFU Mode + +- Power off the Spider +- Remove the jumper from BT0/3.3V +- Power up the Spider +- You can confirm that the flash was successful by running + ``` + ls /dev/serial/by-id + ``` +If the flash was successful, this should now show a klipper device, similar to: +![](Images\stm32f446_id.png) + + + + +# Sources: +https://docs.vorondesign.com/build/software/spider_klipper.html +https://wiki.fysetc.com/Spider/ \ No newline at end of file diff --git a/Manuals/Readme.md b/Manuals/Readme.md new file mode 100644 index 0000000..58d77d8 --- /dev/null +++ b/Manuals/Readme.md @@ -0,0 +1,3 @@ +## INSTRUCTIONS + +[Fysetc Spider V2.2 Firmware Image, Flash](/MCU_Firmware) \ No newline at end of file