基于ZYNQ的PCIe板卡上电时PC为什么有时要启动两三次才启动...

2020-02-02 12:12发布

本帖最后由 xiaolin4006 于 2015-9-9 19:55 编辑

最近用XC7Z015做了一块PCIe的板卡,调试的时候发现,程序烧写到QSPI-FLASH里面以后关机再开机,PC机会出现启动两三次才能启动起来,也就是按下PC的启动开关后,CPU风扇转起来了,ZYNQ的DONE指示灯点亮,然后PC风扇停转,DONE指示灯熄灭,等两秒左右风扇又转起来,DONE指示灯又点亮。如此往复。有时候两次后进系统,有时候三次后进系统,有时候直接就成功进系统。最糟糕的情况是DONE指示灯点亮后电脑一直就进不去系统了。这是什么原因呢?
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
16条回答
xiaolin4006
2020-02-02 18:45
本帖最后由 xiaolin4006 于 2015-9-12 20:40 编辑
雪夜虫子 发表于 2015-9-11 08:47
PCI-E的复位是由系统中的Root Complex(RC)提供的,协议里有规定,从复位撤销到EndPoint(EP)初始化完成 ...

非常感谢你的回复,我的电源确实没有进行排序,因之前参考了SNOWLEO开发板,它的电源部分为同步上电。所以没有仔细考虑上电顺序这块,刚仔细看了一下datasheet,上电顺序要求还比较复杂,下面为原文:
PS Power-On/Off Power Supply Sequencing
The recommended power-on sequence is VCCPINT, VCCPAUX, and VCCPLL together, then the PS VCCO supplies (VCCO_MIO0,
VCCO_MIO1, and VCCO_DDR) to achieve minimum current draw and ensure that the I/Os are 3-stated at power-on. The
recommended power-off sequence is the reverse of the power-on sequence. If VCCPAUX, VCCPLL, and the PS VCCO supplies
(VCCO_MIO0, VCCO_MIO1, and VCCO_DDR) have the same recommended voltage levels, then they can be powered by the
same supply and ramped simultaneously. Xilinx recommends powering VCCPLL with the same supply as VCCPAUX, with an
optional ferrite bead filter.
-------
PL Power-On/Off Power Supply Sequencing
The recommended power-on sequence for the PL is VCCINT, VCCBRAM, VCCAUX, and VCCO to achieve minimum current draw
and ensure that the I/Os are 3-stated at power-on. The recommended power-off sequence is the reverse of the power-on
sequence. If VCCINT and VCCBRAM have the same recommended voltage levels then both can be powered by the same
supply and ramped simultaneously. If VCCAUX and VCCO have the same recommended voltage levels then both can be
powered by the same supply and ramped simultaneously.
------
GTP Transceivers (XC7Z015 Only)
The recommended power-on sequence to achieve minimum current draw for the GTP transceivers (XC7Z015 only) is
VCCINT, VMGTAVCC, VMGTAVTT OR VMGTAVCC, VCCINT, VMGTAVTT. Both VMGTAVCC and VCCINT can be ramped simultaneously.
The recommended power-off sequence is the reverse of the power-on sequence to achieve minimum current draw.
-----------------
上文可以看到PS和PL还有GTP上电都是有要求的。
我的板子ZYNQ的电源有四种1.0,1.2,1.8,3.3,前面三个都是由3.3转换的,并且是同时上电,而3.3作为PL的VCCO用的是PCIe插槽的电源,因此3.3肯定是先上电了,这些肯定都不符合要求,现在考虑非常有可能是这个引起的器件工作不可靠。但是目前又无法验证。只是有一点不明白,是什么把PC机拉垮掉的。板卡和PC机之间只有PCIE和电源连接,难道是主板保护了?直到板卡正常了才解除保护?

一周热门 更多>