完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好!
我在定制板上有一个Spartan-3AN(XC3S50AN),我试图通过JTAG配置(现在只是FPGA,而不是SPI闪存)。 JTAG电缆是Parallel Cable 3克隆(http://www.sparkfun.com/products/8460)。 我能够初始化链,并且正确检测到FPGA(唯一的设备)。 但是,当我尝试编写一个简单的比特流(将8位输入直接连接到8位输出)时,它总是失败并且“编程终止.DONE没有变高”。 这是完整的输出 - 信息:iMPACT - 当前时间:3/20/2011 5:20:48 PM // *** BATCH CMD:程序-p 1 -onlyFpga PROGRESS_START - 开始操作。 此器件链的最大TCK工作频率:0。 验证链...... 边界扫描链成功验证。 更新配置文件Z:/chopper/vhdl/quadrocopter/quadrocopter/main.bit ... '1':编程设备...... LCK_cycle = NoWait。 LCK周期:NoWait 完成。 '1':读取状态寄存器内容...... CRC错误:0 写入FDRI时,IDCODE未经过验证:0 DCM已锁定:0 GTS_CFG_B的状态:0 GWE的状态:0 GHIGH的状态:0 VSEL引脚0:0的值 VSEL引脚1的值为0 VSEL引脚2的值:0 MODE引脚M0的值:0 MODE引脚M1的值:0 MODE引脚M2的值:0 CFG_RDY(INIT_B)的值:0 来自Done Pin的DONEIN输入:0 未找到SYNC字:0 信息:iMPACT:2219 - 状态寄存器值: 信息:iMPACT - 0000 0000 0000 0000 信息:iMPACT:579 - '1':已完成将位文件下载到设备。 信息:iMPACT:188 - '1':编程成功完成。 LCK_cycle = NoWait。 LCK周期:NoWait 信息:iMPACT - '1':检查完成的针......完成。 '1':编程终止。 完成没有高涨。 PROGRESS_END - 结束操作。 经过的时间= 2秒。 M2:0的值也不正确。 对于内部闪光灯,它们应为“011”。 看起来FPGA的所有输出都是0,尽管它以某种方式设法识别自己。 我搜索了JTAG信号,它们看起来都非常干净。 我不认为JTAG信号完整性会成为问题,因为时钟速率非常慢(并行电缆III为200kHz)。 有人可以说明我可以开始调试的地方吗? 这是原理图的FPGA部分 - 非常感谢! 附加信息: DONE浮动(设置了DriveDone)。 M2:1是“011” 用10K将PROG_B上拉至3.3V PUDC_B已接地 Vccaux和Vccio均为3.3V JTAG引脚直接连接到接头 以上来自于谷歌翻译 以下为原文 Hello! I have a Spartan-3AN (XC3S50AN) on a custom board that I'm trying to configure through JTAG (just FPGA for now, not SPI flash). The JTAG cable is a Parallel Cable 3 clone (http://www.sparkfun.com/products/8460). I was able to initialize the chain, and the FPGA (the only device) is detected correctly. However, when I try to program a trivial bitstream (connects 8 bit input directly to 8 bit output), it always fails with "Programming terminated. DONE did not go high.". Here is the complete output - INFO:iMPACT - Current time: 3/20/2011 5:20:48 PM// *** BATCH CMD : Program -p 1 -onlyFpga PROGRESS_START - Starting Operation.Maximum TCK operating frequency for this device chain: 0.Validating chain...Boundary-scan chain validated successfully.Updating config file Z:/chopper/vhdl/quadrocopter/quadrocopter/main.bit...'1': Programming device... LCK_cycle = NoWait.LCK cycle: NoWaitdone.'1': Reading status register contents...CRC error : 0IDCODE not validated while writing FDRI : 0DCM Locked : 0status of GTS_CFG_B : 0status of GWE : 0status of GHIGH : 0value of VSEL pin 0 : 0value of VSEL pin 1 : 0value of VSEL pin 2 : 0value of MODE pin M0 : 0value of MODE pin M1 : 0value of MODE pin M2 : 0value of CFG_RDY (INIT_B) : 0DONEIN input from Done Pin : 0SYNC word not found : 0INFO:iMPACT:2219 - Status register values:INFO:iMPACT - 0000 0000 0000 0000 INFO:iMPACT:579 - '1': Completed downloading bit file to device.INFO:iMPACT:188 - '1': Programming completed successfully. LCK_cycle = NoWait.LCK cycle: NoWaitINFO:iMPACT - '1': Checking done pin....done.'1': Programming terminated. DONE did not go high.PROGRESS_END - End Operation.Elapsed time = 2 sec. The values of M2:0 are also incorrect. They should be "011" for internal flash. It looks like all output from the FPGA is 0, though it somehow managed to identify itself. I scoped the JTAG signals, and they all look very clean. I didn't think JTAG signal integrity would be a problem anyways as the clock rate is very slow (200kHz for Parallel Cable III). Can someone please shed some light on where I can start to debug this? Here is the FPGA part of the schematic - Many thanks! Additional info: DONE is floating (with DriveDone set). M2:1 is "011" PROG_B is pulled up to 3.3V with 10K PUDC_B is grounded Vccaux and Vccio are all 3.3V JTAG pins are connected directly to the header |
|
相关推荐
5个回答
|
|
标准的第一个问题(如果您有道歉):您使用的是“真正的”并行端口而不是USB并行端口适配器吗?
以上来自于谷歌翻译 以下为原文 The standard first question (with apologies if you are): are you using a 'real' parallel port rather than a USB-parallel port adaptor? |
|
|
|
是的,我在我的桌面主板上使用了一个真正的并行端口。我知道USB并行适配器的问题。谢谢
以上来自于谷歌翻译 以下为原文 Yes, I am using a real parallel port on my desktop's motherboard. I'm aware of the problem with USB-parallel adapters. Thanks |
|
|
|
下一个显而易见的问题是这条电缆(这个主机系统)是否成功使用过。
您使用的是哪种操作系统? 哪个版本的SW工具集? - 鲍勃埃尔金德 签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。 阅读手册或用户指南。 你读过手册了吗? 你能找到手册吗?2。 搜索论坛(并搜索网页)以寻找类似的主题。 不要在多个论坛上发布相同的问题。 不要在别人的主题上发布新主题或问题,开始新的主题!5。 学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。 提供有用的详细信息(请与网页,数据表链接).7。 您的代码中的评论不需要支付额外费用。 我没有支付论坛帖子的费用。 如果我写一篇好文章,那么我一无所获。 以上来自于谷歌翻译 以下为原文 The next obvious question to ask is if this cable (this this host system) has ever been used successfully. Which OS are you using? Which version of the SW toolset? -- Bob Elkind SIGNATURE: README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369 Summary: 1. Read the manual or user guide. Have you read the manual? Can you find the manual? 2. Search the forums (and search the web) for similar topics. 3. Do not post the same question on multiple forums. 4. Do not post a new topic or question on someone else's thread, start a new thread! 5. Students: Copying code is not the same as learning to design. 6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please). 7. You are not charged extra fees for comments in your code. 8. I am not paid for forum posts. If I write a good post, then I have been good for nothing. |
|
|
|
以前都没有使用过电缆,编程器和电路板。
虽然我已经在FPGA端和并行端口端确定了所有信号,但它们看起来都很干净并且都有转换。我首先在Linux上使用开源电缆驱动程序尝试过,但是这没有用,所以我切换到了Windows (影响13.1与官方司机)以排除该变量。谢谢 以上来自于谷歌翻译 以下为原文 The cable, programmer, and board have all not been used previously. Though I have scoped all signals on the FPGA end and parallel port end, and they all look clean and all have transitions. I first tried it on Linux with an open source cable driver, but that didn't work, so I switched to Windows (Impact 13.1 with official driver) to rule out that variable. Thanks |
|
|
|
好的问题解决了。这非常愚蠢......显然我认为将PCB上的INIT_B接地是一个好主意。我需要去打电话给设计师(即我自己)。谢谢!
以上来自于谷歌翻译 以下为原文 Ok problem solved. This is very silly... Apparently somehow I thought it would be a good idea to ground INIT_B on the PCB. I need to go smack the circuit designer (ie. myself). Thanks! |
|
|
|
只有小组成员才能发言,加入小组>>
2424 浏览 7 评论
2825 浏览 4 评论
Spartan 3-AN时钟和VHDL让ISE合成时出现错误该怎么办?
2294 浏览 9 评论
3374 浏览 0 评论
如何在RTL或xilinx spartan fpga的约束文件中插入1.56ns延迟缓冲区?
2465 浏览 15 评论
有输入,但是LVDS_25的FPGA内部接收不到数据,为什么?
1215浏览 1评论
请问vc707的电源线是如何连接的,我这边可能出现了缺失元件的情况导致无法供电
590浏览 1评论
求一块XILINX开发板KC705,VC707,KC105和KCU1500
452浏览 1评论
2006浏览 0评论
731浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-25 04:49 , Processed in 1.262136 second(s), Total 54, Slave 48 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号