Interface module, chip reading and writing method and device
By designing the interface module in which the probe matrix is divided into multiple probe groups, the problem of a wide variety of communication interfaces is solved, the convenience of use of the universal interface and the simplification of the control circuit are achieved, and it is suitable for different types of chips.
Patent Information
- Application Number
- CN202210205753.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-25
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-02-25
AI Technical Summary
There are many types of communication interfaces in the existing technology, which causes users to choose interfaces when using them, which is inconvenient to use, low in efficiency, and high in maintenance costs.
Design an interface module, including a probe matrix. The probe matrix is divided into multiple probe groups. Each probe group corresponds to a signal transmission channel. The appropriate probe group is selected for signal transmission through the control circuit. It is suitable for different types of probes. The chip implements a universal interface.
It realizes the versatility of the interface module, is easy to use, simplifies the control circuit, is suitable for different types of chips, and is compatible with chips of different contact sizes.
Smart Images

Figure CN114594917B
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to an interface module, a chip reading and writing method and a device. Background Art
[0002] With the development of imaging technology, printing devices such as laser printers and inkjet printers have been widely used. During the imaging process, the printing device needs the assistance of the imaging auxiliary information of the consumable box to complete the imaging process. In addition to being recorded in the printing device, the imaging auxiliary information of the printing device is also recorded on the consumable chip. The consumable chip mainly plays the role of identity identification and providing the consumable usage status. When the consumable usage recorded in the consumable chip reaches a certain value, the printing device prompts that the consumable box needs to be replaced, and the user needs to purchase a new consumable box to replace the used consumable box. Because the consumable usage recorded in the consumable chip has reached a certain value, the used imaging box cannot be used even if it is filled with ink or toner, which causes a lot of waste.
[0003] To solve the above problem, the consumables box can be reused by resetting the consumables chip. Since different types of consumables chips have different contact positions or contact numbers, different communication interfaces need to be configured for different types of consumables chips. When using, select the corresponding communication interface according to the type of chip, align the probe of the communication interface with the contact of the chip, and perform read and write operations on the chip.
[0004] However, there are many types of communication interfaces, which requires users to select the communication interface when using it, which is inconvenient and inefficient. In addition, many types of communication interfaces are difficult to maintain, which increases costs. Summary of the invention
[0005] The present application provides an interface module, a chip reading and writing method and device, so as to solve the problem in the prior art that there are many types of communication interfaces, which causes users to select the communication interface when using it, which is inconvenient to use and has low efficiency.
[0006] In a first aspect, an embodiment of the present application provides an interface module, including:
[0007] A probe matrix, wherein the probe matrix includes at least two probe groups, each of the probe groups corresponds to a signal transmission channel, each of the probe groups includes at least two probes, and the adjacent probes of any one of the probes include at least one probe of another probe group.
[0008] In a possible implementation manner, the probes in the same probe group are arranged at intervals in the horizontal direction and / or vertical direction of the probe matrix.
[0009] In a possible implementation manner, the probes in the same probe group are continuously arranged in the tilt direction of the probe matrix.
[0010] In a possible implementation, the probe matrix includes a probe-dense region and a probe-sparse region, and the probe arrangement density of the probe-dense region is greater than the probe arrangement density of the probe-sparse region.
[0011] In a second aspect, an embodiment of the present application provides a chip reading and writing method, which is applied to the interface module described in any one of the first aspects, and the method includes:
[0012] Covering the contacts of the chip with a probe matrix to achieve electrical connection between the contacts of the chip and the probes of the probe matrix;
[0013] Identify an electrical connection probe corresponding to each of the contacts, where the electrical connection probe is a probe electrically connected to the contacts, and each of the contacts corresponds to at least one electrical connection probe;
[0014] Determining, according to the signal transmission channel corresponding to the electrical connection probe, a signal transmission probe corresponding to each contact in the electrical connection probe, wherein the signal transmission channels of the signal transmission probes corresponding to any two contacts are different;
[0015] Selecting and connecting the signal transmission probes in each of the probe groups so that the signal transmission probes can transmit signals;
[0016] identifying a definition of each of said contacts;
[0017] According to the definition of each of the contacts, a signal transmission type of each of the signal transmission probes is selected, wherein the definition of the contacts matches the signal transmission type of the corresponding signal transmission probe;
[0018] The chip is read and written through the signal transmission probe.
[0019] In a possible implementation, the identifying the electrical connection probe corresponding to each of the contacts includes traversing the probes in the probe matrix using the following method:
[0020] Select the target probe;
[0021] Short-circuiting the target probe with each adjacent probe in turn to determine whether the target probe is short-circuited with the adjacent probe;
[0022] All adjacent probes that are short-circuited with each other are used as electrical connection probes corresponding to one contact point.
[0023] In a possible implementation, short-circuiting the target probe with each adjacent probe in turn to determine whether the target probe and the adjacent probe are short-circuited, includes: short-circuiting the target probe with each adjacent probe in turn, respectively, forward and reversely, to determine whether the target probe and the adjacent probe are short-circuited in both forward and reverse short-circuits;
[0024] Taking all adjacent probes that are short-circuited with each other as an electrical connection probe corresponding to the contact point includes: taking all adjacent probes that are short-circuited with each other in both forward and reverse directions as an electrical connection probe corresponding to the contact point.
[0025] In a possible implementation manner, identifying the definition of each of the touch points includes:
[0026] According to the control relationship and / or position relationship between the contacts, the definition of each contact is identified.
[0027] In a possible implementation, identifying the definition of each of the contacts according to the control relationship and / or position relationship between the contacts includes:
[0028] identifying a definition of at least one contact point according to a control relationship between the contacts;
[0029] According to the definition of the at least one contact point and the positional relationship between the remaining contacts and the at least one contact point, the definition of each of the remaining contacts is identified.
[0030] In a possible implementation, identifying the definition of each of the contacts according to the control relationship and / or position relationship between the contacts includes:
[0031] identifying a definition of at least one contact point according to a control relationship between the contacts;
[0032] The communication results with the chip under different arrangement and combination relationships between the remaining contacts and the definitions of the remaining contacts are traversed to determine the definition of each contact in the remaining contacts.
[0033] In a possible implementation, traversing the remaining contacts and the remaining contact definitions in different permutations and combinations, and determining the definition of each of the remaining contacts based on the communication results with the chip, includes:
[0034] Select the target permutation and combination relationship between the remaining contacts and the remaining contacts;
[0035] Sending test information to the chip according to the definition of the remaining contacts corresponding to the target permutation and combination relationship;
[0036] If the response information fed back by the chip is received, the definition of the remaining contacts corresponding to the target arrangement and combination relationship is determined as the definition of the remaining contacts.
[0037] In a possible implementation, the chip includes four contacts, namely a high-level signal contact, a data signal contact, a clock signal contact, and a ground signal contact, the high-level signal contact is electrically connected to the data signal contact, the clock signal contact, and the ground signal contact through a first diode, a second diode, and a third diode, respectively, and cathodes of the first diode, the second diode, and the third diode are all connected to the high-level signal contact;
[0038] The identifying the definition of at least one contact point according to the control relationship between the contacts includes: detecting the direction of a diode between any two of the four contacts; and determining the high-level signal contact among the four contacts according to the direction of the diode.
[0039] In a possible implementation, the chip includes four contacts, namely a high-level signal contact, a data signal contact, a clock signal contact, and a ground signal contact. The high-level signal contact is electrically connected to the data signal contact, the clock signal contact, and the ground signal contact through a first diode, a second diode, and a third diode, respectively, and the cathodes of the first diode, the second diode, and the third diode are all connected to the high-level signal contact; the ground signal contact is electrically connected to the data signal contact and the clock signal contact through a fourth diode and a fifth diode, respectively, and the anodes of the fourth diode and the fifth diode are both connected to the ground signal contact;
[0040] The identifying of the definition of at least one contact according to the control relationship between the contacts includes: detecting the direction of the diode between any two contacts among the four contacts; and determining the high-level signal contact and the ground signal contact among the four contacts according to the direction of the diode.
[0041] In a third aspect, an embodiment of the present application provides a chip reading and writing device, including:
[0042] The interface module according to any one of the first aspects;
[0043] A control module is used to identify the electrical connection probe corresponding to each contact after the probe matrix covers the contacts of the chip, wherein the electrical connection probe is a probe electrically connected to the contact, and each contact corresponds to at least one electrical connection probe; according to the signal transmission channel corresponding to the electrical connection probe, determine the signal transmission probe corresponding to each contact in the electrical connection probe, wherein the signal transmission channels of the signal transmission probes corresponding to any two contacts are different;
[0044] A first switch module, used for selecting and connecting the signal transmission probes in each of the probe groups so that the signal transmission probes can transmit signals;
[0045] The control module is further used to identify the definition of each of the contacts;
[0046] A second switch module, used for selecting a signal transmission type of each of the signal transmission probes according to a definition of each of the contact points, wherein the definition of the contact points matches the signal transmission type of the corresponding signal transmission probe;
[0047] The control module is also used to read and write the chip through the signal transmission probe.
[0048] The technical solution provided by the embodiments of the present application has the following advantages:
[0049] 1. The interface module is a universal interface that can be applied to different types of chips and is easy to use;
[0050] 2. Divide the probes in the probe matrix into multiple probe groups to make the control circuit simpler;
[0051] 3. The probe matrix includes probe-dense areas and probe-sparse areas to achieve compatibility with chips with different contact sizes. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0053] Figure 1 A schematic diagram of the structure of an interface module provided in an embodiment of the present application;
[0054] Figure 2 A schematic diagram of the connection status between an interface module and a chip provided in an embodiment of the present application;
[0055] Figure 3 A schematic diagram of the connection status between another interface module and a chip provided in an embodiment of the present application;
[0056] Figure 4 A schematic diagram of the connection status between another interface module and a chip provided in an embodiment of the present application;
[0057] Figure 5 Provided in the embodiments of this application Figure 1 Schematic diagram of the probe matrix shown;
[0058] Figure 6 A schematic diagram of an arrangement of a probe group in a probe matrix provided in an embodiment of the present application;
[0059] Figure 7 A structural block diagram of a chip reading and writing device provided in an embodiment of the present application;
[0060] Figure 8 A schematic diagram of a chip reading and writing method provided in an embodiment of the present application;
[0061] Fig. 9 A schematic diagram of an identification process of an electrical connection probe provided in an embodiment of the present application;
[0062] Fig.10 A schematic diagram of the circuit structure of a chip provided in an embodiment of the present application;
[0063] Fig.11 A schematic diagram of the circuit structure of another chip provided in an embodiment of the present application. DETAILED DESCRIPTION
[0064] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0065] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0066] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0067] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0068] In the prior art, it is necessary to configure different communication interfaces for different types of chips, resulting in a large number of communication interface types. Users need to select the communication interface when using it, which is inconvenient to use and has low efficiency. In response to this problem, the embodiment of the present application provides a universal interface module, that is, through the interface module, it can communicate and connect with a variety of different types of chips, and then realize the reading and writing of the chip. Among them, the different types of chips involved in the embodiment of the present application refer to the number, type (definition of contacts) or arrangement of the chip contacts, and the contact refers to the communication connection point. The number, type or arrangement of contacts are usually related to the communication protocol. For example, in an IIC chip (a chip based on the IIC communication protocol), it usually includes a high-level signal VCC contact, a data signal SDA contact, a clock signal CLK contact and a ground signal GND contact. Of course, the technical solution provided in the embodiment of the present application can also be applied to other types of chips, and the embodiment of the present application does not specifically limit this.
[0069] See also Figure 1 , is a schematic diagram of the structure of an interface module provided in an embodiment of the present application. Figure 1 As shown, the interface module includes a probe matrix consisting of 40 probes. Of course, those skilled in the art can set other numbers of probes in the probe matrix according to actual needs, and the embodiment of the present application does not specifically limit this. When it is necessary to read and write the chip, the chip can be coupled to the probe matrix to achieve electrical connection between the contacts and the probes, and then signal transmission can be performed through the probes electrically connected to the contacts.
[0070] Specifically, the above-mentioned “contact is electrically connected to the probe” means that the contact is electrically connected to some of the probes in the probe matrix. Figure 1 The 40 probes are numbered 1 to 40. Figure 2 , is a schematic diagram of the connection status between an interface module and a chip provided in an embodiment of the present application. Figure 2 The chip shown in FIG. 1 includes four contacts (the shape and size of the contacts are as follows Figure 2 ), which are contact 1, contact 2, contact 3 and contact 4. Contact 1 is electrically connected to probe 19, probe 35, probe 37 and probe 14; contact 2 is electrically connected to probe 12 and probe 30; contact 3 is electrically connected to probe 28, probe 5, probe 7 and probe 25; contact 4 is electrically connected to probe 23 and probe 4.
[0071] It is understandable that the probe matrix provided in the embodiment of the present application can be applied to chips with different contact numbers or arrangements, that is, the probe matrix is universal. Figure 3 In the connection state shown, the chip includes 2 contacts (the shape and size of the contacts are as shown in Figure 3As shown in the bold box in FIG. 1 , they are contact 1 and contact 2. Contact 1 is electrically connected to probe 33 and probe 12; contact 2 is electrically connected to probe 10, probe 26, probe 28 and probe 5. For another example, Figure 4 In the connection state shown, the chip includes 4 contacts (the shape and size of the contacts are as shown in Figure 4 The relative position relationship of the four contacts is as shown in the thick line frame in Figure 2 The relative position relationship of the four contacts is different. Among them, contact 1 is electrically connected to probe 19, probe 35, probe 37 and probe 14; contact 2 is electrically connected to probe 33 and probe 12; contact 3 is electrically connected to probe 10, probe 26, probe 28 and probe 5; contact 4 is electrically connected to probe 23 and probe 4.
[0072] After completing the physical connection between the probe and the chip, the probe electrically connected to the contact can be used to communicate with the chip. Usually, different contacts of the chip have different definitions to achieve the transmission of different signals. Figure 2 For example, if contact 1, contact 2, contact 3 and contact 4 are used to transmit high-level signal VCC, data signal SDA, clock signal CLK and ground signal GND respectively. Accordingly, during the communication process, the high-level signal VCC can be transmitted through probe 19, probe 35, probe 37 or probe 14 electrically connected to contact 1; the data signal SDA can be transmitted through probe 12 or probe 30 electrically connected to contact 1; the clock signal CLK can be transmitted through probe 28, probe 5, probe 7 or probe 25 electrically connected to contact 3; and the ground signal GND can be transmitted through probe 23 or probe 4 electrically connected to contact 4.
[0073] That is, the signal transmission type of the probe can be controlled. In one possible implementation, each probe can be controlled by a switch circuit to achieve the transmission of any type of signal. Figure 1 The 40 probes in the apparatus can control any one of the probes to achieve the transmission of the high level signal VCC, the data signal SDA, the clock signal CLK or the ground signal GND. However, this control method will make the control circuit more complicated.
[0074] To address this problem, an embodiment of the present application divides the probes in the probe matrix into multiple probe groups, where each probe group corresponds to a signal transmission channel, and a control circuit controls a certain probe in the probe group to perform signal transmission. Normally, the control circuit can control any one or more probes in the probe group to perform signal transmission.
[0075] See also Figure 5 , provided in the embodiments of this application Figure 1 The schematic diagram of the probe array is shown in Figure 2. Figure 5In the figure, T11_0~T11_7 is a probe group, which corresponds to probes 1, 3, 5, 7, 9, 11, 13, and 15. By analogy, the 40 probes are divided into 5 probe groups. An 8-to-1 analog switch is configured for each probe group to select the probes used for communication in the probe group, that is, to realize the function of 5-way control of 40-way. Of course, in addition to configuring an 8-to-1 analog switch, an 8-to-many analog switch can also be configured, that is, multiple probes for communication can be selected at the same time, and the embodiment of the present application does not impose specific restrictions on this. It should be pointed out that since one probe group corresponds to one signal transmission channel, when multiple probes for communication are selected, the types of transmission signals corresponding to the multiple probes for communication are the same.
[0076] In addition, each probe should be able to output any type of signal. Therefore, it is necessary to add an analog switch to each probe group to select the type of transmission signal. For example, the types of signals include high-level signal VCC, data signal SDA, clock signal CLK, ground signal GND and test signal TEST / low-level signal VDD. In this implementation, a 5-to-1 analog switch can be added to select the type of the 5 signals. It can be understood that in the above implementation, any probe can be controlled by 10 analog switches to realize any type of signal transmission. On the contrary, if the probes are not grouped and each probe is controlled separately, 40 analog switches are required, resulting in a more complicated control circuit.
[0077] According to the above-mentioned setting method of the probe group, one probe group corresponds to one signal transmission channel, and at the same time, one signal transmission channel is used to transmit one type of signal. In order to facilitate the flexible configuration of the transmission signal, the probes of the same probe group should be arranged at intervals in the probe matrix as much as possible to avoid that more than two contacts only cover the range corresponding to the same probe group. Specifically, the adjacent probes of any probe include at least one probe of another probe group.
[0078] See also Figure 6 , is a schematic diagram of the arrangement of a probe group in a probe matrix provided in an embodiment of the present application. Figure 6As shown, in an embodiment of the present application, the probes in the probe group are arranged obliquely in the probe matrix. Through this arrangement, the probes in the same probe group are arranged at intervals in the horizontal and vertical directions of the probe matrix to avoid more than two contacts covering only the range corresponding to the same probe group. Specifically, in an embodiment of the present application, contact 1 covers the range corresponding to probe group 2, probe group 3, and probe group 4; contact 2 covers the range corresponding to probe group 4 and probe group 5; contact 3 covers the range corresponding to probe group 5, probe group 1, and probe group 2; contact 4 covers the range corresponding to probe group 2 and probe group 3. Through the correspondence between the contacts and the probe groups, the flexible configuration of the transmission signal can be facilitated. On the contrary, if probes 19, 35, 37, 14, 12, and 30 belong to the same probe group, that is, belong to a signal transmission channel, only one probe or several probes can be selected from probes 19, 35, 37, 14, 12, and 30 to transmit the same type of signal. And contacts 1 and 2 obviously need to transmit different types of signals, resulting in the inability to communicate with the chip.
[0079] It should be pointed out that Figure 6 This is only one possible arrangement of the probe groups listed in the embodiment of the present application, and those skilled in the art can adjust it according to actual needs. For example, the probes of the same probe group are spaced only in the horizontal direction; or the probes of the same probe group are spaced only in the vertical direction, etc., and the embodiment of the present application does not make specific restrictions on this.
[0080] In a specific application scenario, the size of the chip contacts may be different. In order to be applicable to contacts of different sizes, the probe matrix provided in the embodiment of the present application includes a probe-dense area and a probe-sparse area, such as Figure 1-Figure 4 As shown. The probe arrangement density in the probe-dense area is greater than the probe arrangement density in the probe-sparse area. When the chip contacts are large, the probe-sparse area of the probe matrix can cover the chip contacts, and the probes in the probe-sparse area can communicate with the chip; when the chip contacts are small, the probe-dense area of the probe matrix can cover the chip contacts, and the probes in the probe-dense area can communicate with the chip, thereby achieving compatibility with chips of different contact sizes.
[0081] Based on the above interface module, an embodiment of the present application also provides a chip reading and writing device.
[0082] See also Figure 7 , is a structural block diagram of a chip reading and writing device provided in an embodiment of the present application. Figure 7As shown, the chip reading and writing device includes a control module, a first switch module, a second switch module and the interface module described in the above embodiment. Among them, the control module is used to realize the control function in the chip reading and writing process, which is described in detail in conjunction with the method embodiment below; the first switch module is used to select the signal transmission probe in each probe group, that is, to connect the signal transmission probe with the control module so that the signal transmission probe can transmit the signal; the second switch module is used to select the signal transmission type of each signal transmission probe, that is, to determine which type of signal transmission probe each signal transmission probe is, so as to correspond to the corresponding contact; the interface module can refer to the description of the above embodiment, and for the sake of surface simplicity, it will not be repeated here.
[0083] See also Figure 8 , is a flow chart of a chip reading and writing method provided in an embodiment of the present application. The method is based on the interface module in the above embodiment, such as Figure 8 As shown, it mainly includes the following steps.
[0084] Step S801: Cover the contacts of the chip with a probe matrix to achieve electrical connection between the contacts of the chip and the probes of the probe matrix.
[0085] Specifically, when it is necessary to communicate with the chip (for example, to burn or reset the chip), the probe matrix can be covered on the contacts of the chip so that the contacts of the chip are electrically connected to the probes of the probe matrix. It can be understood that the electrical connection between the contacts and the probes means that the contacts are electrically connected to some of the probes in the probe matrix.
[0086] Step S802: Identify the electrical connection probe corresponding to each contact point, where the electrical connection probe is a probe electrically connected to the contact point, and each contact point corresponds to at least one electrical connection probe.
[0087] After the probe matrix is covered on the contacts of the chip, the correspondence between the contacts and the probes needs to be determined first, that is, the electrical connection probe corresponding to each contact needs to be identified. The identification process is described in detail below.
[0088] In a specific implementation, the number of contacts and the electrical connection probes corresponding to each contact may be determined by detecting whether there is a short circuit between adjacent probes.
[0089] See also Fig. 9 , is a schematic diagram of an identification process of an electrical connection probe provided in an embodiment of the present application. Fig. 9 As shown, it mainly includes the following steps.
[0090] Step S8021: Select a target probe.
[0091] Specifically, the target probe may be any probe in the probe matrix. In a possible implementation, detection may be started from a corner of the probe matrix. Figure 2 In the probe matrix shown, probe 1 is used as the first probe point.
[0092] Step S8022: short-circuit the target probe with each adjacent probe in turn to determine whether the target probe is short-circuited with the adjacent probe.
[0093] It is understandable that when two probes connected to the same contact are short-circuited, the two probes will be short-circuited. Based on this principle, the number of contacts and the electrically connected probes corresponding to the contacts can be determined by the short-circuited probes.
[0094] Likewise Figure 2 For example, probe 1 is used as the target probe. First, probe 1 is short-circuited with probe 17 on its right side to determine whether probe 1 and probe 17 are short-circuited. Since probe 1 and probe 17 are not connected to the same contact, probe 1 and probe 17 will not be short-circuited, and there is no need to record the corresponding relationship between probe 1 and probe 17. Then, probe 1 is short-circuited with probe 19 on its lower side to determine whether probe 1 and probe 19 are short-circuited. Since probe 1 and probe 19 are not connected to the same contact, probe 1 and probe 19 will not be short-circuited, and there is no need to record the corresponding relationship between probe 1 and probe 19.
[0095] Further, probe 19 can be used as a target probe. First, probe 19 is short-circuited with probe 35 on its right side to determine whether probe 19 and probe 35 are short-circuited. Since probe 19 and probe 35 are both connected to contact 1, probe 19 and probe 35 are short-circuited, and the corresponding relationship between probe 19 and probe 35 is recorded. Then, probe 19 is short-circuited with probe 37 on its lower side to determine whether probe 19 and probe 37 are short-circuited. Since probe 19 and probe 37 are both connected to contact 1, probe 19 and probe 37 are short-circuited, and the corresponding relationship between probe 19 and probe 37 is recorded.
[0096] Furthermore, the probe 35 can be used as a target probe. First, the probe 35 is short-circuited with the probe 12 on its right side to determine whether the probe 35 and the probe 12 are short-circuited. Since the probe 35 and the probe 12 are connected to different contacts, the probe 35 and the probe 12 will not be short-circuited, and there is no need to record the corresponding relationship between the probe 35 and the probe 12.
[0097] Further, probe 37 can be used as a target probe. Since probe 37 is located at the bottom of the probe matrix, there is no need to probe downward, only to probe to the right. Similarly, for the rightmost probe, there is no need to probe to the right, only to probe downward. Specifically, probe 37 is short-circuited with probe 14 on its right side to determine whether probe 37 and probe 14 are short-circuited. Since both probe 37 and probe 14 are connected to contact 1, probe 37 and probe 14 are short-circuited, and the corresponding relationship between probe 37 and probe 14 is recorded.
[0098] And so on, the detection of all probes is completed.
[0099] It should be pointed out that in the embodiment of the present application, since the probe in the upper left corner of the probe matrix is used as the target probe to start detection, when performing a short circuit test, it is only necessary to perform a short circuit test on the probes on the right and lower sides of the target probe (the probes on the upper or left side of the target probe have completed short circuit detection in the previous round). Of course, those skilled in the art can also perform probe detection in other orders. For example, starting detection with the probe in the lower right corner of the probe matrix as the target probe, when performing a short circuit test, it is only necessary to perform a short circuit test on the probes on the left and upper sides of the target probe, and the embodiment of the present application does not limit this. In addition, when the probe matrix includes a probe-dense area and a probe-sparse area, the adjacent probes at the boundary of the probe-dense area and the probe-sparse area may not be strictly aligned. In this case, the detection relationship between the probes at the boundary of the probe-dense area and the probe-sparse area can be preset. For example, in Figure 2 In the probe matrix shown, probe 39 detects probe 27 and probe 16, probe 16 detects probe 8, probe 36 and probe 38, and probe 38 detects probe 15. Of course, those skilled in the art may also set other detection relationships, which are not specifically limited in the present embodiment.
[0100] In some application scenarios, a diode may be connected between two contacts of a chip inside the chip. Therefore, when the probes connected to different contacts are short-circuited, there is still a certain probability that a short circuit will occur.
[0101] To address this problem, in a possible implementation, the target probe is short-circuited with each adjacent probe in turn to determine whether a short circuit occurs between the target probe and the adjacent probe, including: short-circuiting the target probe with each adjacent probe in turn in both forward and reverse directions to determine whether a short circuit occurs between the target probe and the adjacent probe; treating all adjacent probes that are short-circuited with each other as electrically connected probes corresponding to one contact, including: treating all adjacent probes that are short-circuited with each other in both forward and reverse directions as electrically connected probes corresponding to one contact.
[0102] Step S8023: All adjacent probes that are short-circuited with each other are regarded as electrically connected probes corresponding to one contact point.
[0103] Specifically, after all the probes have been detected, all the adjacent probes that are short-circuited with each other are used as electrical connection probes corresponding to one contact. Figure 2 In the connection state shown, probe 19, probe 35, probe 37 and probe 14 are electrical connection probes corresponding to one contact; probe 12 and probe 30 are electrical connection probes corresponding to one contact; probe 28, probe 5, probe 7 and probe 25 are electrical connection probes corresponding to one contact; probe 23 and probe 4 are electrical connection probes corresponding to one contact. Therefore, the number of contacts in the chip and the corresponding relationship between contacts and electrical connection probes can be determined.
[0104] Step S803: determining a signal transmission probe corresponding to each contact in the electrical connection probe according to the signal transmission channel corresponding to the electrical connection probe, wherein the signal transmission channels of the signal transmission probes corresponding to any two contacts are different.
[0105] In the above steps, the number of contacts and the corresponding relationship between the contacts and the electrical connection probes are determined. After that, the probes to be used need to be determined in the electrical connection probes. For the sake of convenience, the probes to be used are referred to as "signal transmission probes".
[0106] Normally, each contact can correspond to at least two electrical connection probes, and a signal transmission probe needs to be selected for each contact, so there are multiple arrangements and combinations. However, since different contacts are used to transmit different signals, the signal transmission probes should meet the following conditions: the signal transmission channels of the signal transmission probes corresponding to any two contacts are different. In other words, the signal transmission channels corresponding to the selected signal transmission probes should not be repeated. It can be understood that the number of signal transmission channels in the probe matrix should be greater than or equal to the number of contacts of the chip.
[0107] Please continue reading Figure 6 ,exist Figure 6In the embodiment, the electrical connection probes of contact 1 are probe 19, probe 35, probe 37 and probe 14, which correspond to signal transmission channel 2, signal transmission channel 3 and signal transmission channel 4. That is to say, contact 1 can select one of signal transmission channel 2, signal transmission channel 3 and signal transmission channel 4. Similarly, contact 2 can select one of signal transmission channel 4 and signal transmission channel 5. Contact 3 can select one of signal transmission channel 5, signal transmission channel 1 and signal transmission channel 2. Contact 4 can select one of signal transmission channel 2 and signal transmission channel 3. That is, a permutation and combination of signal transmission channels is selected for the four contacts, wherein the signal transmission channels cannot be reused in different contacts. It can be understood that the selection of signal transmission channels is the selection of signal transmission probes. For example, if signal transmission channel 2 is selected for contact 1, that is, probe 19 is selected as the signal transmission probe of contact 1, the signal transmission probes of other contacts can be deduced in turn, which will not be repeated here.
[0108] In a possible implementation, signal transmission channel 3, signal transmission channel 5, signal transmission channel 1, and signal transmission channel 2 may be selected for contact 1, contact 2, contact 3, and contact 4, respectively. Of course, this configuration is only one possible implementation, and the present application embodiment does not limit this. The following describes how to find a permutation and combination of signal transmission channels that meet the requirements.
[0109] Specifically, firstly, the number of contact points corresponding to each data transmission channel is listed, and then starting from the data transmission channel with the least number of contact points (non-zero), a contact point corresponding to the data transmission channel is selected. Then, the data transmission channel and the contact point are eliminated for the next round of screening.
[0110] Figure 6 The contact relationship between the signal transmission channel and the contact shown in is shown in Table 1. In Table 1, the data "-" in the table corresponding to the contact and the signal transmission channel means that the corresponding contact and the signal transmission channel do not have a corresponding relationship and cannot be bound; the data "1" in the table corresponding to the contact and the signal transmission channel means that the corresponding contact and the signal transmission channel have a corresponding relationship and can be bound. For example, if the data in the table corresponding to "contact 1" and "signal transmission channel 1" is "-", then "contact 1" and "signal transmission channel 1" cannot be bound; if the data in the table corresponding to "contact 1" and "signal transmission channel 2" is "1", then "contact 1" and "signal transmission channel 2" cannot be bound.
[0111] In the specific implementation, the number of contacts contacted by signal transmission channel 1 is the least, so contact 3 can be bound to use signal transmission channel 1 first; then, signal transmission channel 1 and contact 3 are deleted from table 1, and table 1 is refreshed to determine the signal transmission channel corresponding to each contact. Specifically, contact 2 is bound to signal transmission channel 5, contact 1 is bound to signal transmission channel 4, and contact 4 can choose to bind to signal transmission channel 2 or signal transmission channel 3.
[0112] Furthermore, after determining the correspondence between the contacts and the signal transmission channels, the signal transmission probe corresponding to each contact can be determined. Figure 6 , since contact 1 is bound to signal transmission channel 4, and in the electrical connection probe of contact 1, the probe corresponding to signal transmission channel 4 is probe 14, so probe 14 is the signal transmission probe corresponding to contact 1. By analogy, the signal transmission probes corresponding to contact 2, contact 3 and contact 4 are probe 30, probe 5 / probe 7, and probe 23 / probe 4 respectively.
[0113] Table 1:
[0114]
[0115] Step S804: Select and connect the signal transmission probes in each probe group so that the signal transmission probes can transmit signals.
[0116] Specifically, after the signal transmission probe corresponding to each contact is determined, the signal transmission probe in the connection probe group can be selected through the analog switch so that signal transmission can be performed through the signal transmission probe.
[0117] For example, in Figure 6 In the implementation shown, after determining that probe 14 is the signal transmission probe corresponding to contact 1, the 8-to-1 analog switch is used to select to connect probe 14 in signal transmission channel 4; and by analogy, connect probe 30 in signal transmission channel 5; connect probe 5 / probe 7 in signal transmission channel 1; connect probe 23 in signal transmission channel 2 or connect probe 4 in signal transmission channel 3.
[0118] Step S805: Identify the definition of each contact.
[0119] It is understandable that in the above steps, only the number of contacts is determined, and the definition of the contacts is unknown, that is, it is unknown what type of signal is transmitted for each contact. In order to achieve normal communication with the chip, it is necessary to further identify the definition of each contact. For example, for an IIC chip, it is necessary to identify which one of the high-level signal VCC contact, the data signal SDA contact, the clock signal CLK contact, and the ground signal GND contact each contact corresponds to.
[0120] In a possible implementation, the definition of the contact can be determined according to the communication characteristics of the chip. Specifically, the definition of each contact can be identified according to the control relationship and / or position relationship between the contacts.
[0121] See also Fig.10 , is a schematic diagram of a circuit structure of a chip provided in an embodiment of the present application. Fig.10 As shown, the chip includes a high-level signal VCC contact, a data signal SDA contact, a clock signal CLK contact, and a ground signal GND contact. In order to prevent the chip from being burned out due to the reverse connection of the high-level signal VCC contact and the ground signal GND contact when the chip is in use, a reverse diode protection is set between the high-level signal VCC contact and the ground signal GND contact of the chip. For ease of explanation, the diode is called the third diode D3. Specifically, the anode of the third diode D3 is connected to the ground signal GND contact, and the cathode is connected to the high-level signal VCC contact.
[0122] For the same reason, the high level signal VCC contact is connected to the data signal SDA contact and the clock signal CLK contact through the first diode D1 and the second diode D2 respectively.
[0123] See also Fig.11 , is a schematic diagram of the circuit structure of another chip provided in an embodiment of the present application. Fig.10 The difference of the chip shown is that the ground signal GND contact is also electrically connected to the data signal SDA contact and the clock signal CLK contact through the fourth diode D4 and the fifth diode D5 respectively, wherein the anodes of the fourth diode D4 and the fifth diode D5 are both connected to the ground signal GND contact.
[0124] for Fig.10 and Fig.11 The chip shown in the figure has a reversely connected third diode D3 between the high-level signal VCC contact and the ground signal GND contact. In the detection mode, due to the presence of the third diode D3, when the high-level signal VCC contact is used as the output, the waveform of the ground signal GND contact can be controlled, that is, the waveform of the ground signal GND contact and the high-level signal VCC contact are consistent; conversely, when the ground signal GND contact is used as the output, the waveform of the high-level signal VCC contact cannot be controlled. This is also the reason why in the above embodiment, it is necessary to "short-circuit the target probe with each adjacent probe in both positive and negative directions to determine whether the target probe and the adjacent probe are short-circuited in both positive and negative directions." Its specific working principle is explained below.
[0125] In a possible application scenario, the high-level signal VCC contact and the ground signal GND contact of the chip are connected to the IO port of the microcontroller, and the software needs to configure the IO port pull-up. When the high-level signal VCC contact is outputting a high level and the ground signal GND contact is input, because the ground signal GND contact of the chip is not truly grounded, the ground signal GND contact is pulled up to show a high level; when the high-level signal VCC contact is outputting a low level and the ground signal GND contact is input, the third diode D3 is turned on, and the ground signal GND contact is pulled down from a high level. The waveform shows that when the high-level signal VCC contact is outputting, the waveform of the ground signal GND contact can be controlled. On the contrary, when the ground signal GND contact is outputting a high level and the high level signal VCC contact is inputting, the high level signal VCC contact is pulled up to show a high level; when the ground signal GND contact is outputting a low level and the high level signal VCC contact is inputting, the third diode D3 is cut off and the high level signal VCC contact is still at a high level. The waveform shows that the ground signal GND contact cannot control the waveform of the high level signal VCC contact when it is outputting.
[0126] Based on the above principle, the definition of contacts can be determined by judging the direction of the diodes between the contacts in the chip. Fig.11 In the chip shown, the contact that is controlled the most times is the ground signal GND contact, and the contact that controls the most other contacts is the high-level signal VCC contact. Then, the remaining data signal SDA contacts and clock signal CLK contacts can be tried and tested once. Suppose one of the remaining contacts is the data signal SDA contact, and the other contact is the clock signal CLK contact. According to this definition, communicate with the chip (send test information to the chip). If the corresponding information fed back by the chip is received, it is determined that the above assumption is correct; otherwise, it is another case. For Fig.10 The chip shown controls the high-level signal VCC contact the most. Then, the remaining contacts and the remaining contact definitions (data signal SDA contact, clock signal CLK contact and ground signal GND contact) are traversed under different permutations and combinations (there are 6 possibilities in total), and the communication results with the chip are determined to determine the definition of each of the remaining contacts. Specifically, one permutation and combination relationship can be selected from the 6 possible permutations and combinations, namely the target permutation and combination relationship; then, according to the definition of the remaining contacts corresponding to the target permutation and combination relationship, test information is sent to the chip; if the response information fed back by the chip is received, the definition of the remaining contacts corresponding to the target permutation and combination relationship is determined to be the correct definition of the remaining contacts; otherwise, the next permutation and combination relationship is tried until the correct permutation and combination relationship is found.
[0127] That is to say, in an embodiment of the present application, the definition of at least one contact can be first identified based on the control relationship between the contacts; then, the remaining contacts and the remaining contact definitions under different permutations and combinations are traversed, and the communication results with the chip are determined to determine the definition of each contact in the remaining contacts, thereby completing the identification of the definition of each contact.
[0128] In addition, since the relative positional relationship of each contact point in most chips is fixed and known, after identifying the definition of at least one contact point according to the control relationship between the contacts, the definition of each contact point in the remaining contacts can also be identified according to the positional relationship between the remaining contacts and at least one contact point. Fig.11 The chip shown, after determining the ground signal GND contact and the high level signal VCC contact, can determine which of the remaining two contacts is the data signal SDA contact and which is the clock signal CLK contact based on the relative position relationship between the data signal SDA contact and the clock signal CLK contact and the ground signal GND contact and the high level signal VCC contact.
[0129] Step S806: According to the definition of each contact point, the signal transmission type of each signal transmission probe is selected, and the definition of the contact point matches the signal transmission type of the corresponding signal transmission probe.
[0130] As described in the above embodiment, each signal transmission probe corresponds to a signal transmission channel. In order to be able to communicate normally with the chip, the signal transmission type corresponding to the signal transmission channel should match the definition of the contact, that is, the signal transmission type of the signal transmission probe matches the definition of the contact. For example, the signal transmission probe corresponding to the data signal SDA contact should be used to transmit the data signal SDA; the signal transmission probe corresponding to the clock signal CLK contact should be used to transmit the clock signal CLK. Therefore, it is necessary to select the signal transmission type corresponding to each signal transmission probe according to the definition of each contact.
[0131] For example, the types of signals include a high-level signal VCC, a data signal SDA, a clock signal CLK, a ground signal GND, and a test signal TEST / a low-level signal VDD. In this implementation, the selection of the types of the five signals can be achieved through a 5-to-1 analog switch. For example, the signal transmission channel corresponding to the data signal SDA contact is connected to the data signal SDA through a 5-to-1 analog switch; the signal transmission channel corresponding to the clock signal CLK contact is connected to the clock signal CLK through a 5-to-1 analog switch; and so on.
[0132] Step S807: reading and writing the chip through the signal transmission probe.
[0133] After completing the selection of the signal transmission type of each signal transmission probe, the chip reading and writing device can perform normal reading and writing with the chip, such as burning or resetting the chip.
[0134] The technical solution provided by the embodiments of the present application has the following advantages:
[0135] 1. The interface module is a universal interface that can be applied to different types of chips and is easy to use;
[0136] 2. Divide the probes in the probe matrix into multiple probe groups to make the control circuit simpler;
[0137] 3. The probe matrix includes probe-dense areas and probe-sparse areas to achieve compatibility with chips with different contact sizes.
[0138] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0139] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.
[0140] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0141] In several embodiments provided by the present invention, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0142] The above is only a specific embodiment of the present invention. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. The protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. An interface module, characterized in that: include: A probe matrix, wherein the probe matrix includes at least two probe groups, each of the probe groups corresponds to a signal transmission channel, each of the probe groups includes at least two probes, and the adjacent probes of any one of the probes include at least one probe of another probe group.
2. The interface module according to claim 1, characterized in that: The probes in the same probe group are arranged at intervals in the horizontal direction and / or vertical direction of the probe matrix.
3. The interface module according to claim 2, characterized in that: The probes in the same probe group are arranged continuously in the tilt direction of the probe matrix.
4. The interface module according to claim 1, characterized in that: The probe matrix includes a probe-dense region and a probe-sparse region, and the probe arrangement density of the probe-dense region is greater than the probe arrangement density of the probe-sparse region.
5. A chip reading and writing method, characterized in that: The interface module according to any one of claims 1 to 4, wherein the method comprises: Covering the contacts of the chip with a probe matrix to achieve electrical connection between the contacts of the chip and the probes of the probe matrix; Identify an electrical connection probe corresponding to each of the contacts, where the electrical connection probe is a probe electrically connected to the contacts, and each of the contacts corresponds to at least one electrical connection probe; Determining, according to the signal transmission channel corresponding to the electrical connection probe, a signal transmission probe corresponding to each contact in the electrical connection probe, wherein the signal transmission channels of the signal transmission probes corresponding to any two contacts are different; Selecting and connecting the signal transmission probes in each of the probe groups so that the signal transmission probes can transmit signals; identifying a definition of each of said contacts; According to the definition of each of the contacts, a signal transmission type of each of the signal transmission probes is selected, wherein the definition of the contacts matches the signal transmission type of the corresponding signal transmission probe; The chip is read and written through the signal transmission probe.
6. The method according to claim 5, characterized in that The identifying the electrical connection probe corresponding to each of the contacts includes traversing the probes in the probe matrix using the following method: Select the target probe; Short-circuiting the target probe with each adjacent probe in turn to determine whether the target probe is short-circuited with the adjacent probe; All adjacent probes that are short-circuited with each other are used as electrical connection probes corresponding to one contact point.
7. The method according to claim 6, characterized in that The step of short-circuiting the target probe with each adjacent probe in turn to determine whether the target probe and the adjacent probe are short-circuited comprises: short-circuiting the target probe with each adjacent probe in turn in both forward and reverse directions to determine whether the target probe and the adjacent probe are short-circuited in both forward and reverse directions; Taking all adjacent probes that are short-circuited with each other as an electrical connection probe corresponding to the contact point includes: taking all adjacent probes that are short-circuited with each other in both forward and reverse directions as an electrical connection probe corresponding to the contact point.
8. The method according to claim 5, characterized in that The definition of identifying each of the contacts includes: According to the control relationship and / or position relationship between the contacts, the definition of each contact is identified.
9. The method according to claim 8, characterized in that The step of identifying the definition of each of the contacts according to the control relationship and / or position relationship between the contacts comprises: identifying a definition of at least one contact point according to a control relationship between the contacts; According to the definition of the at least one contact point and the positional relationship between the remaining contacts and the at least one contact point, the definition of each of the remaining contacts is identified.
10. The method according to claim 8, characterized in that The step of identifying the definition of each of the contacts according to the control relationship and / or position relationship between the contacts comprises: identifying a definition of at least one contact point according to a control relationship between the contacts; The communication results with the chip under different arrangement and combination relationships between the remaining contacts and the definitions of the remaining contacts are traversed to determine the definition of each contact in the remaining contacts.
11. The method according to claim 10, characterized in that The traversing of the remaining contacts and the remaining contact definitions under different permutation and combination relationships, and the communication results with the chip, to determine the definition of each of the remaining contacts, includes: Select the target permutation and combination relationship between the remaining contacts and the remaining contacts; Sending test information to the chip according to the definition of the remaining contacts corresponding to the target permutation and combination relationship; If the response information fed back by the chip is received, the definition of the remaining contacts corresponding to the target arrangement and combination relationship is determined as the definition of the remaining contacts.
12. The method according to any one of claims 9 to 11, characterized in that: The chip includes four contacts, namely a high-level signal contact, a data signal contact, a clock signal contact and a ground signal contact, wherein the high-level signal contact is electrically connected to the data signal contact, the clock signal contact and the ground signal contact through a first diode, a second diode and a third diode, respectively, and the cathodes of the first diode, the second diode and the third diode are all connected to the high-level signal contact; The identifying the definition of at least one contact point according to the control relationship between the contacts includes: detecting the direction of a diode between any two of the four contacts; The high-level signal contact is determined among the four contacts according to the direction of the diode.
13. The method according to any one of claims 9 to 11, characterized in that: The chip includes 4 contacts, namely a high-level signal contact, a data signal contact, a clock signal contact and a ground signal contact. The high-level signal contact is electrically connected to the data signal contact, the clock signal contact and the ground signal contact through a first diode, a second diode and a third diode, respectively, and the cathodes of the first diode, the second diode and the third diode are all connected to the high-level signal contact; the ground signal contact is electrically connected to the data signal contact and the clock signal contact through a fourth diode and a fifth diode, respectively, and the anodes of the fourth diode and the fifth diode are all connected to the ground signal contact; The identifying of the definition of at least one contact according to the control relationship between the contacts includes: detecting the direction of the diode between any two contacts among the four contacts; and determining the high-level signal contact and the ground signal contact among the four contacts according to the direction of the diode.
14. A chip reading and writing device, characterized in that: include: The interface module according to any one of claims 1 to 4; A control module, for identifying an electrical connection probe corresponding to each contact after the probe matrix covers the contacts of the chip, wherein the electrical connection probe is a probe electrically connected to the contact, and each contact corresponds to at least one electrical connection probe; Determining, according to the signal transmission channel corresponding to the electrical connection probe, a signal transmission probe corresponding to each contact in the electrical connection probe, wherein the signal transmission channels of the signal transmission probes corresponding to any two contacts are different; A first switch module, used for selecting and connecting the signal transmission probes in each of the probe groups so that the signal transmission probes can transmit signals; The control module is further used to identify the definition of each of the contacts; A second switch module, used for selecting a signal transmission type of each of the signal transmission probes according to a definition of each of the contact points, wherein the definition of the contact points matches the signal transmission type of the corresponding signal transmission probe; The control module is also used to read and write the chip through the signal transmission probe.
Citation Information
Patent Citations
Multifunctional card device
CN101271538A
Test head, chip processing device and chip type number display method
CN107451077A
Reset method and equipment for chips, electronic equipment and storage medium
CN107589920A
Automatic electronic circuit parameter detection and analysis recording system
CN112162192A
Simple-beam type microelectronic mechanical system detection card and producing method thereof
CN1936593A
