Chapter 7
Diagnostic and Troubleshooting Test Procedures
© National Instruments Corporation
7-7
GPIB-1014 User Manual
005
OCR0 = 02
045
OCR1 = 0A
006
SCR0 = 04
046
SCR1 = 04
029
MFC0 = 06
00C
MAR0 = 00003000
4-byte address (00003000) of the first two data
bytes
00A
MTC0 = 0002
2-byte transfer count (0002)
069
MFC1 = 06
079
BFC1 = 06
05C
BAR1 = 00003004
4-byte address (00003004) of the carry cycle array
05A
BTC1 = 0002
carry cycle array has two entries - two small
memory blocks to be transferred
000
CSR0 = FF
040
CSR1 = FF
11B
AUXMR = 2
TLC Reset
119
ADMR = C0
ton,lon
115
IMR2 = 20
DMA out enable
047
CCR1 = 80
start channel 1
007
CCR0 = 80
start channel 0
11B
AUXMR = 0
Immediate execute pon, TLC immediately sets DO
in ISR1, requests a DMA transfer for a byte from
memory
113
ISR1 = 1?
DO is cleared here because a byte has been
transferred from memory to TLC's CDOR. TLC
does not currently request for DMA transfer
111
CDOR = 1?
check the first data byte that was transferred from
memory to TLC, after this read the TLC will
request for another DMA transfer
113
ISR1 = 1?
DO is cleared here because a byte has been
transferred from memory to TLC's CDOR
111
DIR = 2?
second data byte that was transferred from memory
to TLC, after this read the TLC will request for
another DMA transfer
000
CSR0 = 81?
channel 0 finished (COC)
04A
MTC1 = 0001?
last data byte transferred will make count=1
113
ISR1 = 13?
END, DO, and DI (carry cycle byte will set END
bit)
111
DIR = 3?
last data byte
040
CSR1 = 0A?
GPIB synchronized
047
CCR1 = 10
software abort
040
CSR1 = FF
clear status bits
14. Test DMA transfer (flyby) from GPIB to memory, one byte, memory write, use the Carry
Cycle feature.
Addresses 3000 to 300E are used for this test, other locations may be used if required.