02.03.2014 Views

BSP Developer's Guide

BSP Developer's Guide

BSP Developer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

J<br />

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

error1<br />

NAME<br />

SYNOPSIS<br />

DESCRIPTION<br />

error1 – error handling tests<br />

bspVal options error1<br />

This script tests the target’s local bus access. The off-board bus access and divide by zero<br />

exceptions are initiated from the target shell. See bspVal.sh for an explanation of options.<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 and second tests check the bus error exception handling functionality (local and<br />

off-board addresses, respectively). If these tests fail, check that the memory controller is<br />

initialized properly and that any memory watchdog timers are configured to reasonable<br />

values (if present).<br />

If there is not a local (on-board) memory address that causes a bus error when accessed,<br />

set the T1_LOCAL_ERR_ADRS macro to an invalid off-board address.<br />

The third test causes a divide by zero exception and checks for the return messages from<br />

the console.<br />

CONFIGURATION PARAMETERS<br />

T1_LOCAL_ERR_ADRS<br />

Local error address that causes a bus error (required).<br />

T1_OFFBOARD_ERR_ADRS<br />

Off-board error address that causes a bus error (required).<br />

T1_DIV_ZERO_MSG<br />

Bus error message keyword (required).<br />

T1_LOCAL_BUS_ERR_MSG<br />

Local bus error message keyword (required).<br />

T1_OFFBOARD_BUS_ERR_MSG<br />

Off-board bus error message keyword (required).<br />

T1_SER_DEVICE<br />

Serial device on host (required).<br />

T1_SER_BAUD<br />

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

T1_TMO_BOOT<br />

Timeout value for booting VxWorks (required).<br />

J<br />

381

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

Saved successfully!

Ooh no, something went wrong!