-
Notifications
You must be signed in to change notification settings - Fork 3
ProductionTesting
Peter Kazanzides edited this page Apr 28, 2016
·
2 revisions
This page documents the procedure for programming and testing the FPGA / QLA boards.
On Windows machine:
- Connect USB/JTAG programming cable from Windows computer to FPGA board
- Run "iMPACT 64 bit" as Administrator
- Select YES if asked for permission
- Open project:
FPGA1394Eth-QLA.ipf
(Desktop\JHU\Firmware-Rev5\FPGA1394Eth_QLA
) - Click OK, Click OK again if Error window pops up
- Left click the Xilinx FPGA chip
- Double-click "Get Device ID" at the lower left panel to test if cable connection is good
On Linux machine:
- Go to programming directory:
cd
cd jhu/build/programmer
Use one of the following two options to program the EEPROM (FLASH) device:
- Left Click FLASH chip (M25P16)
- Double-click "Program" to burn firmware into EEPROM
- Left click the Xilinx FPGA chip
- Double-click "Program" to burn firmware into FPGA (this is volatile)
- Connect FireWire cable to FPGA board -- do not power off FPGA board
- On Linux machine, run programmer (uses
FPGA1394Eth-QLA.mcs
)
./pgm1394 0
- Choose option 1 to program EEPROM
- Choose option 2 to verify programming
- On Linux machine, run programmer (uses
FPGA1394Eth-QLA.mcs
)
./pgm1394 0
- Choose option 4 to program FPGA Serial Number
- Type in the FPGA S/N
- Choose option 0 to exit the programmer
- Remove USB/JTAG programming cable and FireWire cable
- Power cycle FPGA board
- Wait for "FPGA Prog" LED on FPGA board to illuminate
- Connect FireWire cable
- On Linux, type the following; board works if you see two nodes (
fw0
,fw1
):
ls /dev/fw*
- Connect FPGA to QLA board (record QLA S/N if obscured by FPGA board)
- Connect DB9 and SCSI68 cables from QLA to test board
- Connect power to FPGA board
- Connect motor power supply to QLA board (should be about 15V)
- On Linux machine, change to programming directory if not already there (Part I, Linux Step 1)
- On Linux machine, run programmer (uses
FPGA1394Eth-QLA.mcs
)
./pgm1394 0
- Choose option 5 to program QLA Serial Number
- Type in the QLA S/N (recorded in Step 1)
- Choose option 0 to exit programmer
- Go to directory with test programs:
cd
cd jhu/build/tests
- Run QLA test program
./qlatest
- Sequentially choose options 1-6 to run tests
- Choose option 0 to exit test program
- Program saves log file
QLA_XXXX-XX.log
, wherexxxx-xx
is QLA serial number