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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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 Zedboard:  Non Volatile Memory Application
  • 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 Verified Answer
  • Replies 3 replies
  • Answers 1 answer
  • Subscribers 346 subscribers
  • Views 1513 views
  • Users 0 members are here
  • Using Xilinx Tools
  • ZedBoard General Questions
  • Zedboard Hardware Design
  • Zedboard Training
  • zedboardcmty
Related

Zedboard:  Non Volatile Memory Application

go_er00
go_er00 over 4 years ago

Dear Sir:

 

      My apologies if this appears to be a "duplicative" post.   I posted this same question earlier and I received an error message.   I checked in at this website and I did not see this post up on the bulletin board.   So I re-posted the same question.

 

Here is the question:

 

     I would like to utilize non-volatile memory on my Zedboard to store "user" data.   (I am defining "user data"  as data that is not to be utilized for booting up the Zedboard).

I would like to utilize "on board" memory if possible.   What I mean when I use the term "on board" memory is memory that is physically located anywhere on the Zedboard,

(I am not referring to "external memory" - eg. SD card, USB, etc. - whereby it is required that I plug in a memory card, USB stick, etc.. ). 

 

       I have read about utilizing Quad SPI Flash, NAND Flash, SRAM/NOR Flash .    However, the details of their implementations are not well specified .

 

       I did find this link to be a good starting point (however, I am seeking to utilize a large amount of 32 bit "user data" - that is not to be utilized for "booting" purposes).

 

Here is the link:  http://www.zedboard.org/content/writing-file-flash-memory-and-reading-it-pspl

 

      Since this is a general question, I am open to all available options, such as storing data in a *.dat file.

 

However, the first question I have about this "generalized" task is with regard to the development platform:

 

1)  Do I need to install an operating system to accomplish this task, or can I work with what is available utilizing only Vivado 2020 and Vitis 2020 in my development platform?

(I know FreeRTOS is available for use in Vitis 2020, however, I want to manage more than one core).

 

2)   Also, if I can avoid installing an operating system, can someone furnish me a "walk through" tutorial on how I would go about accomplishing this task?

  • Sign in to reply
  • Cancel

Top Replies

  • bhfletcher
    bhfletcher over 4 years ago in reply to go_er00 +1 verified
    I do understand the difference between ZedBoard and MicroZed. I was only pointing out the available reference material for MicroZed since it shares a similar Zynq-7000 device and may be a useful starting…
  • bhfletcher
    0 bhfletcher over 4 years ago

    I have used QSPI in a bare metal scenario for user data, but it was not very easy or efficient.

     

    We have also used eMMC on PicoZed and MiniZed for user data using PetaLinux, so those are good resources to look at.

     

    You may also be able to gain something from this Adam Taylor MicroZed Chronicle that uses the spare space in the QSPI for a remote update:

    https://www.hackster.io/news/microzed-chronicles-zynq-multiboot-and-in-the-field-update-a7aeda7c9d48

     

    Bryan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • go_er00
    0 go_er00 over 4 years ago in reply to bhfletcher

    Dear Mr. Fletcher;

     

          I would like to thank you for your reply. 

     

          I own an Avnet Zedboard:    This is the link to the board I own:

     

    ZedBoard | Zedboard

     

          The Microzed is a different board in terms of the hardware soldered onto the board.     This is a picture of the Microzed board:

     

    AES-MBCC-IO-G by Avnet Engineering Services Evaluation & Development Kits | Avnet

     

    I looked at the schematics and I believe that the flash hardware configuration may be incompatible from a programmer's perspective ( this assumption may be incorrect ).

     

    However, after reading this link.   I tend to believe that the solution to my task may be very hardware specific.

     

    AR# 51803: 14.3 SDK, EDK, Impact - Flash programming support on the Avnet ZED board (xilinx.com)

     

    The action request specifically tells the reader to contact AVNET, would you happen to know of a link that I can read for my particular board that was composed by the AVNET corp?

     

    Also, you mention that you have programmed QSPI in a bare metal application can you please tell me what board you used? 

     

    Thank you for your reply.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bhfletcher
    0 bhfletcher over 4 years ago in reply to go_er00

    I do understand the difference between ZedBoard and MicroZed. I was only pointing out the available reference material for MicroZed since it shares a similar Zynq-7000 device and may be a useful starting point to port to ZedBoard.

     

    I think your best option is to look at PetaLinux. Here are a couple references.

    https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842262/Zynq+QSPI+Driver

    https://forums.xilinx.com/t5/Embedded-Linux/Read-write-to-QSPI-flash-from-userspace-ZC702/td-p/892373

     

    You may also find some useful material in the Xilinx University Programs Vivado-Based Workshops:

    https://www.xilinx.com/support/university/workshops.html

     

    My personal experience writing bare metal code for QSPI was a long time ago for MicroBlaze. I'm not sure it's relevant here, but for what it's worth, it is documented here:

    https://www.xilinx.com/support/documentation/application_notes/xapp1053.pdf

     

    Good luck!

    Bryan

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject 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 © 2025 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