CN105302761A - Serial port debugging system based on USB connector and cable thereof - Google Patents
Serial port debugging system based on USB connector and cable thereof Download PDFInfo
- Publication number
- CN105302761A CN105302761A CN201510857471.9A CN201510857471A CN105302761A CN 105302761 A CN105302761 A CN 105302761A CN 201510857471 A CN201510857471 A CN 201510857471A CN 105302761 A CN105302761 A CN 105302761A
- Authority
- CN
- China
- Prior art keywords
- usb
- usb connector
- connector
- cable
- serial port
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a serial port debugging system based on a USB (Universal Serial Bus) connector and a cable thereof. The cable comprises a cable body, wherein a first USB connector and a second USB connector are respectively arranged at the two ends of the cable body; the first USB connector is used for connecting a UART (Universal Asynchronous Receiver Transmitter) interface of a debugged device; the second USB connector is used for connecting a USB interface of a debugging computer; a TTL serial port converting USB module used for converting TTL level into USB level is arranged in the cable body; the TTL serial port converting USB module is respectively connected with the first USB connector and the second USB connector; the TTL level of the UART interface of the debugged device is jointed through the first USB connector; the TTL serial port converting USB module is used for directly converting the TTL level into the USB level; the USB level is connected with the debugging computer through the second USB connector. The debugging computer is used for performing debugging developing operation on the debugged device, the volume of the USB connector is smaller, the PCB space is effectively saved, the complex level conversion is not required and the waste of IC (Integrated Circuit) resource is avoided.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of Serial Port Debugging System based on USB connector and cable thereof.
Background technology
Nowadays, rapidly, increasing new product has been come in the live and work environment of people in electron trade development.
In the development of the such as electronic equipment such as server and storer, all need to debug.Under normal circumstances, the equipment that need debug picks out serial ports, traditional way is the serial ports UART of Transistor-Transistor Logic level being converted to RS232 level by IC, and the system of this equipment is picked out by serial port connector, turn by RS232 the USB port that USB cable is connected on PC again, to develop debugging, because serial port connector volume is larger in outside, can occupy a large amount of PCB spaces, this design is uneconomical and comparatively loaded down with trivial details.In addition, also have a kind of anti-method to be use RJ45 interface to replace serial interface to carry out AccessPort interface, but still need through Transistor-Transistor Logic level is converted to RS232 level, and be the loaded down with trivial details transfer process of USB level by RS232 level translation, cause the waste of IC resource.
Thus, in the process to electronic equipment exploitation debugging, how can save space, can save the resources such as IC material again, making AccessPort simple more economically, is the current technical issues that need to address of those skilled in the art.
Summary of the invention
The object of this invention is to provide a kind of Serial Port Debugging System based on USB connector and cable thereof, in the process to electronic equipment exploitation debugging, can save space, the resources such as IC material can be saved again, make AccessPort simple more economically.
For solving the problems of the technologies described above, the invention provides following technical scheme:
A kind of AccessPort cable based on USB connector, comprise: cable main body, the two ends of described cable main body are respectively equipped with the first USB connector and the second USB connector, described first USB connector is for connecting the UART interface of debugged apparatus, described second USB connector is for connecting the USB interface of debugging computer, also be provided with the TTL serial port transform USB module for Transistor-Transistor Logic level being converted into USB level in described cable main body, described TTL serial port transform USB module connects described first USB connector and described second USB connector respectively.
Preferably, described first USB connector is MicroUSB connector.
Preferably, pin1, pin3 and pin5 ground connection of described MicroUSB connector, pin2 with pin4 of described MicroUSB connector is respectively used to TX signal pins and the RX signal pins of the UART interface being connected described debugged apparatus.
Preferably, described second USB connector is the USB2.0 connector of standard.
Preferably, the length of described cable main body is 2m.
Preferably, described cable main body is also provided with for identifying the described mark part based on the AccessPort cable of USB connector.
Based on a Serial Port Debugging System for USB connector, comprising:
Debugged apparatus, described debugged apparatus is provided with the debug port of preset number;
Debugging computer, establishes system for being connected with described debugged apparatus to debug and optimize in described debugged apparatus;
The AccessPort cable based on USB connector as described in above-mentioned any one.
Compared with prior art, technique scheme has the following advantages:
The AccessPort cable based on USB connector that the embodiment of the present invention provides, comprise: cable main body, the two ends of cable main body are respectively equipped with the first USB connector and the second USB connector, first USB connector is for connecting the UART interface of debugged apparatus, second USB connector is for connecting the USB interface of debugging computer, also be provided with the TTL serial port transform USB module for Transistor-Transistor Logic level being converted into USB level in cable main body, TTL serial port transform USB module connects the first USB connector and the second USB connector respectively.Wherein, the Transistor-Transistor Logic level of the UART interface of debugged apparatus is directly picked out by the first USB connector, TTL serial port transform USB module is used directly Transistor-Transistor Logic level to be converted into USB level, then this USB level is connected with debugging computer via the second USB connector, by debugging computer, debugging development is carried out to debugged apparatus, USB connector is much smaller relative to serial port connector volume Transistor-Transistor Logic level being converted into RS232 level, effective saving PCB space, and without the need to the level conversion of complexity, the waste of IC resource can not be caused.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The AccessPort cable structure schematic diagram based on USB connector that Fig. 1 provides for a kind of embodiment of the present invention;
The Serial Port Debugging System structural representation based on USB connector that Fig. 2 provides for a kind of embodiment of the present invention.
Embodiment
Core of the present invention is to provide a kind of AccessPort cable based on USB connector, in the process to electronic equipment exploitation debugging, can save space, can save the resources such as IC material again, make AccessPort simple more economically.
In order to enable above-mentioned purpose of the present invention, feature and advantage more become apparent, and are described in detail the specific embodiment of the present invention below in conjunction with accompanying drawing.
Set forth detail in the following description so that fully understand the present invention.But the present invention can be different from alternate manner described here to implement with multiple, those skilled in the art can when without prejudice to doing similar popularization when intension of the present invention.Therefore the present invention is not by the restriction of following public embodiment.
Please refer to Fig. 1, the AccessPort cable structure schematic diagram based on USB connector that Fig. 1 provides for a kind of embodiment of the present invention.
In a kind of embodiment of the present invention, a kind of AccessPort cable 1 based on USB connector, comprise: cable main body 11, the two ends of cable main body 11 are respectively equipped with the first USB connector 12 and the second USB connector 13, first USB connector 12 is for connecting the UART interface of debugged apparatus, 2nd USB connects 13 devices for connecting the USB interface of debugging computer, the TTL serial port transform USB module 14 for Transistor-Transistor Logic level being converted into USB level is also provided with in cable main body 11, TTL serial port transform USB module 14 connects the first USB connector 12 and the second USB connector 13 respectively.
In the present embodiment, TTL serial port transform USB module is typically designed to IC chip, because the Transistor-Transistor Logic level of debugged apparatus uses UART interface, therefore, so-called TTL serial port transform USB module and TTLUARTtoUSB chip, TTLUARTtoUSB chip is arranged in cable main body, directly the Transistor-Transistor Logic level of the UART interface of debugged apparatus can be directly converted to USB level.The Transistor-Transistor Logic level of the UART interface of debugged apparatus is directly picked out by the first USB connector, TTL serial port transform USB module is used directly Transistor-Transistor Logic level to be converted into USB level, then this USB level is connected with debugging computer via the second USB connector, by debugging computer, debugging development is carried out to debugged apparatus, USB connector is much smaller relative to serial port connector volume Transistor-Transistor Logic level being converted into RS232 level, effective saving connector PCB space, effectively save the per-interface space at debugged apparatus place simultaneously, and without the need to the level conversion of complexity, the waste of IC resource can not be caused.
In order to save PCB space further, in one embodiment of the present invention, the first USB connector is MicroUSB connector.MicroUSB connector is a portable version of USB2.0 standard, and the more common USB interface of this interface volume is less, and can repeatedly plug, and has longer serviceable life.
In the present embodiment, in order to ensure that MicroUSB connector effectively can receive the signal of debugged apparatus transmission, pin1, pin3 and pin5 ground connection of MicroUSB connector, pin2 with pin4 of MicroUSB connector is respectively used to TX signal pins and the RX signal pins of the UART interface being connected debugged apparatus.
In order to ensure that the information between debugged apparatus and debugging computer is effectively transmitted, preferably the second USB connector is the USB2.0 connector of standard, because computing machine is generally provided with USB interface, the second USB connector of cable is that the USB2.0 connector of standard is convenient to connect the debugging computers such as computer.When after debugged apparatus and debugging computer successful connection, powered by the VBUS pin of debugging computer by the second USB connector.
Due in different debugging enironments, the demand for the length of cable is different, and the length of preferred cable main body is 2m, and most of debugging enironment substantially can be used the demand of length of cable.
Because the cable in embodiment of the present invention is based on USB connector, just not easily making a distinction with other data line in shape, therefore cable main body being also provided with the mark part for identifying the AccessPort cable based on USB connector.Concrete, the logo of " TTLUARTTOUSB " can be added in the appearance of cable main body, so that make a distinction with the data line usually used.
It should be noted that, can also adopt other mark, as long as this cable and common data line can be made a distinction, present embodiment does not limit this, concrete thing and determining.
Please refer to Fig. 2, the Serial Port Debugging System structural representation based on USB connector that Fig. 2 provides for a kind of embodiment of the present invention.
Accordingly, one embodiment of the present invention additionally provides a kind of Serial Port Debugging System based on USB connector, comprising: debugged apparatus 2, and debugged apparatus is provided with the debug port of preset number; Debugging computer 3, establishes system for being connected with debugged apparatus to debug and optimize in debugged apparatus; As above-mentioned arbitrary embodiment the AccessPort cable 1 based on USB connector that provides.
Wherein, debugged apparatus comprises the electronic equipment such as server and storer.Present embodiment optimizes the serial ports design of traditional debugged apparatus.Utilize USB connector and TTLUARTtoUSB conversion IC, in the development phase AccessPort of debugged apparatus, the Transistor-Transistor Logic level UART interface of project newly developed is directly picked out by USB connector, be directly connected to debugging computer and carry out debugging development, both PCB space had been saved, in turn save the resources such as IC material, make AccessPort simple more economically.
Above a kind of Serial Port Debugging System based on USB connector provided by the present invention and cable thereof are described in detail.Apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands the present invention and core concept thereof for helping.It should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention, can also carry out some improvement and modification to the present invention, these improve and modify and also fall in the protection domain of the claims in the present invention.
Claims (7)
1. the AccessPort cable based on USB connector, it is characterized in that, comprise: cable main body, the two ends of described cable main body are respectively equipped with the first USB connector and the second USB connector, described first USB connector is for connecting the UART interface of debugged apparatus, described second USB connector is for connecting the USB interface of debugging computer, also be provided with the TTL serial port transform USB module for Transistor-Transistor Logic level being converted into USB level in described cable main body, described TTL serial port transform USB module connects described first USB connector and described second USB connector respectively.
2. cable according to claim 1, is characterized in that, described first USB connector is MicroUSB connector.
3. cable according to claim 2, it is characterized in that, pin1, pin3 and pin5 ground connection of described MicroUSB connector, pin2 with pin4 of described MicroUSB connector is respectively used to TX signal pins and the RX signal pins of the UART interface being connected described debugged apparatus.
4. cable according to claim 2, is characterized in that, described second USB connector is the USB2.0 connector of standard.
5. cable according to claim 1, is characterized in that, the length of described cable main body is 2m.
6. the cable according to any one of claim 1 to 5, is characterized in that, described cable main body is also provided with for identifying the described mark part based on the AccessPort cable of USB connector.
7. based on a Serial Port Debugging System for USB connector, it is characterized in that, comprising:
Debugged apparatus, described debugged apparatus is provided with the debug port of preset number;
Debugging computer, establishes system for being connected with described debugged apparatus to debug and optimize in described debugged apparatus;
The AccessPort cable based on USB connector as described in any one of claim 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510857471.9A CN105302761A (en) | 2015-11-30 | 2015-11-30 | Serial port debugging system based on USB connector and cable thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510857471.9A CN105302761A (en) | 2015-11-30 | 2015-11-30 | Serial port debugging system based on USB connector and cable thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105302761A true CN105302761A (en) | 2016-02-03 |
Family
ID=55200045
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510857471.9A Pending CN105302761A (en) | 2015-11-30 | 2015-11-30 | Serial port debugging system based on USB connector and cable thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105302761A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109977042A (en) * | 2019-02-28 | 2019-07-05 | 珠海海奇半导体有限公司 | A kind of USB on-line debugging system and method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6151653A (en) * | 1998-02-26 | 2000-11-21 | Winbond Electronics Corp. | USB/UART converter and its control method |
CN202495998U (en) * | 2011-12-02 | 2012-10-17 | 深圳市同洲电子股份有限公司 | Digital television and system capable of realizing serial communication using mini USB interface |
CN203759699U (en) * | 2014-01-23 | 2014-08-06 | 芜湖航飞科技股份有限公司 | Novel USB (universal serial bus) to serial communication interface cable |
CN204557471U (en) * | 2015-03-02 | 2015-08-12 | 合肥宝龙达信息技术有限公司 | A kind of novel USB turns UART serial communication circuit |
-
2015
- 2015-11-30 CN CN201510857471.9A patent/CN105302761A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6151653A (en) * | 1998-02-26 | 2000-11-21 | Winbond Electronics Corp. | USB/UART converter and its control method |
CN202495998U (en) * | 2011-12-02 | 2012-10-17 | 深圳市同洲电子股份有限公司 | Digital television and system capable of realizing serial communication using mini USB interface |
CN203759699U (en) * | 2014-01-23 | 2014-08-06 | 芜湖航飞科技股份有限公司 | Novel USB (universal serial bus) to serial communication interface cable |
CN204557471U (en) * | 2015-03-02 | 2015-08-12 | 合肥宝龙达信息技术有限公司 | A kind of novel USB turns UART serial communication circuit |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109977042A (en) * | 2019-02-28 | 2019-07-05 | 珠海海奇半导体有限公司 | A kind of USB on-line debugging system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201639126U (en) | Extended interface module provided with signal gain circuit | |
CN202217264U (en) | Entire machine debugging system | |
CN102222056A (en) | Electronic equipment with embedded system | |
US20150087166A1 (en) | Network adapter card having two switchable network connectors | |
CN101030185B (en) | Device for updating USB switching cascade line | |
CN105302761A (en) | Serial port debugging system based on USB connector and cable thereof | |
CN202995719U (en) | USB (universal serial bus) interface extension equipment and electronic terminal | |
CN104994040B (en) | A kind of Ethernet switch and its multiplexed port method of application | |
CN203658990U (en) | Debugging device for central processing unit | |
CN206363306U (en) | A kind of terminal and its serial communication circuit | |
CN109240957A (en) | M.2 hard-disk interface turns usb circuit and conversion method to one kind | |
CN204810421U (en) | Switching circuit based on HDMI interface | |
CN207925845U (en) | A kind of quickly detection Serial Port Line | |
CN209728624U (en) | A kind of domestic server master board based on 1621 chip of Shen prestige | |
CN205281383U (en) | Computer and built -in function sub -board thereof | |
CN202206391U (en) | Wired expansion apparatus for wireless communication network | |
CN102364452A (en) | Realization method for thermal plugging use of PS2 interface keyboard and mouse | |
CN105426333A (en) | Main board structure facilitating fast upgrading of main board platform | |
CN106654678A (en) | Expansion function USB-C portable equipment protective casing | |
US20150149686A1 (en) | Adapter card with a computer module form factor | |
US20130054865A1 (en) | Mouse | |
CN204288063U (en) | The PC mainboard of a kind of integrated wireless route cat | |
TWM463385U (en) | Detachable type expansion interface device | |
CN204102126U (en) | Based on the bus-structured Communication Card of ARINC429 | |
CN204011893U (en) | USB connects female seat |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20160203 |