UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor kready
Visitor
7,951 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
Moderator
Moderator
7,936 Views
Registered: ‎01-15-2008

Re: k7 cant load mcs file

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

 

 

--Krishna

0 Kudos
Visitor kready
Visitor
7,927 Views
Registered: ‎01-12-2014

Re: k7 cant load mcs file

yes

0 Kudos
Visitor kready
Visitor
7,926 Views
Registered: ‎01-12-2014

Re: k7 cant load mcs file

2.jpg

0 Kudos
Xilinx Employee
Xilinx Employee
7,920 Views
Registered: ‎04-16-2012

Re: k7 cant load mcs file

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
Moderator
Moderator
7,906 Views
Registered: ‎01-15-2008

Re: k7 cant load mcs file

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
Visitor kready
Visitor
7,898 Views
Registered: ‎01-12-2014

Re: k7 cant load mcs file

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
Xilinx Employee
Xilinx Employee
7,768 Views
Registered: ‎04-16-2012

Re: k7 cant load mcs file

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
Visitor kready
Visitor
7,701 Views
Registered: ‎01-12-2014

Re: k7 cant load mcs file

yes
0 Kudos