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
MicroZed Hardware Design Deadlock of 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 11 replies
  • Subscribers 341 subscribers
  • Views 1055 views
  • Users 0 members are here
Related

Deadlock of Microzed

Former Member
Former Member over 9 years ago

Hello

I work with Vivado 2014.2 and the AES-Z7MB-7Z020-SOM-I-G.

Iu2019m new to the Zynq world and worked through the ZynqSW and ZynqHW tutorials for the Zedboard (we already had Zedboards) as well as the CTT tutorial. Then I wanted to adapt the CTT tutorial to my target hardware, the Microzed (version with a Z7020).

Since it is a lot of new stuff that is discussed, it happened that I corrupted my Microzed somehow. I managed to crash my serial console, the zynq just doesnu2019t send any message (Tx of Zynq is always 1V8) even though Iu2019m able to download some (default) helloworld projects or connect to the zynq via XMD console.
However, I was able to debug the helloworld.c file andu2026 see there. I have the same deadlock as described here:

https://lists.rtems.org/pipermail/users/2015-May/028793.html


My Debug Disassembly exctract is this:
ffffff2c:   dsb     sy
ffffff30:   wfe
ffffff34:   mvn     r0, #15
ffffff38:   ldr     lr, [r0]
ffffff3c:   cmn     lr, #212
ffffff40:   beq     -28     ; addr=0xffffff2c

This exact same disassembly extract appears with any code I try to debug on the microzed now.

Can you tell me if there is a way to overcome this deadlock? Is there a way to download an fsbl and bring the PS up and running again?

I would be very happy for an answer or even a way to reset my system again.

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

    Hello Nicolas,

     

    If I understand correctly you have not been able to see any output from the MicroZed USB-UART interface. Before trying to tackle the QSPI issue please verify that you can make the USB-UART connection, as that is completely separate from the QSPI. The MicroZed USB-UART device is different than the one on the ZedBoard and requires a different driver on your host PC. Please make sure that you have installed the SiLabs CP210x USB-to-UART driver as described in tutorials mentioned above. Also make sure that you determine which 'Comm Port' to use for your TeraTerm or Putty terminal program.

     

    Once the USB-UART driver is set up then I would either download a known good microSD Card image for your MicroZed 7020 and program onto a microSD Card or perform one of the tutorials (such as tutorial 02 for the MicroZed) that loads the application program via JTAG. Either of these should produce an output to your serial terminal program.

     

    Once you have established communications with the MicroZed USB-UART then we can start to test the QSPI issue.

     

    -Gary

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

    Hi Gary

    The driver installation is correct and the comm port selection also (its named "COM13: Silicon Labs CP210x USB to UART Bridge" in TeraTerm). I was able to download the Mem_Test with Vivado 2015.2 and get the messages on the serial terminal. (Soruce files: https://zedboard.org/content/vivado-20152-version-microzed-7020) I was also able to debug this program successfully on the Zynq.

    Is it possible that the MicroZed Board Definition files for Vivado2014.2 Zedboard 7Z020 are somehow corrupted? I had to install them following the installation guide for "MicroZed Board Definition Install for Vivado 2014.2, 2014.3, and 2014.4": http://zedboard.org/content/board-definition-files-0. My system requirements are all correct (64-bit Win-7, Xilinx Vivado 2014.2). I installed it as described in Option 1: Install into the Vivado installation.
    After that I always set this board definition files as my project device and in the Vivado block design I set the processing_system7_0 to its Microzed Preset. Is that a possible source of failure?

    Regards
    Nicolas

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

    Hi Gary

    The driver installation is correct and the comm port selection also (its named "COM13: Silicon Labs CP210x USB to UART Bridge" in TeraTerm). I was able to download the Mem_Test with Vivado 2015.2 and get the messages on the serial terminal. (Soruce files: https://zedboard.org/content/vivado-20152-version-microzed-7020) I was also able to debug this program successfully on the Zynq.

    Is it possible that the MicroZed Board Definition files for Vivado2014.2 Zedboard 7Z020 are somehow corrupted? I had to install them following the installation guide for "MicroZed Board Definition Install for Vivado 2014.2, 2014.3, and 2014.4": http://zedboard.org/content/board-definition-files-0. My system requirements are all correct (64-bit Win-7, Xilinx Vivado 2014.2). I installed it as described in Option 1: Install into the Vivado installation.
    After that I always set this board definition files as my project device and in the Vivado block design I set the processing_system7_0 to its Microzed Preset. Is that a possible source of failure?

    Regards
    Nicolas

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