beautypg.com

7 using motload, 1 command line interface, Using motload – Motorola CPCI-6115 User Manual

Page 121: Command line interface

background image

Using MOTLoad

MOTLoad Firmware

CPCI-6115 CompactPCI Single Board Computer Installation and Use (6806800A68D)

119

Most MOTLoad tests can be organized to execute as a group of related tests (a testSuite)
through the use of the testSuite command. The expert operator can customize their testing
by defining and creating a custom testSuite(s). The list of built-in and user-defined MOTLoad
testSuites, and their test contents, can be obtained by entering testSuite -dtestSuite at
the MOTLoad prompt. All testSuites that are included as part of a product specific MOTLoad
firmware package are product specific. For more information, refer to the command description
page in the MOTLoad Firmware Package User’s Manual.

Test results and test status are obtained through the testStatus, errorDisplay and

taskActive

commands. Refer to the appropriate command description page in the MOTLoad

Firmware Package User’s Manual for more information.

7.7

Using MOTLoad

Interaction with MOTLoad is performed via a command line interface through a serial port on
the SBC, which is connected to an X-terminal or other terminal emulator (for example, Window’s
Hypercomm). The default MOTLoad serial port settings are: 9600 baud, 8 bits, no parity.

7.7.1

Command Line Interface

The MOTLoad command line interface is similar to a UNIX command line shell interface.
Commands are initiated by entering a valid MOTLoad command (a text string) at the MOTLoad
command line prompt and pressing the carriage-return key to signify the end of input. MOTLoad
then performs the specified action. An example of a MOTLoad command line prompt is shown
below. The MOTLoad prompt changes according to what product it is used on (for example,
HXEB100, CPCI-6115, MVME5500).

Example:

CPCI-6115>

If an invalid MOTLoad command is entered at the MOTLoad command line prompt, MOTLoad
displays a message that the command was not found.

Example:

CPCI-6115> mytest

"mytest" not found

CPCI-6115>

If the user enters a partial MOTLoad command string that can be resolved to a unique valid
MOTLoad command and presses the carriage-return key, the command will be executed as if
the entire command string had been entered. This feature is a user-input shortcut that
minimizes the required amount of command line input. MOTLoad is an ever changing firmware
package, so user-input shortcuts may change as command additions are made.

Example:

CPCI-6115> version

Copyright: Motorola Inc.1999-2002, All Rights Reserved

MOTLoad RTOS Version 2.0

PAL Version 0.1 (Motorola CPCI-6115)