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 Zedboard printing garbage/junk over UART
  • 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 Suggested Answer
  • +1 person also asked this people also asked this
  • Replies 22 replies
  • Answers 1 answer
  • Subscribers 330 subscribers
  • Views 5866 views
  • Users 0 members are here
  • zedboard
  • uart
Related

Zedboard printing garbage/junk over UART

crank1
crank1 over 2 years ago

Hello, I have been working through some basic examples on the Zedboard, i.e. creating a simple PL fabric to switch an LED upon a button press. The board will program fine, and the system will work (i.e. LEDs and buttons work fine), however, whenever it prints something to the terminal, it appears as junk. I have a cable plugged into the J17 (prog) port and the J14 (UART) port. I have tried every baud rate possible, I understand that the standard is 115200, however no baud rate works (have tried on Vitis Terminal, PuTTy and TeraTerm). I have installed the Cypress (now distributed by Infinion) USB to UART drivers and the board comes up on the device manager as a serial device. I have also tried plugging the J14 port into my Macbook and using screen, but it still has the same issue. All the boot jumpers (JP7-JP11) are grounded. I am using Windows 10 and Vivado and Vitis 2022.2. Are there any other reasons as to why it would be printing junk? I have played around with the Linux install on the SD and all works fine when using a serial terminal, so I don't think it is a driver problem. Thanks.

  • Sign in to reply
  • Cancel

Top Replies

  • michaelkellett
    michaelkellett over 2 years ago +2
    Connect a scope to the serial port. Ideally one which can decode UART protocols. This will enable you to actually measure the baud rate and comprehend the data. Could be parity/baud rate/ handshake/number…
  • Gough Lui
    Gough Lui over 2 years ago +2
    Perhaps the system is expecting a clock crystal source of a certain frequency and the actual crystal you are using is a different frequency, resulting in everything being "at the wrong speed". Check…
  • saadtiwana_int
    saadtiwana_int over 2 years ago +1
    I think what Gough Lui mentioned could very well be the issue, because you are getting serial output, just not at the right baud rate probably. And since with the Linux image it's working fine, so it can…
Parents
  • Gough Lui
    0 Gough Lui over 2 years ago

    Perhaps the system is expecting a clock crystal source of a certain frequency and the actual crystal you are using is a different frequency, resulting in everything being "at the wrong speed".

    Check that you're building things with the right target selected and clocks (source and speed) configured. Unfortunately, I have no experience with Zedboard or the latest Xilinx toolchains to give you any more guidance, but that would be what I would think of if all common baud rates are not working.

    - Gough

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Gough Lui
    0 Gough Lui over 2 years ago

    Perhaps the system is expecting a clock crystal source of a certain frequency and the actual crystal you are using is a different frequency, resulting in everything being "at the wrong speed".

    Check that you're building things with the right target selected and clocks (source and speed) configured. Unfortunately, I have no experience with Zedboard or the latest Xilinx toolchains to give you any more guidance, but that would be what I would think of if all common baud rates are not working.

    - Gough

    • Cancel
    • Vote Up +2 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