CN106484577A - AccessPort device and method - Google Patents
AccessPort device and method Download PDFInfo
- Publication number
- CN106484577A CN106484577A CN201610891717.9A CN201610891717A CN106484577A CN 106484577 A CN106484577 A CN 106484577A CN 201610891717 A CN201610891717 A CN 201610891717A CN 106484577 A CN106484577 A CN 106484577A
- Authority
- CN
- China
- Prior art keywords
- debugging
- audio jack
- universal asynchronous
- signal
- asynchronous receiver
- 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
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/2221—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of AccessPort device and method, described AccessPort device is arranged at debugged apparatus, for being connected with commissioning device, to export debugging signal to commissioning device, described AccessPort device includes UART Universal Asynchronous Receiver Transmitter and the audio jack being arranged on debugged apparatus, described UART Universal Asynchronous Receiver Transmitter is connected with described audio jack, in order to export debugging signal by described audio jack.The technical scheme of the embodiment of the present invention includes UART Universal Asynchronous Receiver Transmitter and the audio jack being arranged on debugged apparatus, it is connected with audio jack by UART Universal Asynchronous Receiver Transmitter, debugging signal is enable to export by audio jack, so that the audio jack of debugged apparatus has the function of serial ports, conveniently debugged apparatus are debugged.
Description
Technical field
The present invention relates to serial communication technology field, particularly to a kind of AccessPort device and method.
Background technology
Nowadays, electron trade quickly grows, and increasing electronic product has come into the live and work environment of people
In.In development or the later maintenance stage of the electronic equipment such as computer and memorizer, all need to be debugged.Generally
In the case of, need serial ports is picked out on electronic equipment to be debugged, traditional way is by the asynchronism transceiver of Transistor-Transistor Logic level
(Universal Asynchronous Receiver/Transmitter, UART) is converted into the string of RS232 level by IC
Mouthful, and pick out the system of this electronic equipment by serial port connector, turn USB cable further through RS232 and be connected on debugging in outside and set
Standby corresponding port, to develop debugging, because serial port connector volume is larger, can occupy substantial amounts of PCB space.
This design is not frequently used and relatively complicated, and the development trend of present electronic product is more frivolous, therefore, very
Polyelectron product is the demand meeting user to electronic product outward appearance, volume and weight aspect, and eliminates the design of serial ports.
So during research and development and later maintenance, if desired debugged using serial ports, then cannot be carried out debugging.
Content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of to be adjusted using the audio jack with debugging function
The AccessPort device and method of examination.
To achieve these goals, embodiments provide a kind of AccessPort device, including:
UART Universal Asynchronous Receiver Transmitter, it is arranged on debugged apparatus;
Described UART Universal Asynchronous Receiver Transmitter provides debugging signal to commissioning device, and the multimedia by described debugged apparatus
Port exports.
Preferably, described multimedia port includes audio jack, wherein:Described UART Universal Asynchronous Receiver Transmitter be provided with TX and
RX pin, described audio jack is provided with R passage and L * channel, and described TX pin and described R passage connect, described RX pin
Connect with described L * channel.
Preferably, described audio jack is provided with switching switch, described switching switch is for being filled by AccessPort
When putting debugging, switch to debugging mode, so that audio jack can receive debugged the setting of described UART Universal Asynchronous Receiver Transmitter transmission
Standby debugging signal, and send to described commissioning device.
Preferably, described UART Universal Asynchronous Receiver Transmitter is connected with the firmware of described debugged apparatus, so that working as described audio frequency
When jack switches to debugging mode, the device address of UART Universal Asynchronous Receiver Transmitter described in described firmware configuration, in order to universal asynchronous
Transceiver receives described debugging signal.
Preferably, described debugged apparatus include at least one of computer and memorizer, this computer includes desk-top
At least one of computer, notebook computer, panel computer server.
The embodiment of the present invention also provides a kind of serial port debugging method, including:
Receive the instruction entering debugging mode;
Switching switch is controlled according to described instruction, to switch to debugging mode;
Receive the debugging signal that the UART Universal Asynchronous Receiver Transmitter of debugged apparatus sends, and described debugging signal is sent to tune
Examination equipment.
Preferably, described debugged apparatus include computer, notebook computer, panel computer, server and memorizer
At least one of.
The embodiment of the present invention also provides a kind of serial port debugging method, including:
Receive the debugging signal that debugged apparatus send;
Described debugging signal is sent to the audio jack being in debugging mode, will be described in order to described audio jack
Debugging signal sends to external debugging device, and wherein said audio jack is to switch to debugging shape according to the action of switching switch
State.
Preferably, before receiving the debugging signal that debugged apparatus send, methods described also includes:
Obtain device address, in order to receive described debugging signal.
Compared with prior art, the embodiment of the present invention has the advantages that:The technical scheme bag of the embodiment of the present invention
Include the UART Universal Asynchronous Receiver Transmitter being arranged on debugged apparatus and audio jack, by UART Universal Asynchronous Receiver Transmitter with audio jack even
Connect, so that debugging signal is exported by audio jack, so that the audio jack of debugged apparatus has the function of serial ports, side
Just debugged apparatus are debugged.
Brief description
Fig. 1 is the schematic diagram of the embodiment one of AccessPort device of the present invention;
Fig. 2 is that the Debugging message of the AccessPort device output of the embodiment one of AccessPort device of the present invention is illustrated
Figure;
Fig. 3 is the schematic diagram of the embodiment two of AccessPort device of the present invention;
Fig. 4 is illustrating for the patchcord being connected with debugged apparatus of the embodiment two of AccessPort device of the present invention
Figure;
Fig. 5 is the flow chart of the embodiment one of serial port debugging method of the present invention;
Fig. 6 is the flow chart of the embodiment two of serial port debugging method of the present invention.
Specific embodiment
With reference to the accompanying drawings and examples, the specific embodiment of the present invention is described in further detail.Hereinafter implement
Example is used for the present invention is described, but is not limited to the scope of the present invention.
Fig. 1 is the schematic diagram of the embodiment one of AccessPort device of the present invention, as shown in figure 1, the serial ports of the present embodiment
Debugging apparatus, including:UART Universal Asynchronous Receiver Transmitter (Universal Asynchronous Receiver/Transmitter,
UART) 10, it is arranged on debugged apparatus;UART provides debugging signal to commissioning device, and passes through described debugged apparatus
Multimedia port 20 export.
Further, described debugged apparatus include at least one of computer and memorizer, and this computer can be platform
At least one of formula computer, notebook computer, panel computer server.
Specifically, generally export Debugging message using USB interface in prior art, or using PMON serial ports (as joined
Think Think Pad Classic Project notebook computer), or using the network card interface (WLAN/WWAN slot) on mainboard
To export Debugging message.
If Debugging message is exported using USB interface, the Debugging message related to memorizer on the one hand can not be exported, then
If it is desired to debugging to memorizer, then need using other interface;On the other hand, the firmware version in some electronic equipments
With above-mentioned three kinds of debud modes may there is a problem of unstable, for example, BIOS adopt IBM PHOENIX series when, if adopting
With this electronic equipment of USB AccessPort, will exist unstable, the problem that usually cannot connect.
If Debugging message is exported using PMON serial ports, problems with can be produced:(1) will using PMON serial ports it is necessary to
First adapter (connector) is welded on mainboard, after the completion of debugging, also connector is removed from mainboard, time-consuming
Arduously, even if connector is arranged on mainboard during research and development it is contemplated that production cost, to the SIT/SVT stage, also can be by
Connector removes;(2) connector materials are special, obtain difficult, and have mechanical interferences;(3) and not all electricity
Sub- equipment is both provided with PMON serial ports, and therefore versatility is poor.
If Debugging message is exported using WLAN/WWAN slot, problems with can be produced:(1) need to arrange WLAN/
WWAN keyset, after keyset is not easy to obtain, and WLAN WWAN pin slot in future changes, keyset must remake;
(2) WLAN/WWAN keyset runs into mechanical interferences problem sometimes, and such as keyset is bigger than WLAN/WWAN module, can make
Become to connect difficult problem;(3) in overall design, needs are placed on C or D door to open WLAN/WWAN slot can
With the place being plugged, the difficulty (for example, can lead to tear machine open) of debug erection otherwise can be increased;(4) not all
Electronic equipment has this design, such as ThinkPad X1tablet just no this design.
The debugging signal of UART10 is exported by the present embodiment by multimedia port 20, has saved the space of pcb board, this reality
The technical scheme applying example, when implementing, for example, carries out reality on to ThinkPad Payton/Walter 2.0 notebook computer
Test, debugged using the present embodiment, the debugging signal of output is completely normal.The Debugging message of output is as shown in Figure 2.
The technical scheme of the embodiment of the present invention includes UART and the multimedia port being arranged on debugged apparatus, passes through
UART is connected with multimedia port, so that debugging signal is exported by multimedia port, so that many matchmakers of debugged apparatus
Body end mouth has the function of serial ports, conveniently debugged apparatus is debugged.
Fig. 3 is the schematic diagram of the embodiment two of AccessPort device of the present invention, and the AccessPort device of the present embodiment exists
On the basis of above-described embodiment one, introduce the technical scheme of the embodiment of the present invention further in further detail.
As shown in figure 3, the AccessPort device for the present embodiment:
Further, the present embodiment multimedia port includes audio jack (female) 201 that is to say, that the present embodiment
In AccessPort device, UART10 is connected with audio jack 201;Described UART10 is provided with TX and RX pin, and described audio frequency is inserted
Hole 201 is provided with R passage and L * channel, and described TX pin and described R passage connect, and described RX pin and described L * channel are even
Connect.
Accordingly, external debugging device should be provided with the audio jack (male) matching with this audio jack 201, with
The AccessPort device of the present embodiment connects;Or connected by patchcord, if being connected by patchcord, one end of patchcord
For audio jack, the other end is, for example, USB interface, and audio jack can be standard 3.5mm audio jack, patchcord such as Fig. 4 institute
Show.
Further, described audio jack 201 can arrange switching switch, and described switching switch is for being adjusted by serial ports
During examination device debugging, switch to debugging mode, so that audio jack 201 can receive the debugged apparatus of UART 10 transmission
Debugging signal, and send to described commissioning device.
Specifically, audio jack 201 function of itself is exports audio signal, in the present embodiment, except can export sound
Outside frequency signal, debugging signal can also be exported, when switching switch is in first state, for example, when switching switch is opened, permissible
Exports audio signal, when switching switch is in the second state, for example, during switching switch closure, audio jack 201 is in debugging
State, can export debugging signal.
Further, UART10 is connected with the firmware (EC) of described debugged apparatus, so that when described audio jack 201 is cut
When shifting to debugging mode, the device address (logical device address) of described firmware configuration UART 10, for example, with
It is easy to UART 10 and receive described debugging signal.
For example, by EC, the device address of configuration UART is ox3f8, and is stored in the device register of UART.
The technical scheme of the embodiment of the present invention includes the UART Universal Asynchronous Receiver Transmitter being arranged on debugged apparatus and audio frequency is inserted
Hole, is connected with audio jack by UART Universal Asynchronous Receiver Transmitter, so that debugging signal is exported by audio jack, so that being adjusted
The audio jack of examination equipment has the function of serial ports, conveniently debugged apparatus is debugged.
Fig. 5 is the flow chart of the embodiment one of serial port debugging method of the present invention, as shown in figure 5, the serial ports of the present embodiment
Adjustment method, specifically may include steps of:
S501, receives the instruction entering debugging mode.
S502, controls switching switch according to instruction, to switch to debugging mode.
S503, receive debugged apparatus UART Universal Asynchronous Receiver Transmitter send debugging signal, and will debug signal send to
Commissioning device.
Specifically, the executive agent of the present embodiment is audio jack.When audio jack receives the entrance debugging of EC transmission
After the instruction of state, switching switch is controlled to enter debugging mode, now, audio jack no longer will receive audio signal, and only connect
Receive debugging signal, and by debugging signal output to the commissioning device being connected.
Further, debugged apparatus are included in computer, notebook computer, panel computer, server and memorizer extremely
Few one kind.
The serial port debugging method of the present embodiment, by carrying out the realization mechanism of AccessPort and above-mentioned figure using above-mentioned steps
The realization mechanism of the AccessPort device of 1 illustrated embodiment is identical, may be referred to the record of above-mentioned embodiment illustrated in fig. 1 in detail,
Will not be described here.
Fig. 6 is the flow chart of the embodiment one of serial port debugging method of the present invention, as shown in fig. 6, the serial ports of the present embodiment
Adjustment method, specifically may include steps of:
S601, obtains device address, in order to receive debugging signal.
S602, receives the debugging signal that debugged apparatus send.
S603, debugging signal is sent to the audio jack being in debugging mode, will debug letter in order to audio jack
Number send to external debugging device, its audio jack is to switch to debugging mode according to the action of switching switch.Specifically, originally
The executive agent of embodiment is disposed on the UART of debugged apparatus.Adjust for making debugged apparatus be capable of identify that and transmitting with UART
Trial signal is it is necessary first to arrange device address for UART, such as ox3f8, in order to receive debugging signal.Now, audio jack
It is in debugging mode, Parallel debugging equipment output debugging signal can be received.
The serial port debugging method of the present embodiment, by carrying out the realization mechanism of AccessPort and above-mentioned figure using above-mentioned steps
The realization mechanism of the AccessPort device of 1 illustrated embodiment is identical, may be referred to the record of above-mentioned embodiment illustrated in fig. 1 in detail,
Will not be described here.
Above example is only the exemplary embodiment of the present invention, is not used in the restriction present invention, protection scope of the present invention
It is defined by the claims.Those skilled in the art can make respectively to the present invention in the essence and protection domain of the present invention
Plant modification or equivalent, this modification or equivalent also should be regarded as being within the scope of the present invention.
Claims (9)
1. a kind of AccessPort device is it is characterised in that include:
UART Universal Asynchronous Receiver Transmitter, it is arranged on debugged apparatus;
Described UART Universal Asynchronous Receiver Transmitter provides debugging signal to commissioning device, and by the multimedia port of described debugged apparatus
Output.
2. AccessPort device according to claim 1 is it is characterised in that described multimedia port includes audio jack,
Wherein:
Described UART Universal Asynchronous Receiver Transmitter is provided with TX and RX pin, and described audio jack is provided with R passage and L * channel, and described
TX pin and described R passage connect, and described RX pin and described L * channel connect.
3. AccessPort device according to claim 2 switches switch it is characterised in that described audio jack is provided with,
Described switching switch is for, when by AccessPort device debugging, switching to debugging mode, so that audio jack can receive
The debugging signal of the debugged apparatus that described UART Universal Asynchronous Receiver Transmitter sends, and send to described commissioning device.
4. AccessPort device according to claim 3 is it is characterised in that described UART Universal Asynchronous Receiver Transmitter is adjusted with described
The firmware of examination equipment connects, so that when described audio jack switches to debugging mode, universal asynchronous described in described firmware configuration
The device address of transceiver, receives described debugging signal in order to UART Universal Asynchronous Receiver Transmitter.
5. AccessPort device according to claim 3 is it is characterised in that described debugged apparatus include computer and deposit
At least one of reservoir, this computer includes at least one of desk computer, notebook computer, panel computer server.
6. a kind of serial port debugging method is it is characterised in that include:
Receive the instruction entering debugging mode;
Switching switch is controlled according to described instruction, to switch to debugging mode;
Receive the debugging signal that the UART Universal Asynchronous Receiver Transmitter of debugged apparatus sends, and described debugging signal is sent and sets to debugging
Standby.
7. serial port debugging method according to claim 6 is it is characterised in that described debugged apparatus include computer, pen
Remember at least one of this computer, panel computer, server and memorizer.
8. a kind of serial port debugging method is it is characterised in that include:
Receive the debugging signal that debugged apparatus send;
Described debugging signal is sent to the audio jack being in debugging mode, in order to described audio jack by described debugging
Signal sends to external debugging device, and wherein said audio jack is to switch to debugging mode according to the action of switching switch.
9. serial port debugging method according to claim 8 is it is characterised in that receive the debugging signal that debugged apparatus send
Before, methods described also includes:
Obtain device address, in order to receive described debugging signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610891717.9A CN106484577A (en) | 2016-10-12 | 2016-10-12 | AccessPort device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610891717.9A CN106484577A (en) | 2016-10-12 | 2016-10-12 | AccessPort device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106484577A true CN106484577A (en) | 2017-03-08 |
Family
ID=58269715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610891717.9A Pending CN106484577A (en) | 2016-10-12 | 2016-10-12 | AccessPort device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106484577A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109212268A (en) * | 2017-06-29 | 2019-01-15 | 北京小米移动软件有限公司 | Electronic equipment, circuit switching device and commissioning device |
CN113806152A (en) * | 2021-09-14 | 2021-12-17 | 合肥联宝信息技术有限公司 | Fault diagnosis card and equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201804322U (en) * | 2010-09-09 | 2011-04-20 | 云南省计算机软件技术开发研究中心 | PC 104 bus RS 485 board card provided with double return ring self-checking function |
CN102469404A (en) * | 2010-11-10 | 2012-05-23 | 深圳市创智成科技股份有限公司 | Debugging method by utilizing earphone audio interface |
CN204101917U (en) * | 2014-09-09 | 2015-01-14 | 湖州佳格电子科技有限公司 | A kind of multiplex roles audio base and its internal circuit |
CN104572375A (en) * | 2015-01-23 | 2015-04-29 | 合肥联宝信息技术有限公司 | Method and device for diagnosing computer through display interface |
-
2016
- 2016-10-12 CN CN201610891717.9A patent/CN106484577A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201804322U (en) * | 2010-09-09 | 2011-04-20 | 云南省计算机软件技术开发研究中心 | PC 104 bus RS 485 board card provided with double return ring self-checking function |
CN102469404A (en) * | 2010-11-10 | 2012-05-23 | 深圳市创智成科技股份有限公司 | Debugging method by utilizing earphone audio interface |
CN204101917U (en) * | 2014-09-09 | 2015-01-14 | 湖州佳格电子科技有限公司 | A kind of multiplex roles audio base and its internal circuit |
CN104572375A (en) * | 2015-01-23 | 2015-04-29 | 合肥联宝信息技术有限公司 | Method and device for diagnosing computer through display interface |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109212268A (en) * | 2017-06-29 | 2019-01-15 | 北京小米移动软件有限公司 | Electronic equipment, circuit switching device and commissioning device |
CN113806152A (en) * | 2021-09-14 | 2021-12-17 | 合肥联宝信息技术有限公司 | Fault diagnosis card and equipment |
CN113806152B (en) * | 2021-09-14 | 2024-04-19 | 合肥联宝信息技术有限公司 | Fault diagnosis card and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101783674B (en) | Pin sharing device and method thereof | |
CN108107975B (en) | Portable docking station | |
CN104572552A (en) | Small-sized intelligent equipment computer mode converter | |
CN107203483A (en) | The interface circuit and electronic equipment of a kind of electronic equipment | |
CN204155267U (en) | A kind of OTG usb circuit | |
CN107783871A (en) | A kind of usb signal uniformity pattern switch, test system | |
CN106484577A (en) | AccessPort device and method | |
CN207458042U (en) | A kind of electronic equipment | |
CN110247265A (en) | Multifunctional data line, switching circuit and switching method | |
US20080181286A1 (en) | Hand-held wireless device with a PCIE interface | |
CN204087151U (en) | A kind of external assembly being exclusively used in touch display unit | |
CN204810421U (en) | Switching circuit based on HDMI interface | |
CN100547521C (en) | The multiple level converter of mobile communication terminal | |
CN111274076A (en) | Debugging system | |
CN207424591U (en) | Multiple source usb circuit | |
CN207925845U (en) | A kind of quickly detection Serial Port Line | |
CN210670112U (en) | Interphone detection system | |
CN210609142U (en) | Intercom interface board and intercom detecting system | |
CN114385533B (en) | Data conversion apparatus, method, computer-readable storage medium, and system | |
CN200990083Y (en) | Computer utilizing convenient data transmitting interface device and containing the same device | |
CN210327611U (en) | Interphone detection system based on smart phone | |
CN105786740B (en) | A kind of USBKey | |
CN213813918U (en) | Automatic test system for USB Type-C slave interface test | |
CN217134842U (en) | Wire concentrator | |
CN220105678U (en) | Communication interface's test instrument and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |
Application publication date: 20170308 |
|
RJ01 | Rejection of invention patent application after publication |