Jump to content

gibberish on Hello world project on Vitis 2020.2 and Zybo z7 10


tridot64

Recommended Posts

I am a newbie to FPGA and all things related. I installed all the board files from the repository. Created my block design and ran the block automation. I created a HW platform and a SW application with the template. I put my Zybo Z7 10 on JTAG mode. i can verify that the UART prints out data when it passes a print statement. But the printed value doesnt correspond to what is supposed to be in it. I have attached necessary screenshots. I am guessing that i have an error with the UART. To make sure my cable wasnt at fault, I reset the system to get the OOB image "initializing init:done ..".

Both the Tera term and the vitis terminal gave the same output.

VIvado version 2020.2

OS: Windows 11 

 

Thanks in Advance.

image.thumb.png.e82010c85f012993c9c5337c2ffade7a.png

image.png.1add898a2702efa31d72ca9859852781.png

image.thumb.png.b27ecbf6d137441e408d98e5782fec1c.png

image.png.32d8462321f5385356b6f0f36c38381d.png

image.png.a21065e9426aec667fbbc31a192ec3fb.png

Link to comment
Share on other sites

Hi @tridot64,

I tried to find some sort of definitive answer, but I'm not readily finding a reason for why print is not working over printf or xil_printf in the software environment (I'm presuming that the print function uses 115200 baud by default which would match the default Zynq configuration, though I haven't ). Because the UART on Zynq devices use the ARM processor, this won't be a hardware issue specific to the Zybo Z7 but an issue with how Xilinx's libraries/compilers play with the ARM processors on their own SoCs.

Thanks,
JColvin

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...