CN106874154A - Mobile terminal device and UART debugging systems - Google Patents

Mobile terminal device and UART debugging systems Download PDF

Info

Publication number
CN106874154A
CN106874154A CN201710057050.7A CN201710057050A CN106874154A CN 106874154 A CN106874154 A CN 106874154A CN 201710057050 A CN201710057050 A CN 201710057050A CN 106874154 A CN106874154 A CN 106874154A
Authority
CN
China
Prior art keywords
uart
interface
pins
pin
usb
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.)
Pending
Application number
CN201710057050.7A
Other languages
Chinese (zh)
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201710057050.7A priority Critical patent/CN106874154A/en
Publication of CN106874154A publication Critical patent/CN106874154A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3648Software debugging using additional hardware
    • G06F11/3656Software debugging using additional hardware using a specific debug interface

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The present invention proposes a kind of mobile terminal device and a kind of UART debugging systems, wherein, the mobile terminal device includes:Processor and USB Type C interface sockets;Wherein, the processor includes UART RXD interfaces and UART TXD interfaces, the USB Type C interface socket includes the first default pin and the second default pin, and a pin and the UART TXD interfaces that the UART RXD interfaces are connected in the described first default pin and the second default pin are connected to another pin in the described first default pin and the second default pin.By the technical scheme of the invention, UART debugging interface functions can be realized with more convenient mode of operation in the case of cost-effective.

Description

Mobile terminal device and UART debugging systems
Technical field
The present invention relates to mobile terminal device technical field, in particular to a kind of mobile terminal device and one kind UART debugging systems.
Background technology
At present, due to USB (Universal Serial Bus, USB) Type-C, (a kind of of USB interface connects Interface is connect, be can be inserted into regardless of tow sides) have and support that positive anti-plug, large current charge and high speed USB 3.0/3.1 data are passed Defeated the advantages of, so using the electronic equipment of Type-C interfaces, especially portable intelligent device is more and more.And producing Cheng Zhong, software debugging, case study and aspect is frequently necessary to use UART (Universal Asynchronous after sale etc. Receiver/Transmitter, universal asynchronous receiving-transmitting transmitter) interface captures log (log recording) information.
In relevant programme, or circuitry design on by increase an analog switch come switch USB and UART, so as to realize UART debugging functions, but there is high cost in this scheme;Or add on circuitry plate Upper UART test points are, it is necessary to when UART is debugged, UART debugging functions be realized by manual fly line to test point, and this scheme is deposited In inconvenient operation and time-consuming problem, machine is especially taken during whole machine apart, while also exist being not easy to powered fly line behaviour The problem of work.
The content of the invention
The present invention is based on above mentioned problem, it is proposed that a kind of new technical scheme, by using USB Type-C interfaces The positive and negative plugging function of socket, can be without by setting up in circuitry analog switch or increasing UART test points and combine hand The modes such as work fly line realize the UART debugging interface functions of mobile terminal device, with more convenient in the case of cost-effective Mode of operation realizes UART debugging interface functions, so that it is guaranteed that exactly by UART debugging interfaces capture Log information for The aspects such as software debugging, case study and after-sale service, lift service efficiency.
In view of this, according to the first aspect of the invention, it is proposed that a kind of mobile terminal device, including:Processor and USB Type-C interface sockets;Wherein, the processor includes UART RXD interfaces and UART TXD interfaces, and the USB Type-C connect Mouthful socket includes the first default pin and the second default pin, the UART RXD interfaces be connected to the described first default pin and A pin and the UART TXD interfaces in described second default pin are connected to the described first default pin and described Another pin in second default pin.
In the technical scheme, USB is connected to by by UART RXD (receiving the pin of data) interface of processor Any one in two default pins of Type-C interface sockets and its UART TXD (sending the pins of data) interface connection Another into two default pins of USB Type-C interfaces, i.e., by using the positive anti-plug of USB Type-C interface sockets Function, can be without by setting up the mode such as analog switch or increase UART test points and the manual fly line of combination in circuitry The UART debugging interface functions of mobile terminal device are realized, is realized with more convenient mode of operation in the case of cost-effective UART debugging interface functions, so that it is guaranteed that capturing Log information for software debugging, problem by UART debugging interfaces exactly The aspect such as analysis and after-sale service, lifts service efficiency.
In the above-mentioned technical solutions, it is preferable that the mobile terminal device also includes:First resistor and second resistance;Its In, one end of the first resistor is connected to the UART RXD interfaces, the other end and is connected to the described first default pin and institute State a pin in the second default pin, and one end of the second resistance is connected to UART TXD interfaces, another End is connected to another pin in the described first default pin and the second default pin.
In the technical scheme, in order to effectively prevent two default pins of USB Type-C interface sockets extremely short-circuit Youngster burns out processor on to VBUS (USB voltages) network, so as to effectively protect back end device processor, improves and uses safety Property, can be in the UART RXD interfaces of processor and two default pins of UART TXD interfaces and USB Type-C interface sockets Between connect two resistance for shielding.
In any of the above-described technical scheme, it is preferable that when the described first default pin is SBU1 pins, described second is pre- If pin is SBU2 pins;When the described first default pin is SBU2 pins, the described second default pin is SBU1 pins.
In the technical scheme, two default pins of USB Type-C interface sockets can be respectively SBU1 pins and SBU2 pins, to ensure to realize the effective positive and negative plugging function of USB Type-C interface sockets, then when being connected with processor, specifically Ground can be by SBU1 pins and SBU2 pins be connected to UART RXD interfaces and by two another company It is connected to UART TXD interfaces.
In any of the above-described technical scheme, can be according to the resistance of specific debugging situation setting first resistor and second resistance Value, to be applicable different debugging demands, forms the effective overvoltage protection to processor, preferably first resistor and second resistance Resistance can be taken as 1K ohm.
In any of the above-described technical scheme, it is preferable that the mobile terminal device is smart mobile phone or adapter.
In the technical scheme, mobile terminal device can be mobile phone or adapter with USB Type-C interfaces, with The positive and negative plugging function of the USB Type-C interface sockets based on mobile terminal device, by without setting up simulation in circuitry Switch increases UART test points and combines the UART debugging interface functions that the modes such as manual fly line realize mobile terminal device;When Can also be so equipment that other possess USB Type-C interfaces, such as panel computer etc..
According to the second aspect of the invention, it is proposed that a kind of UART debugging systems, including:As above any one of technical scheme Described mobile terminal device, connection equipment and upper computer equipment;Wherein, the connection equipment is used to connect the mobile terminal Equipment and the upper computer equipment, UART debugging is carried out with to the mobile terminal device.
In the technical scheme, the mobile terminal device is connected to by upper computer equipment by connection equipment, realized upper UART between machine equipment and mobile terminal device communicates, and with more convenient mode of operation reality in the case of cost-effective The UART debugging interface functions of existing mobile terminal device, so that it is guaranteed that exactly by UART debugging interfaces capture Log information with For aspects such as software debugging, case study and after-sale services, service efficiency is lifted.
In the above-mentioned technical solutions, it is preferable that the connection equipment includes USB Type-C interface plugs, for being connected to The USB Type-C interface sockets of the mobile terminal device.
In the technical scheme, in order to realize the effective connection between connection equipment and mobile terminal device, with based on shifting The positive and negative plugging function of the USB Type-C interface sockets of dynamic terminal device, by without be set up in circuitry analog switch or Increase UART test points and combine the UART debugging interface functions that the modes such as manual fly line realize mobile terminal device, then connection sets The standby USB Type-C interface plugs that should be matched equipped with the USB Type-C interface sockets with mobile terminal device.
In any of the above-described technical scheme, it is preferable that the connection equipment also includes UART cables and connection equipment end UART interface, and the upper computer equipment includes upper computer equipment end UART interface;Wherein, one end of the UART cables connects It is connected to the USB Type-C interface plugs, the other end and is connected to the connection equipment end UART interface, and the connection equipment End UART interface is connected to upper computer equipment end UART interface.
On the one hand in the technical scheme, can by UART cables by connect equipment USB Type-C interface plugs and Connection equipment end UART interface links together, and then by the connection equipment end UART interface and the host computer of upper computer equipment Matching connection between equipment end UART interface realizes that the UART between upper computer equipment and mobile terminal device communicates, to enter one Step completes UART debugging functions.
In any of the above-described technical scheme, it is preferable that the TXD pins and RXD pins of the connection equipment end UART interface It is connected respectively to the RXD pins and TXD pins of upper computer equipment end UART interface.
In the technical scheme, specifically host computer can be connected to by by the TXD pins for connecting equipment end UART interface The RXD pins of equipment end UART interface and by connect equipment end UART interface RXD pins be connected to upper computer equipment end The TXD pins of UART interface, realize the effective connection between connection equipment and upper computer equipment, and then ensure to realize that host computer sets The standby UART between mobile terminal device communicates.
In any of the above-described technical scheme, it is preferable that the connection equipment also include USB to UART switching parts and USB interface plug, and the upper computer equipment includes usb socket;Wherein, the USB to UART switching parts One end is connected to the USB Type-C interface plugs, the other end and is connected to the USB interface plug, and the USB interface is inserted Head is connected to the usb socket.
On the other hand in the technical scheme, can by USB to UART switching parts by connect equipment USB Type-C interface plugs and USB interface plug link together, and then by the USB interface plug and the USB of upper computer equipment Matching connection between interface socket realizes that the UART between upper computer equipment and mobile terminal device communicates, further to complete UART debugging functions.
In any of the above-described technical scheme, it is preferable that the DP pins and DM pins of the USB interface plug correspond to connect respectively It is connected to the DP pins and DM pins of the usb socket.
In the technical scheme, specifically can by by connect equipment USB interface plug DP pins and DM pins (two differential signal pins of USB) are connected respectively to the DP pins and DM pins of the usb socket of upper computer equipment, Realize the effective connection between connection equipment and upper computer equipment, so ensure to realize upper computer equipment and mobile terminal device it Between UART communication.
In any of the above-described technical scheme, it is preferable that the USB Type-C interface plugs include SBU1 pins and SBU2 Pin, to be connected respectively to the SBU1 pins and SBU2 pins of the USB Type-C interface sockets.
In the technical scheme, specifically can by connect equipment USB Type-C interface plugs SBU1 pins and The connection corresponding with the SBU1 pins and SBU2 pins of the USB Type-C interface sockets of mobile terminal device of SBU2 pins is realized connecting The effective connection between equipment and mobile terminal device is connect, with the USB Type-C interface sockets based on mobile terminal device just Anti-plug function, by without setting up analog switch in circuitry or increasing UART test points and combine the modes such as manual fly line Realize the UART debugging interface functions of mobile terminal device.
Above-mentioned technical proposal of the invention, by using the positive and negative plugging function of USB Type-C interface sockets, can Mobile terminal is realized by setting up analog switch or increasing UART test points and combine the modes such as manual fly line in circuitry The UART debugging interface functions of equipment, UART debugging interfaces are realized in the case of cost-effective with more convenient mode of operation Function, so that it is guaranteed that capturing Log information for software debugging, case study and after sale by UART debugging interfaces exactly The aspects such as service, lift service efficiency.
Brief description of the drawings
Fig. 1 shows the schematic block diagram of the mobile terminal device of embodiments of the invention;
Fig. 2 shows the pin schematic diagram of USB Type-C interface sockets;
Fig. 3 shows the connection diagram of the mobile terminal device of embodiments of the invention;
Fig. 4 shows the schematic block diagram of the UART debugging systems of embodiments of the invention;
Fig. 5 shows the connection diagram of the UART debugging systems of the first embodiment of the present invention;
Fig. 6 shows the connection diagram of the UART debugging systems of the second embodiment of the present invention.
Specific embodiment
It is below in conjunction with the accompanying drawings and specific real in order to the above objects, features and advantages of the present invention can be more clearly understood that Mode is applied to be further described in detail the present invention.It should be noted that in the case where not conflicting, the implementation of the application Feature in example and embodiment can be mutually combined.
Many details are elaborated in the following description in order to fully understand the present invention, but, the present invention may be used also Implemented with being different from other modes described here using other, therefore, protection scope of the present invention is not by described below Specific embodiment limitation.
The mobile terminal device of embodiments of the invention is described in detail with reference to Fig. 1 to Fig. 3.
As shown in figure 1, mobile terminal device 10 according to an embodiment of the invention, specifically include:Processor 102 and USB Type-C interface sockets 104.
Further, the processor 102 includes UART RXD interfaces and UART TXD interfaces, and the USB Type-C connect Mouth socket 104 includes the first default pin and the second default pin, and the UART RXD interfaces are connected to described first and preset and draw A pin and the UART TXD interfaces in pin and the second default pin be connected to the described first default pin and Another pin in described second default pin.
In this embodiment, USB Type-C interface sockets 104 are connected to by by the UART RXD interfaces of processor 102 Two default pins in any one and its UART TXD interface be connected to two default pins of USB Type-C interfaces In another, i.e., by using the positive and negative plugging function of USB Type-C interface sockets 104, can be without by circuitry In set up analog switch or increase UART test points and combine the modes such as manual fly line and realize that the UART of mobile terminal device 10 is adjusted Examination interface function, realizes UART debugging interface functions, so that really in the case of cost-effective with more convenient mode of operation Protect and Log information captured for aspects such as software debugging, case study and after-sale services by UART debugging interfaces exactly, Lifting service efficiency.
Further, in the above-described embodiments, the mobile terminal device 10 also includes:The electricity of first resistor 106 and second Resistance 108.
Wherein, one end of the first resistor 106 is connected to the UART RXD interfaces, the other end and is connected to described first A pin in default pin and the second default pin, and the second resistance 108 one end be connected to it is described UART TXD interfaces, the other end are connected to another pin in the described first default pin and the second default pin.
In this embodiment, in order to effectively prevent two default pins of USB Type-C interface sockets 104 extremely short Road burns out processor 102 to youngster on VBUS networks, so that effectively protection back end device processor 102, improves safety in utilization, Can be preset with two of USB Type-C interface sockets 104 in the UART RXD interfaces of processor 102 and UART TXD interfaces Two resistance for shielding are connected between pin.
Further, in any of the above-described embodiment, can be according to specific debugging situation setting first resistor 106 and second The resistance of resistance 108, to be applicable different debugging demands, forms the effective overvoltage protection to processor 102, preferably first The resistance of resistance 106 and second resistance 108 can be taken as 1K ohm.
Further, the pin of USB Type-C interface sockets 104 is illustrated as shown in Fig. 2 and in embodiments of the invention In, it is possible to use the A8pin of USB Type-C interface sockets 104:SBU1 and B8pin:SBU2 is connected to mobile terminal device 10 UART interface on (RXD and TXD), the i.e. default pin of the two of USB Type-C interface sockets 104 can be respectively SBU1 and draw Pin and SBU2 pins, specifically, when the described first default pin is SBU1 pins, the described second default pin draws for SBU2 Pin;When the described first default pin is SBU2 pins, the described second default pin is SBU1 pins.By the embodiment, can To ensure to realize the effective positive and negative plugging function of USB Type-C interface sockets 104, then when being connected with processor 102, specifically Can be by SBU1 pins and SBU2 pins be connected to UART RXD interfaces and by two another connection To UART TXD interfaces.
Specifically, as shown in figure 3, giving the SBU1 pins of USB Type-C interface sockets 104 of the invention by the One resistance 106 is connected to the UART RXD interfaces of processor 102, and SBU2 pins are connected to treatment by second resistance 108 The specific embodiment of the UART TXD interfaces of device 102;And it is within the scope of the present invention, there can also be other connected modes, Such as, in other embodiments of the invention, the SBU1 pins of USB Type-C interface sockets 104 can be passed through first resistor 106 are connected to the UART TXD interfaces of processor 102, and SBU2 pins are connected into processor 102 by second resistance 108 UART RXD interfaces.
Further, in any of the above-described embodiment, the mobile terminal device 10 is smart mobile phone or adapter.
In this embodiment, mobile terminal device 10 can be mobile phone or adapter with USB Type-C interfaces, with The positive and negative plugging function of the USB Type-C interface sockets 104 based on mobile terminal device 10, by without increasing in circuitry If analog switch or the mode such as increase UART test points and the manual fly line of combination realize that the UART debugging of mobile terminal device 10 connects Mouth function;Can certainly be equipment that other possess USB Type-C interfaces, such as panel computer etc..
The UART debugging systems of embodiments of the invention are described in detail with reference to Fig. 4 to Fig. 6.
As shown in figure 4, UART debugging systems according to an embodiment of the invention, including:Any one of example institute is performed as described above Mobile terminal device 10, connection equipment 20 and the upper computer equipment 30 stated.
Wherein, the connection equipment 20 is used to connect the mobile terminal device 10 and the upper computer equipment 30, with right The mobile terminal device 10 carries out UART debugging.
The mobile terminal device 10 is connected to by upper computer equipment 30 by connection equipment 20, realize upper computer equipment 30 with UART communications between mobile terminal device 10, and movement is realized with more convenient mode of operation in the case of cost-effective The UART debugging interface functions of terminal device 10, so that it is guaranteed that exactly by UART debugging interfaces capture Log information for The aspects such as software debugging, case study and after-sale service, lift service efficiency.
Further, in order to realize the effective connection between connection equipment 20 and mobile terminal device 10, with based on movement The positive and negative plugging function of the USB Type-C interface sockets 104 of terminal device 10, opens by without setting up simulation in circuitry Close or increase UART test points and combine the UART debugging interface functions that the modes such as manual fly line realize mobile terminal device 10, then The USB Type-C interfaces that connection equipment 20 should be matched equipped with the USB Type-C interface sockets 104 with mobile terminal device 10 Plug 202.
Further, in order to realize reliably being communicated to connect between upper computer equipment 30 and mobile terminal device 10, can be with Connection equipment 20 is set by following two embodiments.
Embodiment one, UART debugging systems as shown in Figure 5, wherein, the connection equipment 20 also includes UART cables 204 With connection equipment end UART interface 206.
Further, the upper computer equipment 30 includes upper computer equipment end UART interface 302, then the UART cables 204 one end is connected to the USB Type-C interface plugs 202, other end and is connected to the connection equipment end UART interface 206, and the connection equipment end UART interface 206 is connected to upper computer equipment end UART interface 302.
In this embodiment it is possible to pass through UART cables 204 by the He of USB Type-C interface plugs 202 of connection equipment 20 Connection equipment end UART interface 206 links together, and then by the connection equipment end UART interface 206 and upper computer equipment 30 Upper computer equipment end UART interface 302 between matching connection realize between upper computer equipment 30 and mobile terminal device 10 UART communicates, further to complete UART debugging functions.
Further, in the above-described embodiments, the TXD pins and RXD pins point of the connection equipment end UART interface 206 The RXD pins and TXD pins of upper computer equipment end UART interface 302 are not correspondingly connected to.
In this embodiment, specifically host computer can be connected to by by the TXD pins for connecting equipment end UART interface 206 The RXD pins of equipment end UART interface 302 and the RXD pins for connecting equipment end UART interface 206 are connected to host computer set The TXD pins of standby end UART interface 302, realize the effective connection between connection equipment 20 and upper computer equipment 30, and then ensure Realize that the UART between upper computer equipment 30 and mobile terminal device 10 communicates.
Embodiment two, UART debugging systems as shown in Figure 6, wherein, the connection equipment 20 also includes USB to UART Switching part 204 ' and USB interface plug 206 '.
Further, the upper computer equipment 30 includes usb socket 302 ';Then USB to UART switching parts One end of part 204 ' is connected to the USB Type-C interface plugs 202, other end and is connected to the USB interface plug 206 ', And the USB interface plug 206 ' is connected to the usb socket 302 '.
In this embodiment it is possible to passing through USB to UART switching parts 204 ' will connect the USB Type-C of equipment 20 Interface plug 202 and USB interface plug 206 ' link together, and then by the USB interface plug 206 ' and upper computer equipment Matching connection between 30 usb socket 302 ' realizes that the UART between upper computer equipment 30 and mobile terminal device 10 leads to Letter, further to complete UART debugging functions.
Further, in the above-described embodiments, the DP pins and DM pins of the USB interface plug 206 ' correspond to connect respectively It is connected to the DP pins and DM pins of the usb socket 302 '.
In this embodiment, can specifically be drawn by the DP pins of the USB interface plug 206 ' by equipment 20 is connected and DM Pin is connected respectively to the DP pins and DM pins of the usb socket 302 ' of upper computer equipment 30, realizes connection equipment 20 Effective connection between upper computer equipment 30, and then ensure to realize between upper computer equipment 30 and mobile terminal device 10 UART communicates.
Certainly, the annexation of the UART debugging systems of embodiments of the invention is not limited to as shown in Figure 5 and Figure 6.
Further, in any of the above-described embodiment, the USB Type-C interface plugs 202 include SBU1 pins and SBU2 pins, to be connected respectively to the SBU1 pins and SBU2 pins of the USB Type-C interface sockets 104.
In this embodiment, can specifically be drawn by the SBU1 of the USB Type-C interface plugs 202 of connection equipment 20 SBU1 pins of pin and SBU2 pins and the USB Type-C interface sockets 104 of mobile terminal device 10 and SBU2 pins are corresponding connects The effective connection realized between connection equipment 20 and mobile terminal device 10 is connect, with the USB based on mobile terminal device 10 The positive and negative plugging function of Type-C interface sockets 104, tests by without setting up analog switch in circuitry or increasing UART Put and combine the UART debugging interface functions that the modes such as manual fly line realize mobile terminal device 10.
Further, in any of the above-described embodiment, upper computer equipment 30 can be PC computers.
The mobile terminal device and UART debugging systems of embodiments of the invention are described in detail above in association with accompanying drawing, pass through Using the positive and negative plugging function of USB Type-C interface sockets, can be without by setting up analog switch or increase in circuitry UART test points simultaneously combine the UART debugging interface functions that the modes such as manual fly line realize mobile terminal device, save simulation and open The cost of pass, UART debugging interface functions are realized in the case of cost-effective with more convenient mode of operation, so that it is guaranteed that Log information is captured for aspects such as software debugging, case study and after-sale services by UART debugging interfaces exactly, is carried Rise service efficiency.
The preferred embodiments of the present invention are the foregoing is only, is not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair Change, equivalent, improvement etc., should be included within the scope of the present invention.

Claims (10)

1. a kind of mobile terminal device, it is characterised in that including:Processor and USB Type-C interface sockets;
Wherein, the processor includes UART RXD interfaces and UART TXD interfaces, and the USBType-C interface sockets include the One default pin and the second default pin, the UART RXD interfaces are connected to the described first default pin and described second and preset A pin and the UARTTXD interfaces in pin are connected in the described first default pin and the second default pin Another pin.
2. mobile terminal device according to claim 1, it is characterised in that also include:First resistor and second resistance;
Wherein, one end of the first resistor is connected to the UART RXD interfaces, the other end and is connected to described first and presets and draws One pin of pin and the second default pin, and the second resistance one end be connected to the UART TXD interfaces, The other end is connected to another pin in the described first default pin and the second default pin.
3. mobile terminal device according to claim 1 and 2, it is characterised in that
When the described first default pin is SBU1 pins, the described second default pin is SBU2 pins;
When the described first default pin is SBU2 pins, the described second default pin is SBU1 pins.
4. a kind of UART debugging systems, it is characterised in that including:Mobile terminal as claimed any one in claims 1 to 3 sets Standby, connection equipment and upper computer equipment;
Wherein, the connection equipment is used to connect the mobile terminal device and the upper computer equipment, with to described mobile whole End equipment carries out UART debugging.
5. UART debugging systems according to claim 4, it is characterised in that
The connection equipment includes USB Type-C interface plugs, the USB Type-C for being connected to the mobile terminal device Interface socket.
6. UART debugging systems according to claim 5, it is characterised in that the connection equipment also include UART cables and Connection equipment end UART interface, and the upper computer equipment includes upper computer equipment end UART interface;
Wherein, one end of the UART cables is connected to the USB Type-C interface plugs, the other end and is connected to the connection Equipment end UART interface, and the connection equipment end UART interface is connected to upper computer equipment end UART interface.
7. UART debugging systems according to claim 6, it is characterised in that
The TXD pins and RXD pins of the connection equipment end UART interface are connected respectively to the upper computer equipment end The RXD pins and TXD pins of UART interface.
8. UART debugging systems according to claim 5, it is characterised in that the connection equipment also includes USB to UART switching parts and USB interface plug, and the upper computer equipment include usb socket;
Wherein, one end of the USB to UART switching parts is connected to the USB Type-C interface plugs, other end connection To the USB interface plug, and the USB interface plug is connected to the usb socket.
9. UART debugging systems according to claim 8, it is characterised in that
The DP pins and DM pins of the USB interface plug are connected respectively to the DP pins and DM of the usb socket Pin.
10. UART debugging systems according to any one of claim 5 to 9, it is characterised in that the USB Type-C connect Mouth plug includes SBU1 pins and SBU2 pins, to be connected respectively to the SBU1 pins of the USB Type-C interface sockets With SBU2 pins.
CN201710057050.7A 2017-01-22 2017-01-22 Mobile terminal device and UART debugging systems Pending CN106874154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710057050.7A CN106874154A (en) 2017-01-22 2017-01-22 Mobile terminal device and UART debugging systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710057050.7A CN106874154A (en) 2017-01-22 2017-01-22 Mobile terminal device and UART debugging systems

Publications (1)

Publication Number Publication Date
CN106874154A true CN106874154A (en) 2017-06-20

Family

ID=59158923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710057050.7A Pending CN106874154A (en) 2017-01-22 2017-01-22 Mobile terminal device and UART debugging systems

Country Status (1)

Country Link
CN (1) CN106874154A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108038034A (en) * 2017-12-12 2018-05-15 北京小米移动软件有限公司 Electronic equipment adjustment method, adapter, device and storage medium
CN109212268A (en) * 2017-06-29 2019-01-15 北京小米移动软件有限公司 Electronic equipment, circuit switching device and commissioning device
CN111400226A (en) * 2020-03-02 2020-07-10 上海闻泰信息技术有限公司 Mobile terminal device and log acquisition system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130007696A (en) * 2011-07-07 2013-01-21 삼성전자주식회사 System and method for debugging in portable terminal
CN203444464U (en) * 2013-08-30 2014-02-19 深圳天鹏盛电子有限公司 Intelligent terminal device
CN105868140A (en) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 A mobile apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130007696A (en) * 2011-07-07 2013-01-21 삼성전자주식회사 System and method for debugging in portable terminal
CN203444464U (en) * 2013-08-30 2014-02-19 深圳天鹏盛电子有限公司 Intelligent terminal device
CN105868140A (en) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 A mobile apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109212268A (en) * 2017-06-29 2019-01-15 北京小米移动软件有限公司 Electronic equipment, circuit switching device and commissioning device
CN108038034A (en) * 2017-12-12 2018-05-15 北京小米移动软件有限公司 Electronic equipment adjustment method, adapter, device and storage medium
CN111400226A (en) * 2020-03-02 2020-07-10 上海闻泰信息技术有限公司 Mobile terminal device and log acquisition system

Similar Documents

Publication Publication Date Title
CN101583935B (en) Enhanced communication via a serial interface
CN103365388A (en) Power supply method of terminal device and terminal device
CN106874154A (en) Mobile terminal device and UART debugging systems
CN111817378B (en) Charger, data line and charging equipment
CN108073537A (en) Usb circuit, the implementation method of USB interface and device
CN105868140A (en) A mobile apparatus
CN205921678U (en) Order wire with projection function
CN202696710U (en) System using impedance to identify peripheral equipment
CN204945996U (en) USB (universal serial bus) conversion fit line
CN110247265A (en) Multifunctional data line, switching circuit and switching method
CN213337968U (en) Full-function automatic detection equipment for USB Type-C interface
WO2023125188A1 (en) Audio signal adapter structure, identification method and audio signal transmission system
CN202205197U (en) Conversion device for universal serial bus (USB) signal and universal asynchronous receiver/transmitter (UART) signal
CN102544919B (en) Cable
CN107706977B (en) Charging current detection method and charging device
CN204809565U (en) USB concentrator
CN208368902U (en) Data line and data line identification system
CN204028696U (en) Testing device and system for air conditioner wire controller
CN204031208U (en) data communication path switching circuit, vehicle-mounted router and automobile
CN103311766A (en) Mobile equipment switching device and working mode switching method thereof
CN206363306U (en) A kind of terminal and its serial communication circuit
CN103489431B (en) A kind of display terminal
CN110381027A (en) Embedded device carries the device and method that carplay agreement connects vehicle device by USB
CN204360371U (en) A kind of USBKey
CN209861062U (en) Unmanned aerial vehicle wiFi image transmission integrated circuit's test system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170620