完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正试图使用S25FL256L闪存芯片在旋风器上进行主动配置。重要的是,远程更新也需要工作。
这是在一个带有EPCQ256的Tasic开发板上完成的。我已经证实,我想做的一切都和那个芯片一起工作。 我跟随AN9855开始用S25FL256L替换芯片后开始工作: HTTP://www. CyPress .COM/FIL/202476/下载 起初它进展顺利。FPGA正确地加载工厂配置文件。但是,当尝试重新配置到应用程序配置文件时,它失败了。 我发现的唯一解决方案是将远程更新IP设置为3字节寻址模式。然后应用程序配置文件工作正常。但这不是一个可行的选择,因为在生产版本中,我需要整个芯片来存储配置。 我可以读和写在4字节寻址模式使用SPI IP工作通过活动串行配置端口。 在我寻找解决方案时,我从Altera发现了这个文档: 我如何使微米的MT25Q支持EOC的EPCQ(≫=256MB)和EPCQ-L设备? 它有一个表,显示虚拟循环的数量需要根据配置设置和设备来改变。假设我正在正确地阅读,这个表格是错误的。它说,旋风V,当设置为ASX1和3字节寻址需要12个虚拟时钟周期快速读取。FL256L默认为8个虚拟时钟周期,如上所述,它工作。要确认,将其设置为12个虚拟时钟周期可防止加载工厂配置。此外,我尝试了表中提到的其他模式,即使表中所建议的虚拟时钟周期也不起作用。 我想下一步是和Altera谈谈,但我想我会先把它带来,看看你们当中有没有人遇到过这个问题,找到了解决的办法。 以上来自于百度翻译 以下为原文 I am attempting to use the S25FL256L flash chip for active configuration on a Cyclone V. Importantly, remote update needs to work as well. This is being done on a Terasic development board that came with a EPCQ256. I have verified that everything I want to do works with that chip. I followed AN98558 to get started after replacing the chip with the S25FL256L: http://www.cypress.com/file/202476/download And initially it went smoothly. The FPGA loads the factory configuration file correctly. But when trying to reconfigure to the application configuration file, it fails. The only solution I found was to set the Remote Update IP to be in 3 byte addressing mode. Then the application configuration file works correctly. But this isn't a viable option since in the production version I am going to need the entire chip to store the configurations. I can read and write in 4 byte addressing mode using the SPI IP that works through the active serial configuration port. In my search for a solution I found this documentation from Altera: How do I enable Micron's MT25Q support for EOL of EPCQ(>=256Mb) and EPCQ-L devices? It has a table showing that the number of dummy cycles needs to be changed depending on the configuration settings and device. Assuming I am reading it correctly, this table is wrong. It says that the Cyclone V, when set to ASx1 and 3 byte addressing needs 12 dummy clock cycles for fast reads. The FL256L defaults to 8 dummy clock cycles and as I mentioned above, it works. To confirm, setting it to 12 dummy clock cycles prevents loading the factory configuration. Also, I tried the other modes mentioned in the table and nothing worked even with the dummy clock cycles set as the table suggests. I suppose the next step is to talk to Altera, but I thought I'd bring it up here first to see if any of you have encountered this issue and found a solution. |
|
相关推荐
1个回答
|
|
嗨,安东尼,
谢谢你在这里详细描述这个问题。它可以帮助每个有同样问题的人。 很高兴看到正常配置对你有用。工厂配置需要4字节寻址吗?我想不是。即使配置需要gt;128MB,您仍然可以使用3字节寻址来启动读取,然后突发读取可以继续到设备的上半部分。 对于远程更新,IP可能使用4字节寻址,因此它不能工作。要找出什么是不工作的,虚拟循环,4字节模式,或特定的命令,这将是很好的,如果你可以挂钩逻辑分析仪到SPI总线,并捕获第一次读取的远程更新。在这种情况下,你确切知道闪存在哪个周期输出什么数据。如果没有正确设置虚拟循环,则可以在远程更新读取开始之前设置它。 联系Altera肯定是有帮助的,他们给予你支持。你应该联系他们,看看他们是否能给你建议。 谢谢, 智 以上来自于百度翻译 以下为原文 Hi Anthony, Thanks for describing the issue in details here. It helps everyone who may have the same issue. Good to see that normal configuration works for you. Does your factory configuration need 4-byte addressing? I guess not. Even if the configuration requires > 128Mb, you may still be using 3-byte addressing to start the read, then the burst read can continue to the upper half of the device. For Remote Update, perhaps the IP uses 4-byte addressing so it did not work. To find out exactly what is not working, dummy cycle, 4-byte mode, or specific command, it would be nice if you can hook up a logic analyzer to the SPI bus and capture the first read of the Remote Update. In that case, you know exactly what data the flash is outputting at which cycle. If the dummy cycle is not set up correctly, you may be able to set it before the Remote Update read starts. Contacting Altera is definitely helpful is they give you support. You should contact them to see if they can give you suggestions too. Thanks, Zhi |
|
|
|
只有小组成员才能发言,加入小组>>
752个成员聚集在这个小组
加入小组2069 浏览 1 评论
1826 浏览 1 评论
3639 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1760 浏览 6 评论
1510 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
507浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
357浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
410浏览 2评论
357浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
854浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 17:04 , Processed in 0.924497 second(s), Total 77, Slave 60 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号