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: 
Highlighted
Visitor nreddy408
Visitor
331 Views
Registered: ‎10-05-2018

Spartna 3AN is not able to load configuration image from Flash

Hi,

 

We are using  XC3S400AN-4FTG256C FPGA  and Configuration flash is external 32MB SPI x1.

Spartna 3AN is not able to load configuration image from Flash.Refer the log below for errors .

Please check and help us if you have faced similar kind of issues.

 

We verified all configuration settings and looks fine.Pasted mode settings at the end.Please have a look.

 

 

 

// *** BATCH CMD : identifyMPM
// *** BATCH CMD : assignFile -p 1 -file "C:/Users/rsiddique/Documents/DDN/test.mcs"
'1': Loading file 'C:/Users/rsiddique/Documents/DDN/test.mcs' ...
done.
// *** BATCH CMD : setAttribute -position 1 -attr packageName -value ""
INFO:iMPACT - Current time: 09/10/2018 16:21:54
// *** BATCH CMD : Program -p 1 -e -v
PROGRESS_START - Starting Operation.
Maximum TCK operating frequency for this device chain: 10000000.
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.7/ISE_DS/ISE/spartan3a/data/xc3s400an_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 1111 1100 1100
INFO:iMPACT:2492 - '1': Completed downloading core to device.
INFO:iMPACT - Address 0x00000000 is in sector 0.
INFO:iMPACT - Start block = 0 for address 0x00000000.
INFO:iMPACT - Address 0x00039951 is not located at the start of a sector boundary. The whole sector will be erased.
INFO:iMPACT - Address 0x00039951 is in sector 4.
INFO:iMPACT - End block = 127 for address 0x00039951.
INFO:iMPACT - Address 0x00000000 is in sector 0.
INFO:iMPACT - Address 0x00039951 is not located at the start of a sector boundary. The whole sector will be erased.
INFO:iMPACT - Address 0x00039951 is in sector 4.
INFO:iMPACT - Address 0x00000000 is in sector 0.
INFO:iMPACT - Address 0x00039951 is not located at the start of a sector boundary. The whole sector will be erased.
INFO:iMPACT - Address 0x00039951 is in sector 4.
INFO:iMPACT - Address 0x00000000 is in sector 0.
INFO:iMPACT - Address 0x00039951 is not located at the start of a sector boundary. The whole sector will be erased.
INFO:iMPACT - Address 0x00039951 is in sector 4.
INFO:iMPACT - Address 0x00000000 is in sector 0.
INFO:iMPACT - Address 0x00039951 is not located at the start of a sector boundary. The whole sector will be erased.
INFO:iMPACT - Address 0x00039951 is in sector 4.
'1': Erasing device...
done.
'1': Erasure completed successfully.
INFO:iMPACT - Address 0x00000000 is in sector 0.
INFO:iMPACT - Address 0x00039951 is not located at the start of a sector boundary. The whole sector will be erased.
INFO:iMPACT - Address 0x00039951 is in sector 4.
INFO:iMPACT - Address 0x00000000 is in sector 0.
INFO:iMPACT - Address 0x00039951 is not located at the start of a sector boundary. The whole sector will be erased.
INFO:iMPACT - Address 0x00039951 is in sector 4.
INFO:iMPACT - Address 0x00000000 is in sector 0.
INFO:iMPACT - Address 0x00039951 is not located at the start of a sector boundary. The whole sector will be erased.
INFO:iMPACT - Address 0x00039951 is in sector 4.
INFO:iMPACT - Address 0x00000000 is in sector 0.
INFO:iMPACT - Address 0x00039951 is not located at the start of a sector boundary. The whole sector will be erased.
INFO:iMPACT - Address 0x00039951 is in sector 4.
INFO:iMPACT - Address 0x00000000 is in page 0.
INFO:iMPACT - Address 0x00039951 is in page 893.
'1': Programming Flash...done.
'1': Programming completed successfully.
INFO:iMPACT - Address 0x00000000 is in page 0.
INFO:iMPACT - Address 0x00039951 is in page 893.
'1': Verifying device...done.
'1': Verification completed successfully.
'1': Configuration data download to FPGA was not successful. DONE did not go high, please check your configuration setup and spi mode settings.
PROGRESS_END - End Operation.
Elapsed time = 113 sec.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

INFO:iMPACT - Current time: 10/10/2018 09:56:41

// *** BATCH CMD : ReadStatusRegister -p 1

'1': Reading status register contents...

CRC error                                                                  :         0

IDCODE not validated while writing FDRI                                    :         0

DCM Locked                                                                 :         1

status of GTS_CFG_B                                                        :         1

status of GWE                                                              :         1

status of GHIGH                                                            :         1

value of VSEL pin 0                                                        :         1

value of VSEL pin 1                                                        :         1

value of VSEL pin 2                                                        :         1

value of MODE pin M0                                                       :         1

value of MODE pin M1                                                       :         0

value of MODE pin M2                                                       :         0

value of CFG_RDY (INIT_B)                                                  :         1

DONEIN input from Done Pin                                                 :         1

SYNC word not found                                                        :         0

'1': SPI access core not detected. SPI access core will be downloaded to the device to enable ope rations.

INFO:iMPACT - Downloading core file C:/Xilinx/14.7/ISE_DS/ISE/spartan3a/data/xc3s400an_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 1111 1100 1100

INFO:iMPACT:2492 - '1': Completed downloading core to device.

Ready/Busy Bit: 1

Result of Main Memory Page to Buffer Compare: 0

Device Density Bits: 0111

Sector Protection enabled: 0

Power of 2 binary page size enabled: 0

INFO:iMPACT - Address 0x00000000 is in sector 0.

INFO:iMPACT - Address 0x0003992B is not located at the start of a sector boundary. The whole sector will be erased.

INFO:iMPACT - Address 0x0003992B is in sector 4.

The security register values are:

Sector[0]: NOT SECURED (0)

Sector[1]: NOT SECURED (0)

Sector[2]: NOT SECURED (0)

Sector[3]: NOT SECURED (0)

Sector[4]: NOT SECURED (0)

Sector[5]: NOT SECURED (0)

Sector[6]: NOT SECURED (0)

Sector[7]: NOT SECURED (0)

Sector[8]: NOT SECURED (0)

INFO:iMPACT - Address 0x00000000 is in sector 0.

INFO:iMPACT - Address 0x0003992B is not located at the start of a sector boundary. The whole sector will be erased.

INFO:iMPACT - Address 0x0003992B is in sector 4.

The lockdown register values are:

Sector[0]: NOT LOCKED DOWN (0)

Sector[1]: NOT LOCKED DOWN (0)

Sector[2]: NOT LOCKED DOWN (0)

Sector[3]: NOT LOCKED DOWN (0)

Sector[4]: NOT LOCKED DOWN (0)

Sector[5]: NOT LOCKED DOWN (0)

Sector[6]: NOT LOCKED DOWN (0)

Sector[7]: NOT LOCKED DOWN (0)

Sector[8]: NOT LOCKED DOWN (0)

'1': Reading security register...

Factory ID

11 0A 08 17 38 33 1F 24 00 01 5F 09 FF FF BC FF

30 30 50 4E 47 4C 32 31 03 4F 68 FF FF FF FF FF

40 40 40 40 40 40 40 40 FF FF FF FF FF FF FF FF

FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

 

done.

'1': Reading security register...

One-time User Programmable

FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

 

done.

0 Kudos
3 Replies
Xilinx Employee
Xilinx Employee
274 Views
Registered: ‎08-25-2010

回复: Spartna 3AN is not able to load configuration image from Flash

Hi @nreddy408

 

Do you use master SPI? It seems the flash was programed successfully. Please check SPI interface and try to modify VS to read command?

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Visitor nreddy408
Visitor
263 Views
Registered: ‎10-05-2018

回复: Spartna 3AN is not able to load configuration image from Flash

Yes we are using Master SPI. Could you please explain in details about   "try to modify VS to read command" .Are you asking to reduce the  read frequency mode?We see Clock from the FPGA to Flash and it is clean with the current design

0 Kudos
Moderator
Moderator
240 Views
Registered: ‎01-15-2008

回复: Spartna 3AN is not able to load configuration image from Flash

try to reduce the cclk config rate in bitgen settings, you can set it to default frequency(1Mhz) and see if this helps.

Also is it possible to change the mode pin settings in your board? if so change it to 011 and try using internal spi flash & see if this is able to configure with the same mcs file

check ug332 for more details on the spartan-3an internal spi flash usage

https://www.xilinx.com/support/documentation/user_guides/ug332.pdf

 

0 Kudos