Setting Up The Demo Design; Figure 4 Iap Execution Flow - Microsemi SmartFusion2 Demo Manual

Soc fpga in-application programming using pcie interface - libero soc v11.8
Hide thumbs Also See for SmartFusion2:
Table of Contents

Advertisement

In-Application Programming Using PCIe Interface
The following figure shows the IAP execution flow.
Figure 4 •
IAP Execution Flow
Start GUI application on
Inialize the PCIe
communication with
SmartFusion2 Device
Is PCIe Link
No
with SmartFusion2
success?
Report an error
Yes
and stop the GUI
Send the programming
file (*.spi) contents or IAP
operation commands to the
SmartFusion2 device
Get the Programming file size
and erase the SPI_0 flash
1. Get the 2 KB block of data from GUI
and store to LSRAM
2. Write 2 KB data from LSRAM to SPI
Flash
3. Send ACK to GUI and request for
next 2 KB block of data
Is the *.SPI file
transferred
completely?
No
Yes
2.4

Setting Up the Demo Design

The following steps describe how to setup the demo design:
1.
Connect the FlashPro4 programmer to the J5 connector of the SmartFusion2 Security Evaluation Kit
board.
2.
Connect the jumpers on the SmartFusion2 Security Evaluation Kit board as shown in the following
table.
CAUTION: Switch OFF SW7 while connecting the jumpers.
host PC
CortexM3 user application
Initialize the system controller
PCI Interface
File
Transfer
memory
Authenticate/
Initiate the IAP service with
1. System controller reads the
bitstream from SPI flash to
execute the requested IAP operation
2. Notifies the GUI with status code
on completion of the IAP operation
Stop
Stop
DG0584 Demo Guide Revision 5.0
Start SmartFusion2
Initialize the application
Configure the PCIe
Intialize the SPI_0 Flash
Program
Command from
GUI?
Verify
requested IAP operation
mode
Start new design
application
New design
execution
Stop
Initiate the IAP service with
PROGRAM IAP operation
1. System controller reads
bitstream from SPI flash to
execute the PROGRAM IAP
operation
2. On successful IAP pogram
operation, System controller
generates the internal device
reset for new design to take
effect
7

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SmartFusion2 and is the answer not in the manual?

Questions and answers

Table of Contents