fpga器件为:xc6slx9-2csg324,
配置器件为spi flash:W25Q16BV
现象:可以正确通过jtag下载并运行,下载spiflash总是失败,但是在别的板子上先把程序下载到spi flash后再焊接到这块板子上能正常启动运行,
下载信息为:
开启校验时:
INFO:iMPACT - Current time: 2012/11/25 16:19:27
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 e:/Xilinx/14.2/ISE_DS/ISE/spartan6/data/xc6slx9_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 'ef4015' (in hex).
'1': ID Check passed.
'1': IDCODE is 'ef4015' (in hex).
'1': ID Check passed.
'1': Erasing Device.
'1': Using Sector Erase.
'1': Erasing non-volatile quad-enable bit...
'1': Programming Flash.
'1': Reading device contents...
Failed at address, 0
'1': Verification Terminated
INFO:iMPACT - '1': Flash was not programmed successfully.
PROGRESS_END - End Operation.
Elapsed time = 12 sec.
不开启校验时:
INFO:iMPACT - Current time: 2012/11/25 16:38:06
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 e:/Xilinx/14.2/ISE_DS/ISE/spartan6/data/xc6slx9_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 'ef4015' (in hex).
'1': ID Check passed.
'1': IDCODE is 'ef4015' (in hex).
'1': ID Check passed.
'1': Erasing Device.
'1': Using Sector Erase.
'1': Erasing non-volatile quad-enable bit...
'1': Programming Flash.
'1':Programming in x1 mode.
W25Q16BV Status Register Contents = 0x0000.
QUAD ENABLE : 0
STATUS REGISTER PROTECT 1 : 0
STATUS REGISTER PROTECT 0 : 0
SECTOR PROTECT : 0
TOP/BOTTOM PROTECT : 0
BLOCK PROTECT BIT 2 : 0
BLOCK PROTECT BIT 1 : 0
BLOCK PROTECT BIT 0 : 0
'1': Configuration data download to FPGA was not successful. DONE did not go high, please check your configuration setup and mode settings.
INFO:iMPACT - '1': Flash was not programmed successfully.
PROGRESS_END - End Operation.
Elapsed time = 73 sec.
已经查阅了论坛中两个相似的帖子,但都无法解决我的问题,着急....在线等待...... |