CN111897549B - Program burning auxiliary system, control method, electronic equipment and storage medium - Google Patents
Program burning auxiliary system, control method, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN111897549B CN111897549B CN202010737773.3A CN202010737773A CN111897549B CN 111897549 B CN111897549 B CN 111897549B CN 202010737773 A CN202010737773 A CN 202010737773A CN 111897549 B CN111897549 B CN 111897549B
- Authority
- CN
- China
- Prior art keywords
- voltage
- circuit board
- signal
- line sequence
- program
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000004590 computer program Methods 0.000 claims description 3
- RVCKCEDKBVEEHL-UHFFFAOYSA-N 2,3,4,5,6-pentachlorobenzyl alcohol Chemical compound OCC1=C(Cl)C(Cl)=C(Cl)C(Cl)=C1Cl RVCKCEDKBVEEHL-UHFFFAOYSA-N 0.000 description 13
- 238000013461 design Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Programmable Controllers (AREA)
Abstract
The embodiment of the invention discloses a program recording auxiliary system, a control method, electronic equipment and a storage medium, wherein the program recording auxiliary system comprises an upper computer, a recorder and a gating control module; the upper computer is used for transmitting the stored line sequence and rated voltage of the circuit board to be burned to the gating control module before the circuit board is burned each time; the gating control module is used for respectively setting m burning input ports of the circuit board to be burned according to the line sequence and rated voltage data, so that the line sequence and the rated voltage of the m burning input ports are matched with the burner; the burner is used for burning the program of the circuit board to be burned under the control of the upper computer. The program burning auxiliary system provided by the embodiment of the invention can quickly, accurately and automatically set the line sequence and rated voltage corresponding to the circuit board to be burned before program burning, is simple and convenient to operate, can improve the efficiency of program burning, and reduces the damage of components and the burner.
Description
Technical Field
The embodiment of the invention relates to a program burning technology, in particular to a program burning auxiliary system, a control method, electronic equipment and a storage medium.
Background
Corresponding components are welded on the printed circuit board, so that the PCBA is required to be tested in the production and processing process of an electronic assembly (Printed Circuit Board Assembly, PCBA) with a design function or in the design and development process of an electronic product, and the PCBA is required to be programmed before the test.
Because of no unified design specification, the wiring sequence and the working voltage of various PCBA writing inlets are different, when writing programs are carried out on different PCBA, the wiring sequence of the writing inlet is manually adjusted to be matched with a writer, and meanwhile, the programming voltage is preset, so that the correct writing program can be realized. Not only is the operation complicated and requires a lot of time, but also if the line sequence or the voltage is wrong, the program burning cannot be completed, and even the components and the writers in the circuit board can be damaged.
Disclosure of Invention
The embodiment of the invention provides a program burning auxiliary system, a control method, electronic equipment and a storage medium, which can quickly, accurately and automatically set a line sequence and voltage corresponding to a circuit board to be burned before program burning, and are simple and convenient to operate.
In a first aspect, an embodiment of the present invention provides a program recording auxiliary system, including: the upper computer is also electrically connected with the gating control module, and the output end of the gating control module is electrically connected with a circuit board to be burned;
the upper computer is used for transmitting the stored line sequence and rated voltage of the circuit board to be burned to the gating control module before each circuit board is burned;
the gating control module is used for respectively setting m burning input ports of the circuit board to be burned according to the line sequence and rated voltage data, so that the line sequence and the rated voltage of the m burning input ports are matched with the burner;
the burner is used for burning the program of the circuit board to be burned under the control of the upper computer.
Further, the upper computer is connected with the burner in a USB interface mode, and the burner is a USB-to-RS 232 burner.
Further, m=4; the gating control module comprises a microcontroller and 4 signal one-out-of-four switches 320;
the output end of one of the four switches is electrically connected with one of the writing inlets, the first input end of each of the four switches is electrically connected with the voltage output end of the writing device, the second input end of each of the four switches is electrically connected with the grounding end of the writing device, the third input end of each of the four switches is electrically connected with the signal transmitting end of the writing device, the fourth input end of each of the four switches is electrically connected with the signal receiving end of the writing device, and the voltage output end of the writing device outputs at least two different voltage signals;
the microcontroller comprises 4 groups of signal control ends, wherein one group of signal control ends are correspondingly arranged with one signal four-way switch, 4 signal control ends in one group of signal control ends are respectively and correspondingly electrically connected with 4 control ends in one signal four-way switch, and the microcontroller is used for controlling 4 input ends of one signal four-way switch to be respectively communicated with the output ends of the signal four-way switch according to the received line sequence and rated voltage data;
the upper computer is also electrically connected with the microcontroller and is used for controlling the output time sequence of the control end of the microcontroller.
Further, the gating control module further comprises a voltage one-out-of-two switch;
the two input ends of the voltage two-out switch are electrically connected with the two voltage output ends of the burner, and the first input end of each signal four-out switch is electrically connected with the output end of the voltage two-out switch;
the voltage control end of the microcontroller is electrically connected with the control end of the voltage alternative switch, and the microcontroller is used for controlling the first input end of one of the signal alternative switch to be conducted with one voltage output end of the burner through the voltage control end according to the received line sequence and voltage data.
Further, the two voltage output ends of the burner respectively output voltage signals of +5V and +3.3V.
Further, the gating control module further comprises an input-output interface unit;
the input/output interface unit is used for driving the signal one-out-of-four switch and the voltage one-out-of-four switch to be turned on or turned off under the control of the microcontroller.
In a second aspect, an embodiment of the present invention provides a control method of the program recording auxiliary system as described above, where the control method includes:
the upper computer transmits the stored line sequence and rated voltage of the circuit board to be burned to the gating control module before burning each circuit board;
the gating control module respectively sets m burning input ports of the circuit board to be burned according to the line sequence and rated voltage data, so that the line sequence and rated voltage of the m burning input ports are matched with the burner;
and the writer performs program writing on the circuit board to be written under the control of the upper computer.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the control methods described above.
In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a control method as described above.
According to the program recording auxiliary system, the control method, the electronic equipment and the storage medium, before program recording, the upper computer transmits the stored line sequence and rated voltage of the circuit board to be recorded to the gating control module, and the gating control module respectively sets m recording ports of the circuit board to be recorded according to the line sequence and the rated voltage data, so that the line sequence and the rated voltage of m recording ports of the circuit board to be recorded are matched with the recorder, and the recorder carries out program recording on the circuit board to be recorded under the control of the upper computer. The program burning auxiliary system can quickly, accurately and automatically set the line sequence and voltage corresponding to the circuit board to be burned, is simple and convenient to operate, can improve the program burning efficiency, and reduces the damage of components and writers.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, a brief description will be given below of the drawings required for the embodiments or the description of the prior art, and it is obvious that although the drawings in the following description are specific embodiments of the present invention, it is obvious to those skilled in the art that the basic concepts of the device structure, the driving method and the manufacturing method, which are disclosed and suggested according to the various embodiments of the present invention, are extended and extended to other structures and drawings, and it is needless to say that these should be within the scope of the claims of the present invention.
FIG. 1 is a schematic diagram of a program recording auxiliary system according to an embodiment of the invention;
fig. 2 is a schematic structural diagram of a program recording auxiliary system according to a second embodiment of the present invention;
fig. 3 is a flowchart of a control method of a program recording auxiliary system according to a third embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described by means of implementation examples with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments obtained by those skilled in the art based on the basic concepts disclosed and suggested by the embodiments of the present invention are within the scope of the present invention.
Example 1
Fig. 1 is a schematic structural diagram of a program recording auxiliary system according to an embodiment of the present invention, where the embodiment is applicable to a PCBA recording program, and may be implemented in software and/or hardware, and may be integrated in a device such as a program recording auxiliary device.
As shown in fig. 1, the program recording auxiliary system provided in this embodiment includes: the upper computer 100, the burner 200 and the gating control module 300 are connected with the upper computer 100 and the gating control module 300, the upper computer 100 is also electrically connected with the gating control module 300, and the output end of the gating control module 300 is electrically connected with the circuit board 400 to be burned; the upper computer 100 is configured to transmit the stored line sequence and rated voltage of the circuit board 400 to be burned to the gate control module 300 before each circuit board is burned; the gating control module 300 is configured to set m writing ports 500 of the circuit board 400 to be written according to the line sequence and the rated voltage data, so that the line sequence and the rated voltage of the m writing ports 500 are matched with the writer 200; the burner 200 is used for burning a program of the circuit board 400 to be burned under the control of the host computer 100.
As shown in fig. 1, the program recording auxiliary system provided in this embodiment includes a host computer 100, a recorder 200 and a gating control module 300. The program writing is to load the program stored in the host computer 100 to the circuit board 400 to be written, so that the circuit board 400 to be written executes corresponding operations. In the system shown in fig. 1, a program to be recorded on a circuit board 400 to be recorded is stored in a host computer 100, when the host computer 100 executes program recording, the host computer 100 communicates with the circuit board 400 to be recorded through a recorder 200 and a gating control module 300, a target code is transmitted to the circuit board 400 to be recorded, the target code is recorded into a built-in program memory of the circuit board 400 to be recorded through a bootstrap program in the circuit board 400 to be recorded, and after the recording is completed, the host computer 100 checks recorded data and displays a result (OK/NG) on a screen of the host computer 100.
Because there is no unified design specification, the wiring sequence and the working voltage of the writing inlet 500 of each PCBA are different, when writing programs of different PCBA, the wiring sequence and the voltage of the writing inlet 500 of the circuit board 400 to be written need to be adjusted to match with the writer 200, so as to achieve correct writing programs. In order to avoid manually adjusting the wiring sequence and save time and simplify the operation steps when the circuit board is replaced each time to perform the program writing, the embodiment provides a program writing auxiliary system capable of quickly, accurately and automatically setting the wiring sequence and the rated voltage of the writing inlet 500 of the circuit board 400 to be written before the program writing.
Specifically, the host computer 100 has a database for storing the line sequences and rated voltages of various PCBA types, and before each program burning, the type number corresponding to the circuit board 400 to be burned is first input into the host computer 100. Then, the upper computer 100 searches the line sequence and the rated voltage corresponding to the circuit board 400 to be burned from the database according to the type number of the PCBA, and extracts the line sequence and the rated voltage to be transmitted to the gating control module 300. The gating control module 300 respectively sets the line sequence and the rated voltage of the m writing inlets 500 of the circuit board 400 to be written according to the line sequence and the rated voltage data information, so that the line sequence and the rated voltage of the m writing inlets 500 of the circuit board 400 to be written are matched with the burner 200. After the above operations are completed, the host computer 100 runs the programming software thereon, and the programming of the circuit board 400 to be programmed can be realized through the programmer 200. If the database of the upper computer 100 has no line sequence and rated voltage data of the circuit board 400 to be burned, the corresponding circuit board type number and line sequence rated voltage data can be directly input and stored in the database of the upper computer 100 for the next use. In addition, after each setting of the line sequence and the rated voltage, the gating control module 300 locks the voltage of the output port thereof, so that when the subsequent same PCBA program is burnt, the program can be burnt directly until the power is lost without setting the line sequence and the rated voltage again.
The structure and specific control manner of the gating control module 300 are not limited, and the gating control module may be any one that can automatically set the line sequence and the rated voltage of the writing port 500 of the circuit board 400 to be written under the control of the host computer 100, so as to match the line sequence and the rated voltage with the writer 200.
Optionally, the host computer 100 and the burner 200 are connected by a USB interface, and the burner 200 is a USB-to-RS 232 burner.
The host computer 100 may be connected to the burner 200 by means of a USB interface, and the burner 200 may be a USB-to-RS 232 burner commonly used for various PCBA. The host computer 100 runs the programming software thereon, and realizes the programming of the circuit board 400 to be programmed through the programmer 200 and the gating control module 300.
According to the program burning auxiliary system provided by the embodiment of the invention, before program burning, the upper computer transmits the stored line sequence and rated voltage of the circuit board to be burned to the gating control module, and the gating control module respectively sets m burning input ports of the circuit board to be burned according to the line sequence and the rated voltage data, so that the line sequence and the rated voltage of m burning inlets of the circuit board to be burned are matched with the burner, and the burner performs program burning on the circuit board to be burned under the control of the upper computer. The program burning auxiliary system can quickly, accurately and automatically set the line sequence and rated voltage corresponding to the circuit board to be burned, is simple and convenient to operate, can improve the efficiency of program burning, and reduces the damage of components and writers.
Example two
Fig. 2 is a schematic structural diagram of a program recording auxiliary system according to a second embodiment of the present invention, where the embodiment is applicable to a PCBA recording program, and may be implemented in software and/or hardware, and may be integrated in a device such as a program recording auxiliary device.
As shown in fig. 2, the program recording auxiliary system provided in this embodiment includes: the upper computer 100, the burner 200 and the gating control module 300 are connected with the upper computer 100 and the gating control module 300, the upper computer 100 is also electrically connected with the gating control module 300, and the output end of the gating control module 300 is electrically connected with the circuit board 400 to be burned; the upper computer 100 is configured to transmit the stored line sequence and rated voltage of the circuit board 400 to be burned to the gate control module 300 before each circuit board is burned; the gating control module 300 is configured to set m writing ports 500 of the circuit board 400 to be written according to the line sequence and the rated voltage data, so that the line sequence and the rated voltage of the m writing ports 500 are matched with the writer 200; the burner 200 is used for burning a program of the circuit board 400 to be burned under the control of the host computer 100.
Alternatively, m=4; the gating control module 300 includes a microcontroller 310 and 4 signal one-out-of-four switches 320; the output end of the one-out-of-four signal switch 320 is electrically connected with a programming port 500, the first input end 01 of each one-out-of-four signal switch 320 is electrically connected with the voltage output end of the programming device 200, the second input end 02 of each one-out-of-four signal switch 320 is electrically connected with the grounding end GND of the programming device 200, the third input end 03 of each one-out-of-four signal switch 320 is electrically connected with the transmitting signal end TX of the programming device 200, the fourth input end 04 of each one-out-of-four signal switch 320 is electrically connected with the receiving signal end RX of the programming device 200, and the voltage output end of the programming device 200 outputs at least two different voltage signals; the microcontroller 310 includes 4 groups of signal control terminals 330, one group of signal control terminals 330 is correspondingly arranged with one signal one-out-of-four switch 320, 4 signal control terminals in one group of signal control terminals 330 are respectively and correspondingly electrically connected with 4 control terminals in one signal one-out-of-four switch 320, and the microcontroller 310 is used for controlling 4 input terminals of one signal one-out-of-four switch 320 to be respectively conducted with output terminals thereof according to received line sequence and voltage data; the upper computer 100 is further electrically connected to the microcontroller 310, and the upper computer 100 is used for controlling the output timing of the control terminal of the microcontroller 310.
Optionally, the gating control module 300 further includes a voltage one-out-of-two switch 340; two input ends of the voltage one-out-of-two switch 340 are electrically connected with two voltage output ends of the 200 burner, and a first input end 01 of each signal one-out-of-four switch 320 is electrically connected with an output end VDD of the voltage one-out-of-two switch 340; the voltage control terminal of the microcontroller 310 is electrically connected to the control terminal of the voltage alternative switch 340, and the microcontroller 310 is configured to control the first input terminal 01 of one of the signal alternative switches 320 to be connected to one voltage output terminal of the burner 200 according to the received line sequence and the voltage data.
Alternatively, the two voltage output terminals of the burner 200 output voltage signals of +5v and +3.3v, respectively.
Specifically, as shown in fig. 2, the program recording auxiliary system provided in this embodiment includes a host computer 100, a recorder 200, and a gating control module 300. Before each program writing, the upper computer 100 transmits the line sequence and the rated voltage of the 4 writing inlets 500 of the circuit board 400 to be written to the gating control module 300, and the gating control module 300 respectively sets the line sequence and the rated voltage of the 4 writing inlets 500 of the circuit board 400 to be written according to the line sequence and the rated voltage data information, so that the line sequence and the rated voltage of the writing inlets 500 of the circuit board 400 to be written are matched with the writer 200. After the above operations are completed, the host computer 100 runs the programming software thereon, and the programming is performed on the circuit board 400 to be programmed through the programmer 200.
The voltage output end of the burner 200 can output at least two different voltage signals, which can be set according to actual working requirements. For example, for a USB-to-RS 232 writer, the voltage output terminal of the writer 200 can output +3.3V and +5V voltages. The following describes two voltage signals outputted from the voltage output terminal of the burner 200.
The gating control module 300 includes a microcontroller 310, 4 signal one-out-of-four switches 320, and one voltage one-out-of-two switch 340. Each signal one-out-of-four switch 320 has 1 output and 4 inputs. The output terminal of each signal one-out-of-four switch 320 is connected to the writing inlet 500 of one circuit board 400 to be written. The first input terminal 01 of each signal one-out-of-four switch 320 is connected to the output terminal VDD of the voltage one-out-of-two switch 340, the second input terminal 02 of each signal one-out-of-four switch 320 is connected to the ground terminal GND of the burner 200, the third input terminal 03 of each signal one-out-of-four switch 320 is connected to the transmit signal terminal TX of the burner 200, the fourth input terminal 04 of each signal one-out-of-four switch 320 is connected to the receive signal terminal RX of the burner 200, and the two input terminals of the voltage one-out-of-two switch 340 are connected to the two voltage output terminals of the burner 200.
The microcontroller 310 includes 4 signal control terminals 330, one signal control terminal 330 is correspondingly connected with one signal switch 320, and 4 signal control terminals in the one signal control terminal 330 are correspondingly connected with 4 control terminals in the one signal switch 320.
After receiving the line sequence and voltage information corresponding to the circuit board 400 to be burned transmitted by the upper computer 100, the microcontroller 310 in the gating control module 300 sequentially controls the voltage one-out-of-two switch 340 and the 4 signal one-out-of-four switch 320 according to the line sequence and the voltage information. On the other hand, the control terminal of the control voltage one-out-of-two switch 340 conducts the first input terminal 01 of one of the signal one-out-of-four switches 320 with the voltage output terminal VDD of the burner 200, thereby setting the voltage of one of the burning input ports 500 of the circuit board 400 to be burned corresponding to the signal one-out-of-four switch 320. On the other hand, the microcontroller 310 controls, through the signal control terminal 330, one input terminal of each signal one-out-of-four switch 320 correspondingly connected to the signal control terminal according to the received line sequence and rated voltage information to be respectively conducted with the output terminal thereof, thereby setting the line sequence of the writing inlet 500 of the circuit board 400 to be written corresponding to the signal one-out-of-four switch 320. The above operations can realize the quick and accurate setting of the line sequence and rated voltage of the writing inlet 500 of the circuit board 400 to be written.
For example, as shown in fig. 2, P11, P12, P13, and P14 represent 4 writing entries 500, SW1, SW2, SW3, and SW4 represent 4 signal one-out-of-four switches 320, and SW0 represents voltage one-out-of-two switches 340, respectively. If the line sequence of the circuit board 400 to be burned is the following, the line sequence corresponding to the 4 burning entries 500 is as follows: p11 corresponds to VDD, P12 corresponds to GND, P13 corresponds to TX, P14 corresponds to RX, and the rated voltage is +3.3V.
The upper computer 100 transmits the line sequence and rated voltage information of the circuit board 400 to be burned to the microcontroller 310 in the gating control module 300. The microcontroller 310 outputs a voltage control signal to the voltage alternative switch 340 according to the line sequence and the rated voltage information, so that the 3.3V voltage input end and the output end of the switch 340 are conducted, meanwhile, the microcontroller 310 outputs a first control signal to the SW1 according to the line sequence and the rated voltage information, so that the first input end 01 of the SW1 is conducted with the output end of the switch SW1, and then the output end of the switch SW1 is conducted with the 3.3V output voltage end of the burner 200, so that the burning inlet P11 connected with the switch SW1 is set to correspond to the VDD of the burner 200, and the rated voltage is 3.3V.
The microcontroller 310 outputs a second control signal to SW2 according to the received line sequence and rated voltage information, so that the second input terminal 02 of SW2 is turned on with the output terminal thereof, and the output terminal of SW2 is turned on with the GND of the burner 200, thereby setting the writing inlet P12 connected with SW2 to correspond to the GND of the burner 200.
The microcontroller 310 outputs a third control signal to the SW3 according to the received line sequence and rated voltage information, so that the third input terminal 03 of the SW3 is turned on with the output terminal thereof, and the output terminal of the SW3 is turned on with the TX terminal of the burner 200, thereby setting the burner port P13 connected with the SW3 to correspond to the TX of the burner 200.
The microcontroller 310 outputs a fourth control signal to the SW4 according to the received line sequence and rated voltage information, so that the fourth input end 04 of the SW4 is connected to the output end thereof, and the output end of the SW4 is connected to the RX end of the burner 200, thereby setting the burning inlet P14 connected to the SW4 to correspond to the RX of the burner 200.
The corresponding line sequence and rated voltage are set, and then the circuit board 400 to be burned is burned normally by the burner 200.
Because the number of the wires of the burning input port 500 is 4, the rated voltage output end of the burner 200 outputs two different voltage signals, and 24 different wire orders can be set at the burning input port 500 through the gating control module 300 under the control of the upper computer 100 according to the arrangement combination, so that the wire order setting of 24 different circuit boards can be automatically realized, and the wire order and rated voltage setting of 48 different circuit boards are realized.
Optionally, the gating control module 300 further includes an input-output interface unit 350; the input/output interface unit 350 is used for driving the signal one-out-of-four switch 320 and the voltage one-out-of-two switch 340 to be turned on or turned off under the control of the microcontroller 310.
The gating control module 300 further includes an input/output interface unit 350, where the input/output interface unit 350 is electrically connected to the microcontroller 310, and drives the corresponding connection of the 4 signal one-out-of-four switches 320 and the voltage one-out-of-four switches 340 to be turned on or off respectively through the 4 signal control terminals 330 under the control of the microcontroller 310, so as to achieve that the line sequence and the rated voltage of the writing inlet 500 of the circuit board 400 to be written are matched with those of the writer 200, thereby fast and accurately performing program writing. The location of the input/output interface unit 350 is not limited, and may be disposed outside the microcontroller 310 or inside the microcontroller 310.
According to the program recording auxiliary system provided by the embodiment of the invention, before program recording, the upper computer transmits the stored line sequence and rated voltage of the circuit board to be recorded to the microcontroller in the gating control module, the microcontroller sets the 4 recording ports of the circuit board to be recorded respectively through the 4 signal control ends and the correspondingly connected 4 signal one-out-of-four switches and one voltage one-out-of-two switches according to the line sequence and rated voltage data, so that the line sequence and the rated voltage of the 4 recording ports of the circuit board to be recorded are matched with the recorder, the line sequence and the rated voltage corresponding to the circuit board to be recorded can be set automatically and quickly before program recording, the operation is simple and convenient, the program recording efficiency can be improved, and the damage of components and the recorder is reduced.
Example III
Fig. 3 is a flowchart of a control method of a program recording auxiliary system according to a third embodiment of the present invention, where the control method is applicable to a PCBA recording program, and the control method may be implemented by the program recording auxiliary system according to any embodiment of the present invention, may be implemented by software and/or hardware, and may be integrated in a device such as a program recording auxiliary device.
As shown in fig. 3, the present embodiment provides a control method of a program recording auxiliary system, the control method including:
step S310, the upper computer transmits the stored line sequence and rated voltage of the circuit board to be burned to the gating control module before burning each circuit board;
step S320, the gating control module respectively sets m burning input ports of the circuit board to be burned according to the line sequence and rated voltage data, so that the line sequence and rated voltage of the m burning input ports are matched with the burner;
step S330, the burner burns the program of the circuit board to be burnt under the control of the upper computer.
The control method of the program recording auxiliary system provided by the embodiment of the invention is provided with the corresponding functional module of the program recording auxiliary system provided by any embodiment of the invention.
According to the control method of the program recording auxiliary system provided by the embodiment of the invention, before program recording, the upper computer transmits the stored line sequence and rated voltage of the circuit board to be recorded to the gating control module, and the gating control module respectively sets m recording ports of the circuit board to be recorded according to the line sequence and the rated voltage data, so that the line sequence and the rated voltage of m recording ports of the circuit board to be recorded are matched with the recorder, and the recorder carries out program recording on the circuit board to be recorded under the control of the upper computer. The control method can quickly, accurately and automatically set the line sequence and rated voltage corresponding to the circuit board to be burnt, is simple and convenient to operate, can improve the efficiency of program burning, and reduces the damage of components and the burner.
Example IV
The embodiment of the invention also provides an electronic device, which comprises one or more processors and a storage device, wherein the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors realize the control method of any embodiment. The optional electronic device further comprises input means and output means, and the processor, the storage means, the input means and the output means in the electronic device may be connected by a bus or other means.
The storage device, i.e. the memory, is used as a computer readable storage medium for storing a software program, a computer executable program and modules, such as program instructions/modules corresponding to the control method in the embodiments of the present invention. The processor executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the storage device, that is, implements the control method provided by the embodiment of the present invention.
The storage device may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for a function; the storage data area may store data created according to the use of the terminal, etc. Further, the storage means may comprise high speed random access memory, and may also comprise non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the storage device may further include memory remotely located with respect to the processor, the remote memory being connectable to the electronic device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means may be used to receive entered numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device, which may include a keyboard, mouse, etc. The output means may comprise a display device such as a display screen.
Example five
The present embodiment also provides a computer-readable storage medium having stored thereon a computer program, i.e., computer-executable instructions, which when executed by a processor is configured to implement the control method provided by the embodiments of the present invention.
Of course, the storage medium containing the computer executable instructions provided in the embodiments of the present invention is not limited to the above method operations, and may also perform the related operations in the control method provided in any embodiment of the present invention.
From the above description of embodiments, it will be clear to a person skilled in the art that the present invention may be implemented by means of software and necessary general purpose hardware, but of course also by means of hardware, although in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, etc., including several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to execute the method of the embodiments of the present invention.
It should be noted that, in the above-mentioned embodiments of the search apparatus, each unit and module included are only divided according to the functional logic, but not limited to the above-mentioned division, as long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, and that various obvious changes, rearrangements, combinations, and substitutions can be made by those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.
Claims (8)
1. A program recording assist system, comprising: the upper computer is also electrically connected with the gating control module, and the output end of the gating control module is electrically connected with a circuit board to be burned;
the upper computer is used for transmitting the stored line sequence and rated voltage of the circuit board to be burned to the gating control module before each circuit board is burned;
the gating control module is used for respectively setting m burning input ports of the circuit board to be burned according to the line sequence and rated voltage data, so that the line sequence and the rated voltage of the m burning input ports are matched with the burner;
the writer is used for programming the circuit board to be programmed under the control of the upper computer;
wherein m=4; the gating control module comprises a microcontroller and 4 signal one-out-of-four switches;
the output end of one of the four switches is electrically connected with one of the writing inlets, the first input end of each of the four switches is electrically connected with the voltage output end of the writing device, the second input end of each of the four switches is electrically connected with the grounding end of the writing device, the third input end of each of the four switches is electrically connected with the signal transmitting end of the writing device, the fourth input end of each of the four switches is electrically connected with the signal receiving end of the writing device, and the voltage output end of the writing device outputs at least two different voltage signals;
the microcontroller comprises 4 groups of signal control ends, wherein one group of signal control ends are correspondingly arranged with one signal four-way switch, 4 signal control ends in one group of signal control ends are respectively and correspondingly electrically connected with 4 control ends in one signal four-way switch, and the microcontroller is used for controlling 4 input ends of one signal four-way switch to be respectively communicated with the output ends of the signal four-way switch according to the received line sequence and rated voltage data;
the upper computer is also electrically connected with the microcontroller and is used for controlling the output time sequence of the control end of the microcontroller.
2. The program recording auxiliary system according to claim 1, wherein the host computer and the recorder are connected by a USB interface, and the recorder is a USB-to-RS 232 recorder.
3. The program recording assistance system of claim 1, wherein the gating control module further comprises a voltage one-out-of-two switch;
the two input ends of the voltage two-out switch are electrically connected with the two voltage output ends of the burner, and the first input end of each signal four-out switch is electrically connected with the output end of the voltage two-out switch;
the voltage control end of the microcontroller is electrically connected with the control end of the voltage alternative switch, and the microcontroller is used for controlling the first input end of one of the signal alternative switch to be conducted with one voltage output end of the burner through the voltage control end according to the received line sequence and voltage data.
4. A program recording auxiliary system according to claim 3, wherein the two voltage output terminals of the burner output +5v and +3.3v voltage signals, respectively.
5. The program burn-in assistance system of claim 1, wherein the gating control module further comprises an input-output interface unit;
the input/output interface unit is used for driving the signal one-out-of-four switch and the voltage one-out-of-two switch to be turned on or turned off under the control of the microcontroller.
6. A control method of an assist system according to any one of claims 1-5, characterized in that the control method comprises:
the upper computer transmits the stored line sequence and rated voltage of the circuit board to be burned to the gating control module before burning each circuit board;
the gating control module respectively sets m burning input ports of the circuit board to be burned according to the line sequence and rated voltage data, so that the line sequence and rated voltage of the m burning input ports are matched with the burner;
and the writer performs program writing on the circuit board to be written under the control of the upper computer.
7. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the control method as recited in claim 6.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the control method as claimed in claim 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010737773.3A CN111897549B (en) | 2020-07-28 | 2020-07-28 | Program burning auxiliary system, control method, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010737773.3A CN111897549B (en) | 2020-07-28 | 2020-07-28 | Program burning auxiliary system, control method, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111897549A CN111897549A (en) | 2020-11-06 |
CN111897549B true CN111897549B (en) | 2024-02-20 |
Family
ID=73182242
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010737773.3A Active CN111897549B (en) | 2020-07-28 | 2020-07-28 | Program burning auxiliary system, control method, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111897549B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112564209B (en) * | 2020-11-26 | 2022-12-09 | 北京小米移动软件有限公司 | Burner, charger and burning method and device of charger |
CN112685054B (en) * | 2021-01-04 | 2024-04-26 | 北京全路通信信号研究设计院集团有限公司 | Portable board card burning device and method |
CN112860281B (en) * | 2021-03-22 | 2022-01-18 | 黑龙江工程学院 | Online parallel burning system and burning method |
CN114253561B (en) * | 2021-12-03 | 2023-08-29 | 苏州浪潮智能科技有限公司 | System and method for automatically burning firmware |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN206450777U (en) * | 2016-12-27 | 2017-08-29 | 安徽力高新能源技术有限公司 | A kind of battery case voltage detecting line line sequence debugging equipment |
JP2018124744A (en) * | 2017-01-31 | 2018-08-09 | 富士通株式会社 | Configuration management device, configuration management program and information processing system |
CN109063339A (en) * | 2018-08-03 | 2018-12-21 | 北京航空航天大学 | Digital spacecraft component-level Embedded-system |
CN109871344A (en) * | 2017-12-05 | 2019-06-11 | 炬芯(珠海)科技有限公司 | Communication system, interface circuit and its method for transmitting signal |
CN110488138A (en) * | 2019-09-06 | 2019-11-22 | 中润油联天下网络科技有限公司 | A method of it is automatic quickly to determine equipment line sequence and data protocol |
CN110806879A (en) * | 2019-10-17 | 2020-02-18 | 长沙市博芯微电子科技有限公司 | Burning debugging circuit and burning debugger |
CN110968329A (en) * | 2019-11-28 | 2020-04-07 | 京东方科技集团股份有限公司 | Burner and operation method and burning system thereof |
CN210573745U (en) * | 2019-11-21 | 2020-05-19 | 中科可控信息产业有限公司 | CPLD online upgrading device based on multiple same type backplates |
-
2020
- 2020-07-28 CN CN202010737773.3A patent/CN111897549B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN206450777U (en) * | 2016-12-27 | 2017-08-29 | 安徽力高新能源技术有限公司 | A kind of battery case voltage detecting line line sequence debugging equipment |
JP2018124744A (en) * | 2017-01-31 | 2018-08-09 | 富士通株式会社 | Configuration management device, configuration management program and information processing system |
CN109871344A (en) * | 2017-12-05 | 2019-06-11 | 炬芯(珠海)科技有限公司 | Communication system, interface circuit and its method for transmitting signal |
CN109063339A (en) * | 2018-08-03 | 2018-12-21 | 北京航空航天大学 | Digital spacecraft component-level Embedded-system |
CN110488138A (en) * | 2019-09-06 | 2019-11-22 | 中润油联天下网络科技有限公司 | A method of it is automatic quickly to determine equipment line sequence and data protocol |
CN110806879A (en) * | 2019-10-17 | 2020-02-18 | 长沙市博芯微电子科技有限公司 | Burning debugging circuit and burning debugger |
CN210573745U (en) * | 2019-11-21 | 2020-05-19 | 中科可控信息产业有限公司 | CPLD online upgrading device based on multiple same type backplates |
CN110968329A (en) * | 2019-11-28 | 2020-04-07 | 京东方科技集团股份有限公司 | Burner and operation method and burning system thereof |
Also Published As
Publication number | Publication date |
---|---|
CN111897549A (en) | 2020-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111897549B (en) | Program burning auxiliary system, control method, electronic equipment and storage medium | |
JP4045434B2 (en) | Modular computer system and I / O module | |
CN105898678A (en) | Pairing method and electronic device | |
CN107726931A (en) | The all-electronin fuse tester and its control method that a kind of parameter can be bound | |
CN111445840A (en) | L ED display module debugging method, receiving card and L ED display screen | |
CN102622190A (en) | On-line write-in method for product identifying information and electronic product | |
CN114051017A (en) | Probe address configuration method, device, equipment and storage medium of inspection robot | |
CN110888656B (en) | Multifunctional programming device and programming method | |
CN103219042A (en) | Circuit for realizing program burning through USB interface and memory circuit | |
CN109885312B (en) | Method and system for single firmware to be compatible with multiple hardware models | |
CN110704073B (en) | Microcontroller programmer and programming method thereof | |
CN100552627C (en) | A kind of method of electronic product being carried out Data Update | |
CN212935946U (en) | Bus address automatic detection device and system | |
CN111857787B (en) | Method, system, equipment and medium for burning firmware of voltage converter | |
CN110149745B (en) | Remote upgrading and remote state detection system for light playing files | |
US20040139369A1 (en) | Device and method for converting a diagnostic interface to spi standard | |
CN109683960B (en) | Register configuration method of electric port module and electric port module thereof | |
CN113190881A (en) | Method and device for determining machine number of charging module and terminal equipment | |
CN113835762A (en) | Method and system for updating default configuration of hard disk backplane | |
CN112087535A (en) | Bus address automatic detection device, system and method | |
US20110320656A1 (en) | Techniques for obtaining a serial number for a storage device | |
CN111641419B (en) | Version identification method, control method and system of radio frequency power amplifier of terminal | |
CN111181818B (en) | Multithreading signal processing system | |
CN219266899U (en) | Processor boot mode configuration circuit and host device | |
CN117234817A (en) | Hard disk backboard code dialing method, device, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |