123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- .TH plctest 1 "Mar 2014" "plc-utils-2.1.6" "Qualcomm Atheros Powerline Toolkit"
- .SH NAME
- plctest - Qualcomm Atheros PLC Test Applet Loader
- .SH SYNOPSIS
- .BR plctest
- .RI [ options ]
- .RI [ file ]
- .RI [ file ]
- [...]
- .SH DESCRIPTION
- Download and execute one or more test applets to the local Qualcomm Atheros powerline device.
- An applet is a small firmware image that can be started by the bootloader and will return to the bootloader when done.
- This program replaces \fBint6ktest\fR and \fBamptest\fR because is supports both old and new image file formats and the old and new powerline device boot methods.
- .PP
- Qualcomm Atheros firmware files may contain one or more applets.
- Each applet is preceded by a header that specifies the image size, load address and start address and other information.
- Program \fBplctest\fR sequentially dowloads and executes every applet in each image file named on the command line.
- It waits for each applet to complete before downloading and executing the next one.
- The program terminates once all applets in all files have been executed or some applet fails to complete within 60 seconds.
- .PP
- Most applets return to the Bootloader on successful completion so that another applet can be downloaded and executed.
- This allows applet sequences to be executed with one command.
- A sequence may consist of one file having multiple applets or multiple files each having one applet or any combination of single and multiple applet files.
- The sequence will break, after a timeout, if any applet in the chain fails to return to the Bootloader in time.
- Failure to return in time may be either a good thing or a bad thing depending on applet design.
- .PP
- This program is part of the Qualcomm Atheros Powerline Toolkit.
- See the \fBAPT\fR man page for an overview and installation instructions.
- .SH COMMENTS
- The Powerline Toolkit once included a set of applets but they have been removed.
- Most of those applets were designed for program \fBint6ktest\fR and either did not display console messages or displayed messages incorrectly.
- A new set of applets is under development and should be available through \fBQualcomm Atheros Field Application Engineering\fR.
- .PP
- Assuming a good set of applets are available, this program is ideal for testing reference designs for performance and production units for defects.
- Applets may become available for testing onboard connections, memory integrity and noise immunity.
- Consult with Atheros Field Application Engineering for applet availability.
- .SH OPTIONS
- .TP
- .RB - e
- Redirects stderr messages to stdout.
- By convention status and error messages are printed on stderr while primary program output is printed on stdout.
- This option prints all output on stdout in cases where this is desired.
- .TP
- -\fBi\fR \fIinterface\fR
- Select the host Ethernet interface.
- All requests are sent via this host interface and only reponses received via this host interface are recognized.
- The default interface is \fBeth1\fR because most people use \fBeth0\fR as their principle network connection; however, if environment string "PLC" is defined then it takes precedence over the default interface.
- This option then takes precedence over either default.
- .TP
- .RB - l
- Execute all applets in all files on the command line until the program is terminated using \fB^C\fR.
- .TP
- -\fBp \fIfrequency\fR
- The polling frequency expressed in polls-per-second.
- For example, 1 means one poll per second and 10 means ten polls per second.
- Overall wait time is \fBcount/frequency\fR where count may be modified using option \fB-c\fR.
- Overall wait time is always approximate since operating system overhead and latency are not taken into account.
- The default frequency is \fB5\fR.
- .TP
- .RB - q
- Suppresses normal progress and status messages.
- .TP
- -\fBt \fItimeout\fR
- Read timeout in milliseconds.
- Values range from 0 through UINT_MAX.
- This is the maximum time allowed for a response.
- The default is shown in brackets on the program menu.
- .TP
- .RB - v
- Print additional information on stdout.
- Specifically, this option prints incoming and outgoing frames in hexadecimal format on stdout.
- Output can be directed to a text file for analysis.
- .TP
- -\fBw \fIseconds\fR
- Application timeout in seconds.
- This application will wait this long for an applet to terminate and return to the bootloader before reporting an error and proceeding to the next applet.
- .TP
- .RB - x
- Exit program on first error instead of proceeding to the next applet.
- Error exits return a non-zero value to the shell.
- .TP
- .RB - X
- Exit program on first applet load instead of waiting for the applet to complete.
- This exit returns a zero value to the shell.
- .TP
- -\fB?\fR, --\fBhelp\fR
- Print program help summary on stdout.
- This option takes precedence over other options on the command line.
- .TP
- -\fB!\fR, --\fBversion\fR
- Print program version information on stdout.
- This option takes precedence over other options on the command line.
- Use this option when sending screen dumps to Atheros Technical Support so that they know exactly which version of the Linux Toolkit you are using.
- .SH ARGUMENTS
- .TP
- \fIfile\fR
- The name of an Atheros image file.
- The image file may contain one or more images.
- Each image will be downloaded and executed in turn until all images are executed or an image fails to return to the Bootloader within 1 minute for some reason.
- .SH EXAMPLES
- The following example sequentially downloads and executes each image in file \fBabc.nvm\fR in turn.
- Each image must complete and return to the bootloader before plctest will download and execute the next one.
- Observe that no MAC address is required because Atheros powerline devices use 00:b0:52:00:00:01 when in bootloader mode.
- .PP
- # plctest abc.nvm
- .PP
- The next example will sequentially download and execute all images found in file \fBabc.nvm\fR, \fBdef.nvm\fR and \fBghi.nvm\fR, in turn.
- .PP
- # plctest abc.nvm def.nvm ghi.nvm
- .SH DISCLAIMER
- Atheros image file structure and content is proprietary to Qualcomm Atheros, Ocala FL USA.
- Consequently, public information is not available.
- Qualcomm Atheros reserves the right to change file structure or content in future firmware releases without any obligation to notify or compensate users of this program.
- This program is reserved for use by Atheros Field Engineers.
- Use of this program may void some contractual obligations made by Atheros.
- .SH SEE ALSO
- .BR AMP ( 1 ),
- .BR chknvm ( 1 ),
- .BR chknvm2 ( 1 ),
- .BR amptest ( 1 ),
- .BR int6ktest ( 1 ),
- .BR nvmsplit ( 1 ),
- .BR nvmmerge ( 1 ),
- .BR setnvm ( 1 )
- .SH CREDITS
- Charles Maier <cmaier@qca.qualcomm.com>
|