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.

VxWorks 5.5<br />

<strong>BSP</strong> Developer’s <strong>Guide</strong><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 />

First Error Test :<br />

bus-error test for local address<br />

: PASS<br />

bus-error test for offboard address<br />

: PASS<br />

Divide by zero test<br />

: PASS<br />

Tests RUN 3<br />

Tests PASSED 3<br />

Tests FAILED 0<br />

Tests SKIPPED 0<br />

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

error2<br />

NAME<br />

SYNOPSIS<br />

DESCRIPTION<br />

error2 – error handling tests<br />

bspVal options error2<br />

This test verifies that the target board does not hang while handling errors initiated from<br />

the VxWorks shell. The entire test can take several minutes to run. See bspVal.sh for an<br />

explanation of options.<br />

In order to run this test, the target has to be configured with auxiliary clock. To do this,<br />

add INCLUDE_AUXCLK to config.h file of the <strong>BSP</strong> or include the component<br />

INCLUDE_AUX_CLK, if using project facility.<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 />

The first test connects a routine that causes a bus error to the target’s system clock<br />

interrupt. This causes an exception at interrupt level, known as a “catastrophic” error.<br />

This exception should result in a reboot of the board. An appropriate error message<br />

should be displayed by the target. If this test fails, check that the sysToMonitor( ) routine<br />

in sysLib.c is functioning properly. Also check that the address of sysExcMsg is set<br />

correctly in sysLib.c.<br />

382

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

Saved successfully!

Ooh no, something went wrong!