Jump to content
  • 0

Can't get Hello world to work on Zybo Zynq-7000


Boyd

Question

Hello i'm new to FPGA programming.

My Hello world doesnt work.

I'm using Zybo Zynq-7000 board.

I don't know why the UART doesn't work.

I followed a few tutorials already, but I can't get it to work.

Also I need to know what the xdc file needs to look like, because this is not very clear to me for UART1.

 

Can somebody help me with this?

image.png

Zybo_Master.xdc design_1_wrapper.vhd

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 1

Hi @Boyd

The latest block design looks fine, assuming you are using block automation to apply the zynq preset from the board files. What do your Vitis projects look like? Are you using xil_printf? The code presented towards the end of this guide should work with a default project based on the empty C application template - though note some customization is needed if your block design doesn't exactly match the one presented.

Thanks,

Arthur

Link to comment
Share on other sites

  • 0

Are you trying to read and write to the uart on the USB port? If this was the case then you are probably won't need this IP, the USB probably is connected to the PS side in the of the FPGA (bank 501)

If you are trying to use UART from the GPIOs, then you probably need to check your connection from the schematic, and also you should either use the bus connection or the wire connection (either uart_rtl or rx_0&tx_0, not both), I think this should make your UART work

Link to comment
Share on other sites

  • 0

Ok I changed the IP to this again and I know from tutorials that this should work, but it does not for me!!!

Even changing in Vitis to use the ps7_init.h did not work for me.

I just want the uart to work and print Hello world to the screen.

Can somebody help me please?

image.thumb.png.f3ddcfd0fb98c1dfe4f49bfe61b919c6.png

design_1_wrapper.vhd

Link to comment
Share on other sites

  • 0

I tried the example, but it still doesn't work.

It just doesn't send anything the Rx led doesn't blink and neither do the leds on the board turn on if I push the buttons.

I build it and I run it.

I don't know where to look also, I tried everything...

The board is also a couple of years old, but if I code in VHDL everything works fine.

 

image.thumb.png.1236ff20db5d1520504c2881c373e858.png

 

design_1_wrapper.vhd main.c

Zybo_Master.xdc

Edited by Boyd
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...