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
  • 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
FPGA
  • Technologies
  • More
FPGA
Forum Problems with sample Zmod SDK project for USB104 A7
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join FPGA to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 8 replies
  • Answers 5 answers
  • Subscribers 557 subscribers
  • Views 2575 views
  • Users 0 members are here
  • usb104 a7
  • fpga
  • zmod
Related

Problems with sample Zmod SDK project for USB104 A7

Fred27
Fred27 over 4 years ago

Whilst road testing the USB104 A7, I decided to see how it worked with the ADC and DAC Zmods that were supplied with the Eclypse Z7. Unfortunately I seem to be having some strange issues with the sample code. I've already asked about this on the Digilent forums, but have so far received no reply so I thought I'd ask here. I was about to describe these problems in my road test, but decided that I should check first in case it's user error! I'll paste what I wrote there:

I'm trying to use the ZmodADC and ZmodDAC with the Digilent USB104 A7. I'm hitting the same problem with both SDK projects, after very carefully following the supplied instructions. I'm using Windows 10 and Vivado / SDK 2019.1.

 

When I run the project the main entry point does not get hit. Setting "Stop at program entry" shows that ZMODADC1410:setCalibValues or ZMODDAC1411::getSignedRawFromVolt is hit on entry rather than main. I don't believe either are called from their respective constructors.

 

I had no problems with the DSPI demo (obviously using Vitis 2020.1). I had no problems with the Zmods on an Eclypse Z7.

I had recorded a video of what's happening, but I seem to have deleted it. If nobody has any suggestions I'll re-record it.

 

Update: Rerecorded video

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

  • Sign in to reply
  • Cancel

Top Replies

  • Fred27
    Fred27 over 4 years ago in reply to 14rhb +1 suggested
    Well, with your help 14rhb I've finally found the answer. I think the bitstream under /FPGA/sdk_workspace is the problem. I thought I'd rebuilt it from Vivado, but it seems I hadn't. (I'm sure I'd seen…
Parents
  • dimiterk
    0 dimiterk over 4 years ago

    First burn the bitstream with no app attached to it. Set it to bootloop. Then burn the .elf separately.  See if there is any change.

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

    First burn the bitstream with no app attached to it. Set it to bootloop. Then burn the .elf separately.  See if there is any change.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • Fred27
    0 Fred27 over 4 years ago in reply to dimiterk

    I'm not sure exactly what you mean. Am I not doing that already?

     

    I believe the "Xilinx / Program FPGA" burns the bitstream - with empty program memory and the MicroBlaze set to bootloop. Debugging the MicroBlaze app should then burn the elf for the program and run it.

    • 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