请各位高手帮确认一下:
我使用EVM6678L+AMC转PCIe板卡+win7(64位)+vs2010,利用windriver生成了工程和代码,且板块分配到资源(mem、int),想请确认下,
1、此时是否可以利用windriver读写BAR0-5了?
2、用windriver和生成的代码(dos界面读写)都不正确,是否还要配置其它寄存器,如:IB_BAR0等(pciedemo.c中提到)?
感谢!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
请各位高手帮确认一下:
我使用EVM6678L+AMC转PCIe板卡+win7(64位)+vs2010,利用windriver生成了工程和代码,且板块分配到资源(mem、int),想请确认下,
1、此时是否可以利用windriver读写BAR0-5了?
2、用windriver和生成的代码(dos界面读写)都不正确,是否还要配置其它寄存器,如:IB_BAR0等(pciedemo.c中提到)?
感谢!
EVM配置成PCIe boot之后会根据boot strap pin自动完成IB BAR的配置,在上电boot完成后,在RC侧即可枚举到设备,并可以读到EP侧的地址映射关系。
参考:http://www.deyisupport.com/question_answer/dsp_arm/c6000_multicore/f/53/p/51760/116719.aspx#116719
http://www.deyisupport.com/question_answer/dsp_arm/c6000_multicore/f/53/t/7449.aspx
同意Andy的说法
请问你提到的 “windriver和生成的代码(dos界面读写)都不正确”具体是什么错误呢
能否发个截图来看看啊