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
    About the element14 Community
  • 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
ZedBoard Hardware Design XAPP1026 on the Zedboard
  • 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 3 replies
  • Subscribers 354 subscribers
  • Views 643 views
  • Users 0 members are here
Related

XAPP1026 on the Zedboard

Former Member
Former Member over 10 years ago

XAPP1026 on the Zedboard
I have downloaded this tutorial from http://zedboard.org/support/design/1521/11


There is no explanation as to what to do with the files. It does contain the XAPP1026 application note.  It requires ISE 14.5 (so I downloaded this from the Xilinx website).

Step 1 (page 9) Specify work space.
Eclipse organizes projects within a folder called workspace. In SDK, a workspace can only
contain projects for one specific hardware platform. When SDK starts up, specify a folder to
contain software projects for a particular hardware design.
Does this mean specify any folder? I tried this.

And I get an empty project as you would expect.

Step 2: Create a local repository for FreeRTOS BSP
This requires you to download the FreeRTOS BSP. This appears to have already been done with the XAPP1026-Zedboard design.

Step 3: Import Software Projects
Software platforms and applications can be created in SDK after the hardware platform is
specified. Instead of creating a new software platform/application, import the existing software
platforms and example applications provided with this reference design.

When I do this I get an error in the fsbl "Symbol 'XPS_DDR_CTRL_BASEADDR' couldn't be found


This is not too surprising as the design doesnu2019t include the hardware platform. To get this I double click on system in C:Zedboardxapp1026_zedboard-27-11-15xapp1026_14_5zedboard_GigEhwsystem.xmp. This gives the XPS design.

I then hit export design & launch SDK.

This includes the hardware platform. Now I can go back to step 3.

Unfortunately I get errors. Item 5 of step 3 does say this might happen and suggest that I clean and rebuild the project.  However after the clean Iu2019m still left with errors in the socket_apps - fatal error:lwip/inet.h: No such file or dir, fatal error: xil_io.h: No such file or dir

If I create a new FSBL as follows with zed_hardware_platform(pre-defined) I get a different set of errors in the socket_apps.
Symbol 'DEFAULT_THREAD_PRIO' could not be resolved.
(ignoring the errors with sockets_apps I move on)

Step 3: Download the Bitstream
I am able to still programme the FPGA. This is using hw_platform_0 ( it also works with hw_hw_platform!!).

Step 4: Download the MFS Image
The preceding procedure does not apply to Zynq devices. For downloading image.mfs for
Zynq devices, See the following section (step 5). See Appendix A: Creating an MFS Image for
instructions on how to create the MFS image.mfs.
Following this procedure I get something that looks very like what is achieved in appendix A.There appears to be just the one error.

Step 5: Create a Run Configuration and Run the Application
Iu2019m able to run the raw_app.


And I get the following error:

platform_init_fs: ERROR: unable to locate indx.html in MFS. One of your app requires a memory system to be loaded. ERROR intializing platform

I checked this error out on the forums. The only reply was to make sure the xilmfs is ticked. This it is.

Any help with any one of these issues would be very much appreciated.

(I have also posted this on the Xilinx forum and because I'm able to add attachments this has images as well - see https://forums.xilinx.com/t5/Embedded-Processor-System-Design/XAPP1026-working-on-the-Zedboard/td-p/668211)

  • Sign in to reply
  • Cancel
Parents
  • zedhed
    0 zedhed over 10 years ago

    Hi Peter,

    It sounds like you are pretty close to getting this working.  The error message "platform_init_fs: ERROR: unable to locate indx.html in MFS..." indicates that the memory file system image was not downloaded into the memory location that the MFS subsystem is expecting to find it.

    I see that you went through the steps to create the MFS image but it also needs to be downloaded into memory before the raw_apps.elf is run.  I believe that this can be done from within the "Run Configurations" window under the "Device Initializations" tab where you can download a data file (your image.mfs) into a memory location of your choosing.

    This is what XAPP1026 is referring to in Step 6, part f instructions.

    Regards,

    -Kevin

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

    Hi Kevin
    thanks for your input. This helped a lot. I still haven't fully got my head round XAPP1026 but I have managed to get FreeRTOS working on my Zedboard. To do this I followed the instructions on:

    http://interactive.freertos.org/entries/31659559-Xilinx-Zynq-FreeRTOS-and-lwIP-demo-XAPP1026-Vivado-2014-2

    This enables me to turn the Zedboard into a web server which is what I was after. The only draw back is that this only works with Vivado 2014.2. My projects are all in Vivado 2015.2. I tried running the FreeRTOS on 2015.2 and I get loads of errors. If I go onto the FreeRTOS forum I see  that many other people have had exactly the same issue when using Vivado 2015. So I'm now looking for a FreeRTOS download for Vivado 2015.2. Any suggestions?

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

    Hi Kevin
    thanks for your input. This helped a lot. I still haven't fully got my head round XAPP1026 but I have managed to get FreeRTOS working on my Zedboard. To do this I followed the instructions on:

    http://interactive.freertos.org/entries/31659559-Xilinx-Zynq-FreeRTOS-and-lwIP-demo-XAPP1026-Vivado-2014-2

    This enables me to turn the Zedboard into a web server which is what I was after. The only draw back is that this only works with Vivado 2014.2. My projects are all in Vivado 2015.2. I tried running the FreeRTOS on 2015.2 and I get loads of errors. If I go onto the FreeRTOS forum I see  that many other people have had exactly the same issue when using Vivado 2015. So I'm now looking for a FreeRTOS download for Vivado 2015.2. Any suggestions?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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