搜索
bottom↓
回复: 7

无机酸有空帮忙看看这个吗? DONE did not go high.

[复制链接]

出0入0汤圆

发表于 2010-9-21 13:01:45 | 显示全部楼层 |阅读模式
使用Xilinx的Spartan-3AN系列芯片,
软件版本为:ISE9.2.04i
配置时:
80%的结果是:ISE报告下载失败(Program Failed),但是断电重启后,程序实际上下载进了芯片内部Flash,并且能够自动加载运行。应该是“假”失败。
15%的结果是:ISE报告下载失败(Program Failed),断电重启后,程序没有运行。应该真的是下载失败。
5%的结果是:ISE报告下载成功,并且能够马上重新加载运行。断电后也能够运行。


ISE报告下载失败(Program Failed),给出的信息如下:

// *** BATCH CMD : Program -p 1 -e -v -defaultVersion 0
Maximum TCK operating frequency for this device chain: 10000000.
Validating chain...
Boundary-scan chain validated successfully.
'1': SPI access core not detected. SPI access core will be downloaded to the device to enable operations.
'1': Downloading core...
PROGRESS_START - Starting Operation.
done.
'1': Reading status register contents...
CRC error                                         :         0
IDCODE not validated while writing FDRI           :         0
DCM matched                                       :         1
status of GTS_CFG_B                               :         1
status of GWE                                     :         1
status of GHIGH                                   :         1
value of VSEL pin 0                               :         0
value of VSEL pin 1                               :         0
value of VSEL pin 2                               :         1
value of MODE pin M0                              :         1
value of MODE pin M1                              :         1
value of MODE pin M2                              :         0
value of CFG_RDY (INIT_B)                         :         1
DONEIN input from Done Pin                        :         1
SEU error                                         :         0
SYNC word not found                               :         0
INFO:iMPACT:2219 - Status register values:
INFO:iMPACT - 0011 1100 1110 1100
INFO:iMPACT:2492 - '1': Completed downloading core to device.
INFO:iMPACT - '1': Checking done pin....done.
'1': Core downloaded successfully.
INFO:iMPACT - Address 0x00000000 is in sector 0.
INFO:iMPACT - Start block = 0 for address 0x00000000.
INFO:iMPACT - Address 0x0000D587 is not located at the start of a sector boundary. The whole sector will be erased.
INFO:iMPACT - Address 0x0000D587 is in sector 2.
INFO:iMPACT - End block = 31 for address 0x0000D587.
INFO:iMPACT - Address 0x00000000 is in sector 0.
INFO:iMPACT - Address 0x0000D587 is not located at the start of a sector boundary. The whole sector will be erased.
INFO:iMPACT - Address 0x0000D587 is in sector 2.
INFO:iMPACT - Address 0x00000000 is in sector 0.
INFO:iMPACT - Address 0x0000D587 is not located at the start of a sector boundary. The whole sector will be erased.
INFO:iMPACT - Address 0x0000D587 is in sector 2.
'1': Erasing device...done.
'1': Erasure completed successfully.
INFO:iMPACT - Address 0x00000000 is in sector 0.
INFO:iMPACT - Address 0x0000D587 is not located at the start of a sector boundary. The whole sector will be erased.
INFO:iMPACT - Address 0x0000D587 is in sector 2.
INFO:iMPACT - Address 0x00000000 is in sector 0.
INFO:iMPACT - Address 0x0000D587 is not located at the start of a sector boundary. The whole sector will be erased.
INFO:iMPACT - Address 0x0000D587 is in sector 2.
INFO:iMPACT - Address 0x00000000 is in page 0.
INFO:iMPACT - Address 0x0000D587 is in page 207.
'1': Programming device...done.
'1': Programming completed successfully.
INFO:iMPACT - Address 0x00000000 is in page 0.
INFO:iMPACT - Address 0x0000D587 is in page 207.
'1': Verifying device...done.
'1': Verification completed successfully.
INFO:iMPACT - '1': Checking done pin....done.
'1': Programming terminated. DONE did not go high.
PROGRESS_END - End Operation.
Elapsed time =     16 sec.


使用市场上买的并口下载线和USB下载线,都一样的结果,无非是并口的下载速度慢点。
哪位大侠帮忙指点下,这是怎么回事?

阿莫论坛20周年了!感谢大家的支持与爱护!!

知道什么是神吗?其实神本来也是人,只不过神做了人做不到的事情 所以才成了神。 (头文字D, 杜汶泽)

出0入0汤圆

 楼主| 发表于 2010-9-21 13:13:22 | 显示全部楼层
FPGA芯片采购自Xilinx的官方代理商好利顺(Nu Horizons),芯片本身应该没有问题。

跟下载相关的电路接法为:
PROG_B、DONE、INIT_B用4.7k上拉;
M1、M0用10k上拉,M2用200欧姆下拉。
参考的Xilinx官方开发板电路。

出0入0汤圆

 楼主| 发表于 2010-9-21 13:20:34 | 显示全部楼层
细看ISE给的提示信息:

'1': Erasing device...done.
'1': Erasure completed successfully.
......擦除成功。

'1': Programming device...done.
'1': Programming completed successfully.
......编程成功。

'1': Verifying device...done.
'1': Verification completed successfully.
......校验成功。

偏偏最后给个:
'1': Programming terminated. DONE did not go high.

DONE是FPGA的输出,又不受哪里控制,所以令人束手无策。郁闷!

出0入0汤圆

发表于 2010-9-21 14:18:48 | 显示全部楼层
ISE 9.xx的bug,对spartan 3AN支持有问题,
升级到10.1及以上就对了,
这个问题我两年前遇到过。

出0入0汤圆

 楼主| 发表于 2010-9-21 15:36:56 | 显示全部楼层
我试试看。

可是坛子里很多人说ISE的更高版本不如9.2的稳定...

出0入0汤圆

发表于 2012-3-2 14:34:33 | 显示全部楼层
遇到过,感觉还是软件问题,每次配置FPGA都要重新打开软件

出0入0汤圆

发表于 2014-3-13 09:24:14 来自手机 | 显示全部楼层
我也出现了这样的问题,不知道如何解决,捉急

出0入0汤圆

发表于 2014-3-13 12:50:58 | 显示全部楼层
无机酸养伤呢,暂时没工夫
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片。注意:要连续压缩2次才能满足要求!!】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-7-24 03:18

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表