UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
170 Views
Registered: ‎06-08-2019

"Hello world" not working on Zynq 7000

I am trying to run the "Hello world" program on my Zynq 7000 family board. The issue which is happening is i am not able to see the output of the program on my Terminal. I am using the SDK terminal for seeing the output. I have already gone through some videos from xilinx on SDK and i am following the same steps as they did. One day before, it was working fine but, i am really unable to figure out what is the issue now. I am a kind of a newbee in using Viavado and SDK, so it will be really great if some one can help me out.
I am using Vivado 2019.1.

So these are the steps which i am following:

1) Created a block diagram in Vivado and generated the bitstream. We can see that i am using UART1 and GPIO in peripherals.

Screenshot (1).png

 

2) Then I launched SDK from Viavdo and Created a new Application project. Then i used the "Hello world" template and created the BSP.

3) I created a "Run configuration", connected my terminal, Programmed my FPGA and then Launched the program on Hardware.Screenshot (2).png

 

Screenshot (2).png

Please let me know if any other information is needed.

Thanks 

Amol

 

Tags (2)
0 Kudos
4 Replies
Moderator
Moderator
115 Views
Registered: ‎06-30-2019

回复: "Hello world" not working on Zynq 7000

Hi amolb@iisc.ac.in ,

 

3) I created a "Run configuration", connected my terminal, Programmed my FPGA and then Launched the program on Hardware.

Perhaps you should create a debug configuration, then connect terminal. And you can see Hello world using Step Over(F6).

Or you can add a loop:

while(1){
     print("Hello World!\n\r");
}

Have a try and let me know if you still have problem. 

For beginners, please follow ug940 Ch1 & Ch2.

-------------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------
0 Kudos
106 Views
Registered: ‎06-08-2019

回复: "Hello world" not working on Zynq 7000

Screenshot (4).png

I ran the part which you mailed me. But, still not working.

Thanks for the  ug940.

Regards

Amol

0 Kudos
Moderator
Moderator
101 Views
Registered: ‎06-30-2019

回复: "Hello world" not working on Zynq 7000

Hi amolb@iisc.ac.in ,

 

Please give me more deatails such as your board information.

Please check these:

1.ZYNQ core -> MIO Configuration -> IO Peripherals -> UART1(zc702 is MIO48/49)

Check board schamatic.

2.Device Management. Make sure COM6 is the target.

3.SDK -> test_bsp -> system.mss ->standalone

stdin and stdout should be ps7_uart_1

-------------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------
0 Kudos
84 Views
Registered: ‎06-08-2019

回复: "Hello world" not working on Zynq 7000

Thanks a lot it started working !!
I alotted the UART ports to MIO 48-49 and now it is working.

PS: I am using the Zybo Z7010. 

 

0 Kudos