cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
amol.ghaware
Visitor
Visitor
10,686 Views
Registered: ‎04-08-2016

MCS file program faild artix7 FPGA

Dear all,

  I am getting the following error while loading the MCS file through IMPACT

#######################################################################

 

Creating backup of last automatically saved project to 'C:\Xilinx\\auto_project_1.ipf'.
Welcome to iMPACT
iMPACT Version: 14.7
Project: 'C:\Xilinx\\auto_project.ipf' already exists.
Original project has been renamed to 'C:\Xilinx\\auto_project_1.ipf'.
Project: C:\Xilinx\\auto_project.ipf created.
// *** 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
INFO:iMPACT - Digilent Plugin: Plugin Version: 2.4.4
INFO:iMPACT - Digilent Plugin: found 1 device(s).
INFO:iMPACT - Digilent Plugin: opening device: "JtagHs2", SN:210249937944
INFO:iMPACT - Digilent Plugin: User Name: JtagHs2
INFO:iMPACT - Digilent Plugin: Product Name: Digilent JTAG-HS2
INFO:iMPACT - Digilent Plugin: Serial Number: 210249937944
INFO:iMPACT - Digilent Plugin: Product ID: 30900152
INFO:iMPACT - Digilent Plugin: Firmware Version: 0108
INFO:iMPACT - Digilent Plugin: JTAG Port Number: 0
INFO:iMPACT - Digilent Plugin: JTAG Clock Frequency: 10000000 Hz
Attempting to identify devices in the boundary-scan chain configuration...
INFO:iMPACT - Current time: 1/24/2015 12:37:15 PM
// *** BATCH CMD : Identify -inferir
PROGRESS_START - Starting Operation.
Identifying chain contents...'0': : Manufacturer's ID = Xilinx XC7A200T, Version : 1
INFO:iMPACT:1777 -
Reading C:/Xilinx14.7/14.7/LabTools/LabTools/artix7/data/xc7a200t.bsd...
INFO:iMPACT - Using CseAdapterBSDevice
INFO:iMPACT:501 - '1': Added Device XC7A200T successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
done.
PROGRESS_END - End Operation.
Elapsed time =      0 sec.
// *** BATCH CMD : identifyMPM
INFO:iMPACT - Current time: 1/24/2015 12:37:23 PM
// *** BATCH CMD : ReadStatusRegister -p 1
Maximum TCK operating frequency for this device chain: 66000000.
Validating chain...
Boundary-scan chain validated successfully.
1: Device Temperature: Current Reading:   32.66 C, Min. Reading:   32.16 C, Max. Reading:   33.15 C
1: VCCINT Supply: Current Reading:   0.999 V, Min. Reading:   0.996 V, Max. Reading:   0.999 V
1: VCCAUX Supply: Current Reading:   1.828 V, Min. Reading:   1.825 V, Max. Reading:   1.831 V
'1': Reading bootsts register contents...
[0] VALID_0 - ERROR OR END OF STARTUP (EOS) DETECTED                       :         0
[1] FALLBACK_0 - FALLBACK TRIGGERED RECONFIGURATION                        :         0
[2] IPROG_0 - INTERNAL WARMBOOT (IPROG) TRIGGERED RECONFIGURATION          :         0
[3] WTO_ERROR_0 - WATCHDOG TIME OUT ERROR                                  :         0
[4] ID_ERROR_0 - FPGA DEVICE IDCODE ERROR                                  :         0
[5] CRC_ERROR_0 - CYCLIC REDUNDANCY CHECK (CRC) ERROR                      :         0
[6] WRAP_ERROR_0 - BPI FLASH ADDRESS COUNTER WRAP AROUND ERROR             :         0
[7] HMAC_ERROR_0 - HMAC ERROR                                              :         0
[8] VALID_1 - ERROR OR END OF STARTUP (EOS) DETECTED                       :         0
[9] FALLBACK_1 - FALLBACK TRIGGERED RECONFIGURATION                        :         0
[10] IPROG_1 - INTERNAL WARMBOOT (IPROG) TRIGGERED RECONFIGURATION         :         0
[11] WTO_ERROR_1 - WATCHDOG TIME OUT ERROR                                 :         0
[12] ID_ERROR_1 - FPGA DEVICE IDCODE ERROR                                 :         0
[13] CRC_ERROR_1 - CYCLIC REDUNDANCY CHECK (CRC) ERROR                     :         0
[14] WRAP_ERROR_1 - BPI FLASH ADDRESS COUNTER WRAP AROUND ERROR            :         0
[15] HMAC_ERROR_1 - HMAC ERROR                                             :         0
'1': Reading status register contents...
[0] CRC ERROR                                                              :         0
[1] DECRYPTOR ENABLE                                                       :         0
[2] PLL LOCK STATUS                                                        :         1
[3] DCI MATCH STATUS                                                       :         1
[4] END OF STARTUP (EOS) STATUS                                            :         0
[5] GTS_CFG_B STATUS                                                       :         0
[6] GWE STATUS                                                             :         0
[7] GHIGH STATUS                                                           :         0
[8] MODE PIN M[0]                                                          :         1
[9] MODE PIN M[1]                                                          :         0
[10] MODE PIN M[2]                                                         :         0
[11] INIT_B INTERNAL SIGNAL STATUS                                         :         1
[12] INIT_B PIN                                                            :         1
[13] DONE INTERNAL SIGNAL STATUS                                           :         0
[14] DONE PIN                                                              :         0
[15] IDCODE ERROR                                                          :         0
[16] SECURITY ERROR                                                        :         0
[17] SYSTEM MONITOR OVER-TEMP ALARM STATUS                                 :         0
[18] CFG STARTUP STATE MACHINE PHASE                                       :         0
[19] CFG STARTUP STATE MACHINE PHASE                                       :         0
[20] CFG STARTUP STATE MACHINE PHASE                                       :         0
[21] RESERVED                                                              :         0
[22] RESERVED                                                              :         0
[23] RESERVED                                                              :         0
[24] RESERVED                                                              :         0
[25] CFG BUS WIDTH DETECTION                                               :         0
[26] CFG BUS WIDTH DETECTION                                               :         0
[27] HMAC ERROR                                                            :         0
[28] PUDC_B PIN                                                            :         1
[29] BAD PACKET ERROR                                                      :         0
[30] CFGBVS PIN                                                            :         1
[31] RESERVED                                                              :         0
IDCODE Loop Count = 10000
INFO:iMPACT - Current time: 1/24/2015 12:37:27 PM
// *** BATCH CMD : ReadIdcode -loop 10000 -p 1
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:   33.15 C, Min. Reading:   32.16 C, Max. Reading:   33.15 C
1: VCCINT Supply: Current Reading:   0.999 V, Min. Reading:   0.996 V, Max. Reading:   0.999 V
1: VCCAUX Supply: Current Reading:   1.828 V, Min. Reading:   1.825 V, Max. Reading:   1.831 V
'1': IDCODE loop completed successfully 10000 times.
PROGRESS_END - End Operation.
Elapsed time =      3 sec.
IDCODE Loop Count = 100000
INFO:iMPACT - Current time: 1/24/2015 12:37:37 PM
// *** BATCH CMD : ReadIdcode -loop 100000 -p 1
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:   33.15 C, Min. Reading:   32.16 C, Max. Reading:   33.64 C
1: VCCINT Supply: Current Reading:   0.999 V, Min. Reading:   0.996 V, Max. Reading:   0.999 V
1: VCCAUX Supply: Current Reading:   1.828 V, Min. Reading:   1.825 V, Max. Reading:   1.831 V
'1': IDCODE loop completed successfully 100000 times.
PROGRESS_END - End Operation.
Elapsed time =     24 sec.
INFO:iMPACT - File C:/Documents and Settings/itsadmin.ITT039/Desktop/0169/DP-SPL-0169-V1-01-U408-R1-0037C42A9.cfi does not exist.
INFO:iMPACT - File C:/Documents and Settings/itsadmin.ITT039/Desktop/0169/DP-SPL-0169-V1-01-U408-R1-0037C42A9.cfi does not exist.
INFO:iMPACT - File C:/Documents and Settings/itsadmin.ITT039/Desktop/0169/DP-SPL-0169-V1-01-U408-R1-0037C42A9.cfi does not exist.
INFO:iMPACT - File C:/Documents and Settings/itsadmin.ITT039/Desktop/0169/DP-SPL-0169-V1-01-U408-R1-0037C42A9.cfi does not exist.
INFO:iMPACT - File C:/Documents and Settings/itsadmin.ITT039/Desktop/0169/DP-SPL-0169-V1-01-U408-R1-0037C42A9.cfi does not exist.
Selected part: S25FL256S
// *** BATCH CMD : attachflash -position 1 -spi "S25FL256S"
Unprotect sectors: FALSE
// *** BATCH CMD : assignfiletoattachedflash -position 1 -file "C:/Documents and Settings/itsadmin.ITT039/Desktop/0169/DP-SPL-0169-V1-01-U408-R1-0037C42A9.mcs"
INFO:iMPACT - A CFI file is not detected. To ensure correct and safe configuration,
 Please make sure a CFI file is present in the same directory as the PROM file,
 or, regenerate the PROM file with the latest software.
Enumerating cables. Please wait.
PROGRESS_START - Starting Operation.
Connecting to cable (Usb Port - USB21).
Checking cable driver.
 Source driver files not found.
The Platform Cable USB is not detected. Please connect a cable.If a cable is connected, please disconnect
and reconnect to the usb port, follow the instructions in the 'Found New Hardware Wizard', then retry
the Cable Setup operation.
PROGRESS_END - End Operation.
Elapsed time =      0 sec.
INFO:iMPACT - Digilent Plugin: Plugin Version: 2.4.4
INFO:iMPACT - Digilent Plugin: found 1 device(s).
INFO:iMPACT - Digilent Plugin: opening device: "JtagHs2", SN:210249937944
INFO:iMPACT - Digilent Plugin: User Name: JtagHs2
INFO:iMPACT - Digilent Plugin: Product Name: Digilent JTAG-HS2
INFO:iMPACT - Digilent Plugin: Serial Number: 210249937944
INFO:iMPACT - Digilent Plugin: Product ID: 30900152
INFO:iMPACT - Digilent Plugin: Firmware Version: 0108
INFO:iMPACT - Digilent Plugin: JTAG Port Number: 0
INFO:iMPACT - Digilent Plugin: JTAG Clock Frequency: 10000000 Hz
// *** BATCH CMD : setCable -target "digilent_plugin DEVICE=SN:210249937944 FREQUENCY=1000000"
INFO:iMPACT - Digilent Plugin: Plugin Version: 2.4.4
INFO:iMPACT - Digilent Plugin: Opening device : "SN:210249937944".
INFO:iMPACT - Digilent Plugin: User Name: JtagHs2
INFO:iMPACT - Digilent Plugin: Product Name: Digilent JTAG-HS2
INFO:iMPACT - Digilent Plugin: Serial Number: 210249937944
INFO:iMPACT - Digilent Plugin: Product ID: 30900152
INFO:iMPACT - Digilent Plugin: Firmware Version: 0108
INFO:iMPACT - Digilent Plugin: JTAG Port Number: 0
INFO:iMPACT - Digilent Plugin: JTAG Clock Frequency: 1000000 Hz
INFO:iMPACT - Current time: 1/24/2015 12:41:59 PM
// *** BATCH CMD : Program -p 1 -dataWidth 4 -spionly -e -v -loadfpga
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:   33.15 C, Min. Reading:   32.16 C, Max. Reading:   33.64 C
1: VCCINT Supply: Current Reading:   0.999 V, Min. Reading:   0.996 V, Max. Reading:   0.999 V
1: VCCAUX Supply: Current Reading:   1.828 V, Min. Reading:   1.825 V, Max. Reading:   1.831 V
Unprotect sectors: FALSE
SPI SLAVE TYPE in Cse_Operate.c is 0
INFO:iMPACT - Downloading C:\Xilinx14.7\14.7\LabTools\LabTools\data\cse\cseflash\artix7\xc7a200t_xsdbspi.cor core file.
INFO:iMPACT - Creating XC7A200T 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 =     10 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.
Slave Int Type is 99, slave Index is 0 , SPI_SLAVE is 99
Slave Type is 99, slave Index is 0
SPI core clock speed value = 0xA801.
PROGRESS_START - Starting Operation.
'1': IDCODE is '010219' (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.
S25FL256S Status Register Contents = 0x0200.
QUAD                                              :         1
BP2                                               :         0
BP1                                               :         0
BP0                                               :         0
PROGRESS_END - End Operation.
Elapsed time =    957 sec.
'1': Configuration data download to FPGA was not successful. DONE did not go high, please check your configuration setup and mode settings.

0 Kudos
14 Replies
amol.ghaware
Visitor
Visitor
10,685 Views
Registered: ‎04-08-2016

If I tried with 1x mode then MCS file successfully programmed, but with 4x mode it is giving above error, DONE did not go high....

0 Kudos
pulim
Xilinx Employee
Xilinx Employee
10,683 Views
Registered: ‎02-16-2014

Hi @amol.ghaware

 

Did you generate the bitstream for spi bus width 4?

If not, can you try generating the bitstream for SPI bus width of 4.

You can select SPI bus width from bit stream properties.

Capture.JPG

0 Kudos
amol.ghaware
Visitor
Visitor
10,669 Views
Registered: ‎04-08-2016

Hi@pulim

I have to generate with spi bus width 4 only,

but with SPI bus width =4 only i got above error, and SPI bus width=1 MCS file successfully programmed

0 Kudos
pratham
Scholar
Scholar
10,659 Views
Registered: ‎06-05-2013

@amol.ghaware Can you attach part of schematic which would show fpga to spi flash interface connection?

-Pratham

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
amol.ghaware
Visitor
Visitor
10,656 Views
Registered: ‎04-08-2016

Hi@

 

schem.JPG
0 Kudos
pratham
Scholar
Scholar
10,645 Views
Registered: ‎06-05-2013

@amol.ghaware can you compare with this one here?

-Pratham

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
forum.JPG
0 Kudos
amol.ghaware
Visitor
Visitor
10,641 Views
Registered: ‎04-08-2016

Hi@

Exactly same,same interface only using with same signals and pullup value also,can you tell me what may be the problem in 4x mode

0 Kudos
amol.ghaware
Visitor
Visitor
10,539 Views
Registered: ‎04-08-2016

Hi@pratham
Hi@ pulim

I am having this error still now,unable to solve,can anyone guide me
0 Kudos
aher
Xilinx Employee
Xilinx Employee
10,528 Views
Registered: ‎07-21-2014

Hi @amol.ghaware

Try setting SPI_32bit_addr yes along with spi_buswidth 4 option.
This is required for flashes of size 256Mb or above.

-Shreyas
----------------------------------------------------------------------------------------------
Try to search answer for your issue in forums or xilinx user guides before you post a new thread.

Kindly note- Please mark the Answer as "Accept as solution" if information provided solves your query.
Give Kudos (star provided in right) to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
kkn
Moderator
Moderator
9,321 Views
Registered: ‎01-15-2008

0 Kudos
amol.ghaware
Visitor
Visitor
9,304 Views
Registered: ‎04-08-2016

why vivado lab programmer ?
0 Kudos
kkn
Moderator
Moderator
9,298 Views
Registered: ‎01-15-2008

you can use the vivado lab programmer instead of impact tool to program the S25FL256S flash for 7 series

0 Kudos
amol.ghaware
Visitor
Visitor
9,180 Views
Registered: ‎04-08-2016

I will try with Vivado lab programmer, but with same mcs for other board is programmed successfully with IMPACT only with same setting, IS this problem related to hardware ?

0 Kudos
palmerhunt
Newbie
Newbie
8,996 Views
Registered: ‎05-04-2016

Vivado lab programmer is worth trying

0 Kudos