赛灵思
直播中

张帅

8年用户 210经验值
私信 关注
[问答]

如何调试Spartan 3AN(XC3S700AN)配置?

嗨,下面是我在我的主板上做的配置的日志文件。
我正在使用内部主SPI模式。
我在电路板上的DONE引脚上有330欧姆的上拉电阻。
错误是“DONE引脚不会变高”。
但是,即使未正确设置MODE引脚设置,查看日志文件也是如此。
我不知道从哪里开始调试这个问题,请帮助。
日志文件如下所示:
还附上了我使用的批处理文件的副本。
欢迎来到iMPACT // *** BATCH CMD:setMode -bs // *** BATCH CMD:setMode -bsGUI ---自动连接到电缆... // *** BATCH CMD:setCable -port autoAutoDetecting cable。
请等待.PROGRESS_START  - 开始操作。连接电缆(并行端口 -  LPT1)。检查电缆驱动器。驱动器windrvr6.sys版本= 8.1.0.0。
WinDriver v8.10 Jungo(c)1997  -  2006生成日期:2006年8月15日X86 32位SYS 14:21:34,版本= 810.LPT基地址= 0378h.ECP基地址= FFFFFFFFh.Cable连接失败。连接到电缆(
并行端口 -  LPT2)。检查电缆驱动器。驱动器windrvr6.sys版本= 8.1.0.0。
WinDriver v8.10 Jungo(c)1997  -  2006 Build Date:Aug 15 2006 X86 32bit SYS 14:21:34,version = 810.Cable connection failed。连接电缆(并行端口 -  LPT3)。检查电缆驱动器.Driver windrvr6
.sys版本= 8.1.0.0。
WinDriver v8.10 Jungo(c)1997  -  2006建立日期:2006年8月15日X86 32位SYS 14:21:34,版本= 810.电缆连接失败。连接电缆(并行端口 -  LPT4)。检查电缆驱动器。驱动器windrvr6
.sys版本= 8.1.0.0。
WinDriver v8.10 Jungo(c)1997  -  2006建立日期:2006年8月15日X86 32位SYS 14:21:34,版本= 810.Cable连接失败。连接电缆(U***端口 -  USB21)。检查电缆驱动程序。驱动程序xu***dfwu
.sys版本:1021(1027).Driver windrvr6.sys version = 8.1.0.0。
WinDriver v8.10 Jungo(c)1997  -  2006建立日期:2006年8月15日X86 32位SYS 14:21:34,版本= 810.Cable PID = 0008.枚举期间请求的最大电流为300 mA。电缆类型= 3,修订版
= 0.Cable Type = 0x0004。设置电缆速度为6 MHz。建立电缆连接。固件版本= 2301.CPLD文件版本= 0012h.CPLD版本= FFFEh.PROGRESS_END  - 结束操作。已用时间= 2秒。试图识别设备
在边界扫描链配置中... // *** BATCH CMD:识别PROGRESS_START  - 开始Operation.Identifing chain contents ....'1'::制造商的ID = Xilinx xc3s700an,版本:2INFO:iMPACT:1777  -
阅读C:/Xilinx91i/spartan3a/data/xc3s700an.bsd ... INFO:iMPACT:501  - '1':成功添加了设备xc3s700an .-------------------
--------------------------------------------------
--------------------------------------------------
--------------------- done.PROGRESS_END  - 结束操作。已用时间= 1秒// *** BATCH CMD:identifyMPM // *** BATCH CMD
:assig
nFile -p 1 -file“D:/ ICT Test Firmware / 200-2825 / 200-2825_ML6893B_fpt_FPGA_A / ml6893b_fpga_a_top_ALL_EVEN_SW_ON_081117.bit”'1':加载文件'D:/ ICT Test Firmware / 200-2825 / 200-2825_ML6893B_fpt_FPGA_A / ml6893b_fpga_a_top_ALL_EVEN_SW_ON_081117。
比特'... done.Found同步字在bitstream.INFO:iMPACT:501  - '1':成功添加了设备xc3s700an .----------------------
--------------------------------------------------
--------------------------------------------------
--------------------------------------------------
--------------------------------------------------
--------------------------------------------------
-------- // *** BATCH CMD:Program -p 1 -e -v -defaultVersion 0此设备链的最大TCK工作频率:10000000.Validating chain ...边界扫描链成功验证。
'1':未检测到SPI访问核心。
SPI访问核心将被下载到设备以启用操作.PROGRESS_START  - 启动操作。'1':下载核心... done.'1':读取状态寄存器内容... CRC错误:写入FDRI时0IDCODE未验证:
0DCM匹配:GTS_CFG_B的0status:GWE的0status:GHIGH的0status:VSEL引脚的0值0:VSEL引脚的0值:VSEL引脚的0值:0模式引脚的0值:MODE引脚的0值M0:MODE引脚的0值M1:MODE引脚M2的0值
:CFG_RDY(INIT_B)的0值:来自完成引脚的0DONEIN输入:0SEU错误:未找到0SYNC字:0INFO:iMPACT:2219  - 状态寄存器值:INFO:iMPACT  -  0000 0000 0000 0000信息:iMPACT:2492  - '1':
完成下载内核到device.INFO_iMPACT  - '1':检查已完成的针......完成。'1':核心下载终止。
DONE没有变高.PROGRESS_END  - 结束操作。经过的时间= 2秒。
谢谢,
Asela
- 王牌
ml6893b_fpga_top_build.bat 3 KB

以上来自于谷歌翻译


以下为原文

Hi below is the log file of the configuration i did on my board.
I am using the Internal Master SPI Mode.
I have 330 ohm pull up on the DONE pin on the board.
The error was that the "DONE pin do not go high".
However looking at the log file even the MODE pins settings are not being set correctly.
I dont know where to start debugging this problem, PLEASE HELP.

The log file is shown below:
Also attached is a copy of the batch file I used.

Welcome to iMPACT
// *** BATCH CMD : setMode -bs
// *** BATCH CMD : setMode -bs
GUI --- Auto connect to cable...
// *** BATCH CMD : setCable -port auto
AutoDetecting cable. Please wait.
PROGRESS_START - Starting Operation.
Connecting to cable (Parallel Port - LPT1).
Checking cable driver.
Driver windrvr6.sys version = 8.1.0.0. WinDriver v8.10 Jungo (c) 1997 - 2006 Build Date: Aug 15 2006 X86 32bit SYS 14:21:34, version = 810.
LPT base address = 0378h.
ECP base address = FFFFFFFFh.
Cable connection failed.
Connecting to cable (Parallel Port - LPT2).
Checking cable driver.
Driver windrvr6.sys version = 8.1.0.0. WinDriver v8.10 Jungo (c) 1997 - 2006 Build Date: Aug 15 2006 X86 32bit SYS 14:21:34, version = 810.
Cable connection failed.
Connecting to cable (Parallel Port - LPT3).
Checking cable driver.
Driver windrvr6.sys version = 8.1.0.0. WinDriver v8.10 Jungo (c) 1997 - 2006 Build Date: Aug 15 2006 X86 32bit SYS 14:21:34, version = 810.
Cable connection failed.
Connecting to cable (Parallel Port - LPT4).
Checking cable driver.
Driver windrvr6.sys version = 8.1.0.0. WinDriver v8.10 Jungo (c) 1997 - 2006 Build Date: Aug 15 2006 X86 32bit SYS 14:21:34, version = 810.
Cable connection failed.
Connecting to cable (U*** Port - USB21).
Checking cable driver.
Driver xu***dfwu.sys version: 1021 (1027).
Driver windrvr6.sys version = 8.1.0.0. WinDriver v8.10 Jungo (c) 1997 - 2006 Build Date: Aug 15 2006 X86 32bit SYS 14:21:34, version = 810.
Cable PID = 0008.
Max current requested during enumeration is 300 mA.
Cable Type = 3, Revision = 0.
Cable Type = 0x0004.
Setting cable speed to 6 MHz.
Cable connection established.
Firmware version = 2301.
CPLD file version = 0012h.
CPLD version = FFFEh.
PROGRESS_END - End Operation.
Elapsed time =      2 sec.
Attempting to identify devices in the boundary-scan chain configuration...// *** BATCH CMD : Identify
PROGRESS_START - Starting Operation.
Identifying chain contents ....'1': : Manufacturer's ID =Xilinx xc3s700an, Version : 2
INFO:iMPACT:1777 -
Reading C:/Xilinx91i/spartan3a/data/xc3s700an.bsd...
INFO:iMPACT:501 - '1': Added Device xc3s700an successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
done.
PROGRESS_END - End Operation.
Elapsed time =      1 sec.
// *** BATCH CMD : identifyMPM
// *** BATCH CMD : assignFile -p 1 -file "D:/ICT Test Firmware/200-2825/200-2825_ML6893B_fpt_FPGA_A/ml6893b_fpga_a_top_ALL_EVEN_SW_ON_081117.bit"
'1': Loading file 'D:/ICT Test Firmware/200-2825/200-2825_ML6893B_fpt_FPGA_A/ml6893b_fpga_a_top_ALL_EVEN_SW_ON_081117.bit' ...
done.
Found sync word in bitstream.
INFO:iMPACT:501 - '1': Added Device xc3s700an successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
// *** BATCH CMD : Program -p 1 -e -v -defaultVersion 0
Maximum TCK operating frequency for this device chain: 10000000.
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.
PROGRESS_START - Starting Operation.
'1': Downloading core...
done.
'1': Reading status register contents...
CRC error                                         :         0
IDCODE not validated while writing FDRI           :         0
DCM matched                                       :         0
status of GTS_CFG_B                               :         0
status of GWE                                     :         0
status of GHIGH                                   :         0
value of VSEL pin 0                               :         0
value of VSEL pin 1                               :         0
value of VSEL pin 2                               :         0
value of MODE pin M0                              :         0
value of MODE pin M1                              :         0
value of MODE pin M2                              :         0
value of CFG_RDY (INIT_B)                         :         0
DONEIN input from Done Pin                        :         0
SEU error                                         :         0
SYNC word not found                               :         0
INFO:iMPACT:2219 - Status register values:
INFO:iMPACT - 0000 0000 0000 0000
INFO:iMPACT:2492 - '1': Completed downloading core to device.
INFO:iMPACT - '1': Checking done pin....done.
'1': Core downloading terminated. DONE did not go high.
PROGRESS_END - End Operation.
Elapsed time =      2 sec.

Thanks,
Asela
-- ace            ml6893b_fpga_top_build.bat ‏3 KB

回帖(1)

于帅

2019-7-11 08:47:48
首先检查模式引脚。
确保它们在外部设置为M [0:2] = 1 1 0。

以上来自于谷歌翻译


以下为原文

Start with checking your mode pins. Make sure they are set M[0:2] = 1 1 0, externally.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分