VxWorks BSP Developer's Reference : VxWorks BSP Validation Test Suite

eprom

NAME

eprom - EPROM tests

SYNOPSIS

bspVal options eprom

DESCRIPTION

This test verifies ROM read operations. The execution time of the tests run by this script depends on the CPU speed and the amount of ROM being tested. See bspVal.sh for an explanation of options.

NOTE: This reference entry lists the most likely reasons for a test's failure. However, it does not list all possible reasons.
The three tests in this script call pkRead( ) to perform read operations of the ROM locations between ROM_BASE_ADRS and (ROM_BASE_ADRS + ROM_SIZE). The reads are done using 1-, 2-, or 4-byte accesses, depending on which test is being run. If any of these tests fail, but the memory hardware is known to be functioning properly, check that the memory controller is initialized to the correct values. Make sure that ROM_BASE_ADRS and ROM_SIZE are set to the correct values. If an MMU is present, it might need to be configured so that the entire ROM space is accessible.

Barring serious hardware or software limitations (such as an identifiable VxWorks problem), the target board must pass all tests for the BSP to be validated.

CONFIGURATION PARAMETERS

None.

EXAMPLE

Output consists of:

                    BSP VALIDATION TEST
                    -------------------

    Target server                     : t53-160
    BSP                               : mv147
    Log file                          : /tmp/bspValidationLog.5219



    EPROM Test :
    1-byte read of EPROM                                      : PASS
    2-byte read of EPROM                                      : PASS
    4-byte read of EPROM                                      : PASS

                      Tests RUN           3
                      Tests PASSED        3
                      Tests FAILED        0
                      Tests SKIPPED       0

SEE ALSO

bspVal.sh, bspPkCommonProc.tcl, pkLib.c