CN111897549A - Program burning auxiliary system, control method, electronic device and storage medium - Google Patents

Program burning auxiliary system, control method, electronic device and storage medium Download PDF

Info

Publication number
CN111897549A
CN111897549A CN202010737773.3A CN202010737773A CN111897549A CN 111897549 A CN111897549 A CN 111897549A CN 202010737773 A CN202010737773 A CN 202010737773A CN 111897549 A CN111897549 A CN 111897549A
Authority
CN
China
Prior art keywords
burner
signal
voltage
circuit board
burning
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.)
Granted
Application number
CN202010737773.3A
Other languages
Chinese (zh)
Other versions
CN111897549B (en
Inventor
全东明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Chuangyuan Chengye Technology Co ltd
Original Assignee
Beijing Chuangyuan Chengye Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Chuangyuan Chengye Technology Co ltd filed Critical Beijing Chuangyuan Chengye Technology Co ltd
Priority to CN202010737773.3A priority Critical patent/CN111897549B/en
Publication of CN111897549A publication Critical patent/CN111897549A/en
Application granted granted Critical
Publication of CN111897549B publication Critical patent/CN111897549B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy 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 burning auxiliary system, a control method, electronic equipment and a storage medium, wherein the program burning auxiliary system comprises an upper computer, a burner 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 the m burning inlets 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 inlets are matched with the burner; the burner is used for carrying out program burning on 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 and accurately automatically set the line sequence and the rated voltage corresponding to the circuit board to be burnt before the program burning, is simple and convenient to operate, can improve the program burning efficiency, and reduces the damage of components and a burner.

Description

Program burning auxiliary system, control method, electronic device and storage medium
Technical Field
The present invention relates to program recording technologies, and in particular, to a program recording auxiliary system, a control method, an electronic device, and a storage medium.
Background
In the production process of Printed Circuit Board (PCBA) or the design and development process of electronic products, PCBA needs to be tested and before testing, program burning is required.
Because there is no unified design specification, the wiring sequence and working voltage of various PCBA burning inlets are different, so when different PCBA burning programs are burned, the line sequence of the burning inlets needs to be manually adjusted to match with the burner, and the programming voltage needs to be preset at the same time, so that the correct burning program can be realized. Not only is the operation tedious and requires a lot of time, but also the program burning can not be completed if the line sequence or voltage is wrong, and even the components and the burner 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, wherein the program burning auxiliary system can quickly and accurately automatically set a line sequence and a voltage corresponding to a circuit board to be burned before program burning, and is simple and convenient to operate.
In a first aspect, an embodiment of the present invention provides a program burning auxiliary system, where the system includes: the programming device is communicated with the upper computer and the gating control module, 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 programmed;
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 burning of the circuit board each time;
the gating control module is used for respectively setting the m burning inlets 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 inlets are matched with the burner;
the burner is used for carrying out program burning on the circuit board to be burned under the control of the upper computer.
Furthermore, 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 is 4; the gating control module comprises a microcontroller and 4 signal one-out-of-four switches 320;
the output end of one signal four-selection switch is electrically connected with one burning inlet, the first input end of each signal four-selection switch is electrically connected with the voltage output end of the burner, the second input end of each signal four-selection switch is electrically connected with the grounding end of the burner, the third input end of each signal four-selection switch is electrically connected with the signal sending end of the burner, the fourth input end of each signal four-selection switch is electrically connected with the signal receiving end of the burner, and the voltage output end of the burner outputs at least two different voltage signals;
the microcontroller comprises 4 groups of signal control ends, one group of signal control ends is arranged corresponding to one signal one-out-of-four 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 one-out-of-four switch, and the microcontroller is used for controlling 4 input ends of one signal one-out-of-four switch to be respectively conducted with the output end of the signal one-out-of-four switch according to 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.
Furthermore, the gating control module also comprises a voltage alternative switch;
two input ends of the voltage alternative switch are electrically connected with two voltage output ends of the burner, and a first input end of each signal one-of-four switch is electrically connected with an output end of the voltage alternative 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 conduction of the first input end of one of the signal four-selection switches and one voltage output end of the burner through the voltage control end according to the received line sequence and voltage data.
Furthermore, two voltage output ends of the burner respectively output +5V and +3.3V voltage signals.
Furthermore, the gating control module also 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 switched on or off under the control of the microcontroller.
In a second aspect, an embodiment of the present invention provides a method for controlling the program burning auxiliary system, where the 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 of the circuit board each time;
the gating control module respectively sets m burning inlets 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 inlets are matched with the burner;
and the burner carries out program burning on the circuit board to be burned 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;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the control method as described above.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the control method described above.
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, the gating control module respectively sets the m burning inlets of the circuit board to be burned according to the line sequence and rated voltage data, the line sequence and rated voltage of the 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 and accurately automatically set the line sequence and the 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 parts and a burner.
Drawings
To more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description will be given below of the drawings required for the embodiments or the technical solutions in the prior art, and it is obvious that the drawings in the following description, although being some specific embodiments of the present invention, can be extended and extended to other structures and drawings by those skilled in the art according to the basic concepts of the device structure, the driving method and the manufacturing method disclosed and suggested by the various embodiments of the present invention, without making sure that these should be within the scope of the claims of the present invention.
Fig. 1 is a schematic structural diagram of a program burning auxiliary system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a program burning auxiliary system according to a second embodiment of the present invention;
fig. 3 is a flowchart of a control method of a program burning auxiliary system according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described through embodiments with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the basic idea disclosed and suggested by the embodiments of the present invention, are within the scope of the present invention.
Example one
Fig. 1 is a schematic structural diagram of a program burning auxiliary system according to an embodiment of the present invention, which is applicable to burning a program on a PCBA, and can be implemented in a software and/or hardware manner and integrated into a program burning auxiliary device and other devices.
As shown in fig. 1, the program burning auxiliary system provided in this embodiment includes: the device comprises an upper computer 100, a burner 200 and a gating control module 300, wherein the burner 200 is communicated 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 a circuit board 400 to be burnt; the upper computer 100 is used for transmitting the stored line sequence and rated voltage of the circuit board 400 to be burned to the gating control module 300 before the circuit board is burned each time; the gating control module 300 is configured to set the m writing entries 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 entries 500 are matched with the writer 200; the burner 200 is used for programming the circuit board 400 to be programmed under the control of the upper computer 100.
As shown in fig. 1, the program burning auxiliary system provided in this embodiment includes an upper computer 100, a burner 200, and a gating control module 300. In the program burning, a program stored in the upper computer 100 is loaded to the circuit board 400 to be burned, so that the circuit board 400 to be burned performs corresponding operations. In the system shown in fig. 1, a program to be recorded on the circuit board 400 to be recorded is stored in the upper computer 100, when the upper computer 100 executes program recording, the upper computer 100 communicates with the circuit board 400 to be recorded through the recorder 200 and the gating control module 300, transmits a target code to the circuit board 400 to be recorded, records the target code 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 program recording is completed, the upper computer 100 verifies the recorded data and displays a result (OK/NG) on the screen of the upper computer 100.
Because there is no uniform design specification, the wiring sequence and working voltage of the burning inlets 500 of various PCBAs are different, when burning programs of different PCBAs, the line sequence and voltage of the burning inlets 500 of the circuit board 400 to be burned are adjusted to match with the burner 200, so that the correct burning program can be realized. In order to save time and simplify the operation steps without manually adjusting the wiring sequence when the circuit board is replaced for program burning each time, the embodiment provides a program burning auxiliary system which can quickly and accurately automatically set the wiring sequence and the rated voltage of the burning inlet 500 of the circuit board 400 to be burned before program burning.
Specifically, the upper computer 100 has a database for storing the line sequence and the rated voltage of various types of PCBA, and before each program burning, a type number corresponding to the circuit board 400 to be burned is first input into the upper computer 100. Then, the upper computer 100 searches out 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, extracts the line sequence and the rated voltage, and transmits the line sequence and the rated voltage to the gating control module 300. The gating control module 300 sets the line sequence and the rated voltage of the m writing entries 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 entries 500 of the circuit board 400 to be written are matched with the writer 200. After the above operations are completed, the upper computer 100 runs the burning software thereon, and the program burning of the circuit board to be burned 400 can be realized through the burner 200. If the database of the upper computer 100 does not have the line sequence and rated voltage data of the circuit board 400 to be burned, the corresponding circuit board type number and the 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 the line sequence and the rated voltage are set each time, the gating control module 300 locks the voltage of the output port of the gating control module, so that when the subsequent same PCBA program is burnt, the program can be directly burnt without setting the line sequence and the rated voltage again until the power failure.
The structure and specific control mode of the gating control module 300 are not limited, and it is only required to automatically set the line sequence and the rated voltage of the writing entry 500 of the circuit board 400 to be written under the control of the upper computer 100, so as to match the writing device 200.
Optionally, the upper computer 100 and the burner 200 are connected by a USB interface, and the burner 200 is a USB to RS232 burner.
The upper computer 100 can be connected with the burner 200 by means of a USB interface, and the burner 200 can be a universal USB to RS232 burner for various PCBA. The upper computer 100 runs the burning software thereon, and realizes the program burning of the circuit board 400 to be burned through the burner 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, the gating control module respectively sets the m burning inlets 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 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 and accurately automatically set the line sequence and the rated 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 parts and a burner.
Example two
Fig. 2 is a schematic structural diagram of a program burning auxiliary system according to a second embodiment of the present invention, which is applicable to burning programs on the PCBA, can be implemented in a software and/or hardware manner, and can be integrated into devices such as a program burning auxiliary device.
As shown in fig. 2, the program burning auxiliary system provided in this embodiment includes: the device comprises an upper computer 100, a burner 200 and a gating control module 300, wherein the burner 200 is communicated 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 a circuit board 400 to be burnt; the upper computer 100 is used for transmitting the stored line sequence and rated voltage of the circuit board 400 to be burned to the gating control module 300 before the circuit board is burned each time; the gating control module 300 is configured to set the m writing entries 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 entries 500 are matched with the writer 200; the burner 200 is used for programming the circuit board 400 to be programmed under the control of the upper computer 100.
Optionally, m is 4; the gating control module 300 includes a microcontroller 310 and a 4-signal one-out-of-four switch 320; the output end of one signal one-out-of-four switch 320 is electrically connected with one burning inlet 500, the first input end 01 of each signal one-out-of-four switch 320 is electrically connected with the voltage output end of the burner 200, the second input end 02 of each signal one-out-of-four switch 320 is electrically connected with the ground end GND of the burner 200, the third input end 03 of each signal one-out-of-four switch 320 is electrically connected with the sending signal end TX of the burner 200, the fourth input end 04 of each signal one-out-of-four switch 320 is electrically connected with the receiving signal end RX of the burner 200, and the voltage output end of the burner 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 disposed corresponding to one signal one-out-of-four switch 320, 4 signal control terminals in the group of signal control terminals 330 are electrically connected with 4 control terminals in one signal one-out-of-four switch 320, respectively, and the microcontroller 310 is configured to control 4 input terminals of one signal one-out-of-four switch 320 to be respectively conducted with an output terminal 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 configured to control an output timing sequence of a control terminal of the microcontroller 310.
Optionally, the gating control module 300 further includes a voltage alternative switch 340; two input ends of the voltage one-out-of-four 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-four switch 340; the voltage control terminal of the microcontroller 310 is electrically connected to the control terminal of the one-out-of-four switch 340, and the microcontroller 310 is configured to control the first input terminal 01 of one of the one-out-of-four switches 320 to be connected to one of the voltage output terminals of the recorder 200 through the voltage control terminal according to the received line sequence and voltage data.
Optionally, two voltage output terminals of the recorder 200 respectively output +5V and +3.3V voltage signals.
Specifically, as shown in fig. 2, the program burning auxiliary system provided in this embodiment includes an upper computer 100, a burner 200, and a gating control module 300. Before each program recording, the upper computer 100 transmits the line sequence and the rated voltage of the 4 recording inlets 500 of the circuit board 400 to be recorded to the gating control module 300, and the gating control module 300 respectively sets the line sequence and the rated voltage of the 4 recording inlets 500 of the circuit board 400 to be recorded according to the data information of the line sequence and the rated voltage, so that the line sequence and the rated voltage of the recording inlets 500 of the circuit board 400 to be recorded are matched with the recorder 200. After the above operations are completed, the upper computer 100 runs the burning software thereon, and programs are burned on the circuit board to be burned 400 through the burner 200.
The voltage output end of the recorder 200 can output at least two different voltage signals, which can be set according to actual working requirements. For a USB to RS232 burner, the voltage output terminal of the burner 200 can output +3.3V and +5V voltages. The voltage output terminal of the recorder 200 outputs two voltage signals for specific description.
The gating control module 300 includes a microcontroller 310, 4-signal one-out-of-four switches 320, and a voltage one-out-of-two switch 340. Each one-out-of-four switch 320 has 1 output and 4 inputs. The output terminal of each one-out-of-four switch 320 is connected to the programming inlet 500 of a circuit board 400 to be programmed. The first input end 01 of each signal one-out-of-four switch 320 is connected with the output end VDD of the voltage one-out-of-four switch 340, the second input end 02 of each signal one-out-of-four switch 320 is connected with the ground end GND of the burner 200, the third input end 03 of each signal one-out-of-four switch 320 is connected with the sending signal end TX of the burner 200, the fourth input end 04 of each signal one-out-of-four switch 320 is connected with the receiving signal end RX of the burner 200, and the two input ends of the voltage one-out-of-four switch 340 are connected with the two voltage output ends of the burner 200.
The microcontroller 310 includes 4 sets of signal control terminals 330, one set of signal control terminals 330 is correspondingly connected to one signal one-out-of-four switch 320, and 4 signal control terminals in one set of signal control terminals 330 are correspondingly connected to 4 control terminals in one signal one-out-of-four switch 320, respectively.
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 one-out-of-voltage switch 340 and the 4-out-of-four-signal switch 320 according to the line sequence and voltage information. On the one hand, the control end of the control voltage alternative switch 340 connects the first input end 01 of one of the signal one-out-of-four switches 320 with a voltage output end VDD of the burner 200, so as to set the voltage of one of the burning inlets 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, according to the received line sequence and the rated voltage information, one input terminal of each signal one-out-of-four switch 320 correspondingly connected thereto to be respectively conducted with an output terminal thereof through the signal control terminal 330, so as to set the line sequence of the programming inlet 500 of the circuit board to be programmed 400 corresponding to the signal one-out-of-four switch 320. The above operation can realize the setting of the line sequence and the rated voltage of the writing entry 500 of the circuit board 400 to be written quickly and accurately.
For example, as shown in fig. 2, 4 programming entries 500 are represented by P11, P12, P13, and P14, 4 one-out-of-four switches 320 are represented by SW1, SW2, SW3, and SW4, and the one-out-of-voltage switch 340 is represented by SW 0. If the line sequence of the circuit board 400 to be burned corresponds to the line sequence of the 4 burning entries 500 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 voltage alternative switch 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 thereof, the output end of the SW1 is conducted with the 3.3V output voltage end of the burner 200, and therefore the VDD of the burner 200 corresponding to the burning inlet P11 connected with the SW1 is set, and the rated voltage is 3.3V.
The microcontroller 310 outputs a second control signal to the SW2 according to the received line sequence and rated voltage information, so that the second input terminal 02 of the SW2 is connected to the output terminal thereof, and the output terminal of the SW2 is connected to the GND of the recorder 200, thereby setting the recording inlet P12 connected to the SW2 to correspond to the GND of the recorder 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 connected to the output terminal thereof, and the output terminal of the SW3 is connected to the TX terminal of the recorder 200, thereby setting the TX of the recorder 200 corresponding to the recording port P13 connected to the SW 3.
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 terminal 04 of the SW4 is connected to the output terminal thereof, and the output terminal of the SW4 is connected to the RX terminal of the recorder 200, thereby setting the RX of the recorder 200 corresponding to the recording port P14 connected to the SW 4.
After the above steps, the corresponding line sequence and the rated voltage setting are completed, and then the programming procedure of the circuit board 400 to be programmed can be normally performed by the programmer 200.
Because the number of the leads of the programming entrance 500 is 4, the rated voltage output end of the programmer 200 outputs two different voltage signals, and 24 different line sequences can be set at the programming entrance 500 through the gating control module 300 under the control of the upper computer 100 according to the arrangement combination, so that the line sequence setting of 24 different circuit boards can be automatically realized, and the line sequence and the rated voltage setting of 48 different circuit boards can be 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 off under the control of the microcontroller 310.
The gate control module 300 further includes an input/output interface unit 350, the input/output interface unit 350 is electrically connected to the microcontroller 310, and respectively drives the corresponding 4 signal one-out-of-four switches 320 and the corresponding 4 voltage one-out-of-two switches 340 to be turned on or off through 4 sets of signal control terminals 330 under the control of the microcontroller 310, so as to match the line sequence and the rated voltage of the programming inlet 500 of the circuit board 400 to be programmed with the programmer 200, thereby quickly and accurately programming. The position of the input/output interface unit 350 is not limited, and may be disposed outside the microcontroller 310 or disposed inside the microcontroller 310.
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 microcontroller in the gating control module, and the microcontroller sets the 4 burning inlets of the circuit board to be burned through 4 groups of signal control ends, 4 signal four-out-one switches and one voltage two-out-one switch which are correspondingly connected according to the line sequence and rated voltage data, so that the line sequence and the rated voltage of the 4 burning inlets of the circuit board to be burned are matched with the burner, the line sequence and the rated voltage corresponding to the circuit board to be burned can be quickly and accurately set before program burning, the operation is simple and convenient, the program burning efficiency can be improved, and the damage to components and the burner can be reduced.
EXAMPLE III
Fig. 3 is a flowchart of a control method for programming auxiliary system according to a third embodiment of the present invention, where the control method is applicable to program programming of a PCBA, and the control method can be executed by the programming auxiliary system according to any embodiment of the present invention, can be implemented by software and/or hardware, and can be integrated into devices such as a programming auxiliary device.
As shown in fig. 3, the present embodiment provides a control method of a program burning auxiliary system, including:
step S310, before the upper computer burns the circuit board each time, the upper computer transmits the stored line sequence and the rated voltage of the circuit board to be burnt to the gating control module;
step S320, the gating control module respectively sets the m burning inlets 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 inlets are matched with the burner;
and S330, the burner carries out program burning on the circuit board to be burned under the control of the upper computer.
The control method of the program burning auxiliary system provided by the embodiment of the invention has the corresponding functional modules of the program burning auxiliary system provided by any 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, the gating control module respectively sets the m burning inlets of the circuit board to be burned according to the line sequence and rated voltage data, the line sequence and the rated voltage of the 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 control method can quickly and accurately automatically set the line sequence and the rated 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 parts and a burner.
Example four
Embodiments of the present invention further provide an electronic device, where the electronic device includes one or more processors and a storage device, where the storage device is configured to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the control method according to any of the above embodiments. The optional electronic device further comprises input means and output means, wherein the processor, the storage means, the input means and the output means of the electronic device may be connected via a bus or other means.
The storage device, i.e., the memory, is used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the control method in the embodiment of the present invention. The processor executes various functional applications and data processing of the electronic device by executing software programs, instructions and modules stored in the storage device, that is, the control method provided by the embodiment of the invention is realized.
The storage device can mainly comprise a storage program area and a storage data area, wherein the storage program area can store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage device may include high speed random access memory, and may also include 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 located remotely from the processor, which may be connected to the electronic device over 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 device may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device, and may include a keyboard, a mouse, and the like. The output device may include a display device such as a display screen.
EXAMPLE five
The present embodiment also provides a computer-readable storage medium, on which a computer program, i.e., computer-executable instructions, is stored, which when executed by a processor, is used to implement the control method provided by the embodiment of the present invention.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the above method operations, and may also perform related operations in the control method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied 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 (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the above search apparatus, each included unit and module are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments illustrated herein, but is capable of various obvious modifications, rearrangements, combinations and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (9)

1. A program burning auxiliary system is characterized by comprising: the programming device is communicated with the upper computer and the gating control module, 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 programmed;
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 burning of the circuit board each time;
the gating control module is used for respectively setting the m burning inlets 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 inlets are matched with the burner;
the burner is used for carrying out program burning on the circuit board to be burned under the control of the upper computer.
2. The auxiliary system for program burning of claim 1, wherein the upper computer and the burner are connected by a USB interface, and the burner is a USB to RS232 burner.
3. The program burning auxiliary system of claim 1, wherein m-4; the gating control module comprises a microcontroller and 4 signal one-out-of-four switches;
the output end of one signal four-selection switch is electrically connected with one burning inlet, the first input end of each signal four-selection switch is electrically connected with the voltage output end of the burner, the second input end of each signal four-selection switch is electrically connected with the grounding end of the burner, the third input end of each signal four-selection switch is electrically connected with the signal sending end of the burner, the fourth input end of each signal four-selection switch is electrically connected with the signal receiving end of the burner, and the voltage output end of the burner outputs at least two different voltage signals;
the microcontroller comprises 4 groups of signal control ends, one group of signal control ends is arranged corresponding to one signal one-out-of-four 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 one-out-of-four switch, and the microcontroller is used for controlling 4 input ends of one signal one-out-of-four switch to be respectively conducted with the output end of the signal one-out-of-four switch according to 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.
4. The auxiliary system for programming according to claim 3, wherein the gating control module further comprises a voltage alternative switch;
two input ends of the voltage alternative switch are electrically connected with two voltage output ends of the burner, and a first input end of each signal one-of-four switch is electrically connected with an output end of the voltage alternative 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 conduction of the first input end of one of the signal four-selection switches and one voltage output end of the burner through the voltage control end according to the received line sequence and voltage data.
5. The auxiliary system for program burning of claim 4, wherein two voltage output terminals of the burner output +5V and +3.3V voltage signals, respectively.
6. The auxiliary system for program burning according to claim 3, 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 switched on or off under the control of the microcontroller.
7. A control method of an assistance system according to any one of claims 1 to 6, 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 of the circuit board each time;
the gating control module respectively sets m burning inlets 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 inlets are matched with the burner;
and the burner carries out program burning on the circuit board to be burned under the control of the upper computer.
8. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the control method as claimed in claim 7.
9. 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 7.
CN202010737773.3A 2020-07-28 2020-07-28 Program burning auxiliary system, control method, electronic equipment and storage medium Active CN111897549B (en)

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 true CN111897549A (en) 2020-11-06
CN111897549B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112564209A (en) * 2020-11-26 2021-03-26 北京小米移动软件有限公司 Burner, charger and burning method and device of charger
CN112685054A (en) * 2021-01-04 2021-04-20 北京全路通信信号研究设计院集团有限公司 Portable board card burning device and method
CN112860281A (en) * 2021-03-22 2021-05-28 黑龙江工程学院 Online parallel burning system and burning method
CN114253561A (en) * 2021-12-03 2022-03-29 苏州浪潮智能科技有限公司 System and method for automatically burning firmware

Citations (8)

* Cited by examiner, † Cited by third party
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
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

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112564209A (en) * 2020-11-26 2021-03-26 北京小米移动软件有限公司 Burner, charger and burning method and device of charger
CN112564209B (en) * 2020-11-26 2022-12-09 北京小米移动软件有限公司 Burner, charger and burning method and device of charger
CN112685054A (en) * 2021-01-04 2021-04-20 北京全路通信信号研究设计院集团有限公司 Portable board card burning device and method
CN112685054B (en) * 2021-01-04 2024-04-26 北京全路通信信号研究设计院集团有限公司 Portable board card burning device and method
CN112860281A (en) * 2021-03-22 2021-05-28 黑龙江工程学院 Online parallel burning system and burning method
CN112860281B (en) * 2021-03-22 2022-01-18 黑龙江工程学院 Online parallel burning system and burning method
CN114253561A (en) * 2021-12-03 2022-03-29 苏州浪潮智能科技有限公司 System and method for automatically burning firmware
CN114253561B (en) * 2021-12-03 2023-08-29 苏州浪潮智能科技有限公司 System and method for automatically burning firmware

Also Published As

Publication number Publication date
CN111897549B (en) 2024-02-20

Similar Documents

Publication Publication Date Title
CN111897549B (en) Program burning auxiliary system, control method, electronic equipment and storage medium
CN102339242A (en) Computer system data recovery device
JPH05327582A (en) Program memory rewrite system for portable telephone set
CN104424044A (en) Server system
CN107726931A (en) The all-electronin fuse tester and its control method that a kind of parameter can be bound
CN202074893U (en) Control device for detonation of electric detonator based on GSM network monitoring
CN103593281A (en) Test system and test method
CN102609657A (en) Login method and device for user identified by radio frequency
US20060026462A1 (en) Apparatus for recovering BIOS in computer system
CN102043570A (en) Command line input method and device
CN110459260B (en) Automatic test switching device, method and system
CN102622190A (en) On-line write-in method for product identifying information and electronic product
CN110888656B (en) Multifunctional programming device and programming method
TW200521831A (en) Apparatus for burning MAC address
CN109885312B (en) Method and system for single firmware to be compatible with multiple hardware models
CN108768785B (en) Method and device for building intelligent network card test environment
CN100552627C (en) A kind of method of electronic product being carried out Data Update
CN102305906B (en) Chip testing method and device
CN116541026A (en) Self-adaptive chip manufacturer bit stream burning method, device, equipment and medium
US7188010B2 (en) Device and method for converting a diagnostic interface to SPI standard
CN103747239B (en) A kind of method and intelligent television entering debugging mode
CN113760800A (en) Serial port path selection method, system, terminal and storage medium based on BMC
CN114637669A (en) Device management method, device and storage medium
CN111857787A (en) Method, system, equipment and medium for burning firmware of voltage converter
CN102110215A (en) Computer boot device

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