09-30-2010 02:43 AM
For an embedded project, we use an SPARTAN 6 FPGA (ISE/EDK 12.2) with included MicroBlaze processor. The firmware should be placed in the BlockRam (2 BlockRam blocks 128kByte). It works fine, when I program the FPGA via IMPACT. (bit-stream is created with data2mem).
But when I create an mcs file, to program the SPI-Flash (to boot the FPGA) it doesn't work, This means, IMPACT prompts an error massage:
"PROGRAM FAILED: '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."
When I read back the FLASH contents, the read back file looks similar (the flash is bigger 8MByte, FPGA download file 1,5MByte).
Without the merged elf file it works. How can I solve this? Any Idea?
03-01-2011 04:31 AM
Be sure you have your M0 and M1 bits connected correctly. For booting in SPI mode M0 must be 1 and M1 must be 0.
After programming iMPACT try to boot from SPI, and waits for DONE pin from FPGA. If booting is not correct, and DONE is not asserted, iMPACT will report a Program Failure.