2011-07-11 00:25:18 +08:00
|
|
|
.TH "ASTRIBANK_HEXLOAD" "8" "30 May 2011" "" ""
|
2010-08-18 21:49:24 +08:00
|
|
|
|
|
|
|
.SH NAME
|
|
|
|
astribank_tool \- Xorcom Astribank (xpp) firmware loader
|
|
|
|
.SH SYNOPSIS
|
2011-07-11 00:25:18 +08:00
|
|
|
.B astribank_tool \-D \fIdevice-path\fR \-F [\fIoptions\fR] \fIhexfile\fR
|
2010-08-18 21:49:24 +08:00
|
|
|
|
2011-07-11 00:25:18 +08:00
|
|
|
.B astribank_tool \-D \fIdevice-path\fR \-p [\fIoptions\fR] \fIhexfile1 .. hexfile4\fR
|
|
|
|
|
|
|
|
.B astribank_tool \-D \fIdevice-path\fR \-O [-A] [\fIoptions\fR] \fIimagefile\fR
|
|
|
|
|
|
|
|
.B astribank_tool \-D \fIdevice-path\fR \-o [\fIoptions\fR]
|
|
|
|
|
|
|
|
.B astribank_tool \-D \fIdevice-path\fR \-E [\fIoptions\fR] \fIhexfile\fR
|
|
|
|
|
|
|
|
.B astribank_tool \-h
|
2010-08-18 21:49:24 +08:00
|
|
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.B astribank_hexload
|
|
|
|
is a second-stage firmware loader for Xorcom Astribanks. Note that some
|
|
|
|
older models use fpga_load(8) instead.
|
|
|
|
|
|
|
|
It is used to load a file in the Intel HEX format into a Xorcom
|
|
|
|
Astribank. It can be used to load either an FPGA firmware or a PIC
|
|
|
|
firmware. It is normally run by the script xpp_fxloader.
|
|
|
|
|
|
|
|
.SH OPTIONS
|
|
|
|
.B \-D
|
|
|
|
.I device-path
|
|
|
|
.RS
|
2011-03-11 02:48:11 +08:00
|
|
|
Required. The device to read from/write to. This is
|
|
|
|
\fIbus_num\fR/\fIdevice_num\fR, where \fIbus_num\fR and \fIdevice_num\fR
|
|
|
|
are the first two numbers in the output of lsusb(8) or dahdi_hardware(8).
|
2011-10-23 22:22:05 +08:00
|
|
|
On older versions of this tool you needed a complete path to the device,
|
2011-03-11 02:48:11 +08:00
|
|
|
which would be /dev/bus/usb/\fIbus_num\fR/\fIdevice_num\fR, or
|
2010-08-18 21:49:24 +08:00
|
|
|
/proc/bus/usb/\fIbus_num\fR/\fIdevice_num\fR.
|
|
|
|
.RE
|
|
|
|
|
2011-07-11 00:25:18 +08:00
|
|
|
One of the following is required:
|
|
|
|
|
2010-08-18 21:49:24 +08:00
|
|
|
.B \-F
|
|
|
|
.RS
|
|
|
|
The firmware to load is a FPGA firmware.
|
|
|
|
.RE
|
|
|
|
|
|
|
|
.B \-p
|
|
|
|
.RS
|
2011-07-11 00:25:18 +08:00
|
|
|
The firmwares to load is are PIC firmwares. All (typically 4) should be
|
|
|
|
on the command-line.
|
2010-08-18 21:49:24 +08:00
|
|
|
.RE
|
|
|
|
|
2011-07-11 00:25:18 +08:00
|
|
|
.B \-O
|
|
|
|
.RS
|
|
|
|
The firmware to load is an Octasic echo canceller firmware image file.
|
|
|
|
.RE
|
|
|
|
|
|
|
|
.B \-o
|
|
|
|
.RS
|
|
|
|
Don't load firmware. Just print the version number of the currently-loaded
|
|
|
|
Octasic echo canceller firmware.
|
|
|
|
.RE
|
|
|
|
|
|
|
|
.B \-E
|
|
|
|
.RS
|
|
|
|
The firmware to load is a special EEPROM burning one.
|
|
|
|
.RE
|
|
|
|
|
|
|
|
|
|
|
|
Other options:
|
|
|
|
|
2010-08-18 21:49:24 +08:00
|
|
|
.B \-v
|
|
|
|
.RS
|
|
|
|
Increase verbosity. May be used multiple times.
|
|
|
|
.RE
|
|
|
|
|
|
|
|
.B \-d \fImask\fR
|
|
|
|
.RS
|
|
|
|
Set debug mask to \fImask\fR. Default is 0, 0xFF is "everything".
|
|
|
|
.RE
|
|
|
|
|
|
|
|
.B \-h
|
|
|
|
.RS
|
|
|
|
Displays usage message.
|
|
|
|
.RE
|
|
|
|
|
2011-07-11 00:25:18 +08:00
|
|
|
.B \-A
|
|
|
|
.RS
|
|
|
|
When loading a Octasic echo canceller firmware, set the channels of the
|
|
|
|
first Astribank module to use aLaw (G.711a). This is what you'd normally
|
|
|
|
use for BRI and E1. If not set, the default mu-Law (G.711u), which is
|
|
|
|
what you'd normally use for FXS, FXO and T1.
|
|
|
|
.RE
|
|
|
|
|
2010-08-18 21:49:24 +08:00
|
|
|
.SH SEE ALSO
|
|
|
|
fxload(8), lsusb(8), astribank_tool(8), fpga_load(8)
|
|
|
|
|
|
|
|
.SH AUTHOR
|
|
|
|
This manual page was written by Tzafrir Cohen <tzafrir.cohen@xorcom.com> .
|
|
|
|
Permission is granted to copy, distribute and/or modify this document under
|
|
|
|
the terms of the GNU General Public License, Version 2 any
|
|
|
|
later version published by the Free Software Foundation.
|
|
|
|
|
|
|
|
On Debian systems, the complete text of the GNU General Public
|
|
|
|
License can be found in /usr/share/common\-licenses/GPL.
|