UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor efries
Visitor
606 Views
Registered: ‎11-20-2017

Problem with "How To Store Your SDK Project in SPI Flash" tutorial

Hello,

 

I am trying to follow along with the "How To Store Your SDK Project in SPI Flash" tutorial (https://reference.digilentinc.com/learn/programmable-logic/tutorials/htsspisf/start), but I cannot get it to work.  I am using an Artix-7 35T Arty FPGA Evaluation Kit.  I am running Vivado v2017.2 (64-bit) and SDK v2017.2 on a Windows 10 machine.

 

First, I created a simple "Hello World" program by following the steps in the "Arty - Getting Started With Microblaze" tutorial (

https://reference.digilentinc.com/learn/programmable-logic/tutorials/arty-getting-started-with-microblaze/start).  The only deviation from the instructions that I made was that after adding the MIG to the board, I added an AXI Quad SPI, with enabled port SPI_0, and then ran "Run Connection Automation".  When I ran my C program on the Arty board it worked fine, and printed "Hello World" to my PuTTY terminal.  (EDIT: ~~I've attached my board file.~~ I tried to attach my board file but it won't take it).

 

Second, I tried store this "Hello World" program to the Arty's SPI Flash using the "How To Store Your SKD Project in SPI Flash" tutorial.  But, it did not work.  I'll walk you through what I did because there are a few things that I am confused about.  Unless otherwise noted I followed the instructions exactly.  EDIT: In the setup, I don't know what the QSpi mode jumper setting is referring to, so I didn't do anything.  Step 1.3: I compressed my bitstream so I left FLASH_IMAGE_BASEADDR as 0xF8000000, like I found it. Steps 2.1 and 2.2: I used my "Hello World" app that I created by following the "Arty - Getting Started with Microblaze" tutorial.  I couldn't place the sections into mig_7series_0 because that wasn't an option, so instead I used mig_7series_0_memaddr.  Step 4.1: I used offset 0xF8000000 because that is what I used in Step 1.3.  One other thing: the test says to use Arty flash type mt25ql128-spi-x1_x2_x4 (which I do), but the image of the "Program Flash Memory" window shows them using Arty flash type n25ql128-spi-x1_x2_x4.  Step 5: it doesn't work.

 

Does anyone have any suggestions?  Is the SPI Flash some sort of external hardware that I need to plug into the Arty?  Thanks in advance.

0 Kudos