You are here: 1. FPGA > 1.3 Programming the FPGA

1.3 Programming the FPGA

  1. On your computer, double-click the flashpro.exe application. The FlashPro window opens.
  2. Select the Open Project button on the FlashPro window. The Open Project window opens (Figure 1).

Figure 1 Open Project Window

Screenshot of the Open Project window

  1. In the Open Project window, navigate to the folder where the project is saved and select the project file.
  2. Click the Open button. The project opens in the FlashPro window.
  3. Click the Refresh/Rescan for Programmers button. The FlashPro JTAG programmer panel opens in the FlashPro window.
  4. In the FlashPro JTAG programmer panel, confirm that the Programmer Name field lists the correct programmer ID number (Figure 2).

Figure 2 FlashPro - [ProjectName] Window

Screenshot of the FlashPro Project File window

  1. In the main menu, select Programmers > Scan Chain. The Select programmer(s) dialog window opens (Figure 3).

Figure 3 Select programmer(s) Dialog Window

Screenshot of Select programmer(s) dialog window

  1. Check the box next to the programmer ID number.
  2. Click the OK button.
  3. Confirm that the message Scan Chain PASSED appears in the Programmer Status field of the FlashPro window.
  4. Confirm that this message appears in the Output Message panel on the FlashPro window:

programmer '[ID number]' : Device 1: 1MCS160 Mfr: Microsemi Part: MCS150

  1. Click the Configure STAPL File button in the FlashPro window. The Load STAPL File window opens.
  2. Click the Browse... button and navigate to the location where the STAPL file (filename.stp) is stored (Figure 4).

Figure 4 Load STAPL File Window

Screenshot of the Load STAPL File window

  1. Select the filename.stp file.
  2. Click the Open button.
  3. Confirm that there are no error messages in the Status Messages panel at the bottom of the FlashPro window. If there are no error messages, the filename.stp file is properly loaded.

Figure 5 Status Messages Panel in FlashPro Window

Screenshot of the Status Messages panel in the FlashPro window

  1. Click the PROGRAM button in the FlashPro window to start programmimg.
  2. Check for any of these error messages in the Status Messages panel on the FlashPro window:

NOTE: If any of these error messages appear, the scan chain failed. Connect a 100Ω resistor between 3.3V and ground on the controller area network (CAN) bus master (CBM) printed circuit board (PCB) and repeat Steps 11 through 17. After the scan chain passes, remove the resistor.

  1. Wait approximately 5 minutes for the programming, programmed bits verification, and non-programmed bits verification to finish.
  2. Confirm that the message RUN PASSED appears in green letters in the Programmer Status field in the FlashPro window for each cycle.
  3. Confirm that the lights on the FlashPro programmer stopped blinking.
  4. Confirm that the message Executing action PROGRAM PASSED appears in the Status Messages panel at the bottom of the FlashPro window.
  5. Close the FlashPro window. If a Warning dialog window opens, click the Yes button to save the project (Figure 6).

Figure 6 Warning Dialog Window

Screenshot of Warning dialog window

  1. Turn off the FlashPro programmer.
  2. Disconnect the FlashPro programmer harness from the CBM PCB.

 


Work sample ©2016 SETCorrect LLC. All Rights Reserved.