|
# Flash a Xilinx device
|
|
# Flash a Xilinx device
|
|
|
|
|
|
![](/uploads/341c76aa25dc3eafeeb7f3e9fc80bf11/SPECv4-JTAG.jpeg)
|
|
Connect JTAG to your SPECv4 as
|
|
|
|
shown:
|
|
|
|
![](/uploads/341c76aa25dc3eafeeb7f3e9fc80bf11/SPECv4-JTAG.jpeg)
|
|
|
|
You must also power the SPEC card either using the 12V DC input on the
|
|
|
|
top or by inserting it into a system and then turning that system on. Do
|
|
|
|
not connect the 12V DC input when the card is inserted in a PC\!
|
|
|
|
|
|
|
|
Given a working bit file (you can use
|
|
|
|
[Prebuilt-images](Prebuilt-images)), you reprogram the flash of an SPEC
|
|
|
|
using the ISE Impact tool. When you get random dialogues asking for
|
|
|
|
"Ok", just click them if they are not covered here.
|
|
|
|
|
|
|
|
- Launch impact
|
|
|
|
- Double-click "Create PROM File" in the top-left pane
|
|
|
|
- Select SPI Flash/Single FPGA and click the first green arrow
|
|
|
|
- Select "32M" as Storage Device and click "Add Storage Device" then
|
|
|
|
the next green arrow
|
|
|
|
- Enter spec\_top for "Output file name" then click "Ok" in the
|
|
|
|
lower-right
|
|
|
|
- Select the spec\_top.bit when asked to add a device. Do not add
|
|
|
|
more.
|
|
|
|
- In the second pane on the left, double-clik "Generate File"
|
|
|
|
- Double-click the "Boundary scan" in the top-left pane
|
|
|
|
- Right-click the new pane with the blue text and click "Initiliaze
|
|
|
|
chain"
|
|
|
|
- When prompted, select the spec\_top.bit.
|
|
|
|
- Select "Yes" to add a Flash PROM.
|
|
|
|
- Choose the mcs you generated earlier.
|
|
|
|
- PROM type is: "SPI PROM", "M25P32", "Data width 1"
|
|
|
|
- Right-click on the "FLASH" in the main pane and select "Program"
|
|
|
|
- Click "Ok" and wait for the Flash to be programmed.
|
|
|
|
|
|
|
|
Now that your device is flashed, confirm that it working using the
|
|
|
|
[White-Rabbit-Console](White-Rabbit-Console).
|
|
|
|
|
|
|
|
|
|
|
|
|
... | | ... | |