在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 4945|回复: 5

[求助] 初学edk,有两个问题请教。

[复制链接]
发表于 2010-8-21 09:47:17 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
初学者,做了edk的6个实验,感觉对edk有了最初级的了解,有些问题想请教大家:



1.想打开别人的工程文件,结果总是不成功,提示错误是:

ERROR:EDK:1550 - IPNAME: microblaze, INSTANCE: microblaze_0 - E:\qiaodong\FPGA\test_edk0\sp3ekit_101\solutions\lab3\system.mhs line 42 - cannot find MPD for the pcore 'microblaze_v7_10_b' in any of the repositories.
ERROR:EDK:1550 - IPNAME: microblaze, INSTANCE: microblaze_0 - E:\qiaodong\FPGA\test_edk0\sp3ekit_101\solutions\lab3\system.mhs line 42 - cannot find MPD for the pcore 'microblaze_v7_10_b' in any of the repositories.
ERROR:EDK:1550 - IPNAME: plb_v46, INSTANCE: mb_plb - E:\qiaodong\FPGA\test_edk0\sp3ekit_101\solutions\lab3\system.mhs line 56 - cannot find MPD for the pcore 'plb_v46_v1_02_a' in any of the repositories.
ERROR:EDK:1550 - IPNAME: mpmc, INSTANCE: DDR_SDRAM - E:\qiaodong\FPGA\test_edk0\sp3ekit_101\solutions\lab3\system.mhs line 130 - cannot find MPD for the pcore 'mpmc_v4_01_a' in any of the repositories.
ERROR:EDK:1550 - IPNAME: mdm, INSTANCE: debug_module - E:\qiaodong\FPGA\test_edk0\sp3ekit_101\solutions\lab3\system.mhs line 191 - cannot find MPD for the pcore 'mdm_v1_00_b' in any of the repositories.
ERROR:EDK:1552 - IPNAME:microblaze INSTANCE: microblaze_0 - E:\qiaodong\FPGA\test_edk0\sp3ekit_101\solutions\lab3\system.mhs line 42 - cannot find MPD for the pcore
ERROR:EDK:1552 - IPNAME:plb_v46 INSTANCE: mb_plb - E:\qiaodong\FPGA\test_edk0\sp3ekit_101\solutions\lab3\system.mhs line 56 - cannot find MPD for the pcore
ERROR:EDK:1552 - IPNAME:mpmc INSTANCE: DDR_SDRAM - E:\qiaodong\FPGA\test_edk0\sp3ekit_101\solutions\lab3\system.mhs line 130 - cannot find MPD for the pcore
ERROR:EDK:1552 - IPNAME:mdm INSTANCE: debug_module - E:\qiaodong\FPGA\test_edk0\sp3ekit_101\solutions\lab3\system.mhs line 191 - cannot find MPD for the pcore
INFO:EDK:397 - mpmc (DDR_SDRAM) version 4.03.a is now available, but it does not support the current architecture.
Done.
ERROR:EDK:1550 - IPNAME: mpmc, INSTANCE: DDR_SDRAM - E:\qiaodong\FPGA\test_edk0\sp3ekit_101\solutions\lab3\system.mhs line 130 - cannot find MPD for the pcore 'mpmc_v4_01_a' in any of the repositories.
ERROR:EDK:1550 - IPNAME: mpmc, INSTANCE: DDR_SDRAM - E:\qiaodong\FPGA\test_edk0\sp3ekit_101\solutions\lab3\system.mhs line 130 - cannot find MPD for the pcore 'mpmc_v4_01_a' in any of the repositories.
ERROR:EDK:1552 - IPNAME:mpmc INSTANCE: DDR_SDRAM - E:\qiaodong\FPGA\test_edk0\sp3ekit_101\solutions\lab3\system.mhs line 130 - cannot find MPD for the pcore


怎么解决?







2.用sdk中的debug,可以在memory中清楚的看到main函数定义的变量值,
但是当我想看一些外设的寄存器的时候,总是显示一堆问号。

比如说我在main中定义了一个变量count,我在memory中查找&count,我是可以看到count的变化的;
但是当我想看GPIO的寄存器时,我在mhs中找到它的bassaddr  = 0x81420000,但是当我在memory中找到这个地址的时候,显示的是一堆问号。

这是什么原因?能解决么?(如果可以的话,edk的软件调试就像单片机一样方便,基本上用不到chipscope了)





请各位不吝赐教!
发表于 2010-8-21 10:08:51 | 显示全部楼层
本帖最后由 falloutmx 于 2010-8-21 10:10 编辑

1.有可能是你的EDK版本落后了,去你的EDK安装目录,看看microblaze_v7_10_b这些IP有没有。
2. 你没把内存地址和映射地址分清楚。你说的memory是内存地址,而baseaddr是映射地址,映射到硬件的寄存器的,所以你在内存里找不到。当然,你可以用API把0x81420000读进来(XIo_in32之类的),就可以在内存找到了。
 楼主| 发表于 2010-8-23 21:30:23 | 显示全部楼层
呵呵,谢谢ls的回复,第二个问题我明白了,
但是我用12.1去打开11.1的程序,同样会出现上面的问题啊?
发表于 2010-8-24 09:03:34 | 显示全部楼层
这个项目确定能用?我的12.1里都没有mpmc_v4_01_a,只有到mpmc_v4_00_a(可能有补丁包我没装)
而mdm_v1_00_b却只有10.1里面有,12.1里面是mdm_v1_00_g。
如果你决定用12.1的话,把MHS里面这些名称改成12.1的版本应该就没事了
发表于 2010-10-6 16:47:24 | 显示全部楼层
学习,,,
发表于 2014-11-21 13:23:41 | 显示全部楼层
回复 2# falloutmx

如果是EDK不够新怎么办呢? 我也是新手,出现了上述同样的问题,是在Ubuntu下运行ISE
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条

X

小黑屋| 手机版| 关于我们| 联系我们| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2025-6-24 06:03 , Processed in 0.024339 second(s), 10 queries , Gzip On, MemCached On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表