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.

VxWorks 5.5<br />

<strong>BSP</strong> Developer’s <strong>Guide</strong><br />

Tests FAILED 0<br />

Tests SKIPPED 0<br />

SEE ALSO<br />

bspVal.sh, bspPkCommonProc.tcl, envLib.tcl<br />

ram<br />

NAME<br />

SYNOPSIS<br />

DESCRIPTION<br />

ram – RAM tests<br />

bspVal options ram<br />

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

locations between LOCAL_MEM_LOCAL_ADRS and sysMemTop( ). The reads are<br />

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

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

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

LOCAL_MEM_LOCAL_ADRS and LOCAL_MEM_SIZE are set to the correct values. If<br />

an MMU is present, it might need to be configured so that the entire RAM space is<br />

accessible. Check that sysMemTop( ) returns the correct values.<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 />

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

RAM Test :<br />

1-byte read of RAM<br />

: PASS<br />

2-byte read of RAM<br />

: PASS<br />

4-byte read of RAM<br />

: PASS<br />

Tests RUN 3<br />

390

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

Saved successfully!

Ooh no, something went wrong!