[go: up one dir, main page]

CN108431788B - A single board, electronic equipment and method for gating - Google Patents

A single board, electronic equipment and method for gating Download PDF

Info

Publication number
CN108431788B
CN108431788B CN201680076002.6A CN201680076002A CN108431788B CN 108431788 B CN108431788 B CN 108431788B CN 201680076002 A CN201680076002 A CN 201680076002A CN 108431788 B CN108431788 B CN 108431788B
Authority
CN
China
Prior art keywords
pin
module
storage
jtag
channel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201680076002.6A
Other languages
Chinese (zh)
Other versions
CN108431788A (en
Inventor
刘翔
师军令
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN108431788A publication Critical patent/CN108431788A/en
Application granted granted Critical
Publication of CN108431788B publication Critical patent/CN108431788B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

A single board, electronic equipment and a gating method are provided, wherein the single board comprises: a joint test action group JTAG module (11), a storage module (14), a channel selection module (12) and a storage interface (13); the channel selection module (12) is electrically connected with the JTAG module (11), the channel selection module (12) is electrically connected with the storage interface (13), the storage module (14), and the channel selection module (12) is electrically connected with the storage module (14); the channel selection module (12) is used for communicating the storage interface (13) with the JTAG module (11) when the JTAG test equipment is electrically connected with the storage interface (13); and communicating the storage interface (13) with the storage module (14) when the storage device is electrically connected with the storage interface (13). The efficiency of later JTAG test, the integration level and the aesthetic property of electronic equipment can be improved.

Description

一种单板、电子设备及选通的方法A single board, electronic equipment and method for gating

技术领域technical field

本发明涉及电子技术领域,尤其涉及的是一种单板、电子设备及选通的方法。The invention relates to the field of electronic technology, and in particular, to a single board, an electronic device and a gating method.

背景技术Background technique

目前,电子设备日趋智能化、小型化和高集成度方向发展,电子设备内部的各功能接口也越来越多,为方便后期对电子设备的故障诊断和调试等,一般在电子设备外引出对应内部功能电路的功能接口,如图1-1所示,主控芯片中联合测试工作组(JTAG,Joint TestAction Group)电路和安全数字存储卡(SD,Secure Digital Memory Card)内部电路独立,分别为JTAG电路和SD内部电路引出独立的JTAG接口和SD接口,测试人员通过这两个引出的JTAG接口和SD接口,即可连接外部的JTAG测试设备和SD设备,并进行相应的测试、读/写等操作。由于目前的电子设备的电路板一般较小,且外部接口设计紧凑,故为提高便携度和美观性,一般不会将电子设备内部用于测试、调试等功能接口外引,使得在后期电子设备的故障诊断和调试带来不便,在故障诊断或调试时需要拆开电子设备的壳体,在电子设备内部电路板上飞线,诊断效率或调试效率较低,且容易对壳体和电路板等造成损坏。At present, electronic equipment is becoming more and more intelligent, miniaturized and highly integrated, and there are more and more functional interfaces inside electronic equipment. The functional interface of the internal functional circuit is shown in Figure 1-1. The joint test working group (JTAG, Joint TestAction Group) circuit in the main control chip and the internal circuit of the Secure Digital Memory Card (SD, Secure Digital Memory Card) are independent, respectively. JTAG circuit and SD internal circuit lead to independent JTAG interface and SD interface. Testers can connect external JTAG test equipment and SD device through these two exported JTAG interface and SD interface, and perform corresponding test, read/write and so on. Because the circuit boards of current electronic equipment are generally small and the external interface design is compact, in order to improve portability and aesthetics, the internal electronic equipment for testing, debugging and other functional interfaces are generally not externally introduced, so that in the later period of electronic equipment It brings inconvenience to the fault diagnosis and debugging. During the fault diagnosis or debugging, it is necessary to disassemble the casing of the electronic equipment and fly wires on the internal circuit board of the electronic equipment. etc. cause damage.

现有机制中,一般采用复用电子设备外引的现有接口实现其他功能,实现在不增设额外接口的前提下,也能增加电子设备的功能,以及提高电子设备的集成度。如图1-2所示,在主控芯片内部复用主控芯片的输入/输出(I/O,Input/Output)接口,通过复用SD接口实现JTAG接口的功能,在进行JTAG测试时,需要使用专用转接板连接SD接口和JTAG测试设备,测试人员通过JTAG测试设备中的调试软件,通过专用转接板发送特定指令给主控芯片,使得主控芯片能够识别JTAG测试设备,从而实现JTAG功能与SD功能之间的切换。由于是通过复用主控芯片的I/O接口来实现SD功能与JTAG功能,故只有在主控芯片正常工作时才能完成功能切换,并且还需要专用转接板和专用调试软件,才能实现SD功能和JTAG功能的切换。并且在主控芯片无法正常工作时,无法进行JTAG测试,即无法针对JTAG电路的芯片单体进行JTAG测试。In the existing mechanism, other functions are generally realized by multiplexing the existing interface externally introduced by the electronic device, so that the function of the electronic device can also be increased and the integration degree of the electronic device can be improved without adding an additional interface. As shown in Figure 1-2, the input/output (I/O, Input/Output) interface of the main control chip is multiplexed inside the main control chip, and the function of the JTAG interface is realized by multiplexing the SD interface. It is necessary to use a special adapter board to connect the SD interface and the JTAG test equipment. The tester sends specific instructions to the main control chip through the debugging software in the JTAG test equipment, so that the main control chip can recognize the JTAG test equipment, so as to achieve Switch between JTAG function and SD function. Since the SD function and JTAG function are realized by multiplexing the I/O interface of the main control chip, the function switching can only be completed when the main control chip is working normally, and a special adapter board and special debugging software are required to realize SD. function and JTAG function switching. And when the main control chip cannot work normally, the JTAG test cannot be performed, that is, the JTAG test cannot be performed for the single chip of the JTAG circuit.

发明内容SUMMARY OF THE INVENTION

本申请提供了一种单板、电子设备及JTAG测试的方法,能够解决现有技术中JTAG测试效率较低的问题。The present application provides a single board, an electronic device and a JTAG test method, which can solve the problem of low JTAG test efficiency in the prior art.

本申请第一方面提供了一种单板,所述单板包括:A first aspect of the present application provides a veneer, the veneer comprising:

联合测试行动组JTAG模块、存储模块、通道选择模块及存储接口;Joint test action group JTAG module, storage module, channel selection module and storage interface;

所述通道选择模块与所述JTAG模块电连接,所述通道选择模块与所述存储接口电连接,所述通道选择模块与所述存储模块电连接;The channel selection module is electrically connected to the JTAG module, the channel selection module is electrically connected to the storage interface, and the channel selection module is electrically connected to the storage module;

所述通道选择模块,用于在JTAG测试设备与所述存储接口电连接时,连通所述存储接口与所述JTAG模块;The channel selection module is used for connecting the storage interface and the JTAG module when the JTAG test device is electrically connected to the storage interface;

以及在存储设备与所述存储接口电连接时,连通所述存储接口与所述存储模块。通过所述通道选择模块复用存储接口,实现在JTAG模式和存储模式之间切换。所述存储接口为SD接口。and when the storage device is electrically connected to the storage interface, the storage interface and the storage module are communicated. Through the channel selection module multiplexing the storage interface, switching between the JTAG mode and the storage mode is realized. The storage interface is an SD interface.

在一些可能的设计中,所述通道选择模块,还用于在连通所述存储接口与所述JTAG模块,即所述JTAG测试设备与所述JTAG模块形成通路时,将来自所述JTAG测试设备的JTAG测试信号输入所述JTAG模块;In some possible designs, the channel selection module is further configured to, when connecting the storage interface and the JTAG module, that is, when the JTAG testing device and the JTAG module form a channel, select a channel from the JTAG testing device. The JTAG test signal is input to the JTAG module;

所述JTAG模块,用于根据从所述通道选择模块接收到的JTAG测试信号,执行所述JTAG测试信号对应的测试项,并将测试得到的第一测试数据传输至所述通道选择模块;The JTAG module is configured to execute the test item corresponding to the JTAG test signal according to the JTAG test signal received from the channel selection module, and transmit the first test data obtained by the test to the channel selection module;

所述通道选择模块,还用于将来自所述JTAG模块的所述第一测试数据通过所述存储接口传输至所述JTAG测试设备。通过所述通道选择模块复用存储接口连通到单板上的JTAG模块后,实现JTAG测试功能以及测试数据的输出。The channel selection module is further configured to transmit the first test data from the JTAG module to the JTAG test device through the storage interface. After the multiplexing storage interface of the channel selection module is connected to the JTAG module on the single board, the JTAG test function and the output of test data are realized.

在一些可能的设计中,所述通道选择模块,还用于在连通所述存储接口与所述存储模块,即所述存储设备与所述存储模块形成通路时,将来自所述存储设备的存储测试信号输出至所述存储模块;In some possible designs, the channel selection module is further configured to select the storage from the storage device when the storage interface and the storage module are connected, that is, the storage device and the storage module form a channel. the test signal is output to the storage module;

所述存储模块,用于根据从所述通道选择模块接收到的存储测试信号,执行所述存储测试信号对应的测试项,并将测试得到的第二测试数据输出至所述通道选择模块;The storage module is configured to execute the test item corresponding to the storage test signal according to the storage test signal received from the channel selection module, and output the second test data obtained by testing to the channel selection module;

所述通道选择模块,还用于将来自所述存储模块的所述第二测试数据通过所述存储接口传输至所述存储设备。通过所述通道选择模块选择连通到单板上的存储模块后,实现存储、数据读取、输入输出等功能。The channel selection module is further configured to transmit the second test data from the storage module to the storage device through the storage interface. After the storage module connected to the single board is selected by the channel selection module, functions such as storage, data reading, input and output are realized.

在一些可能的设计中,所述通道选择模块包括第一选通端,第二选通端,公共端和选通控制引脚,所述第一选通端与所述JTAG模块的接口端电连接,所述第二选通端与所述存储模块的接口端电连接,所述公共端与所述存储接口电连接。可选的,所述通道选择模块包括多路选择开关,其中,多路选择开关为实现选通功能的模拟开关,可以包括多路复用器、多路选择器、多路模拟开关、数据选择器、多路模拟转换器、多路复用开关、多路切换开关、多路开关等。In some possible designs, the channel selection module includes a first gate terminal, a second gate terminal, a common terminal and a gate control pin, and the first gate terminal is electrically connected to the interface terminal of the JTAG module. connected, the second gate terminal is electrically connected to the interface terminal of the storage module, and the common terminal is electrically connected to the storage interface. Optionally, the channel selection module includes a multiplexer switch, wherein the multiplexer switch is an analog switch that implements a gating function, and may include a multiplexer, a multiplexer, a multiplex analog switch, and a data selection switch. converters, multiplexing analog converters, multiplexing switches, multiplexing switches, multiplexing switches, etc.

在一些可能的设计中,所述通道选择模块还包括选通控制引脚,所述选通控制引脚用于控制所述公共端与所述第一选通端连接,和控制所述公共端与所述第二选通端通信连接。In some possible designs, the channel selection module further includes a gate control pin, and the gate control pin is used to control the connection between the common terminal and the first gate terminal, and to control the common terminal communicated with the second gate terminal.

在一些可能的设计中,所述JTAG模块的接口端包括:测试模式选择引脚、测试时钟引脚、测试数据输入引脚、以及测试数据输出引脚,可选的,还可以包括测试复位引脚;In some possible designs, the interface end of the JTAG module includes: a test mode selection pin, a test clock pin, a test data input pin, and a test data output pin, and optionally, a test reset pin foot;

所述第一选通端包括:与所述测试模式选择引脚对应的第一通道引脚、与所述测试时钟引脚对应的第二通道引脚、与所述测试数据输入引脚对应的第三通道引脚、以及与所述测试数据输出引脚对应的第四通道引脚,相应的,还可以包括与所述测试复位引脚对应的第五通道引脚;The first gate terminal includes: a first channel pin corresponding to the test mode selection pin, a second channel pin corresponding to the test clock pin, and a test data input pin corresponding to the A third channel pin and a fourth channel pin corresponding to the test data output pin, correspondingly, may also include a fifth channel pin corresponding to the test reset pin;

输入所述选通控制引脚的信号为第一电平时,所述通道选择模块中的所述第一通道引脚、所述第二通道引脚、所述第三通道引脚以及所述第四通道引脚选通,可选的,在所述选通控制引脚包括第五通道引脚时,所述第五通道引脚也选通。通过在通道选择模块设置选通控制引脚选通与JTAG模块电连接的引脚,实现信号传输。When the signal input to the gating control pin is at the first level, the first channel pin, the second channel pin, the third channel pin and the third channel pin in the channel selection module. Four-channel pin gating, optionally, when the gating control pin includes a fifth channel pin, the fifth channel pin is also gating. Signal transmission is realized by setting the gate control pin in the channel selection module to gate the pin electrically connected to the JTAG module.

在一些可能的设计中,所述存储模块的接口端包括:指令引脚、时钟引脚、第一测试数据引脚、第二测试数据引脚、第三测试数据引脚及第四测试数据引脚;In some possible designs, the interface end of the memory module includes: an instruction pin, a clock pin, a first test data pin, a second test data pin, a third test data pin, and a fourth test data pin foot;

所述第二选通端包括:与所述指令引脚对应的第六通道引脚、与所述时钟引脚对应的第七通道引脚、与所述第一测试数据引脚对应的第八通道引脚、与所述第二测试数据引脚对应的第九通道引脚、与所述第三测试数据引脚对应的第十通道引脚、及与所述第四测试数据引脚对应的第十一通道引脚;The second gate terminal includes: a sixth channel pin corresponding to the command pin, a seventh channel pin corresponding to the clock pin, and an eighth channel pin corresponding to the first test data pin. A channel pin, a ninth channel pin corresponding to the second test data pin, a tenth channel pin corresponding to the third test data pin, and a Eleventh channel pin;

输入所述选通控制引脚的信号为第二电平时,所述通道选择模块中的所述第六通道引脚、所述第七通道引脚、所述第八通道引脚、所述第九通道引脚、所述第十通道引脚、及所述第十一通道引脚选通。When the signal input to the gating control pin is the second level, the sixth channel pin, the seventh channel pin, the eighth channel pin, the The nine-channel pin, the tenth-channel pin, and the eleventh-channel pin are gated.

在一些可能的设计中,所述存储接口包括存储设备检测引脚,所述存储设备检测引脚与所述选通控制引脚电连接;In some possible designs, the storage interface includes a storage device detection pin, and the storage device detection pin is electrically connected to the gating control pin;

所述存储设备检测引脚,用于在JTAG测试设备与所述存储接口电连接时,触发输入所述选通控制引脚的信号为所述第一电平;在存储设备与所述存储接口电连接时,触发输入所述选通控制引脚的信号为所述第二电平。通过在存储模块上的存储设备检测引脚触发相应的电平信号至选通控制引脚,使得选通控制引脚根据信号的电平高低选通对应插入存储接口的设备对应的引脚。The storage device detection pin is used to trigger the signal input to the gating control pin to be the first level when the JTAG test device is electrically connected to the storage interface; when the storage device is connected to the storage interface When electrically connected, the signal that triggers the input to the gate control pin is the second level. The storage device detection pin on the storage module triggers the corresponding level signal to the gating control pin, so that the gating control pin selects the corresponding pin of the device inserted into the storage interface according to the level of the signal.

本发明第二方面提供一种电子设备,所述电子设备包括上述第一方面及第一方面的各可能的设计中的任一所述的单板。A second aspect of the present invention provides an electronic device, where the electronic device includes the single board described in any one of the first aspect and the possible designs of the first aspect.

本发明第三方面提供一种选通的方法,所述方法应用于单板,所述方法包括:A third aspect of the present invention provides a gating method, the method is applied to a single board, and the method includes:

在联合测试行动组JTAG测试设备与所述单板中的存储接口电连接时,所述单板中的通道选择模块连通所述存储接口与所述单板中的JTAG模块;When the joint test action group JTAG test equipment is electrically connected to the storage interface in the single board, the channel selection module in the single board communicates the storage interface and the JTAG module in the single board;

在存储设备与所述单板中的存储接口电连接时,所述通道选择模块连通所述存储接口与所述单板中的存储模块。When the storage device is electrically connected to the storage interface in the single board, the channel selection module communicates the storage interface with the storage module in the single board.

在一种可能的设计中,通道选择模块包括第一选通端,第二选通端,公共端和选通控制引脚,所述第一选通端与JTAG模块的接口端电连接,所述第二选通端与所述存储模块的接口端电连接,所述公共端与所述单板中的存储接口电连接;所述存储接口包括存储设备检测引脚,所述存储设备检测引脚与所述选通控制引脚电连接;In a possible design, the channel selection module includes a first gate terminal, a second gate terminal, a common terminal and a gate control pin, the first gate terminal is electrically connected to the interface terminal of the JTAG module, so The second gate terminal is electrically connected with the interface terminal of the storage module, and the common terminal is electrically connected with the storage interface in the single board; the storage interface includes a storage device detection pin, and the storage device detection lead is electrically connected. The pin is electrically connected to the gating control pin;

所述在联合测试行动组JTAG测试设备与所述单板中的存储接口电连接时,所述单板中的通道选择模块连通所述存储接口与所述单板中的JTAG模块包括:When the joint test action group JTAG test device is electrically connected to the storage interface in the single board, the channel selection module in the single board communicates the storage interface with the JTAG module in the single board. The module includes:

所述在所述JTAG测试设备与所述单板中的存储接口电连接时,所述存储设备检测引脚输入所述通道选择模块中的选通控制引脚的信号为第一电平,所述选通控制引脚选通所述第一选通端,以使所述JTAG测试设备与所述JTAG模块通信连接;When the JTAG test device is electrically connected to the storage interface in the single board, the signal input from the storage device detection pin to the gating control pin in the channel selection module is the first level, so Described gating control pin gating described first gating terminal, so that described JTAG test equipment and described JTAG module communication connection;

所述在存储设备与所述单板中的存储接口电连接时,所述通道选择模块连通所述存储接口与所述单板中的存储模块,包括:When the storage device is electrically connected to the storage interface in the single board, the channel selection module communicates the storage interface with the storage module in the single board, including:

所述在所述存储设备与所述单板中的存储接口电连接时,所述存储设备检测引脚输入所述通道选择模块中的选通控制引脚的信号为第二电平,所述选通控制引脚选通所述第二选通端,以使所述存储设备与所述存储模块通信连接;所述第二电平与所述第一电平不同。When the storage device is electrically connected to the storage interface in the single board, the signal input from the storage device detection pin to the gating control pin in the channel selection module is the second level, and the The gating control pin selects the second gating terminal to connect the storage device and the storage module in communication; the second level is different from the first level.

本发明实施例中,通过使用通道选择模块电连接JTAG模块和存储接口,使得在JTAG测试设备与所述存储接口电连接时,与所述JTAG模块形成通路,从而实现复用该存储接口进行JTAG测试,实现在无需外部转接板、专用调试软件、不拆机和不降低单板的集成度的前提下,复用存储接口进行JTAG测试,有效减少JTAG测试操作和测试用具,也能提高后期JTAG测试的效率、电子设备的集成度和美观性。In the embodiment of the present invention, by using the channel selection module to electrically connect the JTAG module and the storage interface, when the JTAG test device is electrically connected to the storage interface, a channel is formed with the JTAG module, thereby realizing multiplexing of the storage interface for JTAG For testing, it is possible to reuse the storage interface for JTAG testing without the need for external adapter boards, special debugging software, disassemble the machine, and reduce the integration of the single board, effectively reducing JTAG testing operations and test tools, and improving the later stage. Efficiency of JTAG testing, integration and aesthetics of electronic devices.

附图说明Description of drawings

图1-1为现有机制中JTAG测试系统的一种结构示意图;Figure 1-1 is a schematic structural diagram of a JTAG test system in the existing mechanism;

图1-2为现有机制中JTAG测试系统的另一种结构示意图;Figure 1-2 is another structural schematic diagram of the JTAG test system in the existing mechanism;

图2为本发明实施例中单板的结构示意图;2 is a schematic structural diagram of a single board in an embodiment of the present invention;

图2-1为本发明实施例中JTAG测试系统的结构示意图;FIG. 2-1 is a schematic structural diagram of a JTAG test system in an embodiment of the present invention;

图3为本发明实施例中单板的逻辑电路示意图;3 is a schematic diagram of a logic circuit of a single board in an embodiment of the present invention;

图4为本发明实施例中单板的电路原理示意图;4 is a schematic diagram of a circuit principle of a single board in an embodiment of the present invention;

图5为本发明实施例中电子设备的结构示意图图;5 is a schematic structural diagram of an electronic device in an embodiment of the present invention;

图6为本发明实施例中JTAG测试的方法的流程示意图。FIG. 6 is a schematic flowchart of a method for JTAG testing in an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例,基于本发明中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. The embodiments of the present invention, and all other embodiments obtained by those skilled in the art without creative efforts, fall within the protection scope of the present invention.

本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或模块的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或模块,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或模块,本文中所出现的模块的划分,仅仅是一种逻辑上的划分,实际应用中实现时可以有另外的划分方式,例如多个模块可以结合成或集成在另一个系统中,或一些特征可以忽略,或不执行,另外,所显示的或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,模块之间的间接耦合或通信连接可以是电性或其他类似的形式,本文中均不作限定。并且,作为分离部件说明的模块或子模块可以是也可以不是物理上的分离,可以是也可以不是物理模块,或者可以分不到多个电路模块中,可以根据实际的需要选择其中的部分或全部模块来实现本发明实施例方案的目的。The terms "first", "second" and the like in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or modules is not necessarily limited to those expressly listed Those steps or modules, but may include other steps or modules not explicitly listed or inherent to these processes, methods, products or devices, the division of modules presented herein is only a logical division, In practical applications, there may be other divisions in implementation, for example, multiple modules may be combined or integrated in another system, or some features may be ignored, or not implemented, in addition, the coupling shown or discussed with each other Or direct coupling or communication connection may be through some interfaces, and indirect coupling or communication connection between modules may be electrical or other similar forms, which are not limited herein. In addition, the modules or sub-modules described as separate components may or may not be physically separated, may or may not be physical modules, or may not be divided into multiple circuit modules, and some of them or sub-modules may be selected according to actual needs. All modules are used to achieve the purpose of the embodiments of the present invention.

本发明实施例提供了一种单板、电子设备及JTAG测试的方法,用于电子技术领域,能够提高JTAG测试效率。以下对本文中的术语进行详细说明。The embodiments of the present invention provide a single board, an electronic device and a JTAG test method, which are used in the field of electronic technology and can improve the JTAG test efficiency. The terminology in this article is explained in detail below.

本文中的JTAG模块可以称为JTAG电路、存储模块可以称为SD模块或SD电路或存储器芯片等。如图3所示,JTAG模块设有与通道选择模块电连接的JTAG接口,一般该JTAG接口包括4个引脚:测试模式选择(TMS,Test Module Select)、测试时钟(TCK,Test Clock)、测试数据输入(TDI,Test Data Input)、测试数据输出(TDO,Test Data Output),还可以包括测试复位(TRST,Test Reset)。SD模块设有与通道选择模块电连接的SD接口,该SD接口包括6个引脚:指令(CMD,Command)、时钟(CLK,Clock)、数据(DATA0、DATA1、DATA2及DATA3)。相应的,通道选择模块上设有与JTAG接口的5个引脚相应的5个通道引脚,以及设有与SD接口的6个引脚相应的6个通道引脚。The JTAG module herein may be referred to as a JTAG circuit, and the storage module may be referred to as an SD module or an SD circuit or a memory chip, or the like. As shown in Figure 3, the JTAG module is provided with a JTAG interface that is electrically connected to the channel selection module. Generally, the JTAG interface includes 4 pins: Test Mode Select (TMS, Test Module Select), Test Clock (TCK, Test Clock), Test data input (TDI, Test Data Input), test data output (TDO, Test Data Output), and may also include test reset (TRST, Test Reset). The SD module is provided with an SD interface electrically connected to the channel selection module. The SD interface includes 6 pins: command (CMD, Command), clock (CLK, Clock), data (DATA0, DATA1, DATA2 and DATA3). Correspondingly, the channel selection module is provided with 5 channel pins corresponding to the 5 pins of the JTAG interface, and 6 channel pins corresponding to the 6 pins of the SD interface.

具有JTAG接口的芯片包括微处理器(MPU,Microprocessor Unit)、微控制器(MCU,Microprogrammed Control Unit)、中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)、复杂可编程逻辑器件(CPLD,ComplexProgrammable Logic Device)、现场可编程门阵列(FPGA,Field Programmable GateArray)或其他符合电气和电子工程师协会(IEEE,Institute of Electrical andElectronics Engineers)1149.1标准的芯片。Chips with a JTAG interface include a microprocessor (MPU, Microprocessor Unit), a microcontroller (MCU, Microprogrammed Control Unit), a central processing unit (CPU, Central Processing Unit), a digital signal processor (DSP, Digital Signal Processor), Complex Programmable Logic Device (CPLD, Complex Programmable Logic Device), Field Programmable Gate Array (FPGA, Field Programmable Gate Array) or other chips that conform to the 1149.1 standard of the Institute of Electrical and Electronics Engineers (IEEE, Institute of Electrical and Electronics Engineers).

本文中的JTAG测试包括JTAG调试、JTAG边界扫描及JTAG向量仿真测试。JTAG测试主要用于测试芯片的电气特性和调试,例如电子设备在生产过程的故障检测以及返修的电子设备的故障检测,对用户而言,电子设备仅需引出存储接口,以便用户通过该存储接口对电子设备内置的存储模块进行数据读取、数据编辑、数据输入及数据输出等功能。The JTAG tests in this article include JTAG debugging, JTAG boundary scan and JTAG vector emulation tests. JTAG test is mainly used to test the electrical characteristics and debugging of the chip, such as the fault detection of electronic equipment in the production process and the fault detection of electronic equipment for repair. For users, the electronic equipment only needs to lead out the storage interface, so that the user can pass the storage interface The functions of data reading, data editing, data input and data output are performed on the built-in storage module of the electronic device.

其中,JTAG调试是指对固定在电路板上的器件进行在线编程(ISP,In-SystemProgrammable),例如对摄像头(Camera)、闪存(FLASH)等器件进行编程。Among them, JTAG debugging refers to in-circuit programming (ISP, In-SystemProgrammable) for devices fixed on the circuit board, such as programming for cameras (Camera), flash memory (FLASH) and other devices.

JTAG边界扫描是指针对电路板上的元器件的贴装工艺、焊接状态等进行硬件故障检测。JTAG boundary scan refers to hardware fault detection on the placement process and soldering status of components on the circuit board.

JTAG向量仿真测试是指针对主控芯片内的各功能模块的测试以及各功能模块的工作状态的观察控制,例如,通过芯片的输入/输出信号对芯片单体进行测试。The JTAG vector simulation test refers to the test of each functional module in the main control chip and the observation and control of the working state of each functional module. For example, the single chip is tested through the input/output signals of the chip.

本文中的电子设备主要具有至少以下之一的特点:小型、没有单独引出的JTAG接口、不易拆装的电子设备、SD接口和JTAG接口复用等。The electronic equipment in this paper mainly has at least one of the following characteristics: small size, no JTAG interface drawn out separately, electronic equipment that is not easy to disassemble, multiplexing of SD interface and JTAG interface, etc.

现有机制中,在追求电子设备小型化的前提下,对电子设备进行JTAG测试时需要专用外部转接板或专用调试软件等复用已有的SD接口,且在主控芯片故障时,无法进行JTAG测试,为解决该技术问题,本发明提供以下方案:In the existing mechanism, under the premise of pursuing the miniaturization of electronic equipment, JTAG testing of electronic equipment requires a dedicated external adapter board or dedicated debugging software to reuse the existing SD interface, and when the main control chip fails, it cannot be used. Carry out JTAG test, in order to solve this technical problem, the present invention provides following scheme:

1、采用通道选择模块连接单板内部的主控芯片和存储接口。1. The channel selection module is used to connect the main control chip and storage interface inside the board.

其中,主控芯片包括JTAG模块和存储模块,通道选择模块分别与JTAG模块和存储模块电连接。The main control chip includes a JTAG module and a storage module, and the channel selection module is electrically connected to the JTAG module and the storage module, respectively.

2、在JTAG测试设备与存储接口连接时,通道选择模块连通主芯片中的JTAG模块,使得JTAG模块、通道选择模块、存储接口及JTAG测试设备形成通路,实现不需要为JTAG模块设置JTAG接口和不拆机的前提下,复用已有的存储接口,即可实现JTAG测试的功能。另外,也不需要外部转接板或专用调试软件等即可复用已有的存储接口,减少操作步骤和测试用具,提高电子设备的集成度。2. When the JTAG test equipment is connected to the storage interface, the channel selection module is connected to the JTAG module in the main chip, so that the JTAG module, the channel selection module, the storage interface and the JTAG test equipment form a path, and it is not necessary to set the JTAG interface and the JTAG test equipment for the JTAG module. Under the premise of not disassembling the machine, the function of JTAG test can be realized by reusing the existing storage interface. In addition, the existing storage interface can be reused without the need of an external adapter board or special debugging software, which reduces the operation steps and test tools, and improves the integration degree of the electronic equipment.

请参照图2和图2-1,为本发明提供一种单板1,所述单板1包括:2 and 2-1, a single board 1 is provided for the present invention, and the single board 1 includes:

联合测试行动组JTAG模块11、通道选择模块12及存储接口13;Joint test action group JTAG module 11, channel selection module 12 and storage interface 13;

所述通道选择模块12与所述JTAG模块11电连接,所述通道选择模块12与所述存储接口13电连接;The channel selection module 12 is electrically connected to the JTAG module 11, and the channel selection module 12 is electrically connected to the storage interface 13;

所述通道选择模块12,用于在JTAG测试设备与所述存储接口13电连接时,连通所述存储接口与所述JTAG模块,使JTAG测试设备与所述JTAG模块11形成通路。可选的,由于目前大多电子设备都内置存储电路,然后相对电子设备的壳体外引出一个存储接口13,以便用户通过内置的存储电路对接入存储接口13的存储设备进行读/写等操作,在上述图2实现复用已有的存储接口实现JTAG测试的情况下,在不进行JTAG测试时,用户仍然可以正常使用上述存储接口13通过电子设备内置的存储电路进行与存储器有关的操作。即所述单板1还包括存储模块14,所述通道选择模块12用于使存储设备与所述存储模块14电连接;The channel selection module 12 is used for connecting the storage interface and the JTAG module when the JTAG test device is electrically connected to the storage interface 13 , so that the JTAG test device and the JTAG module 11 form a channel. Optionally, since most electronic devices currently have a built-in storage circuit, a storage interface 13 is drawn out of the housing of the electronic device, so that the user can read/write the storage device connected to the storage interface 13 through the built-in storage circuit. In the case of multiplexing the existing storage interface to realize JTAG test in the above-mentioned FIG. 2 , when the JTAG test is not performed, the user can still normally use the above-mentioned storage interface 13 to perform memory-related operations through the built-in storage circuit of the electronic device. That is, the single board 1 further includes a storage module 14, and the channel selection module 12 is used to electrically connect a storage device to the storage module 14;

所述通道选择模块12,还用于在存储设备与所述存储接口13电连接时,使存储设备与所述存储模块14形成通路。通过所述通道选择模块12复用存储接口13,实现在JTAG测试模式和存储模式之间切换。该存储设备可以是用于测试所述存储模块的设备,也可以是具有单一存储功能的存储器,具体不做作定。The channel selection module 12 is further configured to form a channel between the storage device and the storage module 14 when the storage device is electrically connected to the storage interface 13 . Through the channel selection module 12 multiplexing the storage interface 13, switching between the JTAG test mode and the storage mode is realized. The storage device may be a device for testing the storage module, or may be a memory with a single storage function, which is not specified in detail.

可以理解的是,上述存储接口13用于所述JTAG模块11与接入所述存储接口13的JTAG测试设备进行通信,以及所述存储模块14与接入所述存储接口13的存储设备进行通信。例如,用户通过所述JTAG模块11对接入所述存储接口13的JTAG测试设备进行JTAG测试等功能,以及通过所述存储模块14对接入所述存储接口13的存储设备进行读/写等操作。上述存储接口为现有的用于实现用户通过所述存储模块14对接入所述存储接口13的存储设备进行读/写等功能的存储接口,例如SD接口。It can be understood that the above-mentioned storage interface 13 is used for the JTAG module 11 to communicate with the JTAG test device connected to the storage interface 13 , and the storage module 14 to communicate with the storage device connected to the storage interface 13 . . For example, the user can use the JTAG module 11 to perform functions such as JTAG testing on the JTAG test device connected to the storage interface 13 , and use the storage module 14 to read/write the storage device connected to the storage interface 13 , etc. operate. The above-mentioned storage interface is an existing storage interface, such as an SD interface, for realizing functions such as reading/writing of the storage device connected to the storage interface 13 by the user through the storage module 14 .

本发明实施例中,通过使用通道选择模块12连接JTAG模块11和存储接口13,使得在JTAG测试设备与所述存储接口13电连接时,与所述JTAG模块11形成通路,从而实现复用该存储接口13进行JTAG测试,实现在无需外部转接板、专用调试软件、不拆机和不降低单板1的集成度的前提下,复用存储接口13进行JTAG测试,有效减少JTAG测试操作和测试用具,也能提高后期JTAG测试的效率、电子设备的集成度和美观性。In the embodiment of the present invention, by using the channel selection module 12 to connect the JTAG module 11 and the storage interface 13, when the JTAG test device is electrically connected to the storage interface 13, a channel is formed with the JTAG module 11, thereby realizing multiplexing of the JTAG module 11. The storage interface 13 is used for JTAG testing, which realizes the multiplexing of the storage interface 13 for JTAG testing without the need for an external adapter board, special debugging software, disassembly, or lowering the integration of the board 1, effectively reducing JTAG testing operations and costs. Test equipment can also improve the efficiency of post-JTAG testing, the integration and aesthetics of electronic equipment.

可选的,在一些发明实施例中,在后期测试人员需要对电子设备进行JTAG测试时,测试人员只需要将JTAG测试设备插入存储接口13,便可实现复用所述存储接口13,通过通道选择模块12使JTAG测试设备与单板内的所述JTAG模块11形成通路,从而启动JTAG测试模式,测试人员便可以通过JTAG测试设备进行JTAG测试。具体启动JTAG测试模式后,电子设备的各模块的信号流向如下:Optionally, in some inventive embodiments, when a tester needs to perform a JTAG test on an electronic device in the later stage, the tester only needs to insert the JTAG test device into the storage interface 13, and then the storage interface 13 can be reused, and the storage interface 13 can be reused through the channel. The selection module 12 enables the JTAG test equipment to form a path with the JTAG module 11 in the single board, thereby enabling the JTAG test mode, and the tester can perform the JTAG test through the JTAG test equipment. After starting the JTAG test mode, the signal flow of each module of the electronic device is as follows:

所述通道选择模块12,还用于在连通所述存储接口13与所述JTAG模块11,即JTAG测试设备与所述JTAG模块11形成通路时,将来自所述JTAG测试设备的JTAG测试信号输入所述JTAG模块11;The channel selection module 12 is also used to input the JTAG test signal from the JTAG test device when the storage interface 13 and the JTAG module 11 are connected, that is, when the JTAG test device and the JTAG module 11 form a channel the JTAG module 11;

所述JTAG模块11,用于根据从所述通道选择模块12接收到的JTAG测试信号,执行所述JTAG测试信号对应的测试项,并将测试得到的第一测试数据传输至所述通道选择模块12;The JTAG module 11 is configured to execute the test item corresponding to the JTAG test signal according to the JTAG test signal received from the channel selection module 12, and transmit the first test data obtained by the test to the channel selection module 12;

所述通道选择模块12,还用于将来自所述JTAG模块的所述第一测试数据通过所述存储接口13传输至所述JTAG测试设备。通过所述通道选择模块12复用存储接口连通到单板上的JTAG模块11后,实现JTAG测试功能,通过对单板1上的重要电子器件进行JTAG边界扫描测试,可以快速确认与电子器件相关的故障,提高维修分析的效率;或者,通过对单板1上的重要电子器件进行JTAG向量仿真测试,可以根据芯片的工作状态确定故障的芯片,提高故障分析的效率;或者,还可以通过对已组装好的单板1上的多个功能器件同时进行在线编程,写入相应的程序,有效提高单板1的加工进度。The channel selection module 12 is further configured to transmit the first test data from the JTAG module to the JTAG test device through the storage interface 13 . After the multiplexed storage interface of the channel selection module 12 is connected to the JTAG module 11 on the single board, the JTAG test function is realized. It can improve the efficiency of maintenance analysis; alternatively, by performing the JTAG vector simulation test on the important electronic devices on the board 1, the faulty chip can be determined according to the working state of the chip, and the efficiency of fault analysis can be improved; Multiple functional devices on the assembled single board 1 are simultaneously programmed online, and corresponding programs are written, thereby effectively improving the processing progress of the single board 1 .

可选的,在一些发明实施例中,在测试人员对电子设备进行JTAG测试结束后,测试人员还可以将存储设备插入存储接口13;或者测试人员直接将存储设备插入存储接口13,便可通过通道选择模块12与单板内的所述存储模块13形成通路,从而启动存储模式或存储测试模式,测试人员便可以对连接的存储设备进行读/写、测试等操作。Optionally, in some inventive embodiments, after the tester completes the JTAG test on the electronic device, the tester can also insert the storage device into the storage interface 13; The channel selection module 12 forms a channel with the storage module 13 in the single board, thereby enabling the storage mode or storage test mode, and the tester can read/write and test the connected storage device.

1、启动存储测试模式后,电子设备的各模块信号流向如下:1. After starting the storage test mode, the signal flow of each module of the electronic device is as follows:

所述通道选择模块12,还用于在连通所述存储接口13与所述存储模块14,即存储设备与所述存储模块14形成通路时,将来自所述存储设备的存储测试信号输出至所述存储模块14;The channel selection module 12 is further configured to output the storage test signal from the storage device to the storage device when the storage interface 13 and the storage module 14 are connected, that is, the storage device and the storage module 14 form a channel. the storage module 14;

所述存储模块14,用于根据从所述通道选择模块12接收到的存储测试信号,执行所述存储测试信号对应的测试项,并将测试得到的第二测试数据输出至所述通道选择模块12;The storage module 14 is configured to execute the test item corresponding to the storage test signal according to the storage test signal received from the channel selection module 12, and output the second test data obtained by the test to the channel selection module 12;

所述通道选择模块12,还用于将来自所述存储模块14的所述第二测试数据通过所述存储接口13传输至所述存储设备。通过所述通道选择模块12选择连通到单板上的存储模块14后,实现存储测试。The channel selection module 12 is further configured to transmit the second test data from the storage module 14 to the storage device through the storage interface 13 . After the channel selection module 12 selects the storage module 14 connected to the single board, the storage test is implemented.

2、启动存储模式后,电子设备的各模块信号流向如下:2. After starting the storage mode, the signal flow of each module of the electronic device is as follows:

所述通道选择模块12,还用于在连通所述存储接口13与所述存储模块14,即存储设备与所述存储模块14形成通路时,将来自所述存储设备发送的二进制信号输出至所述存储模块14;The channel selection module 12 is further configured to output the binary signal sent from the storage device to the storage device when the storage interface 13 and the storage module 14 are connected, that is, the storage device and the storage module 14 form a channel. the storage module 14;

所述存储模块14,用于根据从所述通道选择模块12接收到的二进制信号,执行输入/输出数据的操作,具体输入/输出数据的过程与现有机制类似,本文不作赘述。在输入数据时,所述存储模块14将来自所述存储设备的数据存储;在输出数据时,所述存储模块14输出数据将输入所述通道选择模块12;The storage module 14 is configured to perform an operation of inputting/outputting data according to the binary signal received from the channel selection module 12. The specific process of inputting/outputting data is similar to the existing mechanism, which will not be repeated herein. When inputting data, the storage module 14 stores the data from the storage device; when outputting data, the output data of the storage module 14 will be input to the channel selection module 12;

所述通道选择模块12,还用于将来自所述存储模块14的输出数据通过所述存储接口13传输至所述存储设备。通过所述通道选择模块12选择连通到单板上的存储模块14后,实现数据读取、输入、输出等功能。The channel selection module 12 is further configured to transmit the output data from the storage module 14 to the storage device through the storage interface 13 . After the channel selection module 12 selects the storage module 14 connected to the single board, functions such as data reading, input, and output are realized.

可选的,如图2-1,本文中的所述通道选择模块12包括第一选通端121,第二选通端122和公共端123,所述第一选通端121与所述JTAG模块11的接口端电连接,所述第二选通端122与所述存储模块14的接口端电连接,所述公共端123与所述存储接口13电连接。所述通道选择模块12可以为多路选择开关,多路选择开关包括选通端、公共端等,如图3&4所示,第一选通端包括NO1-NO6,第二选通端包括NC1-NC6,,公共端包括COM1-COM6,所述多路选择开关的第一选通端与所述JTAG模块11的接口端电连接,所述多路选择开关的第二选通端与所述存储模块14的接口端电连接。可选的,多路选择开关为实现选通功能的模拟开关,可以包括多路复用器、多路选择器、多路模拟开关、数据选择器、多路模拟转换器、多路复用开关、多路切换开关、多路开关等,例如可以使用型号为TS3A27518E的多路模拟开关。Optionally, as shown in FIG. 2-1, the channel selection module 12 herein includes a first gate terminal 121, a second gate terminal 122 and a common terminal 123, and the first gate terminal 121 is connected to the JTAG terminal 121. The interface terminal of the module 11 is electrically connected, the second gate terminal 122 is electrically connected to the interface terminal of the storage module 14 , and the common terminal 123 is electrically connected to the storage interface 13 . The channel selection module 12 can be a multiplexer switch, and the multiplexer switch includes a gate terminal, a common terminal, etc. As shown in Figures 3 and 4, the first gate terminal includes NO1-NO6, and the second gate terminal includes NC1- NC6, the common terminal includes COM1-COM6, the first gate terminal of the multiplexer switch is electrically connected to the interface terminal of the JTAG module 11, and the second gate terminal of the multiplexer switch is electrically connected to the storage The interface end of the module 14 is electrically connected. Optionally, the multiplexer switch is an analog switch that implements the gating function, and may include multiplexers, multiplexers, multiplexed analog switches, data selectors, multiplexed analog converters, and multiplexed switches. , multi-channel switch, multi-channel switch, etc., for example, a multi-channel analog switch model TS3A27518E can be used.

举例来说,关于通过多路选择开关连接JTAG模块11和存储接口13,或通过多路选择开关连接存储模块14和存储接口13的内部逻辑电路如图3所示,为实现多路选择开关的选通功能,本发明实施例在多路选择开关还包括选通控制引脚,所述选通控制引脚用于控制公共端与所述第一选通端的通信连接,即连通所述存储接口13和所述JTAG模块11,和控制所述公共端与所述第二选通端的通信连接,即连通所述存储接口13和所述存储模块14。实际应用时,例如,可以使用多路选择开关控制通信连接的切换,即在所述多路选择开关中设置选通控制引脚IN,所述选通控制引脚IN用于控制所述公共端与所述第一选通端连通,即存储接口13与所述JTAG模块11的通信连接,以及控制所述公共端与第二选通端连通,即存储接口13与所述存储模块14的通信连接。即通过在多路选择开关设置选通控制引脚IN,即可实现在JTAG测试设备与存储接口13电连接时,选通与JTAG模块11电连接的引脚,从而实现信号传输。For example, the internal logic circuit for connecting the JTAG module 11 and the storage interface 13 through the multiplexer switch, or connecting the storage module 14 and the storage interface 13 through the multiplexer switch is shown in FIG. 3 . The gating function, in this embodiment of the present invention, the multiplexing switch further includes a gating control pin, and the gating control pin is used to control the communication connection between the common terminal and the first gating terminal, that is, to connect the storage interface. 13 and the JTAG module 11 , and control the communication connection between the common terminal and the second gate terminal, that is, the storage interface 13 and the storage module 14 are connected. In practical application, for example, a multiplexer switch can be used to control the switching of the communication connection, that is, a gate control pin IN is set in the multiplexer switch, and the gate control pin IN is used to control the common terminal. Connecting with the first gate terminal, that is, the communication connection between the storage interface 13 and the JTAG module 11, and controlling the common terminal to communicate with the second gate terminal, that is, the communication between the storage interface 13 and the storage module 14 connect. That is, by setting the gating control pin IN in the multiplexing switch, when the JTAG testing device is electrically connected to the storage interface 13, the pin electrically connected to the JTAG module 11 can be gated, thereby realizing signal transmission.

可选的,所述选通控制引脚IN用于实现控制所述多路选择开关选通控制引脚的功能,故所述选通控制引脚IN还可以用禁止端、使能端、控制信号端等代替,只要能够实现通过输入所述选通控制引脚IN的高低电平来控制引脚的选通即可,具体类型不作限定。Optionally, the gating control pin IN is used to realize the function of controlling the gating control pin of the multiplexer switch, so the gating control pin IN can also be used as a prohibition terminal, an enable terminal, a control terminal, and a control terminal. The signal terminal or the like can be replaced, as long as the gate of the pin can be controlled by inputting the high and low levels of the gate control pin IN, and the specific type is not limited.

可选的,上述选通控制引脚IN的个数可以为1个或多个,具体可以根据芯片的型号和单板的设计选择,例如,可以使用同一个选通控制引脚IN在JTAG测试模式和存储模式之间进行切换,也可以使用一个选通控制引脚IN1控制多路选择开关上对应JTAG模块或存储模块的其中几个引脚,同时使用选通控制引脚IN2控制多路选择开关上对应JTAG模块或存储模块的其他引脚的选通,具体选通控制引脚的数量本文中均不作限定,如图3和图4所示的针对使用IN1和IN2控制选通控制引脚的逻辑电路图,即上述选通控制引脚IN包括第一选通控制引脚IN1和第二选通控制引脚IN2,其中,第一选通控制引脚IN1,用于控制COM1引脚连通所述NC1引脚,或连通NO1引脚,控制COM2引脚连通所述NC2引脚,或连通NO2引脚,COM3引脚连通所述NC3引脚,或连通NO3引脚;第二选通控制引脚IN2,用于控制COM4引脚连通所述NC4引脚,或连通NO4引脚,控制COM5引脚连通所述NC5引脚,或连通NO5引脚,COM6引脚连通所述NC6引脚。Optionally, the number of the above gate control pins IN can be one or more, which can be selected according to the model of the chip and the design of the single board. For example, the same gate control pin IN can be used in the JTAG test. To switch between mode and storage mode, you can also use a gating control pin IN1 to control several pins on the multiplexer switch corresponding to the JTAG module or storage module, and use the gating control pin IN2 to control the multiplexing The gating of other pins on the switch corresponding to the JTAG module or the storage module. The number of the specific gating control pins is not limited in this paper. As shown in Figure 3 and Figure 4, for using IN1 and IN2 to control the gating control pins The logic circuit diagram, that is, the above gate control pin IN includes a first gate control pin IN1 and a second gate control pin IN2, wherein the first gate control pin IN1 is used to control the COM1 pin to connect all Described NC1 pin, or communicates NO1 pin, controls COM2 pin to communicate described NC2 pin, or communicates NO2 pin, COM3 pin communicates described NC3 pin, or communicates NO3 pin; The pin IN2 is used to control the COM4 pin to communicate with the NC4 pin, or to communicate with the NO4 pin, and to control the COM5 pin to communicate with the NC5 pin, or to communicate with the NO5 pin, and the COM6 pin to communicate with the NC6 pin.

图3中各器件之间的连接关系描述如下:The connection relationship between the devices in Figure 3 is described as follows:

一、对于JTAG模块:1. For the JTAG module:

所述JTAG模块11的接口端包括:测试模式选择TMS引脚、测试时钟TCK引脚、测试数据输入TDI引脚、测试数据输出TDO引脚,可选地,还可以包括测试复位TRST引脚;The interface end of the JTAG module 11 includes: a test mode selection TMS pin, a test clock TCK pin, a test data input TDI pin, a test data output TDO pin, and optionally, a test reset TRST pin;

所述多路选择开关的第一选通端包括:与所述测试模式选择TMS引脚对应的第一通道NO1引脚、与所述测试时钟TCK引脚对应的第二通道NO2引脚、与所述测试数据输入TDI引脚对应的第三通道NO3引脚、与所述测试数据输出TDO引脚对应的第四通道NO4引脚,可选的,还可以设置与所述测试复位TRST引脚对应的第五通道NO5引脚。The first gate terminal of the multiplex selection switch includes: the first channel NO1 pin corresponding to the test mode selection TMS pin, the second channel NO2 pin corresponding to the test clock TCK pin, and the The third channel NO3 pin corresponding to the described test data input TDI pin, the fourth channel NO4 pin corresponding to the described test data output TDO pin, optionally, can also be set to the test reset TRST pin Corresponding fifth channel NO5 pin.

其中,TMS引脚与第一通道NO1引脚电连接、TCK引脚与第二通道NO2引脚电连接、TDI引脚与第三通道NO3引脚电连接、TDO引脚与第四通道NO4引脚电连接,及TRST引脚与第五通道NO5引脚电连接。Among them, the TMS pin is electrically connected to the NO1 pin of the first channel, the TCK pin is electrically connected to the NO2 pin of the second channel, the TDI pin is electrically connected to the NO3 pin of the third channel, and the TDO pin is electrically connected to the NO4 pin of the fourth channel. The pin is electrically connected, and the TRST pin is electrically connected with the NO5 pin of the fifth channel.

二、对于存储模块:2. For the storage module:

所述存储模块14的接口端包括:指令CMD引脚、时钟CLK引脚、第一测试数据DATA0引脚、第二测试数据DATA1引脚、第三测试数据DATA2引脚及第四测试数据DATA3引脚;The interface end of the described storage module 14 includes: the instruction CMD pin, the clock CLK pin, the first test data DATA0 pin, the second test data DATA1 pin, the third test data DATA2 pin and the fourth test data DATA3 pin. foot;

所述多路选择开关的第二选通端包括:与所述CMD引脚对应的第六通道NC1引脚、与所述时钟引脚对应的第七通道NC2引脚、与所述第一测试数据DATA0引脚对应的第八通道NC3引脚、与所述第二测试数据DATA1引脚对应的第九通道NC4引脚、与所述第三测试数据DATA2引脚对应的第十通道NC5引脚、及与所述第四测试数据DATA3引脚对应的第十一通道NC6引脚。The second gate end of the multiplexer switch includes: the sixth channel NC1 pin corresponding to the CMD pin, the seventh channel NC2 pin corresponding to the clock pin, and the first test pin. The eighth channel NC3 pin corresponding to the data DATA0 pin, the ninth channel NC4 pin corresponding to the second test data DATA1 pin, and the tenth channel NC5 pin corresponding to the third test data DATA2 pin , and the eleventh channel NC6 pin corresponding to the fourth test data DATA3 pin.

其中,CMD引脚与第六通道NC1引脚电连接、CLK引脚与第七通道NC2引脚电连接、第一测试数据DATA0引脚与第八通道NC3引脚电连接、第二测试数据DATA1引脚与第九通道NC4引脚电连接、第三测试数据DATA2引脚与第十通道NC5引脚电连接,及第四测试数据DATA3引脚与第十通道NC5引脚电连接。Wherein, the CMD pin is electrically connected to the sixth channel NC1 pin, the CLK pin is electrically connected to the seventh channel NC2 pin, the first test data DATA0 pin is electrically connected to the eighth channel NC3 pin, and the second test data DATA1 The pin is electrically connected to the NC4 pin of the ninth channel, the third test data DATA2 pin is electrically connected to the tenth channel NC5 pin, and the fourth test data DATA3 pin is electrically connected to the tenth channel NC5 pin.

举例来说,对于实现所述选通控制引脚IN控制所述多路选择开关中引脚的选通,可以对输入所述选通控制引脚IN的信号进行定义从而实现控制,具体为:For example, for realizing that the gating control pin IN controls the gating of the pins in the multiplexer switch, the signal input to the gating control pin IN can be defined to realize control, specifically:

所述存储接口13包括存储设备检测引脚(SD-DET,Storage Card-Detector)131,所述存储设备检测引脚131与所述选通控制引脚IN电连接,如图2-1和图4所示;The storage interface 13 includes a storage device detection pin (SD-DET, Storage Card-Detector) 131, and the storage device detection pin 131 is electrically connected to the gating control pin IN, as shown in Figure 2-1 and Figure 2. 4 shown;

所述存储设备检测引脚131,用于在JTAG测试设备与所述存储接口13电连接时,触发输入所述选通控制引脚IN的信号为第一电平;在存储设备与所述存储接口13电连接时,触发输入所述选通控制引脚IN的信号为第二电平。通过存储接口13上的存储设备检测引脚131,根据接入存储接口13的设备类型触发相应的高低电平信号至选通控制引脚IN,使得选通控制引脚IN根据信号的电平高低选通对应插入存储接口13的设备对应的引脚。其中,所述第二电平与所述第一电平不同,例如可以设置第一电平为高电平(H,High Level),所述第二电平为低电平(L,Low Level),具体取值本文不作限定。The storage device detection pin 131 is used to trigger the signal input to the gating control pin IN to be the first level when the JTAG test device is electrically connected to the storage interface 13; When the interface 13 is electrically connected, the signal input to the gate control pin IN is triggered to be at the second level. Through the storage device detection pin 131 on the storage interface 13, the corresponding high and low level signals are triggered to the gating control pin IN according to the type of the device connected to the storage interface 13, so that the gating control pin IN is high or low according to the level of the signal The strobe corresponds to the pin corresponding to the device inserted into the storage interface 13 . The second level is different from the first level. For example, the first level can be set to be a high level (H, High Level), and the second level can be set to a low level (L, Low Level). ), the specific value is not limited in this paper.

举例来说,在所述存储设备检测引脚131触发输入所述选通控制引脚IN的信号为高电平H/低电平L时,如图3和表1所示,所述选通控制引脚IN选通所述多路选择开关的情况主要有以下两种:For example, when the storage device detection pin 131 triggers the signal input to the gate control pin IN to be high level H/low level L, as shown in FIG. 3 and Table 1, the gate There are mainly two situations in which the control pin IN selects the multiplexer switch as follows:

a、输入所述选通控制引脚IN(包括IN1和IN2)的信号为H时,所述多路选择开关中的所述第一通道引脚NO1、所述第二通道引脚NO2、所述第三通道引脚NO3、所述第四通道引脚NO4及所述第五通道引脚NO5选通;a. When the signal input to the gating control pin IN (including IN1 and IN2) is H, the first channel pin NO1, the second channel pin NO2, the The third channel pin NO3, the fourth channel pin NO4 and the fifth channel pin NO5 are gated;

b、输入所述选通控制引脚IN(包括IN1和IN2)的信号为L时,所述多路选择开关中的所述第六通道引脚NC1、所述第七通道引脚NC2、所述第八通道引脚NC3、所述第九通道引脚NC4、所述第十通道引脚NC5、及所述第十一通道引脚NC6选通。b. When the signal input to the gating control pin IN (including IN1 and IN2) is L, the sixth channel pin NC1, the seventh channel pin NC2, the The eighth channel pin NC3, the ninth channel pin NC4, the tenth channel pin NC5, and the eleventh channel pin NC6 are gated.

Figure GPA0000247287460000151
Figure GPA0000247287460000151

表1Table 1

参阅图5,本发明还提供一种电子设备2,所述电子设备2包含上述图2-4中任一所述的单板1。Referring to FIG. 5 , the present invention further provides an electronic device 2 , the electronic device 2 includes the single board 1 described in any one of the above-mentioned FIGS. 2-4 .

以上对一种单板1和一种电子设备2的结构进行详细说明,以下以JTAG测试设备对上述单板1或上述电子设备2进行通路的选通进行说明,参阅图6,本发明实施例包括:The structure of a single board 1 and an electronic device 2 is described in detail above. The following describes the gating of the channel of the single board 1 or the electronic device 2 by using a JTAG test equipment. Referring to FIG. 6, an embodiment of the present invention include:

101、在联合测试行动组JTAG测试设备与所述单板中的存储接口电连接时,所述单板中的通道选择模块连通所述存储接口与所述单板中的JTAG模块;101. When the joint test action group JTAG test equipment is electrically connected to the storage interface in the single board, the channel selection module in the single board communicates the storage interface and the JTAG module in the single board;

102、在存储设备与所述单板中的存储接口电连接时,所述通道选择模块连通所述存储接口与所述单板中的存储模块。102. When the storage device is electrically connected to the storage interface in the single board, the channel selection module communicates the storage interface with the storage module in the single board.

由于所述通道选择模块包括第一选通端,第二选通端,公共端和选通控制引脚,所述第一选通端与JTAG模块的接口端电连接,所述第二选通端与所述存储模块的接口端电连接,所述公共端与所述单板中的存储接口电连接;所述存储接口包括存储设备检测引脚,所述存储设备检测引脚与所述选通控制引脚电连接。则所述通道选通模块选通JTAG模块或存储模块的情况具体如下:Since the channel selection module includes a first gate terminal, a second gate terminal, a common terminal and a gate control pin, the first gate terminal is electrically connected to the interface terminal of the JTAG module, and the second gate terminal is electrically connected to the interface terminal of the JTAG module. The terminal is electrically connected to the interface terminal of the storage module, and the common terminal is electrically connected to the storage interface in the single board; the storage interface includes a storage device detection pin, and the storage device detection pin is connected to the selection pin. Electrically connected through the control pins. Then the specific situation of the channel gating module gating the JTAG module or the storage module is as follows:

1、在JTAG测试设备与所述单板中的存储接口电连接时,所述存储设备检测引脚输入所述通道选择模块中的选通控制引脚的信号为第一电平,所述选通控制引脚选通所述第一选通端,以使所述JTAG测试设备与所述JTAG模块通信连接。1. When the JTAG test device is electrically connected to the storage interface in the single board, the signal of the storage device detection pin input to the gating control pin in the channel selection module is the first level, and the selection The first gate terminal is gated through the control pin, so that the JTAG test device is connected to the JTAG module in communication.

2、在所述存储设备与所述单板中的存储接口电连接时,所述存储设备检测引脚输入所述通道选择模块中的选通控制引脚的信号为第二电平,所述选通控制引脚选通所述第二选通端,以使所述存储设备与所述存储模块通信连接。2. When the storage device is electrically connected to the storage interface in the single board, the signal of the storage device detection pin input to the gating control pin in the channel selection module is the second level, and the The gating control pin selects the second gating terminal, so as to connect the storage device and the storage module in communication.

其中,所述第二电平与所述第一电平不同,实现输入选通控制引脚的信号为不同的特定电平时,选通相应的选通端,实现复用存储接口。Wherein, the second level is different from the first level, so that when the signal input to the gating control pin is at a different specific level, the corresponding gating terminal is selected to realize the multiplexing storage interface.

本发明实施例中,通过JTAG测试设备与所述存储接口电连接,所述通道选择模块连通所述存储接口与所述JTAG模块,使得JTAG测试设备通过存储接口和通道选择模块两者,与JTAG模块进行通信;在存储设备与所述存储接口电连接时,所述通道选择模块连通所述存储接口与所述存储模块,实现在无需外部转接板、专用调试软件、不拆机和不降低单板的集成度的前提下,复用现有的存储接口进行JTAG测试和功能切换,有效减少JTAG测试操作和测试用具,也能提高后期JTAG测试的效率、电子设备的集成度和美观性。In the embodiment of the present invention, a JTAG test device is electrically connected to the storage interface, and the channel selection module communicates with the storage interface and the JTAG module, so that the JTAG test device is connected to the JTAG module through both the storage interface and the channel selection module. module for communication; when the storage device is electrically connected to the storage interface, the channel selection module communicates the storage interface and the storage module, so that no external adapter board, special debugging software, no disassembly and no lowering are required. On the premise of the integration of the single board, the existing storage interface is reused for JTAG testing and function switching, which effectively reduces JTAG testing operations and testing tools, and can also improve the efficiency of JTAG testing in the later stage, and the integration and aesthetics of electronic equipment.

本发明还提供一种计算机存储介质,该介质存储有程序,该程序执行时包括上述选通的方法中的部分或者全部步骤。The present invention also provides a computer storage medium, the medium stores a program, and when the program is executed, it includes some or all of the steps in the above-mentioned gating method.

本发明还提供一种计算机存储介质,该介质存储有程序,该程序执行时包括上述单板或电子设备执行一种选通的方法中的部分或者全部步骤。The present invention also provides a computer storage medium, the medium stores a program, and when the program is executed, the program includes part or all of the steps in the above-mentioned single board or electronic device to perform a gating method.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which is not repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may 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 all or 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 several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, removable hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.

以上对本发明所提供的一种单板、电子设备及选通的方法进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A single board, an electronic device and a gating method provided by the present invention have been described in detail above. The principles and implementations of the present invention are described with specific examples in this paper. The descriptions of the above embodiments are only used to help Understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification does not It should be understood as a limitation of the present invention.

Claims (6)

1. A single board, comprising:
the joint test action group JTAG module, the storage module, the channel selection module and the storage interface;
the channel selection module is electrically connected with the JTAG module, the channel selection module is electrically connected with the storage interface, and the channel selection module is electrically connected with the storage module;
the channel selection module is used for communicating the storage interface and the JTAG module when the JTAG test equipment is electrically connected with the storage interface;
when the storage equipment is electrically connected with the storage interface, the storage interface is communicated with the storage module;
the channel selection module comprises a first gating end, a second gating end, a public end and a gating control pin, wherein the first gating end is electrically connected with an interface end of the JTAG module, the second gating end is electrically connected with an interface end of the storage module, and the public end is electrically connected with the storage interface;
the gating control pin is used for controlling the connection between the common terminal and the first gating terminal and controlling the communication connection between the common terminal and the second gating terminal;
the interface end of the memory module includes: the device comprises an instruction pin, a clock pin, a first test data pin, a second test data pin, a third test data pin and a fourth test data pin;
the second gate terminal includes: a sixth channel pin corresponding to the instruction pin, a seventh channel pin corresponding to the clock pin, an eighth channel pin corresponding to the first test data pin, a ninth channel pin corresponding to the second test data pin, a tenth channel pin corresponding to the third test data pin, and an eleventh channel pin corresponding to the fourth test data pin;
when the signal input to the gating control pin is at a second level, the sixth channel pin, the seventh channel pin, the eighth channel pin, the ninth channel pin, the tenth channel pin, and the eleventh channel pin in the channel selection module are gated.
2. The veneer according to claim 1,
the interface end of the JTAG module comprises: a test mode selection pin, a test clock pin, a test data input pin and a test data output pin;
the first strobe terminal includes: a first channel pin corresponding to the test mode selection pin, a second channel pin corresponding to the test clock pin, a third channel pin corresponding to the test data input pin, and a fourth channel pin corresponding to the test data output pin;
when the signal input into the gating control pin is at a first level, the first channel pin, the second channel pin, the third channel pin and the fourth channel pin in the channel selection module are gated;
the first level is different from the second level.
3. The single board according to any of claims 1-2, wherein the storage interface comprises a storage device detection pin, the storage device detection pin being electrically connected to the gating control pin;
the storage device detection pin is used for triggering a signal input into the gating control pin to be a first level when the JTAG test device is electrically connected with the storage interface; and when the storage equipment is electrically connected with the storage interface, triggering the signal input into the gating control pin to be the second level.
4. The veneer according to claim 1,
the channel selection module is also used for inputting a JTAG test signal from the JTAG test equipment into the JTAG module when a passage is formed with the JTAG module;
the JTAG module is used for executing a test item corresponding to the JTAG test signal according to the JTAG test signal received from the channel selection module and transmitting first test data obtained by testing to the channel selection module;
the channel selection module is further configured to transmit the first test data from the JTAG module to the JTAG test device through the storage interface.
5. An electronic device, characterized in that the electronic device comprises:
the veneer according to any one of claims 1 to 4.
6. A gating method is applied to a single board, and is characterized in that the method comprises the following steps:
when Joint Test Action Group (JTAG) test equipment is electrically connected with a storage interface in the single board, a channel selection module in the single board is communicated with the storage interface and a JTAG module in the single board;
when the storage device is electrically connected with the storage interface in the single board, the channel selection module is communicated with the storage interface and the storage module in the single board;
the channel selection module comprises a first gating end, a second gating end, a public end and a gating control pin, wherein the first gating end is electrically connected with an interface end of the JTAG module, the second gating end is electrically connected with an interface end of the storage module, and the public end is electrically connected with a storage interface in the single board; the storage interface comprises a storage device detection pin which is electrically connected with the gating control pin;
when the joint test action group JTAG test equipment is electrically connected with the storage interface in the single board, the channel selection module in the single board is communicated with the storage interface and the JTAG module in the single board, and the joint test action group JTAG test equipment comprises the following components:
when the JTAG test equipment is electrically connected with a storage interface in the single board, the storage equipment detects that a signal input into a gating control pin in the channel selection module by the pin is a first level, and the gating control pin gates the first gating end so as to enable the JTAG test equipment to be in communication connection with the JTAG module;
when the storage device is electrically connected to the storage interface in the board, the channel selection module communicates the storage interface with the storage module in the board, including:
when the storage device is electrically connected with a storage interface in the single board, the storage device detects that a signal input by a pin to a gating control pin in the channel selection module is a second level, and the gating control pin gates the second gating end so that the storage device is in communication connection with the storage module; the second level is different from the first level.
CN201680076002.6A 2016-01-28 2016-01-28 A single board, electronic equipment and method for gating Active CN108431788B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/072526 WO2017128181A1 (en) 2016-01-28 2016-01-28 Single board, electronic apparatus and method for channel selection

Publications (2)

Publication Number Publication Date
CN108431788A CN108431788A (en) 2018-08-21
CN108431788B true CN108431788B (en) 2020-09-25

Family

ID=59396814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201680076002.6A Active CN108431788B (en) 2016-01-28 2016-01-28 A single board, electronic equipment and method for gating

Country Status (2)

Country Link
CN (1) CN108431788B (en)
WO (1) WO2017128181A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN211427340U (en) * 2019-12-06 2020-09-04 合肥市卓怡恒通信息安全有限公司 Storage encryption system based on domestic chip platform and computer
CN114779052A (en) * 2022-04-28 2022-07-22 深圳市航顺芯片技术研发有限公司 ATE test equipment, test method, test system and storage medium
CN115629926B (en) * 2022-11-30 2023-03-31 苏州浪潮智能科技有限公司 Control system, method and device based on joint test working group interface
CN116010326A (en) * 2022-12-30 2023-04-25 华勤技术股份有限公司 Signal control circuit and signal control method
CN117728899B (en) * 2024-02-06 2024-06-04 北京东远润兴科技有限公司 Equipment joint debugging method and device, terminal equipment and storage medium
CN119414810A (en) * 2024-10-25 2025-02-11 重庆览山汽车电子有限公司 A microcontroller testing method, device and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5793987A (en) * 1996-04-18 1998-08-11 Cisco Systems, Inc. Hot plug port adapter with separate PCI local bus and auxiliary bus
DE60221010D1 (en) * 2001-05-16 2007-08-16 Ibm METHOD AND SYSTEM FOR EFFICIENT ACCESS TO REMOVED INPUT / OUTPUT FUNCTIONS IN EMBEDDED CONTROL ENVIRONMENTS
CN102142911A (en) * 2010-08-31 2011-08-03 华为技术有限公司 Communication equipment and communication test method
CN102750243A (en) * 2012-07-05 2012-10-24 中颖电子股份有限公司 Easily-debugged embedded system of complex SD (secure digital) interface
CN102998614A (en) * 2012-12-14 2013-03-27 中船重工(武汉)凌久电子有限责任公司 System capable of achieving digital signal processor (DSP) single-plate or multi-plate joint test action group (JTAG) debugging and debugging method
CN103415777A (en) * 2011-03-09 2013-11-27 英特尔公司 A functional fabric-based test controller for functional and structural test and debug

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM298123U (en) * 2006-01-27 2006-09-21 Askey Computer Corp Peripherals connecting devices with boundary scanning and testing functions
US7836342B2 (en) * 2006-09-15 2010-11-16 Nokia Corporation Providing maintenance access via an external connector
CN102289419A (en) * 2010-06-17 2011-12-21 珠海全志科技有限公司 Multiplex SOC(system on a chip) integrated circuit for functional interface and debugging interface
CN103136138B (en) * 2011-11-24 2015-07-01 炬力集成电路设计有限公司 Chip, chip debugging method and communication method for chip and external devices

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5793987A (en) * 1996-04-18 1998-08-11 Cisco Systems, Inc. Hot plug port adapter with separate PCI local bus and auxiliary bus
DE60221010D1 (en) * 2001-05-16 2007-08-16 Ibm METHOD AND SYSTEM FOR EFFICIENT ACCESS TO REMOVED INPUT / OUTPUT FUNCTIONS IN EMBEDDED CONTROL ENVIRONMENTS
CN102142911A (en) * 2010-08-31 2011-08-03 华为技术有限公司 Communication equipment and communication test method
CN103415777A (en) * 2011-03-09 2013-11-27 英特尔公司 A functional fabric-based test controller for functional and structural test and debug
CN102750243A (en) * 2012-07-05 2012-10-24 中颖电子股份有限公司 Easily-debugged embedded system of complex SD (secure digital) interface
CN102998614A (en) * 2012-12-14 2013-03-27 中船重工(武汉)凌久电子有限责任公司 System capable of achieving digital signal processor (DSP) single-plate or multi-plate joint test action group (JTAG) debugging and debugging method

Also Published As

Publication number Publication date
WO2017128181A1 (en) 2017-08-03
CN108431788A (en) 2018-08-21

Similar Documents

Publication Publication Date Title
CN108431788B (en) A single board, electronic equipment and method for gating
CN108475227B (en) Test functional components and data debugging methods
US8281280B2 (en) Method and apparatus for versatile controllability and observability in prototype system
CN102214132B (en) A method and device for debugging Loongson CPU and north-south bridge chips
CN106294056B (en) Chip adjustment method and device
CN103186441A (en) Switching circuit
CN101102566B (en) A design method and debugging method for mobile phone JTAG debugging interface signals
CN104809043A (en) Connection test method and device of motherboard CPU (Central Processing Unit) slot based on boundary scan
US7676698B2 (en) Apparatus and method for coupling a plurality of test access ports to external test and debug facility
CN219225016U (en) FPGA prototype test board of Retimer chip
CN116820856A (en) A PCIe link detection expansion board, method, terminal and storage medium
CN112596743B (en) Military FPGA general reconstruction circuit based on JTAG interface
WO2022052161A1 (en) Chip debugging system and debugger
CN111008102A (en) FPGA accelerator card high-speed interface SI test control device, system and method
WO2016184170A1 (en) Smi interface device debugging apparatus and method, and storage medium
CN108877868A (en) Parallel apparatus for testing chip and test method
CN104461796B (en) JTAG debugging modules and adjustment method for embedded 8051CPU
CN114089172B (en) JTAG debugging method of PCIE IO expansion chip
CN105573954B (en) A kind of attachment device between jtag interface and internal user logic
CN202257547U (en) Device for testing display card in Loongson CPU platform
CN118713752A (en) A multi-FPGA hardware simulation acceleration system based on optical switching
CN102486939A (en) Joint test action group test method and device for memory
CN115017080B (en) A circuit and method for multiplexing JTAG pins in FPGA chip
KR102038414B1 (en) Test device and operating method thereof
TWI259381B (en) Integrated device of simulation circuit and processor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant