Jump to content
  • 0

Serial port issues on Zedboard


HeliGuy

Question

I am using the latest Vivado/Vitis software. Following the guide, I have a program working that reads the switches and lights the LED’s, but I can’t get printf or xil_printf to work with USB1 in a stand alone design. I have a 2nd USB cable connected to USB1 that works fine when booting Linux using the included SD card. Is there a guide on how to setup xil_printf with USB or pmod serial? The closest I’ve gotten is garbage out when I press a button. All the BAUD rates are set to 115200 in Vivado. I tried every  BAUD in putty for Windows. I read that there are issues with the USB OTG port, but am not using that.

Thanks for any assistance!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hey @HeliGuy,

Check the input clock frequency setting in Vivado, see the screenshot below (it was taken using a different board, it's only representative of where to find the setting). There was a recent change to the board files (version 1.1, not yet introduced to the XilinxBoardStore) that corrected similar issues occurring in baremetal designs.

image.png

Thanks,

Arthur

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...