<x-html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.100" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT><BR> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>I do the same for testing dip switches, like on Atari pinball MPUs, turn
all of them on, read FF, turn all off, read 00. <BR></DIV><FONT face=Arial
size=2></FONT></BLOCKQUOTE><FONT face=Arial size=2>
<DIV dir=ltr><BR> </DIV>
<DIV dir=ltr>Yep, I usually reset my dips to Factory when working on a board so
I add that step too.</DIV>
<DIV dir=ltr> </DIV>
<DIV
dir=ltr>!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<BR>!
DIP SWITCH TEST<BR>!<BR>! The DIP Test is 3 stages, a All on test, All off test,
Factory settings<BR>!<BR>! Set REGF = *DIP1 location<BR>! REGE is contents of
previous 9010A command, so use it.<BR>! <BR>! I could not get it to compare to
REGE so I used REG1 = REGE and then<BR>! compared to
REG1.<BR>!<BR>!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
</DIV>
<DIV> </DIV>
<DIV dir=ltr>PROGRAM DIPTST</DIV>
<DIV> </DIV>
<DIV dir=ltr>REGF = 4008</DIV>
<DIV> </DIV>
<DIV dir=ltr>SW1ON:<BR> DPY- TURN ALL DIPS ON AT R8
#<BR> STOP<BR> READ @ REGF<BR> REG1 =
REGE<BR> IF REG1 = FF GOTO SW1OFF<BR> DPY- ERROR R8 OFF
PRESS CONT # <BR> STOP<BR> GOTO
SW1ON<BR>SW1OFF: <BR> DPY- TURN ALL DIPS OFF AT R8
#<BR> STOP<BR> READ @REGF<BR> REG1 =
REGE<BR> IF REG1 = 0 GOTO SW1FACTORY <BR> DPY- ERROR R8
ON PRESS CONT #<BR> STOP<BR> GOTO
SW1OFF<BR>SW1FACTORY:<BR> DPY- FACT SET SW1 00000001
#<BR> STOP<BR> READ @REGF<BR> REG1 =
REGE<BR> IF REG1 = 80 GOTO SW2<BR> DPY- ERROR R8 FACT
PRESS CONT #<BR> STOP<BR> GOTO
SW1FACTORY<BR> <BR>SW2:</DIV>
<DIV> </DIV>
<DIV dir=ltr>REGF = 4A00</DIV>
<DIV> </DIV>
<DIV dir=ltr>SW2ON:<BR> DPY- TURN ALL DIPS ON AT R10
#<BR> STOP<BR> READ @ REGF<BR> REG1 =
REGE<BR> IF REG1 = FF GOTO SW2OFF<BR> DPY- ERROR R10 OFF
PRESS CONT # <BR> STOP<BR> GOTO
SW2ON<BR>SW2OFF: <BR> DPY- TURN ALL DIPS OFF AT R10
#<BR> STOP<BR> READ @REGF<BR> REG1 =
REGE<BR> IF REG1 = 0 GOTO SW2FACTORY <BR> DPY- ERROR SW1
ON PRESS CONT #<BR> STOP<BR> GOTO
SW2OFF<BR>SW2FACTORY:<BR> DPY- FACT SET R10 00000001
#<BR> STOP<BR> READ @REGF<BR> REG1 =
REGE<BR> IF REG1 = 80 GOTO SW3<BR> DPY- ERROR SW1 FACT
PRESS CONT #<BR> STOP<BR> GOTO SW2FACTORY</DIV>
<DIV> </DIV>
<DIV dir=ltr>SW3:</DIV>
<DIV> </DIV>
<DIV dir=ltr> DPY-DIP TEST COMPLETE. PRESS<BR> DPY-+
CONT%1#<BR> STOP<BR></FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"><FONT
face=Arial size=2></FONT><FONT face=Arial size=2></FONT>
<DIV><BR><I>Warning - Random blather below:<BR></I>I am looking at automating
the reading of switch matrixes by a simple jumper plug with some diodes.
Have the Strobes all going to a separate Return, or , better yet, matrix
all the possibilities with a wiring blob (diodes and wire), and then treat the
switch matrix as if it was a RAM location in memory. Write AA and then 55 and
see if any errors appear. Perhaps a simple ROM chip might help out here, use
the strobes as the Address, and the Returns as the DATA. Run a Signature on
the "address"? But how to specify the failing Strobe/Return line? Use the
Walking bits test? Just some random ideas I'm afraid...<BR><BR>Looking in the
Troubleshooter newsletter for an article on checking cables using a pod,
for the switch matrix you already have all the select logic you are simply
figuring out the test algorithm. Must re-read that more
carefully.<BR></DIV><FONT face=Arial size=2></FONT></BLOCKQUOTE>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BLOCKQUOTE>
<DIV dir=ltr><BR><FONT face=Arial size=2>Be sure to re read the Troubleshooter
articles about the multi point prober.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Or you could just use the 9100 -003 module
& strobe the I/O....I've still to try this idea but I'm pretty sure it
should work.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>As for you clip idea, what about 2 spring
clips wired for AA & 55 for matching input buffers (245/244/367
etc?)</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Kev</FONT></DIV>
<DIV dir=ltr> </DIV></BODY></HTML>
</x-html>
Received on Fri Jun 21 08:16:47 2002
This archive was generated by hypermail 2.1.8 : Tue Dec 02 2003 - 18:40:46 EST