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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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 Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
MicroZed Hardware Design Rewriting configuration SPI flash memory on MicroZED
  • 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 1 reply
  • Subscribers 307 subscribers
  • Views 473 views
  • Users 0 members are here
Related

Rewriting configuration SPI flash memory on MicroZED

Former Member
Former Member over 9 years ago

I have a  MicroZed 7020 eval board. 

1)  I would like to know if it is possible to reprogram the onboard configuration SPI flash using the ZYNQ processor.  I would like to transmit a BIT file over Ethernet to the ZYNQ processor and then have the processor write it to the SPI Flash memory to update the FPGA code.

On the MicroZED Rev F schematic, I noticed that the SPI flash control lines are connected to PS_MIO1, PS_MIO2, PS_MIO3, PS_MIO4, PS_MIO5, PS_MIO6.

2)   Can these same control lines be used for rewriting the SPI flash after the FPGA has configured? 
Or do these pins become tristated after configuration is complete?



3) Is there a dedicated hardware resource that handles the SPI configuration programming on bootup?

It is not clear to me whether this SPI configuration flash uses the embedded SPI0 or SPI1 hardware resources that is part of the ZYNQ.


I am using Vivado 2015.1  with project settings->general->project device->MicroZed 7020 Board (xc7z020clg400-1)

Thank you



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

    Hello Frank,

     

    You can write the the QSPI Flash on the MicroZed board after the FPGA has been configured. If you are using Linux you might want to take a look at this Xilinx Tech Tip that came up with a quick Google search:

     

    http://www.wiki.xilinx.com/Zynq-7000+AP+SoC+Boot+-+Programmable+Logic+Configuration+via+Ethernet+Tech+Tip

     

    This forum post might be useful as well:

     

    http://zedboard.org/content/how-flash-fsbl-only-qspi

     

    You can perform the same function in a 'bare metal' or standalone system. In that case I would suggest you look at the low level driver examples available in the SDK. Take a look at this forum post in that case:

     

    http://zedboard.org/content/writing-file-flash-memory-and-reading-it-pspl

     

     

    -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 © 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