
9XTend
‐
PKG
‐
E™
Ethernet
RF
Modem
–
Product
Manual
v2.x4x
[2007.01.04]
©
2007
MaxStream,
Inc.,
Confidential
&
Proprietary
‐
All
Rights
Reserved
21
4 .1 .2 . AT Com m a n d Ex a m ple s
Te r m in a l Ta b ( X - CTU Soft w a r e )
A t erm inal program has been built int o t he X- CTU soft ware and is locat ed under t he 'Term inal' t ab.
The Term inal t ab provides an easy- t o- use int er face for program m ing t he m odem .
Sy st e m Re sponse .
When a com m and is sent t o t he m odem , t he m odem will parse and execut e
t he com m and. Upon successful execut ion of a com m and, t he m odem ret urns an " OK" m essage. I f
execut ion of a com m and result s in an error, t he m odem ret urns an " ERROR" m essage.
Re st or e RF M ode m D e fa u lt Pa r a m e t e r s
( Using t he ‘Term inal’ t ab of t he X- CTU Soft ware)
NOTE:
Default
parameter
values
of
the
RF
Modem
can
also
be
restored
by
selecting
the
ʹ
Restore
ʹ
button
located
on
the
“Modem
Configuration”
tab
[refer
to
the
example
below].
M ode m Con figu r a t ion Ta b
Sa m ple Con figu r a t ion : Re st or e RF M ode m D e fa u lt s
4 .1 .3 . Bin a r y Com m a n d Ex a m ple
To Se n d Bin a r y Com m a n ds:
Note: CTS (GPO1) is high when a command is being executed. Hardware flow control must be disabled
as CTS will hold off parameter bytes.
Exam ple: Bot h of t he follow ing exam ples rest ore t he XTend Modem 's fact ory default s and save
t he param et er s t o non- volat ile m em or y.
Met hod 1 ( One line per com m and)
Se n d AT Com m a n d
+ + +
ATRE < Ent er>
ATWR < Ent er>
ATCN < Ent er>
Syst e m Re spon se
OK < CR> ( Ent er int o Com m and Mode)
OK < CR> ( Rest or e RF m odem default param et er values)
OK < CR> ( Wr it e t o non- volat ile m em or y)
OK < CR> ( Exit Com m and Mode)
Met hod 2 ( Mult iple com m ands on one line)
Se n d AT Com m a n d
+ + +
ATRE, WR < Ent er>
ATCN < Ent er>
Syst e m Re spon se
OK < CR> ( Ent er int o Com m and Mode)
OK < CR> ( Execut e m ult iple com m ands)
OK ( Exit AT Com m and Mode)
Exam ple: Ut ilize t he X- CTU “ Modem Configurat ion” t ab t o rest ore default param et er values.
Aft er est ablishing a connect ion bet w een t he m odem and a PC [ refer t o t he 'Set up' sect ion
above] , select t he “ Modem Configurat ion” t ab of t he X- CTU Soft ware.
1. Select t he 'Read' but t on.
2. Select t he 'Rest ore' but t on.
Exam ple: Use binary com m ands t o change t he RF m odem 's dest inat ion address t o 0x1A0D and
save t he new address t o non- volat ile m em ory.
1.
RT Com m and m ust be set t o '1' in AT Com m and Mode t o enable binary program m ing.
2.
Assert CMD ( Pin 10 is driven high) . ( Ent er Binary Com m and Mode)
3.
Send Byt es [ param et er byt es m ust be 2 byt es long] :
00
( Send DT ( Dest inat ion Address) Com m and)
0D
( Least significant byt e of param et er byt es)
1A
( Most significant byt e of param et er byt es)
08
( Send WR ( Writ e) Com m and)
4.
De- assert CMD ( GPI 1 is driven low ) . ( Exit Binary Com m and Mode)
Note:
Do
not
send
com
‐
mands
to
the
modem
during
flash
program
‐
ming
(when
parameters
are
being
written
to
the
modem
registry).
Wait
for
the
ʺ
OK
ʺ
sys
‐
tem
response
that
fol
‐
lows
the
ATWR
command
before
enter
‐
ing
the
next
command
or
use
flow
control.
Note:
Do
not
send
com
‐
mands
to
the
modem
during
flash
program
‐
ming
(when
parameters
are
being
written
to
the
modem
registry).
Wait
for
the
ʺ
OK
ʺ
sys
‐
tem
response
that
fol
‐
lows
the
ATWR
command
before
enter
‐
ing
the
next
command
or
use
flow
control.