Debug Scripts A-3
104-ADIO128 (AD128) User’s Guide
Debug S
cr
ipt
s
ä
ä
ä
ä
Debug Scripts
In DOS, on the command line type “debug < adc 0.dbg” or “debug < counter_0.dbg” or “debug <
filename.dbg”. These scripts assume that the board’s address is 0300h.
ADC _0.DBG
304 ff
o 305 3
o 302 18
i 303
i 302
o 304 ff
o 305 7
o 302 18
i 303
i 302
o 304 ff
o 305 b
o 302 18
i 303
i 302
o 304 ff
o 305 f
o 302 18
i 303
i 302
o 304 ff
o 305 b
o 302 18
i 303
i 302
o 304 ff
o 305 7
o 302 18
i 303
i 302
o 304 ff
o 305 3
o 302 18
i 303
i 302
o 304 0
o 305 0
o 302 18
i 303
i 302
o 304 ff
o 305 3
o 302 18
i 303
i 302
o 304 ff
o 305 7
o 302 18
i 303
i 302
q
This script will use DAC A to output a stepped voltage test pattern. Connect pin
2 of connector P3 to pin 4 of connector P2 if the instrumentation amplifier is
present or to pin 6 if the amplifier isn’t present. Also, using the jumpers,
select the bipolar output mode for DAC A. When the script is run the ADC will
convert the values and debug.exe will display the results. Note that the ADC’s
conversions are two’s complement but the DAC’s input is straight binary.
The counter/timer scripts simply put each counter in square-wave mode.
The digital I/O scripts will either configure the ports as inputs and read the
values at each or configure the ports as outputs and write values to each.
COUNTER_1.DBG
o 30f 76
o 30d 64
o 30d 0
q
COUNTER_0.DBG
o 30f 36
o 30c e8
o 30c 03
q
COUNTER_2.DBG
o 30f b4
o 30e ff
o 30e 0
q
DIO_IN.DBG
o 313 9b
o 313 1b
i 310
i311
i312
q
DIO_OUT.DBG
o 313 80
o 310 aa
i 311 cc
i312 f0
i313 0
q
DAC_A.DBG
o 304 ff
o 305 3
o 304 ffc
o 305 7
o 304 ff
o 305 b
o 304 ff
o 305 f
o 304 ff
o 305 b
o 304 ff
o 305 7
0 304 ff
o 305 3
o 304 0
o 305 0
o 304 ff
o 305 3
o 304 ff
o 305 7
q
The DAC script will put a stepped output on
pin 2 of connector P3.
Summary of Contents for 104-AD128
Page 6: ...viii 104 ADIO128 AD128 User s Guide This page intentionally left blank...
Page 10: ...xii 104 ADIO128 AD128 User s Guide This page intentionally left blank...
Page 12: ...xiv 104 ADIO128 AD128 User s Guide This page intentionally left blank...
Page 20: ...xxii 104 ADIO128 AD128 User s Guide This page intentionally left blank...
Page 24: ...Chapter 2 Board Setup Contents Overview 2 3 Option Selection 2 3 Address Selection 2 5...
Page 33: ...Chapter 4 Connector Pin Assignments Contents Overview 4 3 Connector Pin Assignments 4 3...
Page 56: ...Appendix A Debug Scripts Contents Debug Scripts A 3...