element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Achievement Levels
    • Benefits of Membership
    • Feedback and Support
    • Members Area
    • Personal Blogs
    • What's New on element14
  • Learn
    Learn
    • eBooks
    • Learning Center
    • Learning Groups
    • STEM Academy
    • Webinars, Training and Events
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Arduino Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Project Groups
    • Raspberry Pi Projects
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Or 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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development MicroZed Run sdk application
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Avnet Boards Forums requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 8 replies
  • Subscribers 176 subscribers
  • Views 248 views
  • Users 0 members are here
Related

MicroZed Run sdk application

raymadigan
raymadigan over 7 years ago

I bought a MicroZed a long time ago and am finally getting to it.  I have built an application following the Adam Taylor blog to write Hello World to the console.  I have build the application and it seems ok, but I can't get it to run. 

At first I got a message that there was no ARM device on connection local. Cable is not connected to host.

I have created a Target connection to connect to the device:

Type:  Hardware Server
Host:  192.168.1.10
Port: 3121

I get the message that the hardware server is not running on the machine.  I can't find the hardware server to run it.  On some pages I found while googling I found where I was told to run hw_server but that doesn't exist anymore.

What did I miss?  I will work to figure this out, I just need a pointer.

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

    Do you have a JTAG programming cable, such as an HS3 cable connected to your MicroZed?

    http://www.em.avnet.com/en-us/design/drc/Pages/Digilent-JTAG-HS3-Programming-Cable.aspx

     

    You connect this cable directly to the J3 Connector on your MicroZed Board if you are using it 'standalone' and powered from the USB connector. If you have the MicroZed plugged into a Carrier Card you will need to connect the programming cable to the Carrier Card JTAG connector.

     

    Then I would suggest you take a look at the MicroZed tutorials available on the MicroZed Reference Designs page:

     

    http://zedboard.org/support/design/1519/10

     

    There are also solution files for the tutorials as well as instructions for programming the QSPI Flash on the same page.

     

    -Gary

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

    I have the HS2 RevA cable. 

    Thank you for the reference.  I had actually downloaded one of the pages before.  I did get further because:

    1. Set the Boot Mode jumpers to Cascaded JTAG Mode.

    Which I didn't know before.  Now I get the message that it can't find the fpga.  I am sure the cable is setup correctly, but I can't find how to set the Xilinx/Digilent cable switch settings.   In previous SDK there was a menu item to accomplish this which is not available.

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

    Can you check and see if your host PC is recognizing the HS2 JTAG cable? When you plug the HS2 into your PC USB (even wtihout being connected to the MicroZed) you should hear a 'notification' sound and, in the Windows Device Manager under Universal Serial Bus controllers, you should see a 'USB Serial Converter' added to the list of controllers.

     

    If you disconnect the HS2 from the PC the USB Serial Converter entry should disapear.

     

    If not you might want to go back and install the cable drivers in your Vivado/SDK installation.

     

    -Gary

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

    I am running Linux, ubuntu 14.04.

    I have installed the kernel driver,

    if I lsmod | grep cp210x

    I get
    cp210x    23512  0
    usbserial 45014  2 cp210x, ftdi_sio

    before the board is plugged in
    /dev/ttyUSB0 is present

    when I plug the board in
    /dev/ttyUSB1 is also present.


    if I
    dmesg | grep cp210x  I get
    [  300.683313] usbcore: registered new interface driver cp210x
    [  300.683330] usbserial: USB Serial support registered for cp210x
    [  300.683372] cp210x 8-1:1.0: cp210x converter detected
    [  300.685010] usb 8-1: cp210x converter now attached to ttyUSB1


    I don't know what else to check?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • raymadigan
    0 raymadigan over 7 years ago

    I did the exact same procedure on a windows machine and there are no problems.  One thing that is different is that on the the linux machine I am unable to get the terminal that is part of the SDK to work.  All I get is

    No Such Port: ttyUSB1 or /dev/USB1

    it I dmesg | tail

    it shows the same messages that the converter is connected to /dev/ttyUSB1.

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

    See if this forum post is helpful:

     

    http://microzed.org/content/usb-uart-problem

     

    -Gary

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • raymadigan
    0 raymadigan over 7 years ago

    I did all of that and it worked just as before.  When I have the MicroZed boot in sd card mode I can watch the boot process on the terminal device as it is connected to /dev/ttyUSB1.  When I try to program the FPGA after I put the device in cascade boot mode I get the message that it can't find the device on local.  When I look at local it is the localhost IP address and the cable is connected to a usb port.  It is just like in the windows setup.  There is no IP cable connected.  I hate windows and I hope I don't have to use it for this project.

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

    I am not sure what is causing your issue but, since it is really a Xilinx tools working with your Linux host PC, you might get an audience with more experience in the area on one of the Xilinx Community Forums:

     

    https://forums.xilinx.com/

     

    Probably one of the Design Tools forums.

     

    I did notice that there is a note in the latest Vivado Release Notes and Installation document (on page 24) about changes to how the cable drivers are installed under Linux: 

     

    http://www.xilinx.com/support/documentation/sw_manuals/xilinx2015_4/ug973-vivado-release-notes-install-license.pdf

     

    Good luck with your search. Please post back if you find a solution.

     

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