Programming The Qspi Flash; Creating Modified Fsbl For Qspi Programming Mode Step-By-Step Guide - Enclustra Mars ZX2 User Manual

Soc module
Hide thumbs Also See for Mars ZX2:
Table of Contents

Advertisement

4.1.2

Programming the QSPI Flash

In order to program Zynq-7000 devices a modification to the standard FSBL generated during platform
creation is needed. The created FSBL is limited to only running the initialization (ps7_init()). For more
details on this please refer to the answer record by Xilinx AR70548.
Step
Description
1
Modify the created Platform project
1. In the Platform project open platform.spr by double-clicking
2. Click on "Board Support Settings" under the standalone ps7_cortexa9_0 tab
3. Click on "Modify BSP Settings..." in the right hand window
4. Enable the xilffs library (See figure 5)
5. Click Ctrl-B to build the modified platform and wait for completion
2
Create a new application
1. File
2. In the New Application Project window:
(a) Click Next if Welcome Page is displayed
(b) Select the previously generated platform and click Next
(c) For Project Name type FSBL
(d) For the System project select "Create New.." and use the default naming "FSBL_sys-
tem"
(e) Hit Next
(f) Select "standalone on ps7_cortexa9_0" as the domain
(g) Hit Next and wait for the tool to proceed
(h) Select the Zynq FSBL template
(i) Hit Finish and wait for completion
(j) In the created FSBL project folder modify main.c located in the src folder with the
code snippet provided below this table (1).
(k) Build the application by pressing Ctrl-B and wait for completion
Table 10: Creating modified FSBL for QSPI programming Mode Step-by-Step Guide
D-0000-489-003
New
Application Project
17 / 25
Version 2022.1_v2.0.1, 15.10.2022

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Ma-zx2

Table of Contents