一、microblaze串口打印
1.microblaze挂在axi_uartliete,然后连接uart接口进行串口打印
2.如果FPGA硬件没有外置串口,这个时候可以使用MDM,也就是使用jtag模拟串口,来实现串口打印,使用jtag模拟串口,也叫jtag_uart
二、jtag_uart配置
jtag_uart的配置在MDM这个iP CORE中,具体如图
三、注意要使用中断控制器
使用jtag_uart,要添加中断,否则最后无法打印。
四、SDK的BSP包修改配置
五、使用xilinx tcl cmd窗口
启动vivado XSCT,依次执行如下命令: 1.connect -host localhost -port 3121//连接JTAG下载盒 2.targets 2//选择目标器件,这里选对应器件的Debug Module 3.jtagterminal -start//启动jtagterminal窗口,然后就可以运行之前创建好的应用程序了 4.观察打印信息 //观察jtagterminal窗口的打印信息
六、参考
https://blog.csdn.net/weiweiliulu/article/details/106332486
https://blog.csdn.net/altair12345/article/details/117666749
https://bbs.huaweicloud.com/blogs/363154
https://blog.csdn.net/qq_32134427/article/details/111643529
https://blog.csdn.net/luodicaizi84/article/details/108417797
https://blog.csdn.net/luhao806/article/details/56666614
七、另外
1.如果ZYNQ没有留串口,也可以例化MDM,然后使能jtag_uart,使用jtag模拟串口来打印信息。