02.03.2014 Views

BSP Developer's Guide

BSP Developer's Guide

BSP Developer's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

J<br />

<strong>BSP</strong> Validation Test Suite Reference Entries<br />

T1_SER_BAUD<br />

Default serial baud rate to be used. (required)<br />

EXAMPLE<br />

SEE ALSO<br />

Output consists of:<br />

<strong>BSP</strong> VALIDATION TEST<br />

-------------------<br />

Target server : t53-160<br />

<strong>BSP</strong><br />

: mv147<br />

Log file<br />

: /tmp/bspValidationLog.5219<br />

Serial Test :<br />

console I/O test<br />

: PASS<br />

console echo test<br />

: PASS<br />

sequential loopback test<br />

: PASS<br />

multiple loopback test<br />

: PASS<br />

Tests RUN 4<br />

Tests PASSED 4<br />

Tests FAILED 0<br />

Tests SKIPPED 0<br />

bspVal.sh, bspPkCommonProc.tcl, envLib.tcl, serLib.tcl, pkLib.c<br />

sysClock<br />

NAME<br />

sysClock – system clock tests<br />

SYNOPSIS<br />

DESCRIPTION<br />

bspVal options sysClock<br />

This test verifies the functionality of the <strong>BSP</strong>’s system clock. The entire test takes<br />

approximately 7-10 minutes to run. See bspVal.sh for an explanation of options.<br />

The tests within this script connect a routine to the system clock interrupt handler using<br />

the sysClkConnect( ) routine, which uses the sysClkRoutine function pointer variable.<br />

This call to sysClkConnect( ) for sysClkRoutine disconnects any routine the <strong>BSP</strong> might<br />

have previously connected as the system clock ISR.<br />

NOTE: This reference entry lists the most likely reasons for a test’s failure. However, it<br />

does not list all possible reasons.<br />

Tests one through four check the accuracy of the system clock at several frequencies: an<br />

optional extra rate, minimum, maximum, and the default rate, respectively. To measure<br />

the rate of the system clock, a simple callback routine is connected to the system clock ISR<br />

using sysClkConnect( ). This callback routine increments a counter on every clock tick.<br />

J<br />

397

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!