News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

TE0630 and SPI quad Configuration mode

Started by JoeG, September 27, 2013, 02:26:31 PM

Previous topic - Next topic

JoeG

Hi,

I using the TE0630 (LX45) and try to use the quad SPI-Configuration mode. I set the SPI bus width to 4 in the Process Properties of the Generate Programming File option. All other options were on default. I working with ISE 14.2 and the blinkin Reference-Design. In iMPACT I selected the Data Width of the attached SPI to 4, after I successfully generated the *.mcs-file with the PROM File Formatter (SPI Flash Single FPGA). I get "Program Failed", when I trying and get this from iMPACT:

INFO:iMPACT - Current time: 27.09.2013 14:05:01
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 C:/Xilinx/14.2/ISE_DS/ISE/spartan6/data/xc6slx45_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 'ef4017' (in hex).
'1': ID Check passed.
'1': IDCODE is 'ef4017' (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...
done.
'1': Verification completed.
'1':Programming in x4 mode.
W25Q64BV Status Register Contents = 0x0200.
QUAD ENABLE                                            :         1
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 =    243 sec.


When i configured the FPGA with JTAG or SPI 1x mode the "Program Succeeded".
What am I doing wrong?

I hope someone can help me.

Best regards,

JoeG

Oleksandr Kiyenko

Hi JoeG,
I just finish my test
1) I open blinkin-TE0630 project
2) Generate Programming File -> Process Properties
3) Configuration options "-g SPI_buswidth" = 4, Apply, OK
4) Run "Generate programming file"
5) Open iMPACT and generate msc from bit
6) Program mcs to Flash in quad mode

Welcome to iMPACT
iMPACT Version: 13.3
// *** BATCH CMD : setMode -bs
// *** BATCH CMD : setMode -bs
// *** 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 (Usb Port - USB21).
Checking cable driver.
Driver file xusbdfwu.sys found.
Driver version: src=1027, dest=1027.
Driver windrvr6.sys version = 10.2.1.0. WinDriver v10.21 Jungo (c) 1997 - 2010 Build Date: Aug 31 2010 x86_64 64bit SYS 14:14:44, version = 1021.
Cable PID = 0008.
Max current requested during enumeration is 280 mA.
Type = 0x0605.
Cable Type = 3, Revision = 0.
Setting cable speed to 6 MHz.
Cable connection established.
Firmware version = 1100.
File version of C:/Xilinx/13.3/ISE_DS/ISE/data/xusbdfwu.hex = 1100.
Firmware hex file version = 1100.
PLD file version = 0012h.
PLD version = 0012h.
PROGRESS_END - End Operation.
Elapsed time =      0 sec.
Type = 0x0605.
ESN not available for this cable.
Attempting to identify devices in the boundary-scan chain configuration...
INFO:iMPACT - Current time: 27.09.2013 15:15:41
// *** BATCH CMD : Identify -inferir
PROGRESS_START - Starting Operation.
Identifying chain contents...'0': : Manufacturer's ID = Xilinx xc6slx45, Version : 3
INFO:iMPACT:1777 -
Reading C:/Xilinx/13.3/ISE_DS/ISE/spartan6/data/xc6slx45.bsd...
INFO:iMPACT:501 - '1': Added Device xc6slx45 successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
done.
PROGRESS_END - End Operation.
Elapsed time =      1 sec.
// *** BATCH CMD : identifyMPM
Selected part: W25Q64BV
// *** BATCH CMD : attachflash -position 1 -spi "W25Q64BV"
Unprotect sectors: FALSE
// *** BATCH CMD : assignfiletoattachedflash -position 1 -file "B:/Temporary/itest3.mcs"
INFO:iMPACT - Current time: 27.09.2013 15:16:02
// *** BATCH CMD : Program -p 1 -dataWidth 4 -spionly -e -v -loadfpga
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 C:/Xilinx/13.3/ISE_DS/ISE/spartan6/data/xc6slx45_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 'ef4017' (in hex).
'1': ID Check passed.
'1': IDCODE is 'ef4017' (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...
done.
'1': Verification completed.
'1':Programming in x4 mode.
W25Q64BV Status Register Contents = 0x0200.
QUAD ENABLE                                       :         1
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': Programmed successfully.
INFO:iMPACT - '1': Flash was programmed successfully.
LCK_cycle = NoWait.
LCK cycle: NoWait
INFO:iMPACT - '1': Checking done pin....done.
'1': Programmed successfully.
PROGRESS_END - End Operation.
Elapsed time =    207 sec.

JoeG

Okay,

I disconnected the EEPROM from the Cypress and it works for me.
By the way, I have a application-specific cypress firmware.

Thanks for the moment.

Regards

JoeG