FPGA Programming
From tigwiki
[edit] Caveat
These are notes gleaned from watching over Scott's shoulder as he reprogrammed the slave cards on 2007-12-03, then by following the instructions and editing as needed. It is information only, it should not be treated (yet) as a step-by-step manual (although the elements are there).
[edit] Reprogramming a Slave Card
- You need to be in the shack to do this.
- Connect a usb blaster to the card you want to program
- Use a VNC Viewer session to get into tigpc01 (e.g., vncviewer tigpc01 on a Linux machine). Use the "usual" password.
- Start up the latest version of Quartus II (7.1)
- Click on the Programmer Icon which is towards the top right of the window
- Click Hardware Setup on the left and a new window will open
- On the new window click on the drop-down menu (not the Text Pane in the centre) and select one of the USB blasters.
- Close the Hardware setup window by clicking Close.
- Hit AutoDetect on the left of the main Quartus II window. Watch for a flashing blue light on the usb blaster itself which is plugged in. If multiple blasters are connected, the one which is selected from the drop-down menu will blink. If it doesn't, or if the wrong one blinks, go back and try selecting another one.
- A list of devices should show up in the main window. Select and highlight the device that is not called EPC16/4/8. Ensure the Program/Configure box is checked
- Click Change File on the left of the main window. A new window will open and select My Documents\TIGC_SlaveV410.sof (or whatever the right .sof file should be) and click open. This Change File window will close.
- Hit Start. If everything is working, the blue light should come on the blaster, the red light should glow for a while on the card, and you should get no errors in the "Messages" pane at the lower part of the main window. Other messages will be displayed in the "Messages" pane, which is normal.
- For the next card, move the USB Blaster, and hit start again. Keep going until you are done.
[edit] After programming
It is STRONGLY recommended to restart the MIDAS front-end process after reprogramming any cards in the TIG system.

