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!

取消
显示结果 
搜索替代 
您的意思是: 
Adventurer
Adventurer
255 次查看
注册日期: ‎05-24-2018

Vivado设计MicroBlaze Helloworld无输出

使用Vivado 2018.3, Create New Project, Family:Zynq-7000,Package:ffg676,Speed:-2,Part:xc7z035

1.Add IP:MicroBlaze、ZYNQ7 Processing System、AXI Uartile,所有参数保持默认,run Block Automation,run Connection Automation., generate bitstream successfully.

image.png

2.Export hardware, launch XSDK, create Hello world Application from Template. The processor is microblaze_0(standalone).

image.png

3.My target board is turned on and connected to the host PC via the USB-JTAG port. 

4.Click the Program FPGA button. Program FPGA with hardware design successfully. Set up the UART terminal.

5.Run the helloworld project as "launch on hardware(system debugger)"

6.terminal 无消息输出

image.pngimage.png

0 项奖励
2 条回复2
Xilinx Employee
Xilinx Employee
215 次查看
注册日期: ‎06-02-2017

回复: Vivado设计MicroBlaze Helloworld无输出

Hi @altair5683 

你设计的系统比较特殊,PS和MB都可以访问AXI UART,可以尝试一下:

1,基于PS做一个HelloWorld的App,输出选择为AXI UART,看是否能正常输出。大致可定位是否MB的问题。

2,进入Debug模式进行调试,elf是没有运行还是单纯没有输出。

3,如果熟悉XSDB的话,可以通过MB,在XSDB下直接操作AXI UART寄存器,看是否可以工作。

当然,也检查一下,看起来你的PS和PL都有串口,是否连接了正确的串口。

0 项奖励
Adventurer
Adventurer
200 次查看
注册日期: ‎05-24-2018

回复: Vivado设计MicroBlaze Helloworld无输出

1.在a9处理器上建立helloworld应用,依旧无输出

2.XSCT console显示

Setting PC to Program Start Address 0x00000000
Successfully downloaded E:/Vivado/hell/Debug/hell.elf
Info: MicroBlaze #0 (target 6) Running

3.下图可能成为问题吗?

image.png

0 项奖励