断断续续的接触EDK也有一段时间了。之前在调试软件的时候,都是在EDK中的applications中建立软件工程。昨天使用了一下SDK,居然和Altera的Nios IDE很相似,功能还是很强大的嘛!原以为,Xlinx在做软件调试的时候很麻烦,不知道如何进行单步调试。这下好了,使用SDK,嘿,你还别说,还真的挺方便!
当然,也是经历了痛苦的摸索阶段。还好能够初步使用起来。也总结了一些不是经验的经验。
当出现: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
的错误提示时,首先检查.bit文件是否已经对FPGA配置成功,这就像是Altera里面,下载sof文件是一样一样的;然后,确定MDM是否设置好,software platform setting——software platform——xmdstub_periheral是否设置成debug_module。若还是不能够正常调试,那就需要检查Microblaze的配置,是否使用了debug模式。