# Klipper Firmware Flashing

This section explains the process of downloading the Klipper firmware file (klipper.bin) created in the [Klipper Firmware Creation](https://sean-dearing.gitbook.io/klipper-installation-for-anycubic-vyper/klipper-firmware/klipper-firmware-creation) section from your Raspberry Pi, and installing it on your Anycubic Vyper printer using an SD card.

{% hint style="info" %}
For the steps listed below, I will be using [WinSCP](https://sourceforge.net/projects/winscp/) as my FTP program of choice, you can use whatever FTP program you are used to, most of the steps should translate easily to other programs.
{% endhint %}

* Open <mark style="color:red;">`WinSCP`</mark> on your Windows computer and create a <mark style="color:red;">`New Site`</mark>;

![WinSCP - New Site](https://3358793419-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEUZ4ecqSLgI2D4esAcVS%2Fuploads%2Fj3cDeYCmoFzeICjXbH0L%2Fflash1.png?alt=media\&token=ef5be130-dbee-4d04-8774-69120b7032d4)

* Enter the following information into the fields as described below
  * Host name: <mark style="color:red;">`<IP address of your Raspberry Pi>`</mark>;
  * User name: <mark style="color:red;">`pi`</mark>;
  * Password: <mark style="color:red;">`<Your Raspberry Pi password>`</mark>;
* Click <mark style="color:red;">`Login`</mark>;

![WinSCP Settings](https://3358793419-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEUZ4ecqSLgI2D4esAcVS%2Fuploads%2FezFb87sqlzrWGOZevEXJ%2Fflash2.png?alt=media\&token=75b96723-79b0-4c9d-9c9d-0386f91cdb13)

* You may receive a warning message advising 'Continue connecting to an unknown server and its host key to cache?';
  * Click <mark style="color:red;">`Yes`</mark> to continue;

![Warning](https://3358793419-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEUZ4ecqSLgI2D4esAcVS%2Fuploads%2FdnCvQ321xyXa38qNByfX%2Fflash3.png?alt=media\&token=ce88e9ed-24b1-4b1c-9f18-4d927712a0dd)

* Navigate to the <mark style="color:red;">`/home/pi/klipper/out`</mark> folder;
  * Select the <mark style="color:red;">`klipper.bin`</mark> file;
  * Then select <mark style="color:red;">`download`</mark>;

![klipper.bin](https://3358793419-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEUZ4ecqSLgI2D4esAcVS%2Fuploads%2Fqgg3T7MIagxvWDYjDkx3%2Fflash4.png?alt=media\&token=422f0e6f-46cc-4926-a3ba-bf3374fba41c)

* Select the download folder of your choice;
  * Click <mark style="color:red;">`Ok`</mark>;

![Download Location](https://3358793419-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEUZ4ecqSLgI2D4esAcVS%2Fuploads%2F55pHv6giCkmqwCq82FiB%2Fflash5.png?alt=media\&token=7e4666a6-b8a2-4d53-87a0-fa40a1e31326)

* Navigate to the folder you downloaded the <mark style="color:red;">`klipper.bin`</mark> file;
  * Rename the file to <mark style="color:red;">`main_board_20xxxxxx.bin`</mark>;

![Original](https://3358793419-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEUZ4ecqSLgI2D4esAcVS%2Fuploads%2FDYx0lewHjIE5vyeZUpRO%2Fflash6.png?alt=media\&token=afc5281a-15bc-4ff1-afcf-444e572c5e10) ![Renamed](https://3358793419-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEUZ4ecqSLgI2D4esAcVS%2Fuploads%2Fa0pbIbuq1UjLZ0Of5yB1%2Fflash7.png?alt=media\&token=3e08db4c-32e5-427f-a09f-99e80b774969)

* Copy the <mark style="color:red;">`main_board_20xxxxxx.bin`</mark> file to the root of an SD Card;

{% hint style="info" %}
You will want to use a quality SD card (I don't trust the SD card that is included from Anycubic).  You should format the SD Card as FAT32 and the <mark style="color:red;">`main_board_20xxxxxx.bin`</mark>should be the only file.
{% endhint %}

* Eject the SD Card from your computer properly;
* With your Anycubic Vyper 3D printer powered off;
  * Insert the SD Card with the <mark style="color:red;">`main_board_20xxxxxx.bin`</mark> file into your printer;
* Power on your printer;
  * The printer should make a few beeping sounds and the firmware will be installed;

{% hint style="info" %}
The firmware update is a very short process, only takes approx. 10 seconds to complete.  Leave the SD card and printer turned on for approx. 1 minute for good measure.
{% endhint %}

* Power off your printer;
* Remove the SD Card from the printer;
* Connect the Raspberry Pi via the USB cable to the printer;
* Power on the printer.
