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.

7<br />

Validation Testing<br />

■<br />

■<br />

The test host should control the execution of the tests. This is necessary,<br />

because no assumptions can be made about the target, other than that it is<br />

capable of running VxWorks and interacting with the target server on the host<br />

and the target’s console serial port.<br />

Second Target Capable. The network, busTas, and rlogin tests require the use<br />

of a second target board, the reference board. This reference board must run a<br />

previously validated <strong>BSP</strong>.<br />

Target Shell Capable. The target server <strong>BSP</strong> VTS rlogin test requires a<br />

VxWorks target shell.<br />

7<br />

7.2.2 Validation Test Suite Software Architecture<br />

Single Target<br />

This section describes the typical <strong>BSP</strong> VTS software architecture for a single target<br />

and for multiple targets.<br />

Figure 7-1 shows the overall configuration for a single target.<br />

Figure 7-1<br />

Example <strong>BSP</strong> VTS Software Architecture: Single Target<br />

Host (UNIX/Windows)<br />

Target (VxWorks)<br />

target server<br />

connection<br />

test<br />

script<br />

target<br />

server<br />

ttya or<br />

com1<br />

target<br />

agent<br />

VxWorks<br />

/tyCo/0<br />

The typical test scenario is as follows:<br />

1. The Tcl/WTX test script runs on the UNIX /Windows host.<br />

2. The script attaches to the target server, which uses the target server back end<br />

communication link to communicate with the target through the target agent.<br />

If serial communication is required, the script uses a serial line on the host (ttya<br />

141

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

Saved successfully!

Ooh no, something went wrong!