5 Programming the PolarFire Device and SPI Flash

This section describes how to program the PolarFire device and SPI Flash.

To program the PolarFire device, perform the following steps:

  1. Ensure that the jumpers on the evaluation board are set as specified in the following table.
    Table 5-1. Jumper Settings—Evaluation Board
    JumperDescription
    J18, J19, J20, J21, and J22Close pin 2 and 3 for programming the PolarFire FPGA through FTDI
    J28Close pin 1 and 2 for programming through the on-board FlashPro5
    J26Close pin 1 and 2 for programming through the FTDI SPI
    J27Close pin 1 and 2 for programming through the FTDI SPI
    J23Open pin 1 and 2 for programming SPI Flash
    J4Close pin 1 and 2 for manual power switching using SW3
    J12Close pin 3 and 4 for 2.5 V
  2. Connect the power supply cable to the J9 connector on the evaluation board.
  3. Connect the USB cable from the host PC to J5 (FTDI port) on the evaluation board.
  4. Power on the evaluation board using the SW3 slide switch.

    The following figure shows the PolarFire Evaluation Kit set up to be programmed.

    Figure 5-1. Board Setup-Evaluation
  5. Refer Appendix 4: Running the TCL Script to create Libero Project and open the project.
  6. Click Run PROGRAM Action to program the device.
  7. Double click Run Program_SPI_IMAGE Action to program the SPI flash. A green tick mark is displayed after the successful generation, see the following figure.
    Figure 5-2. Program SPI Flash Image