plctest(1) | Qualcomm Atheros Open Powerline Toolkit | plctest(1) |
plctest - Qualcomm Atheros PLC Test Applet Loader
plctest [options] [file] [file] [...]
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 int6ktest and amptest because is supports both old and new image file formats and the old and new powerline device boot methods.
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 plctest 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.
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.
This program is part of the Qualcomm Atheros Powerline Toolkit. See the APT man page for an overview and installation instructions.
The Powerline Toolkit contains a set of legacy applets in folder applets. These were originally designed for use with program int6ktest and most will not display console messages properly using this program; however, a new series of compatible applets are under development and should be available through Qualcomm Atheros Field Application Engineering.
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.
The following example sequentially downloads then executes each image in file abc.nvm in turn. Each image must complete and return to the bootloader before the next one downloads. Observe that no device address is needed because Atheros powerline devices use address 00:b0:52:00:00:01 when in bootloader mode.
# plctest abc.nvm
The following example will sequentially download and execute the images in each file abc.nvm, def.nvm and ghi.nvm in turn.
# plctest abc.nvm def.nvm ghi.nvm
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.
APT(1), chknvm(1), chknvm2(1), amptest(1), int6ktest(1), nvmsplit(1), nvmmerge(1), setnvm(1)
Charles Maier
November 2013 | open-plc-utils-0.0.3 |