Board logo

标题: Auto Find - How it works? [打印本页]

作者: yovish    时间: 2021-8-9 15:36     标题: Auto Find - How it works?

I have noticed that the "Auto Find" IC search procedure in the logic tests probably does not check all lines of the logic vector.
How many lines of a vector are checked or how is it checked if a given vector fits into an integrated circuit?
作者: admin    时间: 2021-8-10 16:38

回复 1# yovish

1. check how many pins of the chips.
2. check all lines
作者: yovish    时间: 2021-8-11 04:31

1. check how many pins of the chips.
2. check all lines
admin 发表于 2021-8-10 16:38


This is probably not entirely true. While testing the "Auto Find" function on all ICs I have, I noticed that it is impossible to find the 7491 chip. Manually searching for an IC and running a logic test gives the correct result, but this chip is not found automatically.
The answer may be the construction of a logic vector, because in this vector, logic states at the outputs of the integrated circuit are checked only from 8 lines.
If all lines were checked, the IC would be detected.

图片附件: 7491 - Auto Find.jpg (2021-8-11 04:30, 237.15 KB) / 下载次数 10174
http://forums.xgecu.com/attachment.php?aid=871&k=0d32ced4ced8f0187a74ced4b173f153&t=1713902096&sid=9in1OI



图片附件: 7491 - Manual Find.jpg (2021-8-11 04:31, 303.29 KB) / 下载次数 10134
http://forums.xgecu.com/attachment.php?aid=872&k=f7c3caa2d820a6a50989e7df2029b0cd&t=1713902096&sid=9in1OI



图片附件: 7491 - Logic Test.jpg (2021-8-11 04:31, 304.8 KB) / 下载次数 10145
http://forums.xgecu.com/attachment.php?aid=873&k=e2d623da6bd26a0b87839b7261974263&t=1713902096&sid=9in1OI


作者: admin    时间: 2021-8-11 07:35

回复 3# yovish

I did not have this chip for testing.
Did you test with actual 7491 chips?
If you use GAL to test, because the number of pins is different, so that the chip cannot be automatically identified
作者: yovish    时间: 2021-8-12 15:26

回复 4# admin

I performed the tests on a real M74LS91P integrated circuit from Mitsubishi.
I do not understand what effect on the IC search algorithm, since the number of pins and all vector lines are checked, and the programmed GAL is a shuffle digital circuit like others, a combination of logic gates. The "Auto Find" algorithm must contain some additional conditions by which it does not check all lines of the logic vector, because if it checked all lines, it would find this system.

One of the GAL system tests is attached.

图片附件: M74LS91P.jpg (2021-8-12 15:26, 662.08 KB) / 下载次数 10539
http://forums.xgecu.com/attachment.php?aid=875&k=481c14a9d643dd59f38e831eecde3bef&t=1713902096&sid=9in1OI



图片附件: GAL Test.jpg (2021-8-12 15:26, 303.6 KB) / 下载次数 10171
http://forums.xgecu.com/attachment.php?aid=876&k=6b09cb20d9637a7b947916b012ea6490&t=1713902096&sid=9in1OI


作者: admin    时间: 2021-8-12 16:13

回复 5# yovish
all first vector line should be reset(if possible).
this is a  8 bits shift register . but no reset pins.The initial value may be wrong when searching.

so:
data inputs=0.   reset rigister  with 8 clks line
then  Starting  test.
作者: yovish    时间: 2021-8-12 21:41

回复 6# admin

This registry has no clear or reset input. First, you must give some input signals 8 times to be able to start reading and checking these logical values from the 9th line.
Some values must be given for the inputs and it does not matter whether we give only logical zeros or ones, or maybe other values, because you can start reading only from 9 lines.
You might think that after switching the system on, the register will only have logical zero values, but the R-S flip-flops may have random values after applying the power.
But the XGecu TL866+ programmer always performs IC testing twice, so you cannot be sure of the initial values of this register.

图片附件: 7491 Logic.jpg (2021-8-12 21:40, 602.75 KB) / 下载次数 10385
http://forums.xgecu.com/attachment.php?aid=877&k=c1d7af7facbb6dc5abed507f06a1e9f0&t=1713902096&sid=9in1OI



附件: 74LS91.pdf (2021-8-12 21:40, 220.01 KB) / 下载次数 6051
http://forums.xgecu.com/attachment.php?aid=878&k=9ec865dade3433ae4c0b6f16fe23f2ea&t=1713902096&sid=9in1OI
作者: admin    时间: 2021-8-13 09:36

回复 7# yovish

I mean  that your vector table should have 16 rows, the first 8 items set the initial value, the output result ignore(x), and the next 8 rows starting test the output results.
作者: yovish    时间: 2021-8-13 22:59

回复 8# admin

In my opinion, this test is done optimally. It is divided into 3 sections:
1. Lines 1-8 enter data into the register, do not check any states on the outputs.
2. Lines 9-16 check previously entered data and enter new data.
3. Lines 17-24 check that the data input on lines 9-16 has not been disturbed by running the input data and checking the output data.

Yes, you can skip lines 17-24, but then the test would not be complete. In this register it is not possible to check the current state of saved data, most of the flip-flops are unavailable (inside the register). It is therefore important to check all possible interactions and disturbances between the internal elements.
That's it for the description of this logic test.

However, we still don't know why "Auto Find" doesn't check all lines of this test.
If possible, please take a look at this function, maybe there are some conditional statements or some other program elements that don't want to check the whole of the vector.
作者: admin    时间: 2021-8-14 08:32

回复 9# yovish

I know the reason that it can’t be automatically identified
Because this chip is actually as shown in the figure below, these two pins are not used (NC). During the automatic find, check the number of pins. This chip is set to 14-pin in software, but it is detected that this chip is 12-pins, Only 12-pin chips will be tested in the software, so it cannot be recognized.
7491.png

If you want to be able to identified automatically, the vector table is made by the 12-pins chip

This is a very special type
I will modify this vector table to make it be recognizable.

图片附件: 7491.png (2021-8-14 08:32, 67.41 KB) / 下载次数 10015
http://forums.xgecu.com/attachment.php?aid=880&k=0adb3d88f6b6dbd762d74f1608b63767&t=1713902096&sid=9in1OI


作者: yovish    时间: 2021-8-14 16:31

回复 10# admin

Yes, that was the problem. It was solved. Thank you very much for help.

Below I am adding a vector for the logical tests of the 7491 chip in a 12-pin version. The "Auto Find" function now detects this IC without problems.

图片附件: 7491 12pins - Logic Vector.jpg (2021-8-14 16:30, 358.03 KB) / 下载次数 10057
http://forums.xgecu.com/attachment.php?aid=882&k=97c41d86d58a5fe9f34859ad4e79713f&t=1713902096&sid=9in1OI



图片附件: 7491 12pins - Logic Test.jpg (2021-8-14 16:30, 304.64 KB) / 下载次数 10018
http://forums.xgecu.com/attachment.php?aid=883&k=aad89f926b621836fb22b7b04c822544&t=1713902096&sid=9in1OI



图片附件: 7491 12pins - Auto Find.jpg (2021-8-14 16:31, 235.9 KB) / 下载次数 10032
http://forums.xgecu.com/attachment.php?aid=884&k=05cb5b7acdd1b1a51b12375ed723c2eb&t=1713902096&sid=9in1OI



附件: 7491 12pins.lgc (2021-8-14 16:31, 2.62 KB) / 下载次数 25655
http://forums.xgecu.com/attachment.php?aid=885&k=ddea479877928a6a6ff0855a73822995&t=1713902096&sid=9in1OI




欢迎光临 XGecu Programmer Forums (http://forums.xgecu.com/) Powered by Discuz! 7.2