Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/05/10 16:20
Read: times


 
#178927 - Just an XOR?
Responding to: ???'s previous message
Your post title: "None of this works with just an XOR"

Now why in the world would you ever invent such a post title? Where in this thread could you ever get the idea that anyone have claimed the use of just an XOR for an IC tester or to detect the difference between different 74xx or 4xxx chips?

Richard said:
First of all, the XOR doesn't tell you anything about an unknown device.

Sorry, but unprofessional statement. If a logic tester can match the logic table of the chip then gate delay measurements are possible for a large percentage of the chips. If the logic tester can't match the logic table of the chip, then it's irrelevant if a the XOR-based phase detector can measure any parameter or not.

Richard said:
Let's say you have an 85L54. That's a 4-bit tristate binary counter.

How many sites do you see with datasheets for a 85L54? Did you notice that I already covered the "some but not all" part? Are you scared of arguing within the boundaries of a thread? Think that jumping in random directions will give you advantages?

"Such a tester would just use a bit of clever source code to identify a huge number of 74xx chips." Notice the "huge number of"?

"The scope I was discussing was autodetection of most logic chips in the 74xx and 4xxx families, [...]" Notice the "most" and not "all" in the sentence?

"As noted earlier, the 74xx and 4xxx families have a huge number of chips. But most of them are very uncommon, so it might be meaningful to create an IC tester that has some limitations for more uncommon chips." Noticed the "some limitations" part?

"So the outcome would not be a 200 individual sets of test vectors but instead an optimized tree where the outcome of each test vector selects which subtree to continue with until finally ending with zero, one or multiple matching chips." Notice the "zero, one or multiple matching chips"?

"Multiple matching chips is possible if the hardware isn't able to separate some parameter between two chips. Such as a 4xxx chip with identical logic function and pinout as a 74xx chip and the hw or test vectors don't support the testing for existence of schmitt-trigger inputs or approximate input logic levels or the voltages of logic-high/logic-low of outputs." Noticed the "isn't able to separate" part?

But let's go ahead. The logic table for the 85L54 chip isn't too hard to process. And tristated outputs can be detected - as covered in my previous posts - by driving the pins with weak pull-up or pull-down and see the result. Same logic as for detecting that inputs are "not outputs".

Richard said:
How and where would you apply the "square wave" and at what rate?

Having decided that it looks like a 85x54, I can clear the latched values in the chip. Then drive OD1, OD2, CLEAR low and PRESET high. Input a 1MHz square wave on TE. According to the truth table, a low on TE should emit the latch values (which I did clear earlier) on the outputs. Driving TE high should force all outputs high.

The datasheet claims 26-50ns propagation delay for 8554 and 90-160ns propagation delay for 85L54.

1MHz symmetric square wave means 500ns half-periods, so an XOR phase detector would have 0-500ns measurement range for 1MHz square wave.

There is a bit of measurement errors from rise and fall times of tested chip and the XOR gate, capacitances in signal traces, ... but a phase detector would still be able to do a decent job of measuring the delay. Going 2MHz would give 0 to 250ns full range if I worry about maximizing my measurement range. The L version has typical clock frequency of 11MHz so nothing strange to play with 1 or 2MHz on TE.

Richard said:
I'd be interested to see how you'd exercise an unknown device and how you would, with this XOR-gate method, exercise a 74AHCT193.

There is simply no way you can have found any part of my previous texts claiming the use of any XOR logic for testing the truth table of a 74193. I have very clearly mentioned the use of a phase detector for checking delays to try to decide on chip family after the base model is known.

The 74193 has a logic table just like most other chips. It may - or may not result in collisions with other chips in the rule database. Already covered.

But let's say the database doesn't give any collisions. What's magic about a 74AHCT193? That is may not show up in the surplus stores in some parts of the world? Or that it is one more chip with very few datasheet links, and selected by you because you just are A.N.T.I. everything?

Anyway - it does have outputs that can be directly affected by inputs and with timing values specified. In this case the signal /PL - parallell load - loads the counter with Dx and outputs the data on Qx. Propagation for Dn to Qn is a defined parameter for '193 chips. How easy is it to separate the full set of families are a separate issue with one important factor? If you need a HCT and the logic tester fails to separate a AHCT from a HCT then you should be fine with using that AHCT chip in your design even if you didn't know about the "advanced" character in the name.

Anyway - already covered in:
"Someone who wants to make a really cool tester could add a high-frequency oscillator allowing a square wave to be sent through a gate and mixing it using an XOR gate with undelayed square wave data. Combining the two signals and low-pass-filter the result would give an analog value that depends on gate delay times allowing a tester to make guesses between 7400, 74LS00, 74ALS00, 74HC00."

Richard said:
A schematic would be helpful, just so we all know what you're doing and how.

In your 25+ years, you haven't picked up on XOR-based phase detectors? Or didn't realized that even if the XOR has propagation delays, an extra delay on one of the inputs do affect the timing on the output?

Try google and "images" and search for "xor phase detector". I'll think you'll get the idea. If not, then I think we have to do the tutoring part offline to not waste too much bandwidth in this thread.

Richard said:
When you've done that, please tell us how you'd extend that to check an unknown device.

Why should I? If you want to design a device to check an unknown device, please go ahead. Please check any random microcontroller with any random firmware or any CPLD or FPGA with unknown contents. Have fun. No one in this thread has claimed you can detect anything. You would also know that, if you did read the thread posts. I even mentioned that in some situations the user may have to decide manually what pins are VCC and GND since there exists logic chips with where the power isn't in the diagonal corners, and it may not be safe to try to auto-detect where to feed them. So a design may be able to autodetect "normal" chips while perform basic-level pass/fail testing of some additional chips after manual supervision.

But you are basically practicing your basic hobby - makign wild statements or trying to switch the focus in random directions when you get into troubles with your debating or you just don't like a solution or idea.

And your other basic hobby is to try to request others to do work to prove their claims. But you never do the same - posting proofs of your own claims. We still haven't seen you do your homework and respond with reasonable examples for your claim:
Richard said:
They've made every device attached to the computer, aside from serial ports, look like a file device, so whatever is attached to a computer is infected with any and all evils that reside on that computer within 100 ms.

http://www.8052.com/forum/read/178732

Most probably we will never see any, since you aren't interested in investing time just to find out that the evidence out there claims you wrong.

List of 103 messages in thread
TopicAuthorDate
Very nice for third countries but...            01/01/70 00:00      
   My Advice            01/01/70 00:00      
   Today's top award for Stating The Blindingly Obvious...            01/01/70 00:00      
   Doesn't make sense            01/01/70 00:00      
      A microcontroller is a nice logic-chip tester            01/01/70 00:00      
         device in question is not for identifying unknown chips            01/01/70 00:00      
            Wasn't talking about linked device            01/01/70 00:00      
         IC logic still popular here(used)            01/01/70 00:00      
            sure, but            01/01/70 00:00      
               sure, but, but            01/01/70 00:00      
                  sure, but, but, but            01/01/70 00:00      
            Limitations            01/01/70 00:00      
               Areas of Doubt and Uncertainty            01/01/70 00:00      
                  I can imagine one case            01/01/70 00:00      
                     That would have different pinout            01/01/70 00:00      
                     what is all this about identifying chips            01/01/70 00:00      
                        See Richard's post            01/01/70 00:00      
                  Brute Force - The IC pins would curl up before finish            01/01/70 00:00      
                     Actually not too ahrd/expensive to detect chips            01/01/70 00:00      
                        But            01/01/70 00:00      
                           Of course            01/01/70 00:00      
                              Again, it depends on your goals            01/01/70 00:00      
                                 Scope of project is important            01/01/70 00:00      
   It's more interesting            01/01/70 00:00      
   both of my old portable programmers do this            01/01/70 00:00      
      Is there codes?            01/01/70 00:00      
         What, exactly, are you looking for?            01/01/70 00:00      
            unknown is hard....known is easy?            01/01/70 00:00      
               it's possible, but not reliable to check for unknowns            01/01/70 00:00      
                  xeltex superpro            01/01/70 00:00      
                     be careful ... that was several revisions ago ...            01/01/70 00:00      
               RE: known IC logic for test is easy?            01/01/70 00:00      
                  unknown....            01/01/70 00:00      
                     Pardon??            01/01/70 00:00      
                     IF you can't recognize the part, THEN discard it!            01/01/70 00:00      
                     The most likely reason you'd want to do that ...            01/01/70 00:00      
         The code was compiled and in a library            01/01/70 00:00      
            Place..The code was compiled and in a library            01/01/70 00:00      
               Will that help?            01/01/70 00:00      
                  in the future...            01/01/70 00:00      
                     It's just a small-C compiler with intrinsics for SuperPro            01/01/70 00:00      
                        help??            01/01/70 00:00      
                           Can't you just go from first principles?            01/01/70 00:00      
                           If you want that software, you should contact XELTEK            01/01/70 00:00      
                               The code was compiled and in a library???            01/01/70 00:00      
                                 Well, obvisouly!            01/01/70 00:00      
                                 The hardware for this sort of thing is not rocket science            01/01/70 00:00      
                                    library binary            01/01/70 00:00      
                                       I can't purchase the expensive SuperPro            01/01/70 00:00      
                                          homemade            01/01/70 00:00      
                                             this makes no sense            01/01/70 00:00      
                                                missing??            01/01/70 00:00      
                                                   no, I am not            01/01/70 00:00      
                                                      not so fast ...            01/01/70 00:00      
                                                         while all that is valid - to an extent            01/01/70 00:00      
                                                            kitchen table...            01/01/70 00:00      
                                                               Kitchen-table = home built with lacking tools/knowledge            01/01/70 00:00      
                                                                  understand....            01/01/70 00:00      
                                                         Can often be solder problems            01/01/70 00:00      
                                                      multiply            01/01/70 00:00      
                                                         if you use that many ....            01/01/70 00:00      
                                                            work's            01/01/70 00:00      
                                                               because            01/01/70 00:00      
                                                                  You're right in large part, but ...            01/01/70 00:00      
                                                                     did NOT bring this up for any other reason            01/01/70 00:00      
                                                                  back...            01/01/70 00:00      
                                                                     Can have uC or PC as master - just different advantages            01/01/70 00:00      
                                                                        You'll need lots of storage.            01/01/70 00:00      
                                                                           For what?            01/01/70 00:00      
                                                                              You need storage for the 250K test vector sets            01/01/70 00:00      
                                                                     Yes, you have to do the work            01/01/70 00:00      
                                                               "works (sic) flawlessly (sic)"            01/01/70 00:00      
                                                               You haven't the means to determine that it works flawlessly            01/01/70 00:00      
                                                                  XOR normally easier than trying high-end drive + sampling            01/01/70 00:00      
                                                                     That does work if you have one functional part for "seed"            01/01/70 00:00      
                                                                        Can perform time calibrations without specific seed            01/01/70 00:00      
                                                                           None of this works with just an XOR            01/01/70 00:00      
                                                                              Just an XOR?            01/01/70 00:00      
                                                                           These assertions look entirely wrong to me.            01/01/70 00:00      
                                                                              Read up on phase detectors and separate from lgic detect            01/01/70 00:00      
                                                                                 Yes, I know about phase detectors, and in this case...            01/01/70 00:00      
                                                                                    Learn, and it will not be irrelevant anymoer            01/01/70 00:00      
                                                                                       This stuff is still irrelevant until you know the type            01/01/70 00:00      
                                                                                          And the type covered again and again            01/01/70 00:00      
                                                                                             For the purposes described by the O/P it's not relevant            01/01/70 00:00      
                                                                                                Already covered            01/01/70 00:00      
                                                                                                   Until you have a way of ascertaining the ins and outs ...            01/01/70 00:00      
                                                                                                      Obvious, but _you_ singled out propagation delay            01/01/70 00:00      
                                                                                                         various but still MCS-51            01/01/70 00:00      
                                                                                                            Difference hobby or commercial use            01/01/70 00:00      
                                                                                                               you caught a VERY important issue - and did not know            01/01/70 00:00      
                                                                                 avoid kicthen table            01/01/70 00:00      
                                                               there is no way in hades ....            01/01/70 00:00      
                                                                  Not even commercial testers are really commercial grade            01/01/70 00:00      
                                                                     emphasizing the above good post            01/01/70 00:00      
                                                                     I'd guess the application is a bit different            01/01/70 00:00      
                                                                        ah ...            01/01/70 00:00      
                                                                           Yes ...            01/01/70 00:00      
                                       It's always a tradeoff between time and money            01/01/70 00:00      
                                          e-bay??            01/01/70 00:00      
                                             If you find one and buy it ...            01/01/70 00:00      
   If you REALLY want one of these ... but one that works ...            01/01/70 00:00      
   not a defective chip, but ...            01/01/70 00:00      

Back to Subject List