int6ktest(1) | Qualcomm Atheros Open Powerline Toolkit | int6ktest(1) |
int6ktest - Qualcomm Atheros Test Applet Loader
int6ktest [options] [file] [file] [...]
Download and execute one or more test applets on the local powerline device. An applet is a small firmware image that can be started by the bootloader and that returns to the bootloader when done.
An Atheros image file can contain one or more firmware images. Each image is preceded by a header that specifies the image size, load address and start address. int6ktest sequentially dowloads and executes each image found in each image file specified as a command line argument. It waits for each image to complete before it will download and execute the next image. The program terminates once all images in all image files have been executed or some image 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 chains to be executed using one command. A chain may consist of one image file containing many applets or several image files containing one applet each or any combination. The chain will break, after a timeout, if any applet in the chain fails to return to the Bootloader.
The toolkit contains a set of useful applets in folder applets. Most, if not all, are as single applet image files. Program chknvm can be used to inspect image files and programs nvmmerge and nvmsplit can be used to assemble and disassemble multi-applet image files. This allows custom applet chains to be created and kept together in one file. The number and quality of available applets will probably increase with time.
Users should take the time to understand the applets they attempt to execute or confusion may result. Each applet should have an associated man page to explain what it does and how it works. Most applets execute and return to the bootloader within seconds but some loop indefinitely or stop on failure. Newer applets print test progress and outcomes on the console but older applets merely flash device LEDs to indicate test progress and outcomes.
This program is part of the Qualcomm Atheros Powerline Toolkit. See the plc man page for an overview and installation instructions.
This program is an alternative to program amptest but is deprecated. In the future, applet designers should develop applets for amptest instead of this program.
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 all use address 00:b0:52:00:00:01 when in bootloader mode.
# int6ktest abc.nvm
The following example will sequentially download and execute the images in each file abc.nvm, def.nvm and ghi.nvm in turn.
# int6ktest 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.
chknvm(1), chknvm2(1), amptest(1), nvmsplit(1), nvmmerge(1), plctest(1), setnvm(1)
Charles Maier
November 2013 | open-plc-utils-0.0.3 |