博客首页 | 排行榜 |

husthou的博客

个人档案
博文分类
在EDK中使用PCIE核的若干疑问  2012-01-10 22:33

    最近由于项目的关系需要使用Spartan 6搭建EDK硬件平台。但是遇到了一些问题,不晓得大家碰到过没。我使用的软件是ISE EDK 13.3.在EDK的XPS下新建一个工程,使用PLB总线,在Peripheral Configuration界面保留了PCIE_BRIDGE这个外设,后续的不赘述。当创建工程结束后,开始导入硬件平台到SDK中,成功后运行helloworld 程序,可以在控制台中显示“hello world”,但是我现在硬件平台的system.bit到SP6中(先转换为mcv格式然后下载到flash中),插到主机中,上电后,电脑不能检测到PCIE设备的存在,就是PC主机没有识别SP6板,按理说PCIE-BRIDGE是系统自动配置的,应该不存在问题的,为啥不能被检测呢。有没有大神可以帮忙指导指导的。

   另外还碰到了另一个错误。

13:04:39 INFO  : FPGA configured successfully with bitstream C:/workspace/test_pcie_ethernet/danm_hope/tty/download.bit.
13:05:07 ERROR : Unexpected error while launching program. java.lang.RuntimeException:
JTAG chain configuration
--------------------------------------------------
Device   ID Code        IR Length    Part Name
 1       0a001093           8        System_ACE_CF
 2       24250093          10        XC6VLX240T

MicroBlaze Processor Configuration :
-------------------------------------
Version............................8.20.a
Optimization.......................Performance
Interconnect.......................AXI-LE
MMU Type...........................No_MMU
No of PC Breakpoints...............1
No of Read Addr/Data Watchpoints...0
No of Write Addr/Data Watchpoints..0
Instruction Cache Support..........on
Instruction Cache Base Address.....0xc0000000
Instruction Cache High Address.....0xdfffffff
Data Cache Support.................on
Data Cache Base Address............0xc0000000
Data Cache High Address............0xdfffffff
Exceptions  Support................on
FPU  Support.......................off
Hard Divider Support...............off
Hard Multiplier Support............on - (Mul32)
Barrel Shifter Support.............on
MSR clr/set Instruction Support....on
Compare Instruction Support........on
Data Cache Write-back Support......off
Fault Tolerance Support............off
Stack Protection Support...........off

 at com.xilinx.sdk.targetmanager.internal.TM.connectToProcessor(Unknown Source)
 at com.xilinx.sdk.debug.core.internal.AppRunner.run(Unknown Source)

 

就是可以正常生成system.bit流,也可以生成helloworld.elf文件,但是在DEBUG时,出现错误,无法看到控制台的“hello world”输出。

     急寻大牛大神解答啊~~谢谢各位啦~~

 

类别:默认 |
以下网友评论只代表其个人观点,不代表本网站的观点或立场