element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Avnet Boards General Lab 08 - Non Volatile Configuration
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 4 replies
  • Subscribers 365 subscribers
  • Views 418 views
  • Users 0 members are here
Related

Lab 08 - Non Volatile Configuration

Former Member
Former Member over 12 years ago

Hello everyone.

In Lab 8 of ZedBoard tutorials, I got an error of an undeclared variable.
It happens when I create a First Stage Bootloader Project (FSBL) from Xilinx SDK Templates, for my ZedBoard.

This is what I got:

../src/qspi.c:122:6: error: 'XQSPIPS_LPBK_DLY_ADJ_OFFSET' undeclared (first use in this function)
../src/qspi.c:122:6: note: each undeclared identifier is reported only once for each function it appears in
make: ** [src/qspi.o] Erro 1

Since it's a template, I'm not supposed to change a thing. I don't know what that variable means, so I have no clue on how I can get rid of this. If anyone already got this, I'd appreciate to know how you did it.

*
After this, I've run Lab 07 solution, to make sure I didn't do anything wrong before. And I still got this error.

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    0 Former Member over 12 years ago

    Can you tell us what version of the Xilinx tools you are using? This tutorial was developed with 14.2 and this might be related to differences in tool versions.

     

    -Gary

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 12 years ago

    Can you tell us what version of the Xilinx tools you are using? This tutorial was developed with 14.2 and this might be related to differences in tool versions.

     

    -Gary

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Former Member
    0 Former Member over 12 years ago in reply to Former Member

    I'm using ISE 14.4 in win7 64b. But still, I'm running a template made for this version.

    Cheers.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to Former Member

    I think the issue is due to differences between how the hardware and/or software are implemented in the two different tool suites.

     

    I unzipped the lab 7 solution and just opened PlanAhead and followed the lab directions. I was able to duplicate your results. To try to bridge the differences between the tool suites I performed the following steps:

     

    After unzipping the Lab 07 solution (should work the same with your result if you completed the labs to this point) I opened the project in PlanAhead and then double clicked on the 'system_i' (system.xmp) file in the 'Sources' pane to invoke the XPS tool. When XPS opens it should detect that you are using a newer version of the tools and ask if you would like to update the project. Say 'Yes'. Once the update is complete click the 'Clean All Generated Files' option under the XPS 'Project' button on the tool bar. Once this is complete use 'File > Exit' to exit XPS back to PlanAhead.

     

    Now, back in PlanAhead, click "Generate Bitstream' under the 'Program and Debug' under Flow Navigator to generate a bitstream with the new design. Ignore/bypass any warnings. Say 'yes' to opening the implemented design. Then go to 'FIle > Export > Export Hardware for SDK' and make sure to check the 'Include Bitstream' option this time to update the exported hardware.

     

    Open SDK and say 'Yes' if it indicates that it has detected a HW update and wants to sync. Once that is complete build the FSBL as directed in the lab instructions, except that you DO want to generate a new BSP to make sure you are up to date with the new design. The build worked correctly for me at this point.

     

    When you go to Create the Image you may need to browse to tell it where the zynq_fsbl_0.elf is and manipulate the order of the three source files in the list of partitions to match the order shown in the lab instructions (Figure 5). The order is important. You may also need to create the /bif Output folder and adjust the destination to match Figure 5 in the lab instructions.

     

    The new image boots for me at this point.

     

    -Gary

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube