赛灵思
直播中

王莹

7年用户 171经验值
私信 关注
[问答]

在XPS中为我的系统生成的比特流下载到我的目标板时出现错误,请问如何解决?

大家好,
当我将在XPS中为我的系统生成的比特流下载到我的目标板时出现错误.jtag链是串行链,设备1是来自ACTEL的aglp125vs CPLD,设备2是目标FPGA SPARTAN3ADSP3400A.falowing是信息。
--------------------------------------------------
--------------------------------------------------
--------------------------------------------------
--------------------------------------------------
---------- INFO:iMPACT:583  - '2':从设备读取的idcode与bsdl File.INFO:iMPACT:1578  - '2'中的idcode不匹配:Device IDCODE:00000001110000100111000001001001INFO
:iMPACT:1579  - '2':预计IDCODE:00000011100001001110000010010011制作:*** [下载]错误1
我更改了download.cmd,如下所示:
setMode -bscansetCable -p autoidentifyaddDevice -p 1 -file etc / aglp125.bsdassignfile -p 1 -file etc / aglp125.bsdassignfile -p 2 -file implementation / download.bitprogram -p 2quit
但是当我用IMPACT下载比特流时,程序就成功了。
当我使用sdk编程fpga时也出现错误。错误显示如下:
程序FPGA failedERROR:无法下载位文件。
有没有人可以帮助我?
谢谢提前!
----------- wangqueping

以上来自于谷歌翻译


以下为原文

hi all,
there was a error when i download bitstream which generated for my systerm in XPS to my target board .the jtag chain was a serial chain ,which device 1 was a aglp125vs CPLD from ACTEL and device 2 was the target fpga SPARTAN3ADSP3400A.the falowing was the info.
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
INFO:iMPACT:583 - '2': The idcode read from the device does not match the idcode
   in the bsdl File.
INFO:iMPACT:1578 - '2':  Device IDCODE :        00000001110000100111000001001001
INFO:iMPACT:1579 - '2': Expected IDCODE:    00000011100001001110000010010011
make: *** [download] Error 1

I has changed the download.cmd like the following:

setMode -bscan
setCable -p auto
identify
addDevice  -p 1 -file etc/aglp125.bsd
assignfile -p 1 -file etc/aglp125.bsd
assignfile -p 2 -file implementation/download.bit
program -p 2
quit

But when I download bitstream with IMPACT,the program was successed.
there was also a error when i use sdk to program fpga .the error was shown like this:
Program FPGA failed
ERROR: Failed to download the bit file.

is there anyone can help me ?
thanks advance !      -----------wangqueping

回帖(2)

周彦楠

2019-1-18 17:31:00
修改download.cmd如下
setMode -bscansetCable -p autoidentify
assignfile -p 1 -file etc / AGLP125V5_CS289.bsd
assignfile -p 2 -file implementation / download.bitprogram -p 2quit
名为AGLP125V5_CS289.bsd的文件是从actel websit下载的。

以上来自于谷歌翻译


以下为原文

modify the download.cmd as following
setMode -bscan
setCable -p auto
identify
assignfile -p 1 -file etc/AGLP125V5_CS289.bsd
assignfile -p 2 -file implementation/download.bit
program -p 2
quit
the file named AGLP125V5_CS289.bsd was downloaded from the actel websit.
举报

李泽明

2019-1-18 17:50:27
在大多数情况下,此IDCODE错误消息表示电路板问题。
主要是与JTAG链硬件相关的问题。
所以请检查电路板的所有编程硬件。
执行IDCODE循环测试。
如果IDCODE循环失败,请访问http://www.xilinx.com/support/answers/8902.htm
根据配置指南建议检查所有连接
检查电缆和电缆的连续性。
电缆插入方向。
检查CPLD的所有电压。
它们应符合数据表建议的范围
马赫什

以上来自于谷歌翻译


以下为原文


  • In most cases, this IDCODE error message is indicative of a board problem. Mostly problems related to JTAG chain hardware. So please check all the programming hardware of the board.
  • Perform an IDCODE looping test. If IDCODE looping fails, see http://www.xilinx.com/support/answers/8902.htm
 

  • Check all the connections as per configuration guide recommendations
 

  • Check the continuity of the cable & cable insertion direction.
 

  • Check all the voltages of CPLD. They should be with the range  as per data sheet recommendations
 
Mahesh
举报

更多回帖

发帖
×
20
完善资料,
赚取积分