tridot64 Posted November 8, 2021 Share Posted November 8, 2021 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. Link to comment Share on other sites More sharing options...
tridot64 Posted November 8, 2021 Author Share Posted November 8, 2021 Apparently using xil_printf.h 's xilprintf function gives me a proper outputs. I got that while implementing axi gpio via the tutorial in here. I would still be happy to be educated on why the previous attempt didnt work. Thanks in advance. Link to comment Share on other sites More sharing options...
JColvin Posted November 9, 2021 Share Posted November 9, 2021 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 tridot64 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now