CN101360145B - Mobile communication apparatus implementing function of earphone and JTAG - Google Patents

Mobile communication apparatus implementing function of earphone and JTAG Download PDF

Info

Publication number
CN101360145B
CN101360145B CN2008102006238A CN200810200623A CN101360145B CN 101360145 B CN101360145 B CN 101360145B CN 2008102006238 A CN2008102006238 A CN 2008102006238A CN 200810200623 A CN200810200623 A CN 200810200623A CN 101360145 B CN101360145 B CN 101360145B
Authority
CN
China
Prior art keywords
jtag
road
tail plug
mobile communication
circuit
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
CN2008102006238A
Other languages
Chinese (zh)
Other versions
CN101360145A (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.)
Shanghai Wingtech Electronic Technology Co Ltd
Original Assignee
Shanghai Wingtech Electronic Technology 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 Shanghai Wingtech Electronic Technology Co Ltd filed Critical Shanghai Wingtech Electronic Technology Co Ltd
Priority to CN2008102006238A priority Critical patent/CN101360145B/en
Publication of CN101360145A publication Critical patent/CN101360145A/en
Application granted granted Critical
Publication of CN101360145B publication Critical patent/CN101360145B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a mobile communication apparatus for realizing functions of earphones and JTAG, which is characterized in that: a plug circuit, an earphone circuit and a debugging circuit of JTAG are arranged on a circuit board of the mobile communication apparatus, the plug circuit is connected with the JTAG debugging circuit through an O-ohm impedance, and can also be connected with the earphone circuit through the O-ohm impedance. The mobile communication apparatus solves the problem that weld lines or more analog switches are needed when realizing functions of earphones and JTAG simultaneously in the prior art, and has advantages of stable performance and simple structure.

Description

A kind of device for mobile communication of realizing earphone and JTAG function
Technical field
The present invention relates to field of mobile communication, especially relate to a kind of device for mobile communication of realizing earphone and JTAG function.
Background technology
JTAG (JOINT TEST ACTION GROUP) Chinese combined testing action group is a kind of international standard test protocol, is mainly used in the chip internal test.Most now high-grade device are all supported the JTAG agreement, as CPU, DSP, FPGA device etc.JTAG can carry out circuit collection, CPU read-write, fault simulation etc., realizes observation, emulation, the simulation of fault in the development process.The definition of the relevant pin of JTAG: TCK is the test clock input; TDI is test data input (data is by TDI pin input jtag interface); TDO is test data output (data are exported from jtag interface by the TDO pin); TMS is that test pattern is selected (TMS is used for being provided with jtag interface and is in certain specific test pattern); TRST is a test reset, input pin, and low level is effective.
By the observation of JTAG to the system signal state, can accurately search system's barrier, JTAG is a very practical testing standard.In order when cell phone system goes wrong, to use the JTAG function, need to increase the jtag interface circuit in the mobile phone circuit.
In order when mobile phone circuit breaks down, to use the JTAG debug function, need from the CPU pin, draw the jtag interface circuit.Because JTAG needs five interfaces, needs when in use the pad of five interface signals of JTAG by JTAG gone between out, be connected on the JTAG debugger, on the corresponding JTAG debugger welding lead is arranged also.
Yet general JTAG debugger all is a socket type, is unfavorable for bonding wire.Yin Xian length and diameter have very big influence to the speed of JTAG simultaneously, and also are very easy to short circuit, open circuit with what lead-in wire connected, are unfavorable for debugging.
In addition, also can use analog switch to switch, yet, if use analog switch to switch, increased the cost of analog switch again, be unfavorable for realizing the cost degradation of present device for mobile communication equipment.
Summary of the invention
The present invention is intended to solve the deficiencies in the prior art, provides a kind of and can realize earphone and JTAG function, the device for mobile communication of stable performance features simple structure simultaneously.
For addressing the above problem, the invention provides a kind of device for mobile communication of realizing earphone and JTAG function, it is characterized in that: the debug circuit that has tail plug-in road, head circuit and JTAG on the circuit board of device for mobile communication, described tail plug-in road can be connected with the JTAG debug circuit by 0 ohm impedance, also can be connected with head circuit by 0 ohm impedance.
The present invention also has following feature: described device for mobile communication is a mobile phone, described 0 ohm impedance comprises 0 ohm of exclusion and 0 Ohmic resistance, impedance by 0 ohm, the TMS of described JTAG debug circuit links to each other with the global semaphore MIC_HP_IO that tail is inserted, TDO links to each other with the global semaphore EAR_R_IO that tail is inserted, TDI links to each other with the global semaphore EAR_L_IO on tail plug-in road, and TCK links to each other with the global semaphore EARDET_IO on tail plug-in road, and TRST links to each other with the global semaphore DGND_IO on tail plug-in road.JTAG five road signals link to each other with the circuit of CPU by tail plug-in road, and the EARDET that passes through 0 ohm impedance head circuit is connected with the global semaphore EARDET_IO on tail plug-in road, the EAR_R of head circuit is connected with the global semaphore EAR_R_IO on tail plug-in road, EAR_L is connected with the global semaphore EAR_L_IO on tail plug-in road, MIC_HP is connected with the global semaphore MIC_HP_IO on tail plug-in road, and GND is connected with the global semaphore DGND_IO on tail plug-in road.
By said method, can realize the debug function of JTAG by multiplexing its head circuit and JTAG debug circuit on the tail plug-in road of device for mobile communication.
Description of drawings
Below in conjunction with the drawings and the specific embodiments the present invention is further described.
Fig. 1 is the schematic diagram that five global semaphores on five signals of JTAG debug circuit and mobile phone tail plug-in road link to each other with 0 Ohmic resistance R627 by 0 ohm of exclusion RR602;
Fig. 2 is the schematic diagram that five global semaphores on five signals of head circuit and mobile phone tail plug-in road link to each other with 0 Ohmic resistance R626 by 0 ohm of exclusion RR601;
Fig. 3 is five global semaphore schematic diagrames on tail plug-in road and tail plug-in road.
Embodiment
See also Fig. 1 and shown in Figure 3, it is the schematic diagram that five global semaphores on five signals of JTAG debug circuit and mobile phone tail plug-in road link to each other with 0 Ohmic resistance R627 by 0 ohm of exclusion RR602.Wherein, EARDET_IO, EAR_R_IO, EAR_L_IO, MIC_HP_IO and DGND_IO are five global semaphores that link to each other with mobile phone tail plug-in road.In addition, on the device for mobile communication device, also have circuit board, it is provided with CPU.And in the debug circuit of JTAG, TCK is the test clock input; TDI is test data input (data is by TDI pin input jtag interface); TDO is test data output (data are exported from jtag interface by the TDO pin); TMS is that test pattern is selected (TMS is used for being provided with jtag interface and is in certain specific test pattern).When in 0 ohm of exclusion RR602 and the 0 Ohmic resistance R627 welding time, and this moment 0 ohm of exclusion RR601 and not welding of 0 Ohmic resistance R626, five road signal TDO of JTAG link to each other with the global semaphore EAR_R_IO on tail plug-in road, TDI links to each other with the global semaphore EAR_L_IO on tail plug-in road, TCK links to each other with the global semaphore EARDET_IO on tail plug-in road, TRST links to each other with the global semaphore DGND_IO on tail plug-in road, TMS links to each other with the global semaphore MIC_HP_IO on tail plug-in road, and then JTAG five road signals link to each other with the circuit of CPU by tail plug-in road.At this moment, mobile phone tail plug-in road can be directly connected on the JTAG debugger, has realized being connected of cell phone mainboard and JTAG debugger, thereby can carry out the debug function of JTAG.
See also Fig. 2 and shown in Figure 3, it is the schematic diagram that five global semaphores on five signals of head circuit and mobile phone tail plug-in road link to each other with 0 Ohmic resistance R626 by 0 ohm of exclusion RR601.Wherein, EARDET is the detection signal that earphone inserts, and MIC_HP is Mike's signal of earphone, and EAR_R is the right-channel signals of earphone, and EAR_L is the left channel signals of earphone, and GND is the earth signal of earphone.In addition, on the device for mobile communication device, also have circuit board, it is provided with CPU.When in 0 ohm of exclusion RR601 and the 0 Ohmic resistance R626 welding time, and this moment 0 ohm of exclusion RR602 and not welding of 0 Ohmic resistance R627, EARDET is connected with the global semaphore EARDET_IO on tail plug-in road, EAR_R is connected with the global semaphore EAR_R_IO on tail plug-in road, EAR_L is connected with the global semaphore EAR_L_IO on tail plug-in road, MIC_HP is connected with the global semaphore MIC_HP_IO on tail plug-in road, GND is connected with the global semaphore DGND_IO on tail plug-in road, earphone is communicated with cpu circuit by tail plug-in road, ear-phone function can use, and the JTAG debug function can not be used.
Comprehensively above-mentioned, the present invention has finished inventor's goal of the invention, and the device for mobile communication of realization earphone provided by the invention and JTAG function can be realized earphone and JTAG function simultaneously, need not bonding wire, so its stable performance does not need external analog switch, its features simple structure in addition yet.

Claims (5)

1. device for mobile communication of realizing earphone and JTAG function, it is characterized in that: the debug circuit that has tail plug-in road, head circuit and JTAG on the circuit board of device for mobile communication, described tail plug-in road can be connected with the JTAG debug circuit by 0 ohm impedance, also can be connected with head circuit by 0 ohm impedance.
2. the device for mobile communication of realization earphone as claimed in claim 1 and JTAG function is characterized in that: described device for mobile communication is a mobile phone.
3. the device for mobile communication of realization earphone as claimed in claim 1 and JTAG function is characterized in that: described 0 ohm impedance comprises 0 ohm of exclusion and 0 Ohmic resistance.
4. the device for mobile communication of realization earphone as claimed in claim 1 and JTAG function, it is characterized in that: by 0 ohm impedance, the TMS of described JTAG debug circuit links to each other with the global semaphore MIC_HP_IO that tail is inserted, TDO links to each other with the global semaphore EAR_R_IO that tail is inserted, TDI links to each other with the global semaphore EAR_L_IO on tail plug-in road, TCK links to each other with the global semaphore EARDET_IO on tail plug-in road, and TRST links to each other with the global semaphore DGND_IO on tail plug-in road.
5. the device for mobile communication of realization earphone as claimed in claim 1 and JTAG function, it is characterized in that: by described 0 ohm impedance, the EARDET of head circuit is connected with the global semaphore EARDET_IO on tail plug-in road, the EAR_R of head circuit is connected with the global semaphore EAR_R_IO on tail plug-in road, EAR_L is connected with the global semaphore EAR_L_IO on tail plug-in road, MIC_HP is connected with the global semaphore MIC_HP_IO on tail plug-in road, and GND is connected with the global semaphore DGND_IO on tail plug-in road.
CN2008102006238A 2008-09-27 2008-09-27 Mobile communication apparatus implementing function of earphone and JTAG Active CN101360145B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102006238A CN101360145B (en) 2008-09-27 2008-09-27 Mobile communication apparatus implementing function of earphone and JTAG

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102006238A CN101360145B (en) 2008-09-27 2008-09-27 Mobile communication apparatus implementing function of earphone and JTAG

Publications (2)

Publication Number Publication Date
CN101360145A CN101360145A (en) 2009-02-04
CN101360145B true CN101360145B (en) 2010-12-15

Family

ID=40332480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102006238A Active CN101360145B (en) 2008-09-27 2008-09-27 Mobile communication apparatus implementing function of earphone and JTAG

Country Status (1)

Country Link
CN (1) CN101360145B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101893685B (en) * 2009-05-23 2013-12-25 深圳富泰宏精密工业有限公司 Debugging device
CN103093990B (en) * 2011-10-31 2015-06-03 成都信息工程学院 Multiplex design circuit of systematic physical key
CN104484268A (en) * 2014-11-21 2015-04-01 厦门美图移动科技有限公司 Debugging method and mobile terminal

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102566A (en) * 2007-06-25 2008-01-09 中兴通讯股份有限公司 A design method and debugging method for mobile phone JTAG debugging interface signals

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102566A (en) * 2007-06-25 2008-01-09 中兴通讯股份有限公司 A design method and debugging method for mobile phone JTAG debugging interface signals

Also Published As

Publication number Publication date
CN101360145A (en) 2009-02-04

Similar Documents

Publication Publication Date Title
CN101893685B (en) Debugging device
CN100425999C (en) Circuit board fault self-positioning device and method based on programmable logic device
CN101360145B (en) Mobile communication apparatus implementing function of earphone and JTAG
CN100412559C (en) Chip testing method and relevant apparatus
CN103412810A (en) System packaging chip capable of testing internal signals and test method
CN108226764A (en) Debugging apparatus and adjustment method
CN203444464U (en) Intelligent terminal device
CN105510663B (en) A kind of automation collection test method applied to amplitude differential signal
CN103647863B (en) A kind of method and system that earphone loop is mutually measured based on two mobile terminals
CN201654067U (en) Connecting plate for testing device with golden finger
CN202735427U (en) Test apparatus and system for Ethernet consistency
CN102692525A (en) An assistant testing device for PCI card
CN110109006A (en) A kind of JTAG level pinboard, veneer and debugging single board system
CN102628923B (en) Test device of analog circuit
CN103207367B (en) Multi-path signal testing method, system and device for printed board
CN205754860U (en) GSM audio test system
TW200819771A (en) Apparatus and related method for chip i/o test
CN209148834U (en) A kind of four line test macro of separate type kind needle of pcb board
CN205562599U (en) ICNI equipment signal tests switching device
CN209560007U (en) A kind of testing lines system based on wireless technology
CN202631692U (en) Test adapter
CN210868140U (en) PCBA circuit board for bluetooth headset
CN202582583U (en) Automobile instrument and diagnosis system thereof
CN103823147A (en) Bonding wire touch short circuit detection method based on pulse capture
CN217213013U (en) Chip test structure and chip test system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant