初用xilinx EDK10.1的XMD遇到的一些问题

最近开始学习EDK,在XPS中写完程序后使用XMD打算可以debug一下但是总是出现如下错误:

Failed to run ELF executable on Target. Error initializing: XMD couldn't connect to remote target. Error::ERROR: Could Not Detect MDM Peripheral on Hardware. Check: 1. If FPGA is Configured Correctly 2. MDM Core is Instantiated in the Design
Error initializing: XMD couldn't connect to remote target. Error::ERROR: Could Not Detect MDM Peripheral on Hardware. Check: 1. If FPGA is Configured Correctly 2. MDM Core is Instantiated in the Design

反反复复摸索了好长时间,大致有一下几点原因吧:

1.1确定PPC或MicroBlaze配置正确,在最初选择debug选项时,以Microblaze为例选择On-chip H/W debug module


1.2在所有外设都配置好后,EDK中需要generate netlist,generate bitstream;

1.3确定MDM是否设置好,software platform setting->software platform->xmdstub_periheral是否设置成debug_module。

1.4XPS中project->property中c/c++builder选项中configuration为Debug;

1.5我试了下在Run->XMD Taget  connection中connection type选择hareware(MDM)是可以连接上的但是xmdstub就不行了。

大概差不多总结这么多,以后继续加油了,这东西网上资料还真少。

还有就是如果是从EDK进入dubugger的话好像是先lanuch XMD,然后打开确保端口号和XMD中的一样然后就可以连接上了

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值