完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
你好,
我试图建立的FX3S USB bootloader使用自定义VID和PID存储在微米M25P32 SPI Flash芯片。该板设置为SPI引导与USB回退。Flash图像工作的FX3 dvks板载闪存(M25P40)。图像被正确写入我的自定义板Flash(固件回读),但不能使用Flash Bootloader VID PID。用我观察引导读第一个身份登记的示波器(头)的Flash图像作为它的深度。在阅读标题和列举的默认柏VID PID在自定义板停止沟通。在自定义板FX3的SPI接口是使用1.8v水平和沟通,3.3V的闪光通过MAX3378双向电平转换器。我试图消除使用3.3V的水平对FX3的SPI的电平转换器和连接直接到3.3V的闪光(在三态电平移位器的远端),但仍然有同样的行为。 我想尝试不同类型的闪存,避免通过电平转换器。对于闪存类型有什么已知的问题吗? 图像标题设置为Bootloader使用10mhz SPI时钟(电平转换,马克斯的速度但Bootloader没有得到足够远,使用信息)。本应用笔记提醒使用拉上下/味噌&;MOSI(Bootloader预计浮线开始沟通)。电平移位器仍然是一个问题吗?我想引导甚至不会开始沟通如果电平转换器已拉上/下的行为。 提前感谢 以上来自于百度翻译 以下为原文 Hi, I am trying to set up the FX3s USB bootloader to use custom VID and PID stored in a micron M25P32 SPI flash chip. The board is set to SPI boot with USB fallback. The flash image is working on the FX3 DVKs onboard flash (M25P40). The image is written correctly to the flash on my custom board (read back by firmware), but the bootloader fails to use the VID PID from flash. Using the oscilloscope I have observed the bootloader to read the status register and the first 4 bytes (header) of the flash image as it does on the DVK. The communication on the custom board stops after reading the header and it enumerates with default cypress VID PID. The FX3's SPI interface on the custom board is using 1.8V levels and communicating to the 3.3V flash through a MAX3378 bidirectional level shifter. I have tried eliminating the level shifter using 3.3V levels on the FX3's SPI and connecting it directly to the 3.3V flash(on the far end of the tristated level shifter), but still got the same behaviour. I intend to try different types of flash memory and avoid going through the level shifter. Are there any known issues for certain flash types? The image header is set to for the bootloader to use 10MHz SPI clock(Max speed of level shifter, but the bootloader doesn't get far enough to use that information). The app note warns of using pull up/down on MISO & MOSI(bootloader expects floating lines to start communication). Could the level shifter still be a problem? I would guess the bootloader would not even start communicating if the level shifter has pull up/down behaviour. Thanks in advance |
|
相关推荐
4个回答
|
|
|
万一有人在这里结束:M25P32闪光灯没有故障。我已经把它移植到DVK板上(包装足够紧密),它在那里工作得很好。也有一个以前的设置使用浏览器板(修改为SPI引导)和死锁闪存芯片工作。看起来电平转换器正在引起麻烦。
以上来自于百度翻译 以下为原文 Just in case someone else ends up here: The M25P32 flash is not at fault. I have tansplanted it onto a DVK board (packages were close enough) and it works fine there. Also got a previous setup using an Explorer board(modified for SPI boot) and deadbugged flash chip working. Looks like the level shifter is causing trouble. |
|
|
|
|
|
据我所知,FX3需要一个下拉电阻SPI MISO的正确引导。试试这个。
以上来自于百度翻译 以下为原文 As far as i know, the FX3 needs a pull down resistor on SPI MISO for correct boot. Try this. |
|
|
|
|
|
我给它一个尝试(加一个10K的下拉味噌),没有成功。这也违背an76405推荐(FX3启动选项)7.3节:
请注意,外部上拉电阻不应连接在MOSI和MISO信号,如图6所示。 FX3 DVK也不包含任何对MOSI的下拉。 以上来自于百度翻译 以下为原文 I gave it a try (added a 10k pull down to MISO), without success. This would also go against the recommendation in AN76405 (FX3 Boot Options) section 7.3: Please note that external pull-ups should not be connected on the MOSI and MISO signals, as shown in Figure 6. The FX3 DVK also doesn't contain any pull down on MOSI. |
|
|
|
|
|
你已经测试了所有可能的方法来解决这个问题。
看起来水平移位器有一个问题。 即使您连接FX3 SPI线到水平移位器的远端,它连接到SPI Flash,但由于电平移位器,存在MISO和MOSI线的一些电阻。这可能是失败的原因。 是否通过从板上移除电平移位器进行测试? 是的,正如在AN76405中所说的,在MISO和MOSI线路上不应该有任何拉/拉电阻。 以上来自于百度翻译 以下为原文 You have tested all the possible ways to figure out the issue. It looks like there is an issue with the Level Shifter. Even though you connected FX3 SPI Lines to far end of Level Shifter, which is connected to SPI Flash, there is a chance that there would be some resistance over MISO and MOSI lines due to the level shifter. This may be the reason the failure. Have you tested by removing the level shifter from the board? Yes, as said in AN76405, there should not be any Pull/pull down resistors on MISO and MOSI lines. |
|
|
|
|
只有小组成员才能发言,加入小组>>
786个成员聚集在这个小组
加入小组cyUSB3014一直显示2.1,不能到3.0情况,谁遇到过
7241 浏览 0 评论
2482 浏览 1 评论
2175 浏览 1 评论
4037 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
2082 浏览 6 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
7724浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
6280浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
751浏览 2评论
725浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
8119浏览 2评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-8 10:36 , Processed in 0.755846 second(s), Total 79, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1623