CN201518128U - Software upgrading and debugging tool - Google Patents
Software upgrading and debugging tool Download PDFInfo
- Publication number
- CN201518128U CN201518128U CN2009200308125U CN200920030812U CN201518128U CN 201518128 U CN201518128 U CN 201518128U CN 2009200308125 U CN2009200308125 U CN 2009200308125U CN 200920030812 U CN200920030812 U CN 200920030812U CN 201518128 U CN201518128 U CN 201518128U
- Authority
- CN
- China
- Prior art keywords
- pin
- software upgrading
- interface
- debugging
- debugging acid
- 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.)
- Expired - Fee Related
Links
Images
Abstract
The utility model discloses a software upgrading and debugging tool which comprises a software upgrading unit and an I2C debugging unit. The software upgrading unit comprises the following components: serial ports used for connecting with a computer, a software upgrading port for connecting with a circuit board to be debugged, and a level converting circuit which is connected between the serial ports and the software upgrading port. The I2C debugging unit comprises the following components: parallel ports for connecting with a computer, and an I2C bus port used for connecting with the circuit board to be debugged. In a plurality of input-output pins of the parallel ports, two pair of input-output pins are selected according to the flow direction of signal to be respectively used as the bidirectional communication ports of SCL and SDA. One pair is connected with the SCL pins of the I2C bus port, and the other pair is connected with the SDA pins of the I2C bus port. The tool has the advantages of simple circuit structure, powerful function, convenient and flexible use, effectively reduced debugging cost through a designing mode of combining two functions, and increased universality of the software upgrading and debugging tool.
Description
Technical field
The utility model belongs to the commissioning device technical field, specifically, relates to a kind of software upgrading and debugging acid of comprehensive multiple interfaces.
Background technology
In performance history,, just need the technician to be configured and to debug by computer or other special debugging acids working procedure to CPU if the configuration software of CPU is perfect not enough on the mainboard as electronic equipments such as televisors.Its kind of interface of present debugging acid is more single, mostly only disposes I
2C interface passes through I
2The C bus is operated the address of various chips on the mainboard, to realize the debugging control to chip.The function ratio of this debugging acid is more single, can only finish the debugging task of product development stage, software upgrading and maintenance task after selling for production are powerless, and the interface for the treatment of the debug circuit plate has special regulation in proper order, therefore, versatility poor, use extremely inconvenient.
The utility model content
Existing debugging acid interface is single, function is few, inconvenient problem with use in order to solve for the utility model, a kind of brand-new software upgrading and debugging acid are provided, by comprehensive polytype interface, and be equipped with simple signal processing circuit, thereby realized that computer treats the I of various chips on the debug circuit plate
2The upgrade function of C debug function and system software.
In order to solve the problems of the technologies described above, the utility model is achieved by the following technical solutions:
A kind of software upgrading and debugging acid comprise software upgrading unit and I
2The C debugging unit, in described software upgrading unit, include the serial ports that is used to connect computer, be used to connect the software upgrading interface for the treatment of the debug circuit plate and be connected described serial ports and the software upgrading interface between level shifting circuit; At described I
2Comprise the parallel port that is used to connect computer in the C debugging unit and be used to be connected the I that treats the debug circuit plate
2The C bus interface, in the multichannel input and output pin of described parallel port according to signal flow to choosing two pairs of input and output pins respectively as the both-way communication port of SCL and SDA, the described I of a pair of connection
2The SCL pin of C bus interface, another is to connecting described I
2The SDA pin of C bus interface.Carry out software upgrading when operation treating the debug circuit plate, connect computer by serial ports, by the software upgrading interface with treat that the UART interface of CPU on the debug circuit plate communicates, and then upgrade software is downloaded among the connected FLASH by CPU, can realize the upgrade function of system software.And when treating the debug circuit plate and carry out debugging operations, can connect computer by the parallel port, pass through I
2The C bus interface connects to be treated can pass through I by the debug circuit plate
2The state that the C bus is treated the various chips on the debug circuit plate carries out read-write operation and simulation control.
In order to make described software upgrading and debugging acid can carry out the software upgrading operation to production or electronic product post sales equally, in described software upgrading interface, be provided with the VGA interface, be used for electronic product on the VGA interface that disposes be connected communication, by selecting two-way terminal idle in the VGA interface to be connected described level shifting circuit with data transmitting pin as the Data Receiving pin, when carrying out the software upgrading operation, need not to open electronic product shell, can finish the online download and upgrade of software program.
In order to further facilitate the grafting of described software upgrading and debugging acid and electronic product, two-way VGA interface preferably is set, one road VGA male interface, one road VGA female interface is with the dissimilar VGA interface that disposes on the compatible electronic product.
Certainly, also can design bar shaped connecting line interface in described software upgrading interface, its Data Receiving pin is connected described level shifting circuit with data transmitting pin.When electronic product is in the development phase, can be connected communication with treating the debug circuit plate by this interface, realize treating the software upgrading operation of debug circuit plate.In addition, itself do not possess the electronic product of VGA interface for those, can on electronic product, dispose special upgrade interface, when carrying out the software upgrading operation, be connected, also can be implemented in the download and upgrade task of finishing software program under the situation of not opening electronic product casing with the bar shaped connecting line interface of software upgrading and debugging acid.
Further, in described bar shaped connecting line interface, also include power pin and ground pin, described power pin and ground pin by the first wire jumper unit respectively with software upgrading and debugging acid in be connected corresponding of power supply with ground, change the link position of bonding line between the jumper connection terminal in the first wire jumper unit, can make the definition of order of the power pin of bar shaped connecting line interface and ground pin consistent, can improve described software upgrading and debugging acid are treated the debug circuit plate to difference versatility thus with the definition of order of the power pin for the treatment of the debug circuit plate interface and ground pin.
Further again, the Data Receiving pin of described software upgrading interface is connected described level shifting circuit with data transmitting pin by the second wire jumper unit, change the link position of bonding line between the jumper connection terminal in the second wire jumper unit, make the definition of order of the Data Receiving pin of software upgrading interface and data transmitting pin consistent with the definition of order of the Data Receiving pin for the treatment of the debug circuit plate interface and data transmitting pin.
Further again, in described software upgrading and debugging acid, also be provided with a USB interface, the USB interface that connects computer in carrying out software upgrading or debug process is the internal circuit power supply of software upgrading and debugging acid from the computer power taking, with setting and the use of avoiding independent current source.
Further, at described I
2In the C debugging unit, two pairs of input and output pins of described parallel port and I
2All be in series with No. one phase inverter in four road lines of C bus interface; Wherein, two output pins of described parallel port connect the input end of No. one phase inverter separately, the output terminal of two-way phase inverter by the 3rd wire jumper unit respectively with described I
2The SCL of C bus interface and SDA pin connect one to one; Described I
2The SCL of C bus interface and SDA pin connect one to one with the input end of other two-way phase inverter simultaneously by the 3rd wire jumper unit, the output terminal of described other two-way phase inverter respectively with the corresponding connection of two input pins of described parallel port.
In order to play the effect of simple encryption, the two pairs of input and output pins and I in described parallel port
2In four road lines of C bus interface, be in series with the two-way phase inverter in one road line at least therein.
In addition, at described I
2Also include power pin and ground pin in the C bus interface, described power pin and ground pin by the forth jump line unit respectively with software upgrading and debugging acid in be connected corresponding of power supply with ground.
Compared with prior art, advantage of the present utility model and good effect are: software upgrading of the present utility model and debugging acid circuit structure are simple, powerful, both can pass through I
2The complete machine state that the C bus is treated on the debug circuit plate carries out read-write operation and simulative debugging control, can carry out the online upgrading operation of system software to the electronic product that is in after development phase or the production and sales again, be easy to use flexibly, the design that function unites two into one effectively reduces debugging cost, improve the versatility of software upgrading and debugging acid, enlarged its suitable application area.
After reading the detailed description of the utility model embodiment in conjunction with the accompanying drawings, other characteristics of the present utility model and advantage will become clearer.
Description of drawings
Fig. 1 is the circuit theory diagrams of a kind of embodiment of software upgrading unit in the software upgrading that proposes of the utility model and the debugging acid;
Fig. 2 is I in the software upgrading that proposes of the utility model and the debugging acid
2The circuit theory diagrams of a kind of embodiment of C debugging unit.
Embodiment
Below in conjunction with accompanying drawing embodiment of the present utility model is described in detail.
Software upgrading of the present utility model and debugging acid function and the suitable application area in order to enlarge instrument designed software upgrading unit and I simultaneously on the circuit board of this tool interior
2The C debugging unit.In the software upgrading unit, be provided with serial ports, software upgrading interface and be connected described serial ports and the software upgrading interface between level shifting circuit.In the time need carrying out updating operation to the system software of electronic product, the serial ports of instrument can be connected with the serial ports of computer, the software upgrading interface of instrument is connected with electronic product to be upgraded, and then the upgrade software in the computer is transferred to the UART interface of CPU in the electronic product to be upgraded, under the control action of CPU, ROMPaq is downloaded in the FLASH storer that is connected with CPU, and then realizes the function of software upgrading and serially printing information indicating.At described I
2Be provided with parallel port and I in the C debugging unit
2The C bus interface, in the multichannel input and output pin of described parallel port according to signal flow to choosing two pairs of input and output pins respectively as the both-way communication port of SCL and SDA, the described I of a pair of connection
2The SCL pin of C bus interface, another is to connecting described I
2The SDA pin of C bus interface.When needs are treated the debug circuit plate and carried out debugging operations, the parallel port of instrument is connected with the parallel port of computer, I
2The C bus interface is connected with treating the debug circuit plate, and then passes through I
2C bus and the I that waits to debug chip
2The C pin is connected, and treats the address of debugging chip by computer and operates, and so just can carry out I in advance to some functions that software is not also realized
2The C debugging control is to improve development efficiency.The peopleware can use two kinds of functions of this instrument simultaneously by connecting line, can realize the online upgrading of system software and the prompting of type information, and pass through I
2The C bus is carried out read-write operation and simulation control to the state of complete machine.
Be example TV SKD is carried out software upgrading and debugging control below, elaborate the concrete establishment structure and the principle of work of described software upgrading and debugging acid by a specific embodiment.
Embodiment one, and referring to shown in Figure 1, Fig. 1 comprises serial ports XP16, level shifting circuit N28 and the software upgrading interface of being made up of VGA interface XP15, XP17 and bar shaped connecting line interface SOFT1 for the concrete composition structure of software upgrading unit.
Described level shifting circuit N28 can adopt a special integrated chip to realize, also can adopt transistor to cooperate direct supply to build realization, to realize the conversion transmission of the Transistor-Transistor Logic level signal between computer and the TV SKD.Present embodiment is that example describes for for the purpose of simplifying circuit structure with the design that adopts integrated chip.With the transmission output terminal T1OUT of level shifting circuit N28 with receive input end R1IN respectively with received signal end RXD_PC (i.e. 2 pin) and transmission signal end TXD_PC (i.e. 3 pin) corresponding connection of serial ports XP16; With the transmission input end T1IN of level shifting circuit N28 with receive output terminal R1OUT respectively with the software upgrading interface in data transmitting pin be connected with the Data Receiving pin is corresponding.
For the software upgrading and the debugging acid that make present embodiment can be after the televisor production and sellings, need not to turn on housing of TV set and can carry out the online upgrading operation the system software of televisor, at least one VGA interface of decision design in the software upgrading interface of present embodiment utilizes two-way terminal (such as 4 pin, 11 pin) idle in the VGA interface to be connected the reception output terminal R1OUT of described level shifting circuit N28 with data transmitting pin and to send input end T1IN as the Data Receiving pin.When televisor being carried out the software upgrading operation, utilize the serial ports of the serial ports XP16 connection computer of instrument, utilize the VGA interface of the VGA interface connection televisor of instrument, carry out the conversion matching treatment of signal level between computer and the TV SKD by level shifting circuit N28 after, realize the transmitted in both directions of signal between computer and the TV SKD.Computer transfers to upgrade software the VGA interface of televisor by this instrument, CPU on the TV SKD connects 4 pin and 11 pin of televisor VGA interface by its UART interface, and then the upgrade software that receives downloaded in the connected FLASH storer, to upgrade the system software among the FLASH, realize the online download and upgrade function of system for TV set software.Meanwhile, can pass through the form feedback to the computer of the CPU of televisor for some program implementation situation in the software debugging process with type information, be shown to the technician by computer screen, the implementation status of system software monitored in real time to make things convenient for the technician.
What the televisor of considering disposed is GVA male interface, what the televisor that has disposed is VGA female interface, televisor and this instrument are pegged graft for convenience, and present embodiment is decision design two-way VGA interface in the software upgrading interface: one road VGA male interface, such as the XP17 among Fig. 1; One road VGA female interface is such as the XP15 among Fig. 1, with the dissimilar VGA interface that disposes on the compatible tv machine.
Certainly, also can adopt other interfaces that include the idle terminal of two-way that dispose on the electronic product to replace described VGA interface, design described software upgrading interface, can reach equally under the prerequisite of not opening electronic product casing, realize online download and updating operation to electronic product system software easily, present embodiment does not specifically limit this.
Do not possess the electronic product of above-mentioned interface for some, can on the housing of electronic product, set up an interface that is specifically designed to software upgrading, and then be connected communication with bar shaped connecting line interface SOFT1 in the present embodiment instrument, can under the prerequisite of unlocking electronic product casing not, realize renewal upgrading task equally to the tv product system software.Be this design need be on electronic product the additional configuration upgrade interface, thereby cause the rising of electronic product complete machine cost.
Design bar shaped connecting line interface SOFT1 also has the another one purpose in the software upgrading interface of present embodiment, exactly when the mainboard that televisor is in the development phase carries out the software upgrading operation, can be easily be connected communication, realize the upgrading of software and the information printing function of software debugging with CPU on the TV SKD.
Treat debug circuit plate (is example with the TV SKD) for what software upgrading and debugging acid can be widely used in have the distinct interface order, present embodiment has designed the wire jumper unit between software upgrading interface and level shifting circuit N28, such as the first wire jumper cell S W1 among Fig. 1 and the second wire jumper cell S W2, by changing the link position of bonding line between the jumper connection terminal in the wire jumper unit, the pin definitions order that can realize the software upgrading interface is consistent with the pin definitions order of TV SKD interface, and then realize the accurate transmission of signal between TV SKD and the debugging acid reaching the purpose of design that improves the debugging acid versatility.
Specifically, in actual application, different TV SKD, the pin definitions order of its upgrade interface is often followed following rule: 1,2 pins of interface are used for transmission of data signals, send data TD or transmission reception data RX such as transmission, and institute's data signals transmitted might be exchanged; 3,4 pins of interface are used to connect power supply and ground connection, and the order of connection also might be exchanged.Like this, adopt as shown in Figure 1 the first wire jumper cell S W1 and the second wire jumper cell S W2, can effectively avoid the mutual intersection of bonding line between the jumper connection terminal.Concrete connected mode is as follows:
1 pin of the first wire jumper cell S W1 is connected direct supply VCC, and 2 pin connect 3 pin of bar shaped connecting line interface SOFT1; With the 4 pin ground connection of the first wire jumper cell S W1,3 pin connect 4 pin of bar shaped connecting line interface SOFT1.2 pin of the second wire jumper cell S W2 are connected the transmission input end T1IN of level shifting circuit N28, and 1 pin connects 1 pin of bar shaped connecting line interface SOFT1; 3 pin of the second wire jumper cell S W2 are connected the reception output terminal R1OUT of level shifting circuit N28, and 4 pin connect 2 pin of bar shaped connecting line interface SOFT1.
So, when the pin definitions of the upgrade interface of TV SKD is in proper order: 1 human hair combing waste send data, when 2 pin receive data, 3 pin power supplys, 4 pin ground connection, we can the usage level direction bonding line be connected between the jumper connection terminal of the first wire jumper cell S W1 and the second wire jumper cell S W2, can satisfy the corresponding to designing requirement of pin definitions order of pin definitions order with the upgrade interface of TV SKD of bar shaped connecting line interface SOFT1.
When the pin definitions of the upgrade interface of TV SKD is in proper order: 1 pin receives data, when 2 human hair combing wastes send data, 3 pin ground connection, 4 pin power supplys, we can use the bonding line of vertical direction to be connected between the jumper connection terminal of the first wire jumper cell S W1 and the second wire jumper cell S W2, promptly the pin definitions sequence consensus of the pin definitions of bar shaped connecting line interface SOFT1 order with the upgrade interface of TV SKD can be got up.
When the pin definitions of the upgrade interface of TV SKD is in proper order: 1 human hair combing waste send data, when 2 pin receive data, 3 pin ground connection, 4 pin power supplys, we can use the bonding line of vertical direction to connect the jumper connection terminal in the first wire jumper cell S W1, the bonding line of usage level direction connects the jumper connection terminal in the second wire jumper unit, can satisfy between TV SKD and the software upgrading debugging acid the accurate of interface and dock.
In like manner, the pin definitions of the upgrade interface of TV SKD is in proper order: 1 pin receives data, when 2 human hair combing wastes send data, 3 pin power supplys, 4 pin ground connection, we can connect the jumper connection terminal by the bonding line of usage level direction in the first wire jumper cell S W1, in the second wire jumper unit, use the bonding line of vertical direction to connect the jumper connection terminal, can satisfy TV SKD and the accurate designing requirement of docking of interface between the software upgrading debugging acid.
Adopt the design of present embodiment, we only need to change the connected mode of jumper connection terminal, can form multiple wiring array mode, thereby realized that a kind of software upgrading and debugging acid satisfy the software upgrading requirement of waiting to debug mainboard of four kinds of interface orders simultaneously, have greatly improved the versatility of instrument and the dirigibility of use.
For fear of static the internal circuit of instrument is caused damage, present embodiment has been connected bi-directional voltage stabilizing tube device VD47, VD48 respectively on the data transmitting pin of software upgrading interface and Data Receiving pin, to realize the esd protection function.
In addition, in the software upgrading of present embodiment and debugging acid, also be provided with a USB interface U2, as shown in Figure 1, its 1 pin connects dc power supply terminal VCC, 4 pin ground connection, the USB interface of connection computer in carrying out software upgrading or debug process, from the computer power taking is the internal circuit power supply of software upgrading and debugging acid, setting and use to avoid independent current source reach the simplification circuit structure, reduce the purpose of design of instrument hardware cost.Capacitor C 1 among Fig. 1, C2 and stabilivolt VD36 are used for the direct supply of introducing is carried out filtering and clamped processing.Adopt this design can also satisfy the TV SKD that some does not define power interface, when particularly the TV main frame uses the earphone mouth to carry out software upgrading, because the earphone mouth does not comprise the power supply power pack, therefore, can not pass through the TV SKD power taking, have only the USB interface power supply of using computer, could satisfy the power requirement of software upgrading and debugging acid.
Fig. 2 is I
2The circuit of C debugging unit is set up structure, comprises parallel port I2CP1 and I
2C bus interface IIC1.Wherein, pass through I
2C bus interface IIC1 connects the I of TV SKD
2The C bus end is by the parallel interface of parallel port I2CP1 connection computer, to realize the online I of computer to TV SKD
2The debugging of C Bus simulator.Consider I
2The C bus signals is in communication process, and data are transmitted in both directions, therefore, need be in the multichannel input and output pin of described parallel port I2CP1 according to signal flow to choosing two pairs of input and output pins respectively as the both-way communication port of SCL and SDA, a pair of connection I
2The SCL pin of C bus interface IIC1, another is to connecting I
2The SDA pin of C bus interface IIC1.
For convenience debugging acid is connected with computer, and present embodiment preferably adopts 25 pins of the grafting that matches with the parallel port socket of the computer plug that walks abreast to come parallel port I2CP1 on the design tool.The stitch of considering 25 pin parallel ports of computer is defined as: 1 pin: gating (STROBE low level); 2~9 pin: data bit (DATA0~DATA7); 10 pin: confirm (ACKNLG low level); 11 pin: busy (BUSY); 12 pin: lack paper (PE); 13 pin: select (SLCT); 14 pin: line feed (AUTO FEED low level) automatically; 15 pin: mistake viewpoint (ERROR low level); 16 pin: initialization (INIT low level); 17 pin: select input (SLCT IN low level); 18~25 pin: ground wire (GND).In conjunction with the data flow of parallel port pin, present embodiment selects 9,11,15,17 pin of parallel port I2CP1 as described two pairs of input and output pins, respectively with I
2The SCL of C bus interface IIC1 is connected with the SDA pin is corresponding.
The two pairs of input and output pins and I at the parallel port of present embodiment I2CP1
2In four road lines of C bus interface IIC1, be in series with phase inverter in one road line at least therein, preferably in each road line, all connect No. one phase inverter U1A, U1B, U1C, U1E, as shown in Figure 2.Wherein, described I
2C bus interface IIC1 can adopt general four-pin plug to realize that its 1 pin can be defined as power pin or ground pin; 2 pin are defined as ground pin or power pin; 3,4 pin can be defined as two data pin, and as described bus pin SCL and SDA, I2CP1 is connected with the parallel port respectively.
For versatility that improves debugging acid and the dirigibility that is connected with TV SKD, present embodiment is at the parallel port of debugging acid I2CP1 and I
2Equally also designed the wire jumper unit between the C bus interface IIC1, the 3rd wire jumper cell S W3 as shown in Figure 2 and the forth jump line cell S W2 by changing the link position of bonding line between the jumper connection terminal in the wire jumper unit, make I
2The pin definitions order of C bus interface IIC1 is consistent with the pin definitions order of the corresponding interface of TV SKD, thereby realized the accurate transmission of signal between TV SKD and the debugging acid, what make that software upgrading and debugging acid can be widely used in having the distinct interface order treats the debug circuit plate.
Specifically, described I
21 pin of C bus interface IIC1 connects 1 pin of the forth jump line cell S W4, and 2 pin of the forth jump line cell S W4 connect the anode of switching diode D2, and the negative electrode of described diode D2 connects dc power supply terminal VCC.Switching diode D2 and direct supply are formed the clamped circuit of high pressure, avoid extraneous high pressure to disturb the internal circuit to debugging acid to cause damage.Described I
22 pin of C bus interface IIC1 connect 4 pin of the forth jump line cell S W4, the 3 pin ground connection of the forth jump line cell S W4.So, can adjust the connected mode of bonding line among the forth jump line cell S W4 according to interface on the TV SKD to the definition of order of power pin and ground pin, promptly adopt the bonding line of horizontal direction still to adopt the bonding line of vertical direction to connect jumper connection terminal among the forth jump line cell S W4, can realize that debugging acid docks with the accurate of TV SKD interface.
Two output pins 9,17 of described parallel port I2CP1 respectively with the corresponding connection of input end of two-way phase inverter U1A, U1B, by described phase inverter U1A, U1B to after carrying out negate from the data signal bus of computer and clock signal and handling, be connected with 4 pin are corresponding with 1 pin of the 3rd wire jumper cell S W3 respectively by its output terminal, and then pass through 2 pin and 3 pin and the I of the 3rd wire jumper cell S W3
2The I of computer to TV SKD finished in 3 pin of C bus interface IIC1, the corresponding connection of 4 pin
2The C bus communication.Same, utilize 1 pin of described the 3rd wire jumper cell S W3 and 4 pin to connect one to one with the input end of other two-way phase inverter U1C, U1E simultaneously, after carrying out the negate processing, by its output terminal respectively with two input pins, 11, the 15 corresponding connections of parallel port I2CP1, to realize the I of TV SKD to computer
2The C bus communication.In order to keep the correctness of bus signals high-low level sequential, increasing in the CPU of computer and TV SKD program has the negate program, and the bus signals that receives is carried out anti-phase processing, to realize the accurate reception of bus data.
Described phase inverter U1A, U1B, U1C, U1E can also play the effect of protection and buffering except inverting function, under the control of corresponding software, can realize I like this
2The artificial debugging of C bus.
Certainly, at two pairs of input and output pins 9,11,15,17 and the I of described parallel port I2CP1
2The two-way phase inverter of also can all connecting in four road lines of C bus interface IIC1, carrying out twice negate handles, bus signals by described debugging acid input and output can be consistent like this, need not increases extra negate program in the CPU of computer and TV SKD control program, can realize the accurate transmitting-receiving of bus data between computer and the TV SKD.
In order to play the effect of simple encryption, at two pairs of input and output pins 9,11,15,17 and the I of the parallel port of present embodiment I2CP1
2In four road lines of C bus interface IIC1, the two-way phase inverter of connecting in one road line therein, and series connection No. one phase inverter in all the other lines, as shown in Figure 2.15 pin and I at parallel port I2CP1
2Series connection two-way phase inverter U1E, U1D in the connection line of C bus interface IIC1, No. one phase inverter U1A, U1B or U1C all connect in all the other lines.Correspondingly, in the reception program of computer, the clock signal SCL that receives is not done anti-phase processing, and the data-signal SDA that receives is carried out anti-phase processing, can realize of the accurate transmission of the bus signals of TV SKD to external computer.And in the CPU of TV SKD reception program, need to increase clock signal SCL and data-signal SDA negate program, can realize of the accurate transmission of the bus signals of computer to TV SKD.
In addition, described debugging acid is caused damage, on the idle pin of the parallel port of present embodiment I2CP1, be connected with the clamped holding circuit of high pressure, as shown in Figure 2, comprise multichannel duodiode device D3, D4, D5 in order to prevent the external high pressure electrostatic interference.Wherein, the anode of each diode among described multichannel duodiode device D3, D4, the D5 connects one to one with the idle pin of the multichannel of parallel port I2CP1 respectively, connect 1,14,2,3,4,5 pin of parallel port I2CP1 in the present embodiment respectively, negative electrode connects described dc power supply terminal VCC.When the voltage signal of introducing by parallel port I2CP1 is higher than VCC+0.7V, diode current flow, the voltage signal of introducing is clamped on the potential value of VCC+0.7V, thus play the purpose of protecting debugging acid.
Further, for the transmission course of show bus data intuitively, avoid developer's plug interface in the process of bus data transmission, cause error in data, in the debugging acid of present embodiment, also be provided with the data transmission indicating circuit, as shown in Figure 2, comprise two NPN type triode Q1, Q2 and pilot lamp D1.Be connected on after the emitter and collector parallel connection of described two triode Q1, Q2 in the current supply circuit that described pilot lamp D1 and dc power supply terminal VCC be connected to form, the grounded emitter of two triode Q1, Q2, base stage is connected described I
2On the line of C bus interface IIC1 and parallel port I2CP1.
The software upgrading of employing present embodiment and debugging acid are after electronic product is in development phase or production and sales, if run into the situation that needs the change program, only need this instrument is connected with the serial ports of computer, can carry out updating operation to FLASH by the UART interface of CPU, and the type information in can the output software implementation, be the print command in the responder, the display message that defines in the program is presented on the computer screen; By this instrument being connected the parallel port of computer and the I of TV SKD
2Between the C interface, just can pass through I
2C interface is controlled debugging to the various chips on the mainboard, and is therefore powerful, uses flexibly, can be widely used in dissimilar products to be upgraded or treats in the debug circuit plate.
Certainly; the above only is a kind of preferred implementation of the present utility model; should be understood that; for those skilled in the art; under the prerequisite that does not break away from the utility model principle; can also make some improvements and modifications, these improvements and modifications also should be considered as protection domain of the present utility model.
Claims (10)
1. software upgrading and debugging acid is characterized in that: comprise software upgrading unit and I
2The C debugging unit, in described software upgrading unit, include the serial ports that is used to connect computer, be used to connect the software upgrading interface for the treatment of the debug circuit plate and be connected described serial ports and the software upgrading interface between level shifting circuit; At described I
2Comprise the parallel port that is used to connect computer in the C debugging unit and be used to be connected the I that treats the debug circuit plate
2The C bus interface, in the multichannel input and output pin of described parallel port according to signal flow to choosing two pairs of input and output pins respectively as the both-way communication port of SCL and SDA, the described I of a pair of connection
2The SCL pin of C bus interface, another is to connecting described I
2The SDA pin of C bus interface.
2. software upgrading according to claim 1 and debugging acid, it is characterized in that: in described software upgrading interface, comprise the VGA interface, select two-way terminal idle in the VGA interface to be connected described level shifting circuit with data transmitting pin as the Data Receiving pin, carrying out software upgrading when operation, finishing computer and treat the transmitted in both directions of data between the debug circuit plate.
3. software upgrading according to claim 2 and debugging acid is characterized in that: described VGA interface comprises two-way, one road VGA male interface, one road VGA female interface.
4. software upgrading according to claim 1 and debugging acid is characterized in that: comprise bar shaped connecting line interface in described software upgrading interface, its Data Receiving pin is connected described level shifting circuit with data transmitting pin.
5. software upgrading according to claim 4 and debugging acid, it is characterized in that: in described bar shaped connecting line interface, also include power pin and ground pin, described power pin and ground pin by the first wire jumper unit respectively with software upgrading and debugging acid in be connected corresponding of power supply with ground, change the link position of bonding line between the jumper connection terminal in the first wire jumper unit, make the definition of order of the power pin of bar shaped connecting line interface and ground pin consistent with the definition of order of the power pin for the treatment of the debug circuit plate interface and ground pin.
6. according to each described software upgrading and debugging acid in the claim 1 to 5, it is characterized in that: the Data Receiving pin of described software upgrading interface is connected described level shifting circuit with data transmitting pin by the second wire jumper unit, change the link position of bonding line between the jumper connection terminal in the second wire jumper unit, make the definition of order of the Data Receiving pin of software upgrading interface and data transmitting pin consistent with the definition of order of the Data Receiving pin for the treatment of the debug circuit plate interface and data transmitting pin.
7. according to each described software upgrading and debugging acid in the claim 1 to 5, it is characterized in that: in described software upgrading and debugging acid, also include a USB interface, the USB interface that connects computer in carrying out software upgrading or debug process is the internal circuit power supply of software upgrading and debugging acid from the computer power taking.
8. software upgrading according to claim 7 and debugging acid is characterized in that: at described I
2In the C debugging unit, two pairs of input and output pins of described parallel port and I
2All be in series with No. one phase inverter in four road lines of C bus interface; Wherein, two output pins of described parallel port connect the input end of No. one phase inverter separately, the output terminal of two-way phase inverter by the 3rd wire jumper unit respectively with described I
2The SCL of C bus interface and SDA pin connect one to one; Described I
2The SCL of C bus interface and SDA pin connect one to one with the input end of other two-way phase inverter simultaneously by the 3rd wire jumper unit, the output terminal of described other two-way phase inverter respectively with the corresponding connection of two input pins of described parallel port.
9. software upgrading according to claim 8 and debugging acid is characterized in that: the two pairs of input and output pins and I in described parallel port
2In four road lines of C bus interface, be in series with the two-way phase inverter in one road line at least therein.
10. software upgrading according to claim 9 and debugging acid is characterized in that: at described I
2Also include power pin and ground pin in the C bus interface, described power pin and ground pin by the forth jump line unit respectively with software upgrading and debugging acid in be connected corresponding of power supply with ground.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009200308125U CN201518128U (en) | 2009-07-27 | 2009-07-27 | Software upgrading and debugging tool |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009200308125U CN201518128U (en) | 2009-07-27 | 2009-07-27 | Software upgrading and debugging tool |
Publications (1)
Publication Number | Publication Date |
---|---|
CN201518128U true CN201518128U (en) | 2010-06-30 |
Family
ID=42498851
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009200308125U Expired - Fee Related CN201518128U (en) | 2009-07-27 | 2009-07-27 | Software upgrading and debugging tool |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN201518128U (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102123313A (en) * | 2010-11-26 | 2011-07-13 | 青岛海信信芯科技有限公司 | Software upgrading method and device, television and television set top box |
CN102421010A (en) * | 2011-12-31 | 2012-04-18 | 四川长虹电器股份有限公司 | Software debugging system and method compatible to video graphics array (VGA) port input |
US20130151902A1 (en) * | 2011-12-12 | 2013-06-13 | Hon Hai Precision Industry Co., Ltd. | Debug system and method |
CN103399835A (en) * | 2013-07-31 | 2013-11-20 | 龙迅半导体科技(合肥)有限公司 | Data communication method and system |
CN109857433A (en) * | 2019-01-15 | 2019-06-07 | 四川虹美智能科技有限公司 | A kind of scm software upgrading tool and method |
-
2009
- 2009-07-27 CN CN2009200308125U patent/CN201518128U/en not_active Expired - Fee Related
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102123313A (en) * | 2010-11-26 | 2011-07-13 | 青岛海信信芯科技有限公司 | Software upgrading method and device, television and television set top box |
CN102123313B (en) * | 2010-11-26 | 2013-03-27 | 青岛海信信芯科技有限公司 | Software upgrading method and device, television and television set top box |
US20130151902A1 (en) * | 2011-12-12 | 2013-06-13 | Hon Hai Precision Industry Co., Ltd. | Debug system and method |
CN102421010A (en) * | 2011-12-31 | 2012-04-18 | 四川长虹电器股份有限公司 | Software debugging system and method compatible to video graphics array (VGA) port input |
CN103399835A (en) * | 2013-07-31 | 2013-11-20 | 龙迅半导体科技(合肥)有限公司 | Data communication method and system |
CN109857433A (en) * | 2019-01-15 | 2019-06-07 | 四川虹美智能科技有限公司 | A kind of scm software upgrading tool and method |
CN109857433B (en) * | 2019-01-15 | 2022-08-19 | 四川虹美智能科技有限公司 | Single chip microcomputer software upgrading tool and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201518128U (en) | Software upgrading and debugging tool | |
CN106909425A (en) | A kind of DSP and FPGA system online upgrading method | |
CN108363581B (en) | Data writing method, system, device, equipment and medium of integrated circuit chip | |
CN101685432A (en) | Device for realizing USB interface switching and system for realizing USB interface testing | |
CN108647180B (en) | Operation system and corresponding electronic equipment | |
CN210129219U (en) | Multi-functional USB Type-C interface circuit of FPGA accelerator card | |
CN101030185B (en) | Device for updating USB switching cascade line | |
CN104331350A (en) | Method and device for debugging serial port of IC (Integrated Circuit) card electronic equipment | |
CN207148816U (en) | A kind of program burn writing system and electronic equipment | |
US20210375335A1 (en) | Data writing method and apparatus | |
CN202110533U (en) | Multi-interface software debugging tool | |
KR100531095B1 (en) | General-purpose functional circuit and general-purpose unit for programmable controller | |
CN210895420U (en) | CPU low-speed interface function automatic checkout device based on FPGA | |
CN204706031U (en) | Serial peripheral equipment interface SPI bus circuit and electronic equipment | |
CN104679123A (en) | Mainboard and data burning method thereof | |
CN112968332A (en) | Compatible device and method for switching TYPE-C interface of tablet personal computer mainboard to UART serial port communication | |
CN111698137A (en) | Data transmission device and method | |
CN106299893B (en) | USB Type-C connector modules | |
CN1885259A (en) | Method for updating data of electronic product | |
CN203930441U (en) | Machine control equipment and operating case thereof | |
CN104111621A (en) | Automation equipment and control system thereof, and control device | |
CN213371988U (en) | Glucometer data transmission device and glucometer | |
CN102810084A (en) | Electronic equipment | |
CN219657814U (en) | USB3.0PHY chip verification test board | |
CN114372013B (en) | USB interface expansion circuit and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100630 Termination date: 20130727 |