plctest.1.html 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <?xml version='1.0' encoding='iso-8859-1'?>
  2. <!doctype html public '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
  3. <html xmlns='http://www.w3c.org/1999/xhtml' lang='en-us'>
  4. <head>
  5. <title>
  6. plctest.1
  7. </title>
  8. <meta http-equiv='content-type' content='text/html;iso-8859-1'/>
  9. <meta name='generator' content='motley-tools 1.9.4 13:40:33 Feb 18 2015'/>
  10. <meta name='author' content='cmaier@cmassoc.net'/>
  11. <meta name='robots' content='noindex,nofollow'/>
  12. <link href='toolkit.css' rel='stylesheet' type='text/css'/>
  13. </head>
  14. <body>
  15. <div class='headerlink'>
  16. [<a href='plcstat.1.html' title=' plcstat.1 '>PREV</a>]
  17. [<a href='toolkit.html' title=' Index '>HOME</a>]
  18. [<a href='plctone.1.html' title=' plctone.1 '>NEXT</a>]
  19. </div>
  20. <pre>
  21. plctest(1) Qualcomm Atheros Open Powerline Toolkit plctest(1)
  22. NAME
  23. plctest - Qualcomm Atheros PLC Test Applet Loader
  24. SYNOPSIS
  25. plctest [options] [file] [file] [...]
  26. DESCRIPTION
  27. Download and execute one or more test applets to the local Qualcomm Atheros powerline device. An applet is a small
  28. firmware image that can be started by the bootloader and will return to the bootloader when done. This program replaces
  29. int6ktest and amptest because is supports both old and new image file formats and the old and new powerline device boot
  30. methods.
  31. Qualcomm Atheros firmware files may contain one or more applets. Each applet is preceded by a header that specifies the
  32. image size, load address and start address and other information. Program plctest sequentially dowloads and executes
  33. every applet in each image file named on the command line. It waits for each applet to complete before downloading and
  34. executing the next one. The program terminates once all applets in all files have been executed or some applet fails to
  35. complete within 60 seconds.
  36. Most applets return to the Bootloader on successful completion so that another applet can be downloaded and executed.
  37. This allows applet sequences to be executed with one command. A sequence may consist of one file having multiple applets
  38. or multiple files each having one applet or any combination of single and multiple applet files. The sequence will
  39. break, after a timeout, if any applet in the chain fails to return to the Bootloader in time. Failure to return in time
  40. may be either a good thing or a bad thing depending on applet design.
  41. This program is part of the Qualcomm Atheros Powerline Toolkit. See the APT man page for an overview and installation
  42. instructions.
  43. COMMENTS
  44. The Powerline Toolkit contains a set of legacy applets in folder applets. These were originally designed for use with
  45. program int6ktest and most will not display console messages properly using this program; however, a new series of com‐
  46. patible applets are under development and should be available through Qualcomm Atheros Field Application Engineering.
  47. Assuming a good set of applets are available, this program is ideal for testing reference designs for performance and
  48. production units for defects. Applets may become available for testing onboard connections, memory integrity and noise
  49. immunity. Consult with Atheros Field Application Engineering for applet availability.
  50. OPTIONS
  51. -e Redirects stderr messages to stdout. By convention status and error messages are printed on stderr while primary
  52. program output is printed on stdout. This option prints all output on stdout in cases where this is desired.
  53. -i interface
  54. Select the host Ethernet interface. All requests are sent via this host interface and only reponses received via
  55. this host interface are recognized. The default interface is eth1 because most people use eth0 as their principle
  56. network connection; however, if environment string &quot;PLC&quot; is defined then it takes precedence over the default
  57. interface. This option then takes precedence over either default.
  58. -l Execute all applets in all files on the command line until the program is terminated using ^C.
  59. -p frequency
  60. The polling frequency expressed in polls-per-second. For example, 1 means one poll per second and 10 means ten
  61. polls per second. Overall wait time is count/frequency where count may be modified using option -c. Overall wait
  62. time is always approximate since operating system overhead and latency are not taken into account. The default
  63. frequency is 5.
  64. -q Suppresses normal progress and status messages.
  65. -t timeout
  66. Read timeout in milliseconds. Values range from 0 through UINT_MAX. This is the maximum time allowed for a
  67. response. The default is shown in brackets on the program menu.
  68. -v Print additional information on stdout. Specifically, this option prints incoming and outgoing frames in hexadec‐
  69. imal format on stdout. Output can be directed to a text file for analysis.
  70. -w seconds
  71. Application timeout in seconds. This application will wait this long for an applet to terminate and return to the
  72. bootloader before reporting an error and proceeding to the next applet.
  73. -x Exit program on first error instead of proceeding to the next applet. Error exits return a non-zero value to the
  74. shell.
  75. -X Exit program on first applet load instead of waiting for the applet to complete. This exit returns a zero value
  76. to the shell.
  77. -?, --help
  78. Print program help summary on stdout. This option takes precedence over other options on the command line.
  79. -!, --version
  80. Print program version information on stdout. This option takes precedence over other options on the command line.
  81. Use this option when sending screen dumps to Atheros Technical Support so that they know exactly which version of
  82. the Linux Toolkit you are using.
  83. ARGUMENTS
  84. file The name of an Atheros image file. The image file may contain one or more images. Each image will be downloaded
  85. and executed in turn until all images are executed or an image fails to return to the Bootloader within 1 minute
  86. for some reason.
  87. EXAMPLES
  88. The following example sequentially downloads then executes each image in file abc.nvm in turn. Each image must complete
  89. and return to the bootloader before the next one downloads. Observe that no device address is needed because Atheros
  90. powerline devices use address 00:b0:52:00:00:01 when in bootloader mode.
  91. # plctest abc.nvm
  92. The following example will sequentially download and execute the images in each file abc.nvm, def.nvm and ghi.nvm in
  93. turn.
  94. # plctest abc.nvm def.nvm ghi.nvm
  95. DISCLAIMER
  96. Atheros image file structure and content is proprietary to Qualcomm Atheros, Ocala FL USA. Consequently, public informa‐
  97. tion is not available. Qualcomm Atheros reserves the right to change file structure or content in future firmware
  98. releases without any obligation to notify or compensate users of this program. This program is reserved for use by
  99. Atheros Field Engineers. Use of this program may void some contractual obligations made by Atheros.
  100. SEE ALSO
  101. APT(1), chknvm(1), chknvm2(1), amptest(1), int6ktest(1), nvmsplit(1), nvmmerge(1), setnvm(1)
  102. CREDITS
  103. Charles Maier &lt;cmaier@qca.qualcomm.com&gt;
  104. open-plc-utils-0.0.3 Mar 2014 plctest(1)
  105. </pre>
  106. <div class='footerlink'>
  107. [<a href='plcstat.1.html' title=' plcstat.1 '>PREV</a>]
  108. [<a href='toolkit.html' title=' Index '>HOME</a>]
  109. [<a href='plctone.1.html' title=' plctone.1 '>NEXT</a>]
  110. </div>
  111. </body>
  112. </html>