Testing the CCII HSS driver =========================== 1) Boot the VxWorks kernel. 2) Verify that the 'Alive' LED on the HSS PMC card is flashing (+/- once per second) (If the 'Alive' LED stops flashing at any time during use of the card, the card and host should be reset.) 3) Load ccHssLib4v4.3.a on your SVME/DMV178/179/181 or X86 host. This contains the HSS driver code. 4) Load ccHssTest.a. This contains a simple test routine which sends data on all 4 ports. 10 packets of 4 bytes each (0A 0B 0C 0D) will be send on each port. 5) Run the test by typing 'RUN'. The following output is displayed: ============================================================== (c) CCII Systems (Pty) Ltd, 1999-2004 Board Number : 1, Board Type: 0 Host Version : 4.3, Build Date: Aug 31 2004 12:30:38 Firmware Version: 4.3, Build Date: Aug 31 2004 12:36:20 Current oscillator frequency programmed on card: 39.3216 MHz. -------------------------------------------------------------- PORT: SCC1 SCC2 SCC3 SCC4 SMC1 SMC2 MODE: NORMAL NORMAL NORMAL NORMAL NORMAL NORMAL -------------------------------------------------------------- Sending 10 packets of 4 bytes each on each port.... Received on Port 0: 0A 0B 0C 0D Received on Port 0: 0A 0B 0C 0D Received on Port 0: 0A 0B 0C 0D Received on Port 0: 0A 0B 0C 0D Received on Port 0: 0A 0B 0C 0D Received on Port 0: 0A 0B 0C 0D Received on Port 0: 0A 0B 0C 0D Received on Port 0: 0A 0B 0C 0D Received on Port 0: 0A 0B 0C 0D Received on Port 0: 0A 0B 0C 0D Received on Port 1: 0A 0B 0C 0D Received on Port 1: 0A 0B 0C 0D Received on Port 1: 0A 0B 0C 0D Received on Port 1: 0A 0B 0C 0D Received on Port 1: 0A 0B 0C 0D Received on Port 1: 0A 0B 0C 0D Received on Port 1: 0A 0B 0C 0D Received on Port 1: 0A 0B 0C 0D Received on Port 1: 0A 0B 0C 0D Received on Port 1: 0A 0B 0C 0D Received on Port 2: 0A 0B 0C 0D Received on Port 2: 0A 0B 0C 0D Received on Port 2: 0A 0B 0C 0D Received on Port 2: 0A 0B 0C 0D Received on Port 2: 0A 0B 0C 0D Received on Port 2: 0A 0B 0C 0D Received on Port 2: 0A 0B 0C 0D Received on Port 2: 0A 0B 0C 0D Received on Port 2: 0A 0B 0C 0D Received on Port 2: 0A 0B 0C 0D Received on Port 3: 0A 0B 0C 0D Received on Port 3: 0A 0B 0C 0D Received on Port 3: 0A 0B 0C 0D Received on Port 3: 0A 0B 0C 0D Received on Port 3: 0A 0B 0C 0D Received on Port 3: 0A 0B 0C 0D Received on Port 3: 0A 0B 0C 0D Received on Port 3: 0A 0B 0C 0D Received on Port 3: 0A 0B 0C 0D Received on Port 3: 0A 0B 0C 0D Received on Port 8: 0A 0B 0C 0D Received on Port 8: 0A 0B 0C 0D Received on Port 8: 0A 0B 0C 0D Received on Port 8: 0A 0B 0C 0D Received on Port 8: 0A 0B 0C 0D Received on Port 8: 0A 0B 0C 0D Received on Port 8: 0A 0B 0C 0D Received on Port 8: 0A 0B 0C 0D Received on Port 8: 0A 0B 0C 0D Received on Port 8: 0A 0B 0C 0D Received on Port 9: 0A 0B 0C 0D Received on Port 9: 0A 0B 0C 0D Received on Port 9: 0A 0B 0C 0D Received on Port 9: 0A 0B 0C 0D Received on Port 9: 0A 0B 0C 0D Received on Port 9: 0A 0B 0C 0D Received on Port 9: 0A 0B 0C 0D Received on Port 9: 0A 0B 0C 0D Received on Port 9: 0A 0B 0C 0D Received on Port 9: 0A 0B 0C 0D All tests passed... value = 0 = 0x0 -> 6) Verify that the test has passed. NOTE: This test will fail if an external loopback cable is not fitted. If no cable is present, modify ccHssTest.c to use internal loopback mode (see lines 60-61 (SCC) and 103-104 (SMC) in ccHssTest.c). Recompile and follow above steps. If the test has not passed, please power-down the host and try again. If the problem persists, please contact support@ccii.co.za (include the test results in your support query). 7) To ensure that the test code does not interfere with user code, reset the card & host.