5 Appendix 2: Programming the Device Using FlashPro Express
(Ask a Question)This section describes how to program the PolarFire device with the programming job file using FlashPro Express. To program the device, perform the following steps:
- On the Host PC, launch the FlashPro Express software from its installation directory.
- To create a new job project, click New or select New Job Project from Project menu.
- Enter the following in the New Job Project from FlashPro Express Job dialog box:
- Import FlashPro Express job file: Click Browse, and navigate to the location where the job file (
top.job
) is located and select the file. The default location ismpf_an5466_df\Programming_File
. - FlashPro Express job project location: Click Browse and navigate to the location where you want to save the project.
- Import FlashPro Express job file: Click Browse, and navigate to the location where the job file (
- Click OK. The required programming file is selected and ready to be programmed in the device.
The FlashPro Express window appears as shown in following figure. Confirm that a programmer number appears in the Programmer field. If it does not, confirm the board connections and click Refresh/Rescan Programmers.
- Click RUN after ensuring that SW3 switch is turned ON. When the device is programmed successfully, a RUN PASSED status is displayed as shown in the following figure.
Figure 5-1. FlashPro Express—RUN PASSED - Close FlashPro Express or click Exit in the Project tab.
- Launch SmartDebug on the host PC, and to create a new SmartDebug project, select New.
- Enter the name and project location where the project should be stored and select the Import DDC File option. Select the DDC File provided in the directory
mpf_an5466_df\SmartDebug_File
and click OK, as shown in the following figure.Figure 5-2. SmartDebug Project Creation - Once the SmartDebug project opens, navigate to
japll_params.tcl
script in the directorympf_an5466_df\HW\JAPLL_Configuration
and click Run. . Select the - Upon successful completion of the script execution, close SmartDebug.
Important: Repeat step 10 and 11 after every power cycle.