- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
programmin g the spi flash failed
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-19-2010 07:46 PM
Hi all, I'm trying to load the .mcs file into a SPI FLASH PROMs(M25P40) using the Xilinx Platform Cable USB II. The problem is, I was able to load the .bit file into FPGA but I can't load .mcs file into SPI FLASH. there is always error message:
INFO:iMPACT - Current time: ????? ??? 18 15PROGRESS_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 F:/Xilinx/12.2/ISE_DS/ISE/spartan6/data/xc6slx16_s
'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 '00' (in hex).
'1': ID Check failed.
INFO:iMPACT:2488 - The operation did not complete successfully.
INFO:iMPACT - SPI Device not found.
INFO:iMPACT:2488 - The operation did not complete successfully.
INFO:iMPACT - '1': Flash was not programmed successfully.
PROGRESS_END - End Operation.
Elapsed time = 3 sec.
:11:56 2010
:10:00 2010
:08:59 2010
Attachments:
Re: programmin g the spi flash failed
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-19-2010 07:48 PM
Could you please help me to solve this? Thanks.
Re: programmin g the spi flash failed
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-19-2010 08:55 PM
hi zhgwork,
the issue is IDCODE check failure.
'1': IDCODE is '00' (in hex).
'1': ID Check failed.
The IDCODE iMPACT reads from SPI is 00, which means the MISO is always low.
you can probe the pin with an oscilloscope and check to see if the MISO toggles when you perform programming operations.
Re: programmin g the spi flash failed
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-19-2010 10:57 PM
Thanks. borisq
Yes. The MISO signal is always low. But the MOSI is always HIGH.
Re: programmin g the spi flash failed
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-19-2010 11:04 PM
Addationally, the CSO and CCLK signals is corrected.
Re: programmin g the spi flash failed
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-21-2010 12:01 AM
error message:
INFO:iMPACT - Current time: ������ ʮ�� 2// *** BATCH CMD : Program -p 1 -spi
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 F:/Xilinx/12.2/ISE_DS/ISE/spartan6/data/xc6slx16_s
'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 '00' (in hex).
'1': ID Check failed.
INFO:iMPACT:2488 - The operation did not complete successfully.
INFO:iMPACT - SPI Device not found.
INFO:iMPACT:2488 - The operation did not complete successfully.
'1': Programming device...
LCK_cycle = NoWait.
LCK cycle: NoWait
done.
'1': Reading status register contents...
[0] CRC ERROR
[1] IDCODE ERROR
[2] DCM LOCK STATUS
[3] GTS_CFG_B STATUS
[4] GWE STATUS
[5] GHIGH STATUS
[6] DECRYPTION ERROR
[7] DECRYPTOR ENABLE
[8] HSWAPEN PIN
[9] MODE PIN M[0]
[10] MODE PIN M[1]
[11] RESERVED
[12] INIT_B PIN
[13] DONE PIN
[14] SUSPEND STATUS
[15] FALLBACK STATUS
INFO:iMPACT:2219 - Status register values:
INFO:iMPACT - 0011 1100 1110 1100
INFO:iMPACT:579 - '1': Completed downloading bit file to device.
INFO:iMPACT - '1': Programming not completed successfully.
PROGRESS_END - End Operation.
Elapsed time = 2 sec.
1 14:53:19 2010
1 14:45:50 2010
1 14:38:58 2010
1 14:38:54 2010
1 14:34:28 2010
1 14:31:38 2010
1 14:27:13 2010
Re: programmin g the spi flash failed
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-16-2010 03:24 PM
I review your schematic.
I see you connect CMPMOSI to the SPI.
you should use MOSI, not CMPMOSI.
Boris
Re: programmin g the spi flash failed
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-09-2011 02:46 AM
Hi
had the same problem , turned out that the wrong CS* was connected. (CSI_B_0 instead of FCS_B)











