CN110569045A - Burner with controllable burning voltage and communication level and control method - Google Patents

Burner with controllable burning voltage and communication level and control method Download PDF

Info

Publication number
CN110569045A
CN110569045A CN201910932970.8A CN201910932970A CN110569045A CN 110569045 A CN110569045 A CN 110569045A CN 201910932970 A CN201910932970 A CN 201910932970A CN 110569045 A CN110569045 A CN 110569045A
Authority
CN
China
Prior art keywords
burner
burning
main control
circuit
voltage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910932970.8A
Other languages
Chinese (zh)
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.)
SHANGHAI LINGWOBO INTELLIGENT TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI LINGWOBO INTELLIGENT 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 SHANGHAI LINGWOBO INTELLIGENT TECHNOLOGY Co Ltd filed Critical SHANGHAI LINGWOBO INTELLIGENT TECHNOLOGY Co Ltd
Priority to CN201910932970.8A priority Critical patent/CN110569045A/en
Publication of CN110569045A publication Critical patent/CN110569045A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order

Abstract

The invention relates to a burner with controllable burning voltage and communication level and a control method thereof, wherein the burner is respectively connected with a PC and an MCU, the burner comprises a main control chip, a first communication circuit, a memory, an indicator light and a power supply which are respectively connected with the main control chip, the burner also comprises a burning power supply circuit which is respectively connected with the main control chip and is used for realizing the controllable burning voltage and a second communication circuit which is used for matching the communication level, and the burning power supply circuit and the second communication circuit are respectively connected with the MCU. Compared with the prior art, the invention has the advantages of reducing development cost, improving output voltage precision and the like.

Description

Burner with controllable burning voltage and communication level and control method
Technical Field
The invention relates to a microcontroller burning technology, in particular to a burner with controllable burning voltage and communication level and a control method.
Background
Single chip microcomputers, i.e. Microcontrollers (MCUs), are widely used in the fields of industrial control and consumer electronics. An internal program storage unit (Memory) of the Memory can write and stably store data under a specific power supply condition.
Different types of memories need different power supply voltages during programming, and the power supply circuit of the conventional programmer provides a fixed voltage, which results in poor compatibility of the programmer. Different circuits need to be developed aiming at different memories, so that the burning function is realized, and the development cost is increased. Meanwhile, if the MCU is improperly used, the unmatched recorder is selected to record the MCU, so that the risk of damage is caused.
In addition, due to the inconsistency of the burning voltage, the matching of the burner end and the MCU communication level needs to be ensured, otherwise, the MCU burning fails, and the burning yield is affected.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide a burner with controllable burning voltage and communication level and a control method thereof, wherein the burner is capable of reducing development cost and improving the precision of output voltage.
The purpose of the invention can be realized by the following technical scheme:
The utility model provides a burn record ware that burning record voltage and communication level are controllable, this burn record ware is connected with PC and MCU respectively, burn record ware include main control chip and the first communication circuit, memory, pilot lamp and the power of being connected with main control chip respectively, burn record ware still including being connected with main control chip respectively be used for realizing burning record voltage controllable burn record power supply circuit and be used for the second communication circuit that the communication level matches, burn record power supply circuit and second communication circuit and be connected with MCU respectively.
Preferably, the burning power supply circuit adopts an operational amplifier circuit, and the preceding-stage input voltage of the operational amplifier circuit is adjusted through a main control chip of the burner, so that the output voltage of the operational amplifier circuit is changed, the purpose of controlling the burning voltage is realized, and meanwhile, the output voltage is detected in a closed loop mode.
Preferably, the operational amplifier circuit is provided with two paths, namely a first operational amplifier circuit and a second operational amplifier circuit.
Preferably, the second communication circuit is a level conversion circuit, an input end of the level conversion circuit and a main control chip of the recorder have the same power supply, and an output end of the level conversion circuit and an output end of the operational amplifier circuit output VDD have the same power supply, so that level conversion is realized, and the purpose of communication level matching is achieved.
preferably, the memory is a flash.
preferably, the burner further comprises a key connected with the main control chip for realizing an offline mode.
A control method for the burner with controllable burning voltage and communication level comprises an online mode and an offline module;
in the online mode, the PC terminal sends the chip model and the burning data to the burner, the burner stores the data into the flash, and after the PC terminal sends a burning command, the burner main control chip reads the data from the flash and burns the external MCU;
In the off-line mode, the burning data is required to be downloaded to the burner flash in advance, then the burner is not required to be connected with the PC, and the external MCU can be burned through the key as long as the burner is powered on.
Preferably, the online mode specifically processes as follows:
firstly, selecting a program hex file to be burned by a PC (personal computer) end, selecting a correct chip model, starting downloading, sending burning data and chip model information to a main control chip according to a specified protocol, storing the information in a flash chip by the main control chip, issuing a burning instruction after all data of the PC end are sent, and starting to perform burning operation;
Step two, the main control chip acquires chip model information from the flash, VDD and VPP voltages are changed by adjusting input stage voltages DAC1 and DAC2 of the operational amplifier, output voltages are sampled through ADC1 and ADC2, and when the voltage deviation of the VDD and VPP exceeds the range, the DAC1 and DAC2 are adjusted to enable the VDD and VPP voltages to be stabilized within the standard range;
Meanwhile, a signal at the end A of the level conversion circuit is in signal connection with the main control chip, the voltage of the power supply voltage VCCA is the same as that of the main control chip and is from the LDO power supply, a signal at the end B of the level conversion circuit is connected with the external MCU chip, the voltage of the power supply voltage VCCB is the same as that of the external MCU chip and is from VDD, and communication level matching is realized through the circuit;
Writing burning data into a Memory of the MCU chip according to a designed flow and a control instruction under the condition that the power supply voltage and the communication level meet requirements, performing read-back verification on the data after burning is finished, and returning a burning result according to a verification result;
and step four, the burner lights corresponding indicator lights according to the burning result, the red light is on to indicate that the burning fails, the green light is on to indicate that the burning succeeds, the burning information is synchronously fed back to the PC terminal, and the PC terminal can display the failure or success of the current burning operation according to the returned information.
preferably, in the offline mode, the 12V/2A adapter is used to supply power to the burner, the burning signal of the MCU chip is connected to the burner, data needs to be downloaded to the burner flash through the PC terminal in advance, then the Start key on the burner is pressed, the burner main control chip detects the trigger signal, and the burning operation is performed, that is, in the online mode, step two, after the burning is finished, the current burning result is represented only by the burner indicator.
Compared with the prior art, the invention has the following advantages:
1) Through modifying the power supply circuit and the communication circuit, the control of the burning voltage and the communication level is realized, the MCU chip burning function can be compatible, and the development cost is reduced.
2) meanwhile, the risk of chip damage caused by improper selection of the burner is avoided. The voltage output is controlled in a closed loop mode, the output voltage precision is improved, and the stability of a burning power supply is guaranteed. And the communication levels are matched, so that the stability of digital logic communication is ensured, and the burning yield is improved.
Drawings
FIG. 1 is a schematic structural view of the present invention;
FIG. 2 is a recording flow chart according to the present invention.
Detailed Description
the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, shall fall within the scope of protection of the present invention.
As shown in fig. 1, a burner with controllable burning voltage and communication level, wherein the burner 1 is respectively connected with a PC2 and an MCU3, the burner 1 comprises a main control chip 11, and a first communication circuit 12, a memory 13, an indicator lamp 14 and a power supply 15 which are respectively connected with the main control chip 11, the burner 1 further comprises a burning power supply circuit which is respectively connected with the main control chip 11 and is used for realizing the controllable burning voltage and a second communication circuit which is used for the communication level matching, and the burning power supply circuit and the second communication circuit are respectively connected with an MCU 3.
The burning power supply circuit adopts an operational amplifier circuit, and the preceding stage input voltage of the operational amplifier circuit is adjusted through a main control chip of the burner, so that the output voltage of the operational amplifier circuit is changed, the purpose of controlling the burning voltage is realized, and meanwhile, the output voltage is detected in a closed loop mode.
The operational amplifier circuit is provided with two paths, namely a first operational amplifier circuit 17 and a second operational amplifier circuit 18. The second communication circuit is a level conversion circuit 16, the input end of the level conversion circuit and the main control chip of the burner have the same power supply, and the output end of the level conversion circuit and the operational amplifier circuit output VDD has the same power supply, so that level conversion is realized, and the purpose of communication level matching is achieved. The memory is flash. The burner also comprises a key 19 which is connected with the main control chip and is used for realizing an off-line mode.
the invention redesigns the traditional burning power supply circuit and the communication circuit to realize the control of the burning voltage and the communication level.
A burning power supply circuit: a high-power operational amplifier is selected to replace a traditional DC-DC circuit, and the pre-stage input voltage of the operational amplifier is adjusted through a main control chip of a burner, so that the output voltage of the operational amplifier is changed. The purpose of controlling the burning voltage is achieved. Meanwhile, the output voltage is detected in a closed loop mode, and the accuracy of the output voltage is guaranteed.
A communication circuit: a level conversion circuit is added, the input end of the level conversion circuit and the same power supply of a burner main control chip, and the output end of the level conversion circuit and the operational amplifier output VDD are the same power supply, so that level conversion is realized, and the purpose of communication level matching is achieved.
In the online mode, the PC terminal sends information such as the chip model and the burning data to the burner, the burner stores the data into the flash, and after the PC terminal issues a burning command, the burner main control chip reads the data from the flash and burns the external MCU.
in the off-line mode, information such as burning data and the like needs to be downloaded to the burner flash in advance, then the burner is not required to be connected with the PC, and the external MCU can be burned through the keys as long as the burner is powered on.
As shown in FIG. 2, in the online mode, the USB Type-B data line is used to connect the burner with the PC, and the burner signal of the MCU chip is connected with the burner. The functions are realized according to the following steps,
step one, the PC end opens the burning software, selects a program hex file to be burned, selects a correct chip model and starts downloading. And sending information such as burning data, the chip model and the like to the main control chip according to a specified protocol. The main control chip firstly stores the information in the flash chip, after all data of the PC terminal are sent, the burning software issues a burning instruction, and then the burning operation is started.
and step two, the main control chip acquires information such as chip models from the flash, and the programming high-voltage VPP is different according to different chip models and corresponding voltage VDD. The master chip adjusts the operational amplifier input stage voltage DAC1, and DAC2 changes the VDD and VPP voltages. Due to device performance differences in the amplification circuit, the actual output voltage deviates from the theoretical value. Through ADC1, ADC2 samples the output voltage, and when the deviation of VDD and VPP voltages exceeds the range, DAC1 and DAC2 are adjusted to stabilize the VDD and VPP voltages within the standard range. The closed-loop control of the burning voltage is realized through the operation.
The signal of the A end of the level conversion circuit is in signal connection with the main control chip, and the power supply voltage VCCA is the same as the voltage of the main control chip and is from the LDO power supply. And a signal at the B end of the level conversion circuit is connected with an external MCU chip, and the power supply voltage VCCB is the same as the external MCU chip and is from VDD. Communication level matching is achieved through the circuit, if a main control chip end 3.3V digital signal is converted into a 5V digital signal, and communication is conducted with an MCU chip.
And step three, under the condition that the power supply voltage and the communication level meet the requirements, writing the burning data into the Memory of the MCU chip according to the designed flow and control instructions, performing read-back verification on the data after burning is finished, and returning the burning result according to the verification result.
And step four, the burner lights the corresponding indicator lights according to the burning result, the red light is on to indicate that the burning fails, and the green light is on to indicate that the burning succeeds. The burning information is synchronously fed back to the PC end, and the PC end upper computer can display the failure or success of the current burning operation according to the returned information.
And in the off-line mode, the 12V/2A adapter is used for supplying power to the burner and connecting the burning signal of the MCU chip with the burner. Downloading data into a burner flash through a PC end upper computer in advance, then pressing a Start key on the burner, detecting a trigger signal by a burner main control chip, and carrying out burning operation, namely, a second step in an online mode. The difference between the off-line mode and the on-line mode is mainly reflected in that the burner does not need to be connected with a PC and controls burning through a key. Therefore, after the burning is finished, the information can not be fed back to the PC end, and the current burning result is represented only by the burner indicator lamp.
while the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (9)

1. The utility model provides a burn record ware that voltage and communication level are controllable, this burn record ware is connected with PC and MCU respectively, the burn record ware include main control chip and the first communication circuit, memory, pilot lamp and the power of being connected with main control chip respectively, its characterized in that, the burn record ware still including be connected with main control chip respectively be used for realizing burning record power supply circuit that voltage is controllable and be used for the second communication circuit that the communication level matches, burn record power supply circuit and second communication circuit and be connected with MCU respectively.
2. The burner of claim 1, wherein the burning power supply circuit employs an operational amplifier circuit, and a main control chip of the burner adjusts a preceding stage input voltage of the operational amplifier circuit to change an output voltage of the operational amplifier circuit, thereby achieving the purpose of controlling the burning voltage and simultaneously detecting the output voltage in a closed loop.
3. The burner of claim 2, wherein the operational amplifier circuit comprises a first operational amplifier circuit and a second operational amplifier circuit.
4. The burner of claim 2, wherein the second communication circuit is a level shifter circuit, the input terminal of the level shifter circuit is powered by the same power supply as the burner main control chip, and the output terminal of the level shifter circuit is powered by the same power supply as the operational amplifier circuit output VDD, so as to achieve level shifting and achieve the purpose of communication level matching.
5. The burner of claim 1, wherein the memory is a flash.
6. The burner of claim 1, further comprising a key connected to the main control chip for implementing an off-line mode.
7. a control method for the burner with controllable burning voltage and communication level of claim 1, which comprises an online mode and an offline module;
In the online mode, the PC terminal sends the chip model and the burning data to the burner, the burner stores the data into the flash, and after the PC terminal sends a burning command, the burner main control chip reads the data from the flash and burns the external MCU;
in the off-line mode, the burning data is required to be downloaded to the burner flash in advance, then the burner is not required to be connected with the PC, and the external MCU can be burned through the key as long as the burner is powered on.
8. the method of claim 7, wherein the online mode is specifically performed as follows:
Firstly, selecting a program hex file to be burned by a PC (personal computer) end, selecting a correct chip model, starting downloading, sending burning data and chip model information to a main control chip according to a specified protocol, storing the information in a flash chip by the main control chip, issuing a burning instruction after all data of the PC end are sent, and starting to perform burning operation;
Step two, the main control chip acquires chip model information from the flash, VDD and VPP voltages are changed by adjusting input stage voltages DAC1 and DAC2 of the operational amplifier, output voltages are sampled through ADC1 and ADC2, and when the voltage deviation of the VDD and VPP exceeds the range, the DAC1 and DAC2 are adjusted to enable the VDD and VPP voltages to be stabilized within the standard range;
meanwhile, a signal at the end A of the level conversion circuit is in signal connection with the main control chip, the voltage of the power supply voltage VCCA is the same as that of the main control chip and is from the LDO power supply, a signal at the end B of the level conversion circuit is connected with the external MCU chip, the voltage of the power supply voltage VCCB is the same as that of the external MCU chip and is from VDD, and communication level matching is realized through the circuit;
Writing burning data into a Memory of the MCU chip according to a designed flow and a control instruction under the condition that the power supply voltage and the communication level meet requirements, performing read-back verification on the data after burning is finished, and returning a burning result according to a verification result;
And step four, the burner lights corresponding indicator lights according to the burning result, the red light is on to indicate that the burning fails, the green light is on to indicate that the burning succeeds, the burning information is synchronously fed back to the PC terminal, and the PC terminal can display the failure or success of the current burning operation according to the returned information.
9. The method as claimed in claim 8, wherein in the off-line mode, the 12V/2A adapter is used to supply power to the burner, the burner signal of the MCU chip is connected to the burner, data is downloaded to the burner flash through the PC terminal in advance, then the Start key on the burner is pressed, the burner main control chip detects the trigger signal, and the burning operation is performed, that is, in the on-line mode, step two, after the burning is finished, the current burning result is indicated only by the burner indicator light.
CN201910932970.8A 2019-09-29 2019-09-29 Burner with controllable burning voltage and communication level and control method Pending CN110569045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910932970.8A CN110569045A (en) 2019-09-29 2019-09-29 Burner with controllable burning voltage and communication level and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910932970.8A CN110569045A (en) 2019-09-29 2019-09-29 Burner with controllable burning voltage and communication level and control method

Publications (1)

Publication Number Publication Date
CN110569045A true CN110569045A (en) 2019-12-13

Family

ID=68783230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910932970.8A Pending CN110569045A (en) 2019-09-29 2019-09-29 Burner with controllable burning voltage and communication level and control method

Country Status (1)

Country Link
CN (1) CN110569045A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111060342A (en) * 2019-12-30 2020-04-24 3M材料技术(广州)有限公司 System and method for calibrating a functional module of a water treatment device
CN113050508A (en) * 2021-03-26 2021-06-29 珠海泰芯半导体有限公司 Debugging method and device of control panel, storage medium and debugging equipment
CN113778470A (en) * 2021-09-10 2021-12-10 湖南进芯电子科技有限公司 Portable DSP (digital signal processor) burner based on JTAG (joint test action group) and burning method
CN114062813A (en) * 2021-11-15 2022-02-18 歌尔微电子股份有限公司 Chip burning state detection circuit and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040076061A1 (en) * 2002-09-11 2004-04-22 Yen-Chang Chiu On-system programmable and off-system programmable chip
CN101089996A (en) * 2006-06-12 2007-12-19 凌阳科技股份有限公司 Circuit analog system with auto-increment function
CN202018825U (en) * 2011-03-07 2011-10-26 杭州士兰微电子股份有限公司 Writer
CN208705868U (en) * 2018-08-29 2019-04-05 成都丰采电子科技有限责任公司 A kind of portable SPI flash cd-rom recorder for supporting multivoltage
CN210721437U (en) * 2019-09-29 2020-06-09 上海菱沃铂智能技术有限公司 Burning device with controllable burning voltage and communication level

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040076061A1 (en) * 2002-09-11 2004-04-22 Yen-Chang Chiu On-system programmable and off-system programmable chip
CN101089996A (en) * 2006-06-12 2007-12-19 凌阳科技股份有限公司 Circuit analog system with auto-increment function
CN202018825U (en) * 2011-03-07 2011-10-26 杭州士兰微电子股份有限公司 Writer
CN208705868U (en) * 2018-08-29 2019-04-05 成都丰采电子科技有限责任公司 A kind of portable SPI flash cd-rom recorder for supporting multivoltage
CN210721437U (en) * 2019-09-29 2020-06-09 上海菱沃铂智能技术有限公司 Burning device with controllable burning voltage and communication level

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111060342A (en) * 2019-12-30 2020-04-24 3M材料技术(广州)有限公司 System and method for calibrating a functional module of a water treatment device
CN111060342B (en) * 2019-12-30 2022-06-17 3M材料技术(广州)有限公司 System and method for calibrating a functional module of a water treatment device
CN113050508A (en) * 2021-03-26 2021-06-29 珠海泰芯半导体有限公司 Debugging method and device of control panel, storage medium and debugging equipment
CN113778470A (en) * 2021-09-10 2021-12-10 湖南进芯电子科技有限公司 Portable DSP (digital signal processor) burner based on JTAG (joint test action group) and burning method
CN114062813A (en) * 2021-11-15 2022-02-18 歌尔微电子股份有限公司 Chip burning state detection circuit and method

Similar Documents

Publication Publication Date Title
CN110569045A (en) Burner with controllable burning voltage and communication level and control method
CN101853703B (en) U-disc burner
JP2006120114A (en) Computer which has multifunctional power button and related method
TW201423436A (en) Bridging device, automated system and method thereof for automatically manufacturing a storage device
CN110806879B (en) Burning debugging circuit and burning debugger
CN103595842A (en) Method for adjusting illuminating brightness of flashlight serving as electric torch and mobile terminal
CN110221935B (en) FPGA loading configuration problem checking method based on LDO
CN210721437U (en) Burning device with controllable burning voltage and communication level
CN110597529A (en) Burner and burning method for parameter calibration of microcontroller
CN205158340U (en) Burn to external program memory microprocessor's automatic code and write ware
CN110727239A (en) Portable electric tool control program updating device and updating method
CN219246065U (en) Off-line burner
CN106249666B (en) Online parameter adjusting system and method based on digital communication
CN210804086U (en) Portable electric tool control program updating device
CN201707927U (en) U disk burning and recording device
WO2018068687A1 (en) Modification method for mobile terminal firmware
CN101533343A (en) Method for fast writing chip
CN113017153A (en) Control system and control method for dual-mode switching of aerosol generating device
CN214151690U (en) Burning device
CN219143810U (en) SPD (single-sided digital video recorder) burning device of DDR5 memory bank
CN111736856A (en) Special burner for temperature compensation crystal oscillator
CN215264781U (en) Portable burning device
CN107015833B (en) Self-recovery method for embedded device application program
CN217279551U (en) Embedded program programming circuit capable of realizing state locking
CN101241387A (en) Direct-current power supply system and its sequence control 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