ZiLOG
<
065% .KPG %%& &GEQFGT
H Position Register Script Files
(KNG 0COG
*215%
*2154
*215.
*215%$
%QOOCPF
]% _
]% &_
]% _
]% C_
(WPEVKQP
%GPVGT DQZ
/QXG DQZ TKIJV zU
HTQO EGPVGT
OQXG DQZ NGHV zU HTQO
EGPVGT
EGPVGT DQZ OCMG $QZ $NWG
Text Position Register Script Files
(KNG 0COG %QOOCPF
6215 ]% ((_
6215 ]% (&_
6215 ]% (#_
6215# ]% $#_
(WPEVKQP
6GZV DCUG TQY TQYU
6GZV DCUG TQY TQYU
6GZV DCUG TQY TQYU
6GZV DCUG TQY TQYU
XDSCAP Program
This program performs the application’s task of XDS data
recovery. XDS recovery must first have been enabled
through the appropriate XDS Filter command. Script file
examples for setting the XDS Filter are shown below.
The program is invoked by typing:
xdscap<ENTER>
When the program is invoked the PC screen shows:
EEG CCD2 XDS Data Recovery Test Program
Version x.xx
Slave Address is 28h
The responding slave address is reported to the screen.
After communication is acknowledged, the program dis-
plays all XDS data recovered from those packets that were
enabled through the XDS Filter command:
{01,03}Current Program{00}{0F,7F}....etc
The ASCII characters are shown as ASCII characters while
the non-printing characters are displayed by their Hex value
within curly braces. Byte pairs, such as Class,Type, are
shown as pairs within the curly braces, separated by a com-
ma (that is, {01,03}).
If no data is received within approximately 45 seconds, the
program times out, reports “Data Not Available”, and exits.
XDS Filter Register Script Files
(KNG
0COG %QOOCPF (WPEVKQP
(+.# ]% (_ 5GV :&5 HKNVGT VQ CNN
(+. ]% _ 5GV :&5 HKNVGT VQ PQPG 6WTPU
QHH :&5 TGEQXGT[
(+.%# ]% _ 5GV :&5 HKNVGT VQ CNN EWTTGPV
ENCUU
(+.% ]% _ 5GV :&5 HKNVGT VQ EWTTGPV KP
DCPF ENCUU
(+.(# ]% _ 5GV :&5 HKNVGT VQ CNN HWVWTG ENCUU
(+.%* ]% _ 5GV :&5 HKNVGT VQ EJCPPGN ENCUU
(+./ ]% _ 5GV :&5 HKNVGT HQT OKUE KPHQ
(+.6+/' ]% _ 5GV :&5 HKNVGT VKOG QPN[
(+.8%4 ]% '_ 5GV :&5 HKNVGT XET KPHQ
Using Interrupts
Interrupts involve the use of the Line 21 Activity Register,
the Interrupt Request Register, and the Interrupt Mask Reg-
ister. The Z86229 must be configured for VLK internal so
that the VIN signal (Pin 13) is an output providing the in-
terrupt output signal.
The interrupt status can be polled through bit D3 of the Serial
Status (SS) Register if the interrupt signal cannot be used.
Interrupts are disabled when the Interrupt Mask Register
has been set to all zeros. Conversely, interrupts are enabled
by setting one or more of the active bits to a “1”. When en-
abled, the INTRO signal becomes a “1” when the enabled
mask event(s) becomes active. If more than one event has
been activated, the Interrupt Request Register must be que-
ried to determine which event has occurred. The DLE and
EOF interrupts are cleared at the end of the field in which
they occurred.
Interrupt Mask Register Script Files
(KNG 0COG
+064&
+064.-
+064:
+064%
%QOOCPF
]% _
]% _
]% _
]% _
(WPEVKQP
5GV &.' CEVKXG
5GV F.1- CEVKXG
5GV F:&5 CEVKXG
5GV &.' F%6 CEVKXG
Note: The XDSCAP program can also be exited by entering a
Control C (^C) character.
&5
24'.+/+0#4;