PREV TOC HOME INDEX NEXT


4.3.3 Diagnostic Mode

To run the CSP demo in diagnostic mode, type:

cspdemo -d -l<log name> 

For example, to run a test and log the results in dmtest.log file, type:

cspdemo -d -ldmtest.log 
Note:
When running diagnostic mode on an E-1 board, you must also specify -e option.

The diagnostic mode can be used to verify operation of all parameters available through ec_setparm( ) and all CSP functions. The demo alternatively sets each parameter to the minimum value, maximum value, NULL value and an out-of-range value and returns the appropriate message. The demo also executes a multi-channel test for one iteration on each CSP-capable board. After the demo is completed, the parameters are reset to their original values (see demo source code).

A summary of the results is reported in the log file.

Note:
Because diagnostic mode includes a test for invalid parameter values, you will see error messages in the log file. This is expected. For example, you will see a message such as "FAIL: diagnostic test found 16 errors."

PREV TOC HOME INDEX NEXT

Click here to contact Dialogic Customer Engineering

Copyright 2001, Intel Corporation
All rights reserved
This page generated December, 2001