A kind of ADB debugging systems
Technical field
The utility model is related to communications electronics field, the hardware system particularly debugged for android system ADB, tool
Body is a kind of ADB debugging systems.
Background technology
Increasing products configuration "smart" products used in embedded system, particularly industrial circle now.
And product development cycle is shorter and shorter, the influence to the stability of product is also increasing.And due to interface, outward appearance, cost
In terms of limitation, the debugging interface used when when dispatching from the factory being difficult and may need to safeguard by future is external.When breaking down,
Because product practical set and site environment are limited, it is impossible to safeguarded on the spot.Replacing to faulty item can be added to again
This.
Even if can safeguard, it is also desirable to tear machine open, carried out by internal debugging interface.This is for the specific existing peace in scene
Hidden danger on complete, does not meet market for safe efficient, inexpensive requirement again.
Solving one of scheme of problem above is secretly put below debugging interface, such as nameplate in the recessive position of product.But
It is the problems such as this can bring the security of product, cost again.
Utility model content
The purpose of this utility model is:A kind of ADB debugging systems are provided, skills one or more of in the prior art are solved
Art defect.
Realizing the technical scheme of above-mentioned purpose is:A kind of ADB debugging systems, are assemblied in embedded system, the ADB debugging
System includes an ADB debugger interfaces and a processor unit.The ADB debugger interfaces are assemblied in the embedded system,
The ADB debugger interfaces are used for the commissioning device for connecting outside;The processor unit is connected to the ADB debuggers and connect
Mouthful;Wherein, the ADB debugger interfaces include a protection location and a RJ45 interface units, and the protection location is connected to institute
State processor unit;The RJ45 interface units are connected to the protection location;The RJ45 interface units are used to connect described
Commissioning device, the commissioning device is equipped with ADB debuggers;When debugging, the processor unit is used to receiving and verifying institute
State the PUK of ADB debuggers transmission;When the PUK is verified, the processor unit is used to control the protection single
Member, the ADB debuggers and ADB debugging systems are connected by the protection location.
In the embodiment of the utility model one, the protection location includes a communication unit and an ADB switch elements, described
The communication that communication unit is used between the ADB debuggers and the processor unit;The processor unit passes through the ADB
Switch element controls the communication unit;
In the embodiment of the utility model one, the RJ45 interface units lead to including a basic 100,000,000 network interface units, one
Believe interface unit and an ADB interface units.
In the embodiment of the utility model one, the ADB debuggers include the cable interfaces of a USB- 100,000,000 and UART-TX connects
Mouthful.
In the embodiment of the utility model one, the processor unit includes a processor main control unit, a processor and deposited
Storage unit, a processor memory unit and a processor power supply unit.The processor main control unit is used to handle various data,
Including for receiving and verifying PUK and the control protection location that the ADB debuggers are sent;The processor is deposited
Storage unit is used to store various Nonvolatile datas;The processor memory unit is used to store the processor main control unit institute
The data called;The processor power supply unit is used to provide power supply for the processor unit;The processor memory cell,
Processor memory unit, processor power supply unit are all connected to the processor main control unit.
The utility model has the advantages that:ADB debugging systems of the present utility model, are configured with convenience, low cost, high
The ADB debugging interfaces for carrying out convenient and swift field adjustable of reliability, this is based on the ADB debugging containing 100,000,000 cable network products
Device interface so that not additionally in the case of increase peripheral circuit and external interface, just can be with using resource on existing plate
Simply build very much a set of later stage be used for safeguard the environment debugged, be that the maintenance of product brings great convenience, while can be with
The security performance of product is lifted, increases the security of debugging, cost is reduced again, and without special external debugging mouth, product
It is attractive in appearance;Machine need not be torn when safeguarding open, operation is succinct;There is no exposed debugging interface, be the characteristics of product has high reliability.
Brief description of the drawings
The utility model is further explained with reference to the accompanying drawings and examples.
Fig. 1 is the ADB debugging system module diagrams of the utility model embodiment;
Fig. 2 is the processor unit module schematic diagram of the utility model embodiment;
Fig. 3 is the protection location module diagram of the utility model embodiment;
Fig. 4 is the RJ45 interface unit module schematic diagrames of the utility model embodiment;
Fig. 5 is the RJ45 interface unit structural representations of the utility model embodiment;
Fig. 6 is the ADB debugger module schematic diagrames of the utility model embodiment;
Fig. 7 is the debugging flow chart of the utility model embodiment;
Fig. 8 for modules unit and other units in the ADB interface units of the utility model embodiment attachment structure
Schematic diagram.
Wherein:
100th, ADB debugger interfaces;200th, processor unit;
210th, processor main control unit;220th, processor memory cell;
230th, processor memory unit;240th, processor power supply unit;
300th, protection location;310th, communication unit;
320th, ADB switch elements;400th, RJ45 interface units;
410th, basic 100,000,000 network interface units;420th, communications interface unit;
430th, ADB interface units;500th, ADB debuggers;
510th, the cable interfaces of USB- 100,000,000;520th, UART-TX interfaces;
600 commissioning devices;700 ADB debugging systems.
Embodiment
The explanation of following examples is the specific reality implemented to illustrate the utility model can be used to reference to additional schema
Apply example.The direction term that the utility model is previously mentioned, such as " on ", " under ", "front", "rear", "left", "right", " top ", " bottom "
Deng being only the direction with reference to annexed drawings.Therefore, the direction term used is to illustrate and understand the utility model, rather than
To limit the utility model.
Embodiment, as shown in figure 1, a kind of ADB debugging systems, the ADB debugging systems 700 are assemblied in embedded system, ADB
Debugging system 700 includes an ADB debugger interfaces 100, a processor unit 200 and commissioning device.
Wherein, ADB debugger interfaces 100 are assemblied in the embedded system, and ADB debugger interfaces 100 are used to connect outer
The commissioning device in portion.Specifically, ADB debugger interfaces 100 include a protection location 300, a RJ45 interface units 400.
As shown in Fig. 2 processor unit 200 is connected to the ADB debugger interfaces 100;Wherein, the processor unit
200 include a processor main control unit 210, a processor memory cell 220, a processor memory unit 230 and a processing
Device power subsystem 240.Processor main control unit 210 is used to handle various data, including for receiving and verifying the ADB debugging
PUK and control the protection location 300 that device 500 is sent;Processor memory cell 220 is used to store various non-volatile
Property data etc.;Processor memory unit 230 is used to store the data that the processor main control unit 210 is called;Processor electricity
Source unit 240 is used to provide power supply for processor unit 200;Processor memory cell 220, processor memory unit 230, processing
Device power subsystem 240 is all connected to the processor main control unit 210.
As shown in figure 3, protection location 300 is connected to processor unit 200;It is single that RJ45 interface units 400 are connected to protection
300, RJ45 of member interface units 400 are used to connect the commissioning device, and commissioning device is equipped with ADB debuggers 500.
Wherein, protection location 300 includes communication unit 310, an ADB switch elements 320 described in one.Communication unit 310 is used
Communication between the ADB debuggers 500 and the processor unit 200.Processor unit passes through the ADB switch elements
320 control communication units 310.
As shown in figure 4, RJ45 interface units 400 include a basic 100,000,000 network interface units 410, a communications interface unit
420 and ADB interface units 430.Each interface unit in RJ45 interface units 400 is set for connecting corresponding outside
Standby, such as ADB interface units 430 are used for the commissioning device for connecting outside, and the debugging that communications interface unit 420 is used to connect outside is set
Standby telecommunication circuit, basic 100,000,000 network interface units 410 are used to connect network.
As shown in figure 5, wherein protection location 300 is set up between ADB debuggers 500 and processor unit 200 special
There are ADB switch elements 320, ADB switch elements 320 are controlled by processor unit 200.RJ45 interface units 400 are to utilize RJ45
NC four pins are designed under the application of 100,000,000 nets.
NC pin position includes NC1, NC2, NC3, and NC pin position leads to as the connection between ADB debuggers 500 and protection location 300
Road.Communication unit 310 wherein in protection location 300 be directly by RJ45 interface units 400 connect processor unit 200 with
ADB debuggers.
As shown in fig. 6, ADB debuggers 500 include the cable interfaces 510 of a USB- 100,000,000 and UART-TX interfaces 520.
In practical application, as shown in Figure 7, Figure 8, when debugging, the processor unit 200 is used to receiving and verifying institute
State the PUK of the transmission of ADB debuggers 500;When the PUK is verified, the processor unit 200 is described for controlling
Protection location 300, the ADB debuggers 500 and ADB debugging systems are connected by the protection location 300.I.e.:Operating personnel
Send the solution of custom protocol to the RJ45 interface units 400 of connection by outside commissioning device 600 with ADB debuggers 500
Code-locked, the PUK is delivered to processor unit 200 by protection location 300.
Specifically, PUK is checked by the verification of processor unit 200, and if the PUK is correct, protection location 300
In ADB switch elements 320 will be opened, now commissioning device 600 can pass through communication unit 310 with processor unit 200
Connection, you can all operations required for being safeguarded.
And ADB switch elements 320 are then to complete connection by having integrated circuit and switch, pass through in ADB debuggers 500 logical
Letter unit 310 completes the communication with processor unit 200, and transmitted PUK is correct, then processor unit 200
The switch of ADB switch elements 320 will be opened by integrated circuit.Now, whole ADB debugging systems 700 complete to build, the later stage
Maintenance work just can be carried out.
Preferred embodiment of the present utility model is these are only, it is all in this practicality not to limit the utility model
Any modifications, equivalent substitutions and improvements made within new spirit and principle etc., should be included in guarantor of the present utility model
Within the scope of shield.