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 />

eprom<br />

NAME<br />

SYNOPSIS<br />

DESCRIPTION<br />

eprom – EPROM tests<br />

bspVal options eprom<br />

This test verifies ROM read operations. The execution time of the tests run by this script<br />

depends on the CPU speed and the amount of ROM being tested. See bspVal.sh for an<br />

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 three tests in this script call pkRead( ) to perform read operations of the ROM<br />

locations between ROM_BASE_ADRS and (ROM_BASE_ADRS + ROM_SIZE). The<br />

reads are done using 1-, 2-, or 4-byte accesses, depending on which test is being run. If any<br />

of these tests fail, but the memory hardware is known to be functioning properly, check<br />

that the memory controller is initialized to the correct values. Make sure that<br />

ROM_BASE_ADRS and ROM_SIZE are set to the correct values. If an MMU is present, it<br />

might need to be configured so that the entire ROM space is accessible.<br />

Barring serious hardware or software limitations (such as an identifiable VxWorks<br />

problem), the target board must pass all tests for the <strong>BSP</strong> to be validated.<br />

CONFIGURATION PARAMETERS<br />

None.<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 />

EPROM Test :<br />

1-byte read of EPROM<br />

: PASS<br />

2-byte read of EPROM<br />

: PASS<br />

4-byte read of EPROM<br />

: PASS<br />

Tests RUN 3<br />

Tests PASSED 3<br />

Tests FAILED 0<br />

Tests SKIPPED 0<br />

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

380

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

Saved successfully!

Ooh no, something went wrong!