beautypg.com

Your hal tester – Seaward ClareHAL User Manual

Page 157

background image

156

SSSVAL_BARCODE_OR_KEY_TIMEOUT 0x00
SSSVAL_BARCODE_OR_KEY_F1 0x06
SSSVAL_BARCODE_OR_KEY_F2 0x07
SSSVAL_BARCODE_OR_KEY_F3 0x08
SSSVAL_BARCODE_OR_KEY_F4 0x09
SSSVAL_BARCODE_OR_KEY_ABORT 0x0B
SSSVAL_BARCODE_OR_KEY_START 0x0C
SSSVAL_BARCODE_OR_KEY_BARCODE 0x1F


If, and only if, the first byte is
SSSVAL_BARCODE_OR_KEY_BARCODE, then the tester will also
return the string data for the barcode. This barcode will be of variable
length, and the tester does not return the null-terminator.

If the ‘itemd id’, ‘instance’, or amount of supplied data is not one byte,
then the tester will respond with SSSRSP_NAK and the appropriate
reason code.

SSSCMD_HAL_PERFORM_TEST (command code 0x82)

This command is issued by a host in order to perform an electrical test
on the HAL tester.

The ‘item_id’ is used to determine the type of test to be performed:

SSSID_HAL_TEST_TYPE_HIPOT_50

1

SSSID_HAL_TEST_TYPE_HIPOT_60

2

SSSID_HAL_TEST_TYPE_HIPOT_DC 3
SSSID_HAL_TEST_TYPE_DCIR

4

SSSID_HAL_TEST_TYPE_EBOND_50 5
SSSID_HAL_TEST_TYPE_EBOND_60 6
SSSID_HAL_TEST_TYPE_PWRLK 7
SSSID_HAL_TEST_TYPE_PWRTLK 8


The ‘instance’ must be set to 0.
The host provides test parameters within the data area of the
command. The following structure defines the test parameters. Note
that all multi-byte values are in big-endian order:

typedef struct _ssscmddata_haltest {

u8 test_flags; // Reserved, must be zero
u8 test_start; // SSSVAL_HAL_TSTART_xxxx
u16 target_output; // Target output in volts or milli-amps
u16 time_ramp_tgt; // Time in tenths of a second to ramp to target voltage
u16 time_hold; // Time in tenths of a second to hold target voltage

Your HAL tester

This manual is related to the following products: