int6kuart(7) Atheros Powerline Toolkit int6kuart(7)
NAME
int6kuart - Atheros Serial Line Device Manager
SYNOPSIS
int6kuart [options] [...]
DESCRIPTION
Perform powerline device management operations over serial line interface.
Serial line commands are 7-bit ASCII character strings sent to the local powerline device
over the host serial port. They can be sent using any terminal emulator but this program
will, in many cases, reduce typing and simplify scripting. It is especially useful for
downloading device parameters and uploading device parameters or firmware because those
operations involve large volumes of data. Also, this program permits decimal integer argu‐
ments in many cases where the serial line commands require hexadecimal integer values.
This program does not provide command line options to change host serial port settings.
Command line serial port setting options may be provided in a later version. Presently,
the program automatically configures the host serial port for 1115200 baud, 8 data bits, 1
stop bit, no parity and no flow control. It does not restore the original port settings on
exit.
This program is part of the Atheros Powerline Toolkit. See the AMP man page for an
overview and installation instructions.
OPTIONS
-b Get the Transparent Mode buffer size using the ATBSZ serial line command. This
option is similar to option -B but substitutes ? for the buffer size.
-B size
Set the Transparent Mode buffer size using the ATBSZ serial line command. The size
in bytes is specified in decimal here and converted to hexadecimal for transmis‐
sion. Valid values range from 1 to 1500. The default is 500 bytes.
-c command
Send a custom serial line command to the local powerline device over the host
serial interface. Argument command is sent as specified but will be terminated with
a carriage return. The command must be enclosed in quotes if it contains spaces or
special characters. This option can be used to send serial line commands that are
not supported by this program.
-C module
Commit downloaded parameters and/or firmware to NVM using the ATWNV serial line
command. Argument module is one hexadecimal octet. The low-order nibble contains
the module number. The high-order nibble contains optional control bits. Acceptable
module values are 0x01=Firmware, 0x02=Parameters, 0x10=Force Flash and 0x20=Do Not
Reboot. The defaultvalue is 0x00 which has no effect. The 0x prefix is optional.
-d Read and display the destination device address using the ATDST serial line com‐
mand. This option is similar to option -D but substitutes ? for the device address.
-H Exit Command Mode and enter High Speed Command Mode using the ATHSC serial line
command.
-I Get and display the PIB version and device MAC address.
-D address
Set the destination device address for Transparent Mode using the ATDST serial line
command. This address will supercede the default destination device address, stored
in the PIB, until the device is reset. Multicast address values are not permitted
by the device. Argument address is six hexadecimal octets optionally separated by
colons.
-m Read and display the Network Membership Key of the local powerline device using the
ATSK serial line command. This option is similar to option -M but substitutes ? for
the membership key.
-M key Set the Network Membership Key of the local powerline device using the ATSK serial
line command. The key consists of 16 hexadecimal octets optionally separated by
colons.
-N filename
Open the named firmware file on the local host and write it to the local device
using multiple ATWFP serial line commands. There is no default filename or exten‐
sion. The file is assumed to contain a valid firmware image.
-O Exit Command Mode and enter Transparent Mode using the ATO serial line command.
Subsequent serial data will be transmitted over the powerline to the destination
device address as raw data. Use option -d to set the destination device address.
-p filename
Read the parameter block from the local powerline device and write it to the named
file on the local host using multiple ATWFP serial line commands. Required length
and offset values are automatically computed for each serial line command sent.
There is no default filename or extention.
-P filename
Open the parameter file on the local host and write it to the local powerline
device using multiple ATWFP serial line commands. Required length and offset values
are automatically computed for each serial line command sent. There is no default
filename or extention. The named file is assumed to contain a valid parameter
block.
-q Place the program in quiet mode to suppress progress and error information on
stderr.
-r Read and display the local powerline device hardware identifier and firmware ver‐
sion string using the ATRV serial line command.
-R Reset the local device using the ATZ serial line command
-s tty Communicate with the local powerline device over the named serial interface on the
local host. The program default is "/dev/ttyUSB0" for Linux and "com1:" for Win‐
dows. The default may be superceeded by defining environment variable PLCUART. This
option may be used to over-ride these defaults.
-S Place the local power line device in Power Save Mode using the ATPS serial line
command.
-t Test device using the AT serial line command. The device will respond with "OK"
when in Command Mode.
-T Restore factory defaults on the local power line device using the ATFD serial line
command. Among other things, this will restore the destination device address
stored in the factory PIB. Any destination device address previously set using
option -d will be lost.
-v place the program in verbose mode to display extra information on stdout.
-w Place the local powerline device in Command Mode using the +++ serial line command.
The device will remain in command mode until it is reset or forced into
Transparaent Mode or High Speed Command Mode.
-W timeout
Set the Transparent Mode aggregation timeout using the ATTO serial line command.
The timeout is expressed in decimal milliseconds. Valid values are 1 through 2000.
-?,--help
Print program help summary on stdout. This option takes precedence over other
options on the command line.
-!,--version
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.
ARGUMENTS
None.
COMMANDS
This section lists serial line commands recognized by local powerline devices when in Comâ€‐
mand Mode. Commands can be issued interactively using a terminal emulator, like minicom on
Linux or HyperTerminal on Windows or stored as text and copied to the serial port using
system utilities, like cat on Linux or type on Windows. This program merely converts com‐
mand line options and arguments into one or more of the serial line commands shown below.
+++ Exit Transparent Mode and enter Command Mode. See option -w above.
AT Test for Command Mode by doing nothing, successfully. See option -t above.
ATBSZ? Get Transparent Mode buffer size. See option -b above.
ATBSZsize
Set Transparent Mode buffer size. See option -B above.
ATDST? Get Transparent Mode destination device address. See option -d above.
ATDSTaddress
Set Transparent Mode destination device address. See option -D above.
ATFD Reset local device to factory defaults. See option -T above.
ATHSC Exit Command Mode and enter High Speed Command Mode. Once the OK response is
received, the local host should send commands to the device at successively higher
speeds until a valid response is received.
ATNI? Read nework information and store the information internally. Return the number of
associated stations and information about the first associated station. The infor‐
mation includes the peer station device address, TX rate and RX rate.
ATNIstation
Extract and display previously stored network information for a specific peer sta‐
tion. The information returned is that previosly stored using a ATNI serial line
command query.
ATO Exit Command Mode and enter Transparent Mode. Successful switch requires a valid
destination MAC address, buffer size and aggregation timeout value. Use serial line
commands ATDST and ATBSZ to get and/or set the first two values. Use serial line
command ATTO to set the timeout value.
ATPStime
Place the device in Power Save Mode for a specified time in seconds. Valid values
are 1 to 384 seconds. The default time is A seconds.
ATRPlength,offset
Read and display a parameter block segment where length is the number of bytes read
and offset is the relative position, in bytes, from the start of the parameter
block. Valid length values are 0 through 400 hexadecimal. See option -p above to
read and save an entire parameter block.
ATRPM Get PIB version and device MAC address.
ATRV Get hardware and firmware revision. See option -r above.
ATSK? Get device Network Membership Key. See option -m above.
ATSKkey
Set device Network Membership Key. See option -M above.
ATTO? Get the Transparent Mode aggregation timeout in milliseconds.
ATTOtimeout
Set the Transparent Mode aggregation timeout in milliseconds. See option -W above.
ATWNVmodule
Update NVM with PIB and/or Firmware module. See option -C above.
ATWPFmodule,length,offset,checksum,data
Write a parameter block or firmware segment to the local powerline device where
module is the module identifier, length is the number of bytes to write, offset is
the relative position from the start of the module, checksum is the 1’s complement
of the data and data is the data to be written. Valid module identifiers are 1=FW
and 2=PIB. Valid length values are 0 up to 400 hexadecimal. See options -N and -P
above to write an entire parameter block or firmware images.
ATZ Reset device. See option -R above.
REFERENCES
See the Atheros HomePlug AV Firmware Technical Reference Manual for more information.
DISCLAIMER
Atheros serial line commands are proprietary to Atheros Communications, Ocala FL USA. Con‐
sequently, public information is not available. Atheros Communications reserves the right
to modify command line syntax or command functionality in future firmware releases without
any obligation to notify or compensate product or program users.
EXAMPLES
None.
SEE ALSO
AMP(7)
CREDITS
Charles Maier <charles.maier@atheros.com>
int6000-utils-linux Atheros Communications int6kuart(7)