Chapter 7 Diagnostic and Troubleshooting Test Procedures
© National Instruments Corporation 7-5 GPIB-1014 User Manual
daddr=FF Set data values at source locations
daddr+1=FE
......
daddr+9=F6
087 CCR2=80 Start DMA on Channel 2
080 CSR2=81? DMA completed without error? Bit 4 = 1 if error
daddr+0A=FF? Verify data values at destination locations
daddr+0B=FE?
......
daddr+13(hex)=F6?
11. Test DMA transfer (flyby) to GPIB, one byte, memory read.
105 CFG2 = 0A Set LMR and turn LED green
105 CFG2 = 08 Clear LMR
00A MTC0 = 0001 one byte
004 DCR0 = A0
005 OCR0 = 02
006 SCR0 = 0
000 CSR0 = FF
040 CSR1 = FF
045 OCR1 = 0
029 MFC0 = 06
00C MAR0 = daddr 4-byte data address (any free data area)
daddr= data put data byte in memory
101 CFG1 = 18 BRG3*, OUT, enable ROR feature
11B AUXMR = 2 TLC Reset
119 ADMR = C0 ton,lon
007 CCR0 = 80 Start channel 0
115 IMR2 = 20 DMA out enable
11B AUXMR = 0 Immediate execute pon, TLC immediately sets DO
to request for a byte to be transferred using DMA to
its internal register.
000 CSR0 = 81? DMA channel finished (COC)
040 CSR1 = 02? GPIB synchronized (PCL1* is pulled low, PCT bit
in CSR1 is set)
113 ISR1 = 03? DO & DI are both set (DO is currently set to
request another byte to be transferred)
111 CDOR = data? verify data that was transferred to the TLC
101 CFG1 = 18 clear GPIB synchronization detecting
circuitry, also to pull PCL1 high
040 CSR1 = 02 clear PCT bit in CSR1
040 CSR1 = 01? PCT bit cleared, PCL1 high
12. Test DMA transfer (flyby) from GPIB to memory, one byte, memory write.
105 CFG2 = 0A Set LMR and turn LED green
105 CFG2 = 08 Clear LMR