Hello, ich have the Spartan3 StarterKit from Digilent. When I start the programming process in impact, all LEDs on the board go red, and on the screen an progress dialog appears. When the progress is at about 98%, it stalls for 8 seconds, and then the message appears : "'1' : Programming terminated. DONE did not go high" Can you help me ?
Are you confident that the file you are trying to load is correct for the device you are trying to load? It may be that you're trying to load a file for the "next smaller" FPGA.
OK I got it. The configuration mode jumpers were set to "master serial". I set them to "Jtag". But the program is not persistent. How can I make it persistent. The JTAG chain shows a second device : xcf02s. Is that the flash prom ?
You are correct - the memory in the FPGA is volatile (it's SRAM) and your program will vanish when power is removed.
Correct also on the second point - you must program the platform flash (xcf02s) with your fpga code. However, to do so you must first run the IMPACT tool to generate a programming file (I like to use the .mcs format).
*IMPORTANT* When you set the properties for generating your .bit file, make sure that you select the configuration clock as CCLK, as this is the clock that drives the xcf02s during configuration. There is no need to change this to JTAG clock while you are developing your code, as the IMPACT will recognize this mismatch and change the configuration clock from CCLK to JTAG whenever you load the .bit file directly into the FPGA.
Also, don't forget to change the configuration mode back to master serial after you have programmed the platform flash. Oh, you have to either cycle power or press the 'FGPA program' switch (if this is one on the board) before the FPGA will be loaded from the platform flash.
Yes, the jumper setting is PARTIAL solution, the JTAG is always enabled and it always OVERRIDES the other configuration modes, but...
Xilinx has never managed to the JTAG configuration with Impact work correctly and the result is that depending the configuration and impact version and cable version the jtag configuration may fail if the master serial configuration is enabled and the configuration memory containts a bitstream. If the config eeprom is erased then leaving the jumpers in master mode would not do any harm and you can use jtag config.
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.