element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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
Software Application Development Can't run a simple "Hello world" in microzed-USB
  • 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 17 replies
  • Subscribers 328 subscribers
  • Views 3048 views
  • Users 0 members are here
Related

Can't run a simple "Hello world" in microzed-USB

Former Member
Former Member over 9 years ago

Hello,

I'm a beginner in using zed boards and xiling software products. I'm attempting to run simple "Hello Wold" program on Microzed-USB board by generating bitstream using vivado environment and then run the code using SDK. I was able to program the fpga but failed to run the program.

When I Run it using <<Run as>><< Run Configurations>><<STDIO Connection tab>> with the following specifcaion:

Port: JTAG UART
BAUD Rate: 9600

I get the following error
"Process STDIO not connected to console.
If you'd like to see UART output in this console, please modify STDIO settings in the Run/Debug configuration."

I'm using JTAG hs2 to program the board. I attempted to switch the Port setting to some other port, but for some reason there is not other COM Port installed under Ports in my computer (Devise Manager Setting). I assume that this board should have a COM port when the USB is connected to the computer. Not sure if there is driver required for it to operate.

Thanks

-ER

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

    Hello Erickson,

     

    Yes, once you connect your MicroZed to the USB port on your Host PC you should see the driver being loaded and a 'serial' COM Port should show up under your Windows Device Manager. It can take what seems like a long time for the USB-UART driver to load, especially the first time, so be patient.

     

    If it still does not load the SiLabs USB-UART driver on your Host PC we will need to do some trouble shooting. What operating system are you using on your Host PC? 

     

    -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

    Yes,I assumed that a serial COM port should show up.

    I'm using Windows 7 as my operating system.

    Thanks,

    -ER

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

    Have not had a lot of issues with the USB-UART Driver with Windows 7. Could you try another Windows PC, or if not at least a different USB port on the current Windows PC to rule out an issue there?

     

    Do you have another MicroZed to try as well?

     

    -Gary

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

    I tried using different computer and USB port I still see no COM port available. I followed a few "Hello World" tutorials using Vivado and SDK, which they always end up using serial port connection.

    Looking at the schematic of microzed-USB, I can't spot any ways to receive data from the board. The micro usb connector is only powering the board and JTAG HS2 is programing the board. Is this correct?

    I don't have any other Microzed board.

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

    You are correct, the micro USB connector is powering the board (unless you have it plugged into a carrier card) and the JTAG adaptor is programming it.

     

    It sounds like you have a broken MicroZed board unless the USB cable you are using is the problem. The USB UART driver on your host PC should recognize the MicroZed port once you connect the board to your USB port, regardless of the program or configuration method. At this point, if you have ruled out a bad cable, I would request an RMA to return the MicroZed for replacement if you are still within the warranty period.

     

    -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

    One other thing comes to mind, but I haven't seen this problem for a very long time.  However, if you open up your BSP settings, take a look at the serial port assignment to make sure it is connected appropriately.  I don't believe there is a default setting if for some reason the initial connection to the PS7_UART got changed somehow.

    Ron

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

    Gary thanks for the suggestion. I realized that I have a mistake in the title of this forum discussion. I meant to say Microzed-SBC instead of Microzed-USB, which consequently confused everybody. Looking at the schematic microzed-SBC, it doesn't look like it has a UART to USB bridge like the regular MicroZed does.

    Now, I'm trying to create a way to communicate (data transferring) with board using micro USB. Any suggestions where to start.

    Apologize for the inconvenience.

    -ER

    • 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

    Thanks for the suggestion Ron.

    -ER

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

    Hello Erickson,

     

    You are correct, the MicroZed SBC does not have the SiLabs USB to UART bridge device.

     

    You could use a Digilent USB to UART PMOD connected to the MicroZed SBC PMOD connector.

     

    https://www.digilentinc.com/Products/Detail.cfm?NavPath=2,401,928&Prod=PMOD-USB-UART

     

    -Gary

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

    Yes, Digilent USB to UART PMOD is one way to communicate. I was wondering if I can create a method to communicate using existing peripherals in this board (vivado and c-program in the SDK environment).

    • 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