cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
8,052 Views
Registered: ‎01-12-2014

k7 cant load mcs file

Dear members;

 

I am trying to program the flash (Winbond W25Q32BV ) using SPI with the Impact(ise 14.5).

I can successfully read the device status.  I can erase the device  and can successfully program bit file. 

But when I use JTAG Port to program mcs file, it shows :"...was not successful, Done did not go high."

 

here is log file : 

GUI --- Auto connect to cable...

INFO:iMPACT - Connecting to TCF agent...

INFO:iMPACT - Digilent Plugin: Plugin Version: 2.4.4

INFO:iMPACT - Digilent Plugin: no JTAG device was found.

AutoDetecting cable. Please wait.

*** WARNING ***: When port is set to auto detect mode, cable speed is set to default 6 MHz regardless of explicit arguments supplied for setting the baud rates

PROGRESS_START - Starting Operation.

Cable is LOCKED. Retrying...

Connecting to cable (Usb Port - USB21).

Checking cable driver.

Driver file xusb_xlp.sys found.

Driver version: src=1029, dest=1029.

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 74 mA.

Type = 0x0004.

Cable Type = 3, Revision = 0.

Setting cable speed to 6 MHz.

Cable connection established.

Firmware version = 1303.

File version of d:/Xilinx/14.5/ISE_DS/ISE/data/xusb_xlp.hex = 1303.

Firmware hex file version = 1303.

PLD file version = 0012h.

PLD version = 0012h.

PROGRESS_END - End Operation.

Elapsed time =     1 sec.

Type = 0x0004.

ESN device is not available for this cable.

Attempting to identify devices in the boundary-scan chain configuration...

INFO:iMPACT - Current time: 2015/3/4 10:45:49

PROGRESS_START - Starting Operation.

Identifying chain contents...'0': : Manufacturer's ID = Xilinx xc7k70t, Version : 0

INFO:iMPACT:1777 -

Reading d:/Xilinx/14.5/ISE_DS/ISE/kintex7/data/xc7k70t.bsd...

INFO:iMPACT - Using CseAdapterBSDevice

INFO:iMPACT:501 - '1': Added Device xc7k70t successfully.

----------------------------------------------------------------------

----------------------------------------------------------------------

done.

PROGRESS_END - End Operation.

Elapsed time =     0 sec.

Selected part: W25Q32BV

Unprotect sectors: FALSE

INFO:iMPACT - Current time: 2015/3/4 10:46:21

PROGRESS_START - Starting Operation.

Maximum TCK operating frequency for this device chain: 66000000.

Validating chain...

Boundary-scan chain validated successfully.

1: Device Temperature: Current Reading: -273.00 C

1: VCCINT Supply: Current Reading:   0.000 V

1: VCCAUX Supply: Current Reading:   0.000 V

Unprotect sectors: FALSE

Not an xsdb core.

Core is not loaded.

INFO:iMPACT - Downloading d:\Xilinx\14.5\ISE_DS\ISE\data\cse\cseflash\kintex7\xc7k70t_xsdbspi.cor core file.

INFO:iMPACT - Creating XC7K70T device.

PROGRESS_START - Starting Operation.

'1': Programming device...

Match_cycle = NoWait.

Match cycle: NoWait

LCK_cycle = NoWait.

LCK cycle: NoWait

done.

INFO:Cse - Status register values:

INFO:Cse - 0011 1111 1001 1110 0000 1000 0000 0010

INFO:Cse - '1': Completed downloading bit file to device.

INFO:Cse - '1': Programming completed successfully.

PROGRESS_END - End Operation.

Elapsed time =     1 sec.

key: period_frc, value: 0

key: dclk_has_reset, value: 0

key: period_int, value: 10

Found Slave on Bus Index.

Found Slave on Bus Index.

SPI core clock speed value = 0xA801.

PROGRESS_START - Starting Operation.

'1': IDCODE is 'ef4016' (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 x1 mode.

W25Q32BV Status Register Contents = 0x0002.

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

PROGRESS_END - End Operation.

Elapsed time =   338 sec.

'1': Configuration data download to FPGA was not successful. DONE did not go high, please check your configuration setup and mode settings.

Any help is appreciated.

Tags (1)
0 Kudos
8 Replies
Highlighted
Moderator
Moderator
8,037 Views
Registered: ‎01-15-2008

what is the mode pin settings? it should m[2:0] = "001" for spi configuration

 

 

--Krishna

0 Kudos
Highlighted
Visitor
Visitor
8,028 Views
Registered: ‎01-12-2014

yes

0 Kudos
Highlighted
Visitor
Visitor
8,027 Views
Registered: ‎01-12-2014

2.jpg

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
8,021 Views
Registered: ‎04-16-2012

Hello,

Can you try reducing the cable speed?

Thanks,
Vinay
--------------------------------------------------------------------------------------------
Have you tried typing your question in Google? If not you should before posting. Also, MARK this is as an answer in case it helped resolve your query/issue.Give kudos to the post that helped you to find the solution.
0 Kudos
Highlighted
Moderator
Moderator
8,007 Views
Registered: ‎01-15-2008

can you do power cycle of the board(power off and on) and if configuration fails can you capture the status registers from impact and attach to this thread.

Also compare the readback file of the flash with original mcs file and see if there is any difference.

 

--Krishna

0 Kudos
Highlighted
Visitor
Visitor
7,999 Views
Registered: ‎01-12-2014

I switch the flash which had load mcs file to the board, the FPGA can't load the code from flash when i power cycle the board.But when i short R198 for few time, FPGA can load mcs file.
0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
7,869 Views
Registered: ‎04-16-2012

Hello

Do you mean when you connect PROGRAM_B connects to GND, the mcs files loads successfully to FPGA??

Thanks,
Vinay
--------------------------------------------------------------------------------------------
Have you tried typing your question in Google? If not you should before posting. Also, MARK this is as an answer in case it helped resolve your query/issue.Give kudos to the post that helped you to find the solution.
0 Kudos
Highlighted
Visitor
Visitor
7,802 Views
Registered: ‎01-12-2014

yes
0 Kudos