完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,
我在使用SPI闪存芯片配置我的spartan 6设计时遇到问题。 我看过其他论坛条目(似乎有很多)但仍然没有解决它。 我已经包含了一个原理图(这是一个相当大的工作表,但我把它减少到配置的东西)。 这是IMPACT的输出: 信息:iMPACT - 当前时间:22.10.2013 15:02:53 // *** BATCH CMD:编程-p 1 -spionly -e -v -loadFPGA PROGRESS_START - 启动Operation.Maximum TCK工作频率:25000000 .Validating chain ...边界扫描链验证成功。'1':未检测到SPI访问核心。 SPI访问核心将被下载到设备以启用operations:iMPACT - 下载核心文件C:/Xilinx/14.6/ISE_DS/ISE/spartan6/data/xc6slx150_spi.cor.'1':正在下载核心...... LCK_cycle = NoWait.LCK周期:NoWaitdone.'1':读取状态寄存器内容... INFO:iMPACT:2219 - 状态寄存器值:INFO:iMPACT - 0011 1100 1110 1100 INFO:iMPACT:2492 - '1':已完成下载核心到 device.'1':IDCODE为'00'(十六进制)。'1':ID检查failed.INFO:iMPACT:2488 - 操作未成功完成GREEN:iMPACT - SPI Device not found.INFO:iMPACT: 2488 - 操作未成功完成FROM:iMPACT - '1':Flash未成功编程.PROGRESS_END - 结束操作。 无论我是在SPIx1还是SPIx4模式下编程,我似乎都得到相同的输出(对于这两种模式,我有两个独立的配置文件)。 JTAG工作正常,我可以使用JTAG配置器件没有问题。 闪存是S25FL129P,扇区为64kb(S25FL129P0XNFI00) 以下是我已经检查过的几件事: 1)ISE版本:SPI配置有时在14.2 / 14.3上有问题。 我尝试过13.3,14.3和14.6,都导致了同样的结果。 2)时钟线:我的原始设计没有时钟终止,因为短截线非常短(11mm)。 我添加了终止并检查但是它没有任何区别。 3)拉起:我的原设计缺少WP / D2和HOLD / D3的上拉。 我添加了一些,没有任何区别。 (这些是必需的,因为我通过将HSWAPEN拉高来禁用引导时的上拉。) 4)检查连接,找不到问题。 我还没试过的一些事情: 1)在UG380的示例中,VFS连接到VFS。 我的设计理由是因为我没有使用eFuse。 这可能是个问题吗? 我没有简单的测试方法,因为焊盘直接连接到接地层。 2)器件启动时只有0和2组供电(它以低功耗模式启动,其中80%的PCB被禁用)。 这不应该干扰配置,因为配置引脚位于bank 2上,但我无法修复它,因为当fpga启动时,设计会自动切换回低功耗模式。 (或者有没有一种方法可以在不重新启动fpga的情况下对闪存进行编程?) 谢谢你的帮助! 马克施奈德。 Spartan6SPI.pdf 117 KB 以上来自于谷歌翻译 以下为原文 Hi, I have a problem configuring my spartan 6 design using an SPI flash chip. I've looked at the other forum entries (there seem to be quite a few) but still haven't solved it. I have included a schematic (it's quite a big sheet, but I reduced it to the configuration stuff). This is the output of IMPACT: INFO:iMPACT - Current time: 22.10.2013 15:02:53 // *** BATCH CMD : Program -p 1 -spionly -e -v -loadfpga PROGRESS_START - Starting Operation. Maximum TCK operating frequency for this device chain: 25000000. 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. INFO:iMPACT - Downloading core file C:/Xilinx/14.6/ISE_DS/ISE/spartan6/data/xc6slx150_spi.cor. '1': Downloading core... LCK_cycle = NoWait. LCK cycle: NoWait done. '1': Reading status register contents... INFO:iMPACT:2219 - Status register values: INFO:iMPACT - 0011 1100 1110 1100 INFO:iMPACT:2492 - '1': Completed downloading core to device. '1': IDCODE is '00' (in hex). '1': ID Check failed. INFO:iMPACT:2488 - The operation did not complete successfully. INFO:iMPACT - SPI Device not found. INFO:iMPACT:2488 - The operation did not complete successfully. INFO:iMPACT - '1': Flash was not programmed successfully. PROGRESS_END - End Operation. I seem to get the same output regardless whether I program in SPIx1 or SPIx4 modes (I have two separate configuration files for these two modes). JTAG works fine, I can configure the device without a problem using JTAG. The flash is a S25FL129P with 64kb sectors (S25FL129P0XNFI00) Here are a couple of things I have already checked: 1) ISE Version: SPI config sometimes has problems on 14.2/14.3. I have tried 13.3, 14.3 and 14.6, all lead to the same result. 2) Clock line: My original design didn't have clock termination, as the stub was quite short (11mm). I've added the termination and checked but it made no difference. 3) Pull ups: My original design was lacking pull-ups on WP/D2 and HOLD/D3. I have added some, made no difference. (these are needed because I disable pull-ups at boot time by pulling HSWAPEN high.) 4) Checked connections, couldn't find a problem. Some things I have not tried: 1) VFS is connected to VFS in the example in UG380. My design grounds it because I'm not using eFuse. Could this be a problem? I have no easy way of testing this because the pad is directly connected to the ground layer. 2) The device starts with only banks 0 and 2 powered (it starts in a low power mode where 80% of the PCB is disabled). This shouldn't interfere with the configuration, as the configuration pins are on bank 2, but I can't verfy it as the design automatically switches back to low power mode when the fpga is booted. (or is there a way of programming the flash without rebooting the fpga?) Thank you for you help! Marc Schneider. Spartan6SPI.pdf 117 KB |
|
相关推荐
4个回答
|
|
信号CONF_DONE上应该有一个上拉R.
该信号为漏极开路。 我不知道这是否是您编程失败的原因。 - 鲍勃埃尔金德 签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。 阅读手册或用户指南。 你读过手册了吗? 你能找到手册吗?2。 搜索论坛(并搜索网页)以寻找类似的主题。 不要在多个论坛上发布相同的问题。 不要在别人的主题上发布新主题或问题,开始新的主题!5。 学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。 提供有用的详细信息(请与网页,数据表链接).7。 您的代码中的评论不需要支付额外费用。 我没有支付论坛帖子的费用。 如果我写一篇好文章,那么我一无所获。 以上来自于谷歌翻译 以下为原文 There should be a pullup R on the signal CONF_DONE. This signal is open-drain. I do not know if this is the reason for your programming failure. -- 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. |
|
|
|
谢谢你的超快回复。
我已经添加了电阻器,但不幸的是,这并没有解决我的问题。 DONE LED仅在加载SPI访问核心后持续几分之一秒。 一旦撞击崩溃,FPGA是否会自动清除其配置? 对原始问题的任何帮助仍然欢迎! 马克。 以上来自于谷歌翻译 以下为原文 Thank you for the superfast reply. I have added the resistor, but unfortunately this did not solve my problem. The DONE LED only goes on for a fraction of a second after loading the SPI access core. Does the FPGA automatically clear its configuration as soon as impact crashes? Any help on the original issue still welcome! Marc. |
|
|
|
是原理图的单页*全部是你的FPGA连接吗?
如果没有,其他原理图表上可能会出现一些问题。 此外,1K下拉至GND也是可疑的。 出于调试目的,暂时将这些下拉菜单设为0欧姆。 具体来说,M1配置模式引脚。 您在DONE引脚上添加了什么值上拉? - 鲍勃埃尔金德 签名:新手的自述文件在这里:http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369总结:1。 阅读手册或用户指南。 你读过手册了吗? 你能找到手册吗?2。 搜索论坛(并搜索网页)以寻找类似的主题。 不要在多个论坛上发布相同的问题。 不要在别人的主题上发布新主题或问题,开始新的主题!5。 学生:复制代码与学习设计不同.6“它不起作用”不是一个可以回答的问题。 提供有用的详细信息(请与网页,数据表链接).7。 您的代码中的评论不需要支付额外费用。 我没有支付论坛帖子的费用。 如果我写一篇好文章,那么我一无所获。 以上来自于谷歌翻译 以下为原文 Is the single page of schematic *all* of your FPGA connections? If not, there might be some problems located on other schematic sheets. Also, 1K pulldowns to GND are suspect. For debugging purposes, make these pulldowns 0-ohm for the time being. Specifically, the M1 configuration mode pin. What value pullup have you added to the DONE pin? -- 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. |
|
|
|
嗨,大家好,
谢谢你的有用评论。 我已经设法将适配器焊接到我的闪光灯上,所以现在我可以探测线。 Impact似乎存在问题。 我没有逻辑分析仪,但是我的示波器能够进行缩放,所以我能够看到,当试图编程SPI Flash Impact时,重复发送两个命令:第一个命令0x03,它被读取(地址是0x000000),然后 过了一会儿它会发送一个命令0xE8(后面再跟一个长行的零)。 SPI使用逻辑1响应两个查询,因为它尚未使用,1是空状态。 此闪存的命令0xE8未知(或至少没有记录)。 它不是Impact声称此时正在检查的读取标识语法(读取ID为0x90或0x9F)。 问题是我用Impact 13.3,14.3和14.6尝试了这一点 - 都给出了相同的结果。 我试图打开一个webcase,但webcase似乎已被终止。 对此问题的任何帮助都非常受欢迎。 在回复给出的答复时: eteam00: 我检查了M0 / M1,它们分别是稳定的高/低 DONE引脚上的上拉电阻为330欧姆(驱动LED) 由于NDA,我无法发布整个电路。 甚至FPGA部分也有几张,但我已经使用JTAG检查了它的大部分内容。 它们按预期工作,所以我不认为这里还有其他问题。 无论如何,Impact用来引导SPI Flash的SPI加载器肯定会将所有其他I / O设置为高阻抗。 cnaumann: 检查范围确实有帮助。 我告诉我使用S25FL129P的影响正是我正在使用的。 我没有找到ID命令,只有上面提到的0xE8命令。 以上来自于谷歌翻译 以下为原文 Hi everyone, thank you for the helpful remarks. I have managed to solder an adapterboard to my flash, so now I can probe the lines. There seems to be an issue with Impact. I don't have a logic analyzer, but my scope is able to zoom so I am able to see that when trying to program the SPI Flash Impact repeatedly sends two commands: First command 0x03, which is read (address is 0x000000), then after a while it sends a command 0xE8 (followed again by a long line of zeros). The SPI responds to both queries with logic 1s, as it has not been used and 1 is the empty state. The command 0xE8 is not known (or at least not documented) for this flash. It is not a read identification commant that Impact claims it is checking at this point (Read ID is either 0x90 or 0x9F). The problem is that I tried this with Impact 13.3, 14.3 and 14.6 - all give the same result. I tried to open a webcase, but webcase seems to have been terminated. Any help on this issue is very welcome. In responce to given replies: eteam00: I checked M0/M1, they are stable high/low respectively The pullup on the DONE pin is 330Ohms (driving LED) I can't post the whole circuit due to an NDA. Even the FPGA part spans several sheets, but I've checked most parts of it using JTAG. They work as expected, so I don't expect there are other issues here. Anyway, the SPI loader that Impact uses to lead the SPI Flash surely sets all other I/Os to high impedance. cnaumann: Checking with scope really helped. I am telling impact that I am using the S25FL129P which is exactly what I am using. I didn't find an ID command, only the 0xE8 command as mentioned above. |
|
|
|
只有小组成员才能发言,加入小组>>
2388 浏览 7 评论
2803 浏览 4 评论
Spartan 3-AN时钟和VHDL让ISE合成时出现错误该怎么办?
2270 浏览 9 评论
3338 浏览 0 评论
如何在RTL或xilinx spartan fpga的约束文件中插入1.56ns延迟缓冲区?
2438 浏览 15 评论
有输入,但是LVDS_25的FPGA内部接收不到数据,为什么?
767浏览 1评论
请问vc707的电源线是如何连接的,我这边可能出现了缺失元件的情况导致无法供电
551浏览 1评论
求一块XILINX开发板KC705,VC707,KC105和KCU1500
382浏览 1评论
1974浏览 0评论
691浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-28 11:25 , Processed in 1.881516 second(s), Total 84, Slave 67 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号