pooya_BA
Junior Member level 2
I had a problem programming SPI flash. In the image below, you can see the circuit I designed.
I used "w25q64" for SPI flash and set the data width to 4, but I got the following error
I can program FPGA Spartan-6 but I have trouble programming SPI and I can't program the main program on this memory.
I used "w25q64" for SPI flash and set the data width to 4, but I got the following error
INFO:iMPACT - Current time: 5/16/2021 9:30:37 AM
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 C:/Xilinx/14.1/ISE_DS/ISE/spartan6/data/xc6slx9_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 1100 1110 1100
INFO:iMPACT:2492 - '1': Completed downloading core to device.
'1': IDCODE is 'ef4017' (in hex).
'1': ID Check passed.
'1': IDCODE is 'ef4017' (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'rogramming in x4 mode.
W25Q64BV Status Register Contents = 0x0200.
QUAD ENABLE : 1
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
'1': Configuration data download to FPGA was not successful. DONE did not go high, please check your configuration setup and mode settings.
INFO:iMPACT - '1': Flash was not programmed successfully.
PROGRESS_END - End Operation.
Elapsed time = 78 sec.
I can program FPGA Spartan-6 but I have trouble programming SPI and I can't program the main program on this memory.