CN207148816U - A kind of program burn writing system and electronic equipment - Google Patents

A kind of program burn writing system and electronic equipment Download PDF

Info

Publication number
CN207148816U
CN207148816U CN201720694566.8U CN201720694566U CN207148816U CN 207148816 U CN207148816 U CN 207148816U CN 201720694566 U CN201720694566 U CN 201720694566U CN 207148816 U CN207148816 U CN 207148816U
Authority
CN
China
Prior art keywords
programming
electronic equipment
module
programming electronic
treat
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
Application number
CN201720694566.8U
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.)
Kamford (beijing) Energy Services Co Ltd
Original Assignee
Kamford (beijing) Energy Services 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 Kamford (beijing) Energy Services Co Ltd filed Critical Kamford (beijing) Energy Services Co Ltd
Priority to CN201720694566.8U priority Critical patent/CN207148816U/en
Application granted granted Critical
Publication of CN207148816U publication Critical patent/CN207148816U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The utility model provides a kind of program burn writing system and electronic equipment.The working-flow includes:Treat that single-chip microcomputer programming interface is drawn out to hardware terminal by programming electronic equipment, hardware terminal is connected with programming electronic equipment by cable, and programming electronic equipment is treated burn writing equipment programming program;It is described to treat that programming electronic equipment casing is slotted at the hardware terminal, the hardware terminal is set to be connected in the case of programming electronic equipment casing is treated described in need not dismantling with the programming electronic equipment by the cable, the programming electronic equipment is battery powered, the battery treats programming power electronic equipment to described simultaneously, and the hardware that the programming electronic equipment stores the programming program is packaged type memory.The utility model is realized gives single-chip microcomputer programming program in the case of shell is not dismantled, without externally fed, it is convenient to change programming program.

Description

A kind of program burn writing system and electronic equipment
Technical field
The present invention relates to single-chip microcomputer field, more particularly to a kind of SCM program programming system and electronic equipment.
Background technology
In order to realize the intellectuality of electronic equipment, single-chip microcomputer, the program of single-chip microcomputer are integrated with many electronic device circuitries Programming is generally divided into line writing and off line programming, even if in line writing PC programmings, off line programming is burnt without using PC Write.Due to needing PC in line writing, cost is high, and the shortcomings of mobility difference, off line programming is electronic equipment produces and upgrades More used in program burn writing.
Off line programming generally has testboard form and chip carrier form.Testboard form by the circuit board with single-chip microcomputer with The pressing of testboard is contacted, so as to reach the purpose that simultaneously programming is connected with single-chip microcomputer;Chip carrier form is by no welding Single-chip microcomputer is put into special chip carrier, carries out programming program, single-chip microcomputer is welded on circuit board again after the completion of programming.Testboard The shortcomings that form, in must taking out circuit board from shell, being placed on testboard, could carry out programming, and when carrying out, quantity is huge When big existing device program upgrades, the dismounting of shell has huge workload, so that time and cost of labor can not connect By;Chip carrier form is also not available for upgrading journey with single-chip microcomputer in addition to the shortcomings that testboard form after welding The shortcomings that sequence.
The content of the invention
The present invention provides a kind of program burn writing system and electronic equipment, to realize that chip need not dismount shell just after welding Can be with the demand of programming program.
In a first aspect, the present invention provides a kind of program burn writing system, programming electronic equipment will be treated in advance and has programming journey The programming electronic equipment of preface part is attached by hardware terminal, and the burning of the programming electronic equipment is triggered by man-machine interaction Writing task, treat that programming electronic equipment carries out program burn writing to described.The system includes:
Described to treat programming electronic equipment, including functional module and hardware terminal, the functional module is used to realize described treat The predetermined function of programming electronic equipment, the hardware terminal are used for the programming interface module for connecting the programming electronic equipment, entered Row communication.The single-chip microcomputer after programming electronic equipment is used for after the ISP start-up modes are arranged to, and it is laggard to be reset After entering the ISP start-up modes, the ISP programs carried of being dispatched from the factory by the single-chip microcomputer are led to the programming electronic equipment Letter, and the programming program file is stored in itself FLASH, the single-chip microcomputer for treating programming electronic equipment is normally starting mould The program in itself FLASH is run under formula.
The programming electronic equipment, including main control module, memory module, display module, power module, key-press module, burning Write interface module.
The memory module is used to store programming program file.
The display module is used to show programming status information.
The power module is used to providing power to main control module, memory module, display module, key-press module, programming connect Mouth mold block.
The key-press module is used for the programming task for triggering main control module.
The programming interface module be used to connecting it is described treat programming electronic equipment hardware terminal, treat programming electronics described in realization Equipment communicates with programming electronic equipment.
The main control module is used to control the reading of the programming task, memory module programming program of programming interface module, shown Show control, the reception of key-press module trigger signal of module display content.
The programming electronic equipment is used to treat that programming electronic equipment is arranged to the ISP start-up modes by described, and resets It is described to treat programming electronic equipment, it is described to make to treat that programming electronic equipment enters the ISP start-up modes, by the programming task with It is described to treat that programming electronic equipment is communicated, the programming program file is sent to and described treats programming electronic equipment.
Second aspect, the present invention provides a kind of electronic equipment, including treats programming electronic equipment and programming electronic equipment, its In,
It is described to treat that programming electronic equipment includes functional circuit and USB terminals, treat programming electricity described in the functional circuit realization The predetermined function of sub- equipment, described USB terminals one end are connected with the single-chip microcomputer for treating programming electronic equipment, and the other end is with being connected The USB line of the programming electronic equipment is connected, and establishes and described treats the hard of programming electronic equipment and the programming electronic equipment Part wired connection.
The programming electronic equipment includes main control MCU, SD card, LCD, power circuit, key circuit, USB terminals.
The SD card is connected with the main control MCU, before the progress of programming process, by PC by the programming program file It is written in the SD card, during programming, the main control MCU reads the programming program file of the SD card, due to SD pluggable property, user during programming again without operating PC, it is only necessary in advance by the journey of required programming before programming In preface part write-in SD card, programming process is set to have broken away from PC limitation.
The LCD is connected with the main control MCU, and for showing programming status information, the programming status information includes burning Write startup, error, object information;
The key circuit is connected with the main control MCU, and the programming program file of programming is needed for selection, and touches Send out programming task described;
The power circuit carries to the main control MCU, the SD card, the LCD, the key circuit, the USB terminals For suitable power supply, the power circuit provides power supply by lithium battery, without external power supply, improves and described treats burn writing equipment pair Adaptability of the programming environment without external power supply.
The main control MCU is used to control programming task, the reading of the SD card programming program, the LCD display contents Control, the reception of the key circuit trigger signal.
The USB terminals are connected with the USB terminals for treating programming electronic equipment by USB line, and the USB line includes Rs 232 serial interface signal line, power line, start-up mode set line, reset line.
The rs 232 serial interface signal line is used for the main control MCU and treats that programming electronic equipment carries out serial communication with described, to described Treat programming electronic equipment programming program.
The power line treats that programming electronic equipment provides power supply for described in, makes described to treat programming electronic equipment without external electricity Source can carry out program burn writing.
The start-up mode sets line to be used to set the start-up mode for treating programming electronic equipment.
The reset line is used to treat that programming electronic equipment provides reset signal for described in.
The present invention is first write the program file for needing programming in SD card by PC, then is read by programming electronic equipment File in SD card, programming task is triggered by button, programming electronic equipment casing edge and exposed USB are treated by being positioned over Terminal is connected with programming electronic equipment, carries out program burn writing.PC can be departed from by the present invention and treat programming electronic equipment progress nothing The program burn writing of place limitation, and need not dismantle the shell for treating burn writing equipment, so as to greatly reduce to treating that programming electronics sets The workload of standby programming program, improves programming efficiency, the equipment in the especially place to being already installed on no power supply enters stroke Sequence programming provides a great convenience.
Brief description of the drawings
Fig. 1 is the structural representation of present procedure programming system embodiment one;
Fig. 2 is the structural representation of present procedure programming electronic equipment embodiment one.
Embodiment
The present invention is first write the program file for needing programming in the memory module of programming electronic equipment by PC, is passed through Button triggers programming task, then reads the programming program file in memory module by programming electronic equipment, is treated by being positioned over Programming electronic equipment casing edge and exposed hardware terminal is connected with programming electronic equipment, carry out program burn writing.So as to realize The off line programming program for the shell for treating burn writing equipment need not be dismantled, the efficiency of programming operation is improved, especially to having pacified Equipment mounted in the place of no power supply carries out program burn writing and provided a great convenience.
Fig. 1 is the structural representation of present procedure programming system embodiment one.As shown in figure 1, the system includes:Wait to burn Write electronic equipment 10, cable 20, programming electronic equipment 19.
Treat that programming electronic equipment 10 includes:Functional module 11, hardware terminal 12.
Programming electronic equipment 20 includes:Programming interface module 13, main control module 14, display module 15, memory module 16, electricity Source module 17, key-press module 18.
Functional module 10 is the hardware components for realizing the predetermined function for treating programming electronic equipment, and different treats programming electricity Sub- equipment has different functional modules, and relevant with concrete application, it is not described here in detail.
Hardware terminal 12 is used for connection cables 20 and treats programming electronic equipment 10.
Cable 20 treats programming electronic equipment 10 and programming electronic equipment 19 for connection, to treat programming electronic equipment 10 and burning Electronic equipment 19 is write to connect by hardware.
Programming interface module 13 is used to connect through programming electronic equipment 19 and cable 20.
Main control module 14 is used to control programming process, and control display module 15 is shown, reads the burning of memory module 16 File data, receive the button trigger signal of key-press module 18.
Display module 15 is used to show the programming status information during programming.
Memory module 16 is used to store programming program file.
Power module 17 is used for for programming interface module 13, main control module 14, display module 15, memory module 16, button Module 18, treat that programming electronic equipment 10 provides suitable power supply.
Key-press module 18 is used to trigger programming task, selects programming file.
Fig. 2 is the structural representation of present procedure programming electronic equipment embodiment one.As shown in Fig. 2 the electronic equipment Including:Treat programming electronic equipment 30, USB line 40, programming electronic equipment 39.
Treat that programming electronic equipment 30 includes:Functional circuit 31, USB terminals 32.
Programming electronic equipment 40 includes:USB terminals 33, main control MCU 34, LCD35, SD card 36, power circuit 37, button electricity Road 38.
Functional circuit 30 is the hardware circuit for realizing the predetermined function for treating programming electronic equipment, and different treats programming electricity Sub- equipment has different functional circuits, and relevant with concrete application, it is not described here in detail.
USB terminals 32 are used to connect USB line 40 and treat programming electronic equipment 30, and 1~5 pin of USB terminals 32 is received respectively Start-up mode pin, reset pin, the serial ports with ISP programming functions of the single-chip microcomputer of programming electronic equipment 30 send TXD and drawn Pin, the serial ports with ISP programming functions receive RXD pins, power supply VCC pin, and the shell reception programming electronics of USB terminals 32 is set Standby 30 single-chip microcomputer ground wire GND pin.
USB line 40 treats programming electronic equipment 30 and programming electronic equipment 39 for connection, to treat the He of programming electronic equipment 30 Programming electronic equipment 39 is connected by hardware, and USB line shares 6 lines, and 1 to No. 6 lines connect USB terminals 32 and USB terminals 33 respectively 1~5 pin and shell.
USB terminals 33 are used to connect through programming electronic equipment 39 and USB line 40.1~5 pin of USB terminals 33 connects respectively The start-up mode controlling switch of main control MCU 34, reset controlling switch, serial ports reception RX pins, serial ports transmission TX pins, power supply VCC pin, the shell of USB terminals 33 connect the ground wire GND pin of programming electronic equipment 39.So, there is provided main control MCU is with treating programming The hardware communications of the single-chip microcomputer of electronic equipment 30, control, the connection of power supply.
Main control MCU 34 is used for according to ISP agreements to the programming program of programming electronic equipment 30 is treated, driving LCD35 is shown, The programming file data of SD card 36 is read by the FAT32 file system integrated in software, the button for receiving key circuit 38 touches Signal.
The programming status information that LCD35 is used for during the status display programming according to programming process, specifically, working as button Circuit 38 triggering start programming signal after, according to button numbering display will programming file name;When there is programming startup After failure, display " programming starts failure ";After there is erasing failure, display " erasing failure ";When occur writing commands failure, After writing address failure, write-in data failure, display " write-in failure ";After there is programming success, display " programming success ". LCD35 uses 12864 lattice lcd screens, can realize that flexible content is shown by the software control of main control MCU 34.
SD card 36 is used for the BIN files for storing programming program, and BIN quantity of documents should be with the number of keys phase of key circuit 38 Together, to realize the one-to-one corresponding of button and programming BIN files.The BIN files downloaded to single-chip microcomputer are typically in tens KB to several Hundred KB, SD card 36 use common 4GB capacity SD cards, it is sufficient to meet the needs of storing BIN files, and it is cheap.
Power circuit 37 be used for for USB terminals 33, main control MCU 34, LCD35, SD card 36, key circuit 38, treat programming electricity Sub- equipment 30 provides+3.3V power supplys, and the single-chip microcomputer for treating programming electronic equipment 30 is usually+3.3V power supplies, present invention aims at To the single-chip microcomputer programming program for treating programming electronic equipment 30, so need not be the other parts power supply for treating programming electronic equipment, only It need to consider to treat that the power supply of the single-chip microcomputer of programming electronic equipment 30 meets to require.Power circuit 37 by lithium battery charging circuit and LDO linear voltage regulators form, lithium battery charging circuit can external+5V dc sources be 3.7V lithium batteries charged, use LTC4052 chips and its peripheral circuit, LDO linear voltage regulators use MIC5219, and cell voltage is converted into stable+3.3V Voltage.
Totally 4 buttons of key circuit 38, button one terminate the button of main control MCU 34 detection pin and by resistance eutral groundings, separately One termination+3.3V, when button is pressed, the button of main control MCU 34 detection pin level is driven high, the button inspection of triggering main control MCU 34 The rising edge for surveying pin interrupts, and triggers programming task.
What the present invention was adopted as being welded single-chip microcomputer treats the onboard ISP modes programming program of programming electronic equipment, gram Taken chip carrier programming mode can not programming welded single-chip microcomputer the problem of, by the way that programming electronic equipment single-chip microcomputer will be treated Programming pin is drawn out to a hardware terminal, and hardware terminal is positioned at shell fluting, realizes and does not dismantle shell and can be Treat the demand of programming electronic equipment programming program.Meanwhile program burn writing mode provided by the invention can be by lithium battery power supply Treat that programming electronic equipment directly provides power supply, solve the puzzlement that construction ROMPaq scene can not find external power supply.
One of ordinary skill in the art will appreciate that:Various embodiments above is merely illustrative of the technical solution of the present invention, and It is non-that it is limited;Although the present invention is described in detail with reference to foregoing embodiments, one of ordinary skill in the art It should be understood that:It can still modify to the technical scheme described in foregoing embodiments, either to which part or All technical characteristic carries out equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from this hair The scope of bright each embodiment technical scheme.

Claims (5)

  1. A kind of 1. program burn writing system, it is characterised in that including:
    Treat programming electronic equipment, cable, programming electronic equipment;
    Treat that programming electronic equipment includes:
    Functional module, described programming electronic equipment predetermined function is treated for realizing;
    Hardware terminal, for treating that programming electronic equipment provides hardware with the programming electronic equipment and connected to be described;
    Cable is used to connect the hardware terminal and the programming electronic equipment;
    Programming electronic equipment includes:
    Memory module, for storing programming program file;
    Display module, for showing programming status information;
    Power module, for provide power to main control module, memory module, display module, key-press module, programming interface module, Treat programming electronic equipment;
    Key-press module, for triggering the programming task of main control module;
    Programming interface module, for connect it is described treat programming electronic equipment hardware terminal, treated described in realization programming electronic equipment with The programming electronic equipment communicates;
    Main control module, for controlling the programming task of programming interface module, the reading of memory module programming program, display module to show Show control, the reception of key-press module trigger signal of content.
  2. 2. system according to claim 1, it is characterised in that the hardware terminal treats programming electronic equipment positioned at described Internal edge, by the way that the shell for treating programming electronic equipment is slotted at the hardware terminal, realize the hardware end Son treats programming electronic equipment casing described in exposing.
  3. 3. system according to claim 1, it is characterised in that lithium battery voltage is converted into appropriate electrical by the power module Pressure, treats that programming electronic equipment provides electricity by the cable while power supply is provided for the programming electronic equipment for described in Source.
  4. 4. system according to claim 1, it is characterised in that the memory module stores the programming program file, leads to Cross PC and the programming program file is write into the memory module, memory module is packaged type memory.
  5. 5. a kind of electronic equipment, including treat programming electronic equipment, USB line, programming electronic equipment;
    It is described to treat that programming electronic equipment includes functional circuit and USB terminals, it is characterised in that
    The functional circuit, which is used to realizing, described treats programming electronic equipment predetermined function;
    The USB terminals be used to providing it is described treat that programming electronic equipment and the hardware of the USB line are connected, and exposed treated with described The shell edge of programming electronic equipment, treat that programming electronic equipment need not dismantle shell and can carry out program burn writing described in realization;
    Include signal of communication line, start-up mode line, reset line, power line in the USB line;
    The programming electronic equipment includes USB terminals, main control MCU, LCD, SD card, power circuit, key circuit;
    The USB terminals are connected with the USB terminals for treating programming electronic equipment by USB line;
    The main control MCU be used for control programming task, the reading of the SD card programming program, the control of the LCD display contents, The reception of the key circuit trigger signal;
    The LCD is used to show programming status information;
    The SD card is used to store programming program file, can be literary by the programming program by PC due to the mobility of SD card Part is previously written the SD card;
    The power circuit is used to carry for the USB terminals, the main control MCU, the LCD, the SD card, the key circuit For+3.3V power supplys, lithium battery voltage is converted into+3.3V by the power circuit by LDO linear voltage regulators, by described USB terminals are powered, and are realized to the function for the treatment of programming power electronic equipment.
CN201720694566.8U 2017-06-15 2017-06-15 A kind of program burn writing system and electronic equipment Active CN207148816U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201720694566.8U CN207148816U (en) 2017-06-15 2017-06-15 A kind of program burn writing system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201720694566.8U CN207148816U (en) 2017-06-15 2017-06-15 A kind of program burn writing system and electronic equipment

Publications (1)

Publication Number Publication Date
CN207148816U true CN207148816U (en) 2018-03-27

Family

ID=61671153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201720694566.8U Active CN207148816U (en) 2017-06-15 2017-06-15 A kind of program burn writing system and electronic equipment

Country Status (1)

Country Link
CN (1) CN207148816U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634622A (en) * 2018-12-06 2019-04-16 江苏沁恒股份有限公司 Off line is exempted to tear the automatic method for burn-recording of machine, system and computer readable storage medium open
CN110969729A (en) * 2019-10-28 2020-04-07 东莞市同欣智能科技有限公司 Identification display method of intelligent door lock and intelligent door lock

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634622A (en) * 2018-12-06 2019-04-16 江苏沁恒股份有限公司 Off line is exempted to tear the automatic method for burn-recording of machine, system and computer readable storage medium open
CN110969729A (en) * 2019-10-28 2020-04-07 东莞市同欣智能科技有限公司 Identification display method of intelligent door lock and intelligent door lock

Similar Documents

Publication Publication Date Title
CN107678753A (en) A kind of program burn writing method, apparatus and electronic equipment
CN207148816U (en) A kind of program burn writing system and electronic equipment
CN101651794A (en) Method for coping television memory data and intelligent copier
CN110968329A (en) Burner and operation method and burning system thereof
CN201097171Y (en) Reading and writing device for air conditioner out-chip memory
CN201518128U (en) Software upgrading and debugging tool
CN203894742U (en) Programmer of automotive electric control unit (ECU)
CN105722014A (en) EEPROM (Electrically Erasable Programmable Read-Only memory) data burning method and device
CN205910838U (en) Handheld meter recorder
CN207557927U (en) A kind of instrument and hand-held software upgrading tool
CN1991690A (en) USB external master-salve interface module
CN212060974U (en) Portable CAN detects and upgrading device
CN203445629U (en) Multifunctional back clip system of intelligent mobile terminal
CN103870304A (en) Program update device and method, remote control system and engineering machine
CN104793968A (en) Vehicle electronic control unit program programming device and implementation method thereof
CN204613818U (en) A kind of handheld terminal based on COM-Express module
CN203618049U (en) Mobile phone display screen debugging device
CN206975652U (en) Swipe the card programing system
CN205910839U (en) Handheld network meter recorder
CN205993823U (en) A kind of protective case and electronic equipment assembly
CN209765505U (en) Sensor data reading device
CN110163020B (en) Sensor data read-write device and read-write method thereof
CN103605624A (en) Communication device
CN206179200U (en) Remote gas meter collector system based on WIFI
CN204009865U (en) A kind of controller programmable device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
DD01 Delivery of document by public notice

Addressee: Shi Junna

Document name: payment instructions

DD01 Delivery of document by public notice