User manual

C hwtest
The I/O pins must be connected with each other for the IO test (using 4,7k resistors for example)
(see Table 11). The optical isolated input channels will be connected to relays by Alena without
any resistors(see Table 12).
DIO0 DIO1
DIO2 DIO3
DIO4 DIO5
DIO6 DIO7
DIO2 DIO3
DIO4 DIO5
Table 11: I/O Pin Connections for Alekto (left) and Alena (right)
DI0-G DO6-B
DI0-S DO6-C
DI1-G DO7-B
DI1-S DO7-C
Table 12: Optically Isolated Input Channels and Relays
Usage examples:
hwtest --cycles=1 --gpio --io --poll --buz --led --mode=fint
executes the complete GPIO test in full interactive mode
hwtest --cycles=1 --gpio --io
executes only the IO test in userless mode
C.5. CompactFlash Test
The CompactFlash test must be started from the BIOS or USB mass storage device, because the
CF card must be unmounted. A test file will be written to the CF card during the test and then
compared with the original one. After that, the test file will be removed from the CF card.
Usage example:
hwtest --cycles=1 --size=4096 --cf
executes the CompactFlash test with 4096 bytes big test file
C.6. I2C and RTC Test
A time stamp will be read from the Real Time Clock using I2C bus during the RTC test . The
second time stamp will be read after the delay in seconds specified by --sleep option (default
value is 1 second) and then compared. The test can be activated/deactivated with --testrtc and
--testlcd options.
The LCD display (EAT123A-I2C) must be connected to the OnRISC for the I2C test. The program
connects to the display and “O.K. string must be visible on the display.
Usage examples:
hwtest --cycles=1 --i2c --testrtc --testlcd
executes the RTC and LCD tests
May 2014 OnRISC User Manual 79