CN105679366A - Portable multifunctional offline programmer - Google Patents
Portable multifunctional offline programmer Download PDFInfo
- Publication number
- CN105679366A CN105679366A CN201511032642.0A CN201511032642A CN105679366A CN 105679366 A CN105679366 A CN 105679366A CN 201511032642 A CN201511032642 A CN 201511032642A CN 105679366 A CN105679366 A CN 105679366A
- Authority
- CN
- China
- Prior art keywords
- line
- rom recorder
- memorizer
- program
- main control
- 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
Links
- 238000003860 storage Methods 0.000 claims description 49
- 230000006870 function Effects 0.000 abstract description 40
- 238000000034 method Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 5
- 230000003993 interaction Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000005538 encapsulation Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 210000000352 storage cell Anatomy 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/10—Programming or data input circuits
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a portable multifunctional offline programmer. The portable multifunctional offline programmer comprises: a master control MCU module; a Flash memory, wherein large-capacity readable and writeable operation is arranged in the Flash memory, and the Flash memory is used for storing a Firmware program and a source program of the offline programmer; a USB interface used for exchanging data with other external devices; an SWD interface used for debugging the programs, carrying out offline programming and updating the source program; an instruction reception and execution module used for the offline programmer to execute all functions; and a running state display module used for displaying all running states of the offline programmer. The portable multifunctional offline programmer can realize offline program programming and update the programs in the hardware chip Flash memory, and also can be used as a program debugger.
Description
Technical field
The present invention relates to Embedded electronics field, particularly relate to a kind of portable multi-function off-line cd-rom recorder.
Background technology
In the production process of electronic product, with cd-rom recorder, software need to being performed code and download in hardware chip flash storage, cd-rom recorder is primarily used for the instrument of the chip programming of single-chip microcomputer.
Traditional burning process, it is necessary to by a whole set of devices such as PC, cd-rom recorder, software development environments, just can complete the burning of program, operating process is complicated.
Along with technical development, creating off-line cd-rom recorder successively, be stored in advance in cd-rom recorder by program file, then download in the flash storage of objective chip again, whole burning process is no longer necessary to PC and software development environment, can realize off-line burning. The burning mode of this off-line simplifies hardware platform and the burning process of burning program, substantially increases production efficiency.
But existing major part off-line cd-rom recorder uses SD card as the storage medium of source program, adds use cost, owing to SD card is mechanical interface, needs again frequent read-write, therefore greatly reduces service life and the stability of source program storage medium. Meanwhile, these off-line cd-rom recorders can only be used for off-line burning program, it is impossible to updates the program in hardware chip flash storage, can not use as program debugger, function singleness. Although there being some multifunctional off-line cd-rom recorders to have a function of burning program and debugging routine, but expensive, complex interfaces, inconvenience scene is carried.
Summary of the invention
The technical problem to be solved is to provide a kind of portable multi-function off-line cd-rom recorder, it is possible to realize off-line burning program, updates the program in hardware chip flash storage, also can use as program debugger.
In order to solve the problems referred to above, the invention discloses a kind of portable multi-function off-line cd-rom recorder, including:
Main control MCU module, is provided with the flash storage of the read-write operation of Large Copacity inside described main control MCU module, described flash storage is used for storing off-line cd-rom recorder Firmware program and source program;
Described main control MCU module is additionally provided with USB interface, for carrying out data exchange with other external equipment;
Described main control MCU module is additionally provided with SWD interface, for source program being burnt in the Flash3 memorizer of objective chip, for debugging the program in objective chip Flash3 memorizer, and for the source program updated being needed by described flash storage being transferred in objective chip Flash3 memorizer;
Command reception performs module, for command reception, source program off-line is burnt in the Flash3 memorizer of objective chip, or for the program in command reception debugging objective chip Flash3 memorizer, or the source program updated will be needed to be transferred in the Flash of described main control MCU module by miscellaneous equipment for command reception.
Running status display module, display for the running status that source program is burnt in the Flash3 memorizer of objective chip by described off-line cd-rom recorder, or the display of the running status for the program in described off-line cd-rom recorder debugging objective chip Flash3 memorizer, or the display of the running status source program needing renewal being transferred in the Flash of described main control MCU module by miscellaneous equipment for described off-line cd-rom recorder.
Preferably, described flash storage division operation, Flash1 memorizer and Flash2 memorizer Liang Ge district it is divided into according to physical address, in described Flash1 memorizer store off-line cd-rom recorder Firmware program, described Firmware program enable described off-line cd-rom recorder complete source update, USB interface realizations, the realization of SWD interface, off-line burning, command reception execution and running status show; Flash2 memorizer stores source program.
Preferably, described main control MCU module is based on the 32-bit microcontroller that Cortex-M3 is kernel, is encapsulated as LQFP64, and most high workload dominant frequency is 108Mhz.
Preferably, described command reception performs module and includes button, it is connected with described main control MCU module, for being burnt in the Flash3 memorizer of objective chip by source program, or the source program updated will be needed to be transferred in the Flash2 of described main control MCU module by miscellaneous equipment.
Preferably, described SWD interface can also carry out program debugging on software protocol, for described off-line cd-rom recorder, objective chip is carried out program debugging.
Preferably, described running status display module, including LED, display for the running status that source program is burnt in the Flash3 memorizer of objective chip by described off-line cd-rom recorder, for the display of the running status of the program in described off-line cd-rom recorder debugging objective chip Flash3 memorizer, and the display of the running status source program needing renewal being transferred in the Flash of described main control MCU module by miscellaneous equipment for described off-line cd-rom recorder.
Preferably, the VBUS electric signal of described USB interface also is compliant with the USB2.0 agreement of standard, by the standard USB interface of external equipment, for providing DC source for described off-line cd-rom recorder.
Compared with the existing off-line cd-rom recorder of background technology, the invention have the advantages that
Existing off-line cd-rom recorder relative to background technology, by being provided with the flash storage of the read-write operation of Large Copacity inside main control MCU module, for storing off-line cd-rom recorder Firmware program and source program, eliminate External memory equipment, such as SD card, thus avoiding owing to SD card is mechanical interface, needing again frequent read-write, and being substantially reduced the service life of source program storage medium and the problem of stability, by flash storage division operation, Flash1 memorizer and Flash2 memorizer Liang Ge district it is divided into according to physical address, Flash1 memorizer stores off-line cd-rom recorder Firmware program, Firmware program makes the function that off-line cd-rom recorder has include source update, usb function realizes, SWD interface function realizes, off-line burning, command reception performs and running status shows, Flash2 memorizer stores source program, off-line cd-rom recorder of the present invention is made to have off-line burning, the function of source update, improve operational efficiency and the operation stability of off-line cd-rom recorder of the present invention, in a word, improve performance and the quality of off-line cd-rom recorder.
Additionally, main control MCU module is based on the 32-bit microcontroller that Cortex-M3 is kernel, it is encapsulated as LQFP64, most high workload dominant frequency is 108Mhz, presently, main control MCU module cost performance is the highest, both can guarantee that internal Flash reaches heap(ed) capacity, can guarantee that again main control MCU module dimensioned area is minimum.
Furthermore, SWD interface also has program debugging function on software protocol, for off-line cd-rom recorder, objective chip is carried out program debugging, so makes it possess three kinds of functions: off-line burning, source update and program debugging.
Therefore the off-line cd-rom recorder of the present invention is not only multiple functional, and the little scene of being easy to of volume is carried, and low price, interface are simple, easy to operate.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of a kind of portable multi-function off-line cd-rom recorder embodiment one of the present invention;
Fig. 2 is the structural representation of a kind of portable multi-function off-line cd-rom recorder embodiment one of the present invention;
Fig. 3 is the structured flowchart of a kind of portable multi-function off-line cd-rom recorder embodiment two of the present invention;
Fig. 4 is the structural representation of a kind of portable multi-function off-line cd-rom recorder embodiment two of the present invention.
Detailed description of the invention
Understandable for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
One of core idea of the embodiment of the present invention is in that, by being provided with the flash storage of the read-write operation of Large Copacity inside main control MCU module, for storing off-line cd-rom recorder Firmware program and source program, simultaneously to the USB interface being provided with and SWD interface, carry out agreement so that it is there is the several functions of off-line burning, source update and program debugging.
With reference to Fig. 1, it is shown that the structured flowchart of the present invention a kind of portable multi-function off-line cd-rom recorder embodiment 1, including:
Main control MCU module 101, the internal flash storage 111 being provided with the read-write operation of Large Copacity of main control MCU module 101, described flash storage 111 is used for storing off-line cd-rom recorder Firmware program and source program;
In the present embodiment, main control MCU module 101 is based on the 32-bit microcontroller that Cortex-M3 is kernel (i.e. main control MCU), choose the GD32F1 Series MCU kernel as main control MCU module 101 of certain company, its most high workload dominant frequency is 108Mhz, the speed of service making main control MCU module 101 is fast, off-line cd-rom recorder work efficiency is the highest, it is encapsulated as LQFP64, select the kernel of this kind of encapsulation, both can guarantee that internal Flash reached heap(ed) capacity 3Mbytes, can guarantee that again size of cores area is minimum, the physical size of main control MCU is 10mm × 10mm, it is highly 1.2mm, also there is the GPIO interface of 51 uses able to programme, this main control MCU cost performance is the highest, there is the flash storage 111 of Large Copacity programmable operations the inside of main control MCU, and its data storage cell is to carry out arranging and encoding according to address, and namely inside flash storage 111 capacity of main control MCU is to increase according to base address.
Described main control MCU module 101 is additionally provided with usb 1 12, for carrying out data exchange with other external equipment;
Usb 1 12 specifically includes that physical interface and protocol interface, main control MCU has USB2.0FullSpeed physical interface: Data+, Data-, interface signal Data+, Data-are drawn out on USB-B port, add GND and VBUS signal, USB-B physical interface can be realized;Main control MCU is programmable microcontroller, adopt C language that main control MCU is programmed, the usb 1 12 of main control MCU is enumerated into the HID class of usb protocol, the HID Data Transport Protocol interface of usb 1 12 can be realized, the fastest data transmission bauds is 12Mbps, then completes source program and is transferred in the flash storage 111 within main control MCU from outside by usb 1 12.
The VBUS electric signal of described usb 1 11, standard compliant USB2.0 agreement, it is possible to by the standard USB interface of external equipment, it is provided that 5V DC source, to off-line cd-rom recorder, solves the powerup issue of off-line cd-rom recorder. The HID protocol of USB interface is stored in the flash storage 111 of main control MCU as a portion of Firmware program.
In an other optional embodiment, described main control MCU module 101 can certainly set power supply and supply electricity to the work of described off-line cd-rom recorder.
Described main control MCU module 101 is additionally provided with SWD interface 113, for source program being burnt in the Flash3 memorizer of objective chip, for debugging the program in objective chip Flash3 memorizer, and for the source program updated being needed by described flash storage being transferred in objective chip Flash3 memorizer;
SWD interface described in the present embodiment 113 is as program off-line burning and program debugging interface, SWD interface 113 specifically includes that SWDIO and SWDCLK physically, the two physical interface has only to take 2 GPIO of main control MCU and can solve, except physical interface, it is still necessary to software protocol realizes the protocol interface of SWD interface 113.
The agreement of SWD interface 113 is a kind of standard agreement, its source code CMSIS-DAP is obtained by ARM company, C language is adopted to be programmed main control MCU being transplanted in the flash storage 111 of main control MCU by CMSIS-DAP source code, main control MCU is made to have SWD interface 113 function of standard, in such flash storage 111, the source program of storage can be transferred in objective chip by SWDIO and SWDCLK the two GPIO, it is achieved program off-line download function.
Described SWD interface 113 also has program debugging function on software protocol, for described off-line cd-rom recorder, objective chip is carried out program debugging, need in the IDE environment supported, such as this microcontroller exploitation IDE conventional in two of Keil and IAR, the CMSIS-DAPDebugPort of SWD interface 113 is provided, by CMSIS-DAPDebugPort, objective chip just can be carried out program debugging by the off-line cd-rom recorder described in the present embodiment. The CMSIS-DAP agreement of SWD interface 113 is stored in the flash storage 111 of main control MCU as a portion of Firmware program.
In an other optional embodiment, it can be JTAG standard interface from the interface that ARM company obtains that described main control MCU module 101 is additionally provided with other, owing to jtag interface needs 5 signaling interfaces: TMS, TCK, TDI, TDO, TRST, from physical interface, jtag interface needs to take more hardware resource than SWD interface 113.
Command reception performs module 102, perform source program off-line is burnt to the function in the Flash3 memorizer of objective chip for command reception, or perform to debug the function of the program in objective chip Flash3 memorizer for command reception, or perform to need the source program updated to be transferred to the function in the Flash of described main control MCU module by miscellaneous equipment for command reception.
With reference to Fig. 2, preferably, described command reception performs module 102 and includes button, it is connected with described main control MCU module 101, for performing the function being burnt to by source program in the Flash3 memorizer of objective chip, or perform the source program updated to be needed to be transferred to the function in the Flash of described main control MCU module by miscellaneous equipment.
In order to embody the easy and simple to handle of the present embodiment, only using a button as human-computer interaction interface, the control software design of this part is stored in the flash storage 111 of main control MCU as a portion of Firmware program.
Button mainly realizes renewal and the off-line download function of source program:
With reference to key-press status in Fig. 2, during off-line cd-rom recorder energising duty, button is pressed, key-press status is become 0 by 1, in flash storage 111, the Firmware program of storage changes according to key-press status, performing off-line burning function, in the inside flash storage 111 of main control MCU, the source program of storage can be burnt in the Flash3 memorizer of objective chip by SWD interface 112.
Off-line cd-rom recorder does not have under "on" position, button is first pressed, then it is energized to cd-rom recorder again, button disconnects again, key-press status is become 1 by 0, and in flash storage 111, the Firmware program of storage performs the more New function of source program, by usb 1 12, needing the source program updated by the inside flash storage 111 of external transmission to main control MCU, the source program updated finally by 113, SWD interface is transferred in objective chip Flash3 memorizer.
Running status display module 103, display for the running status that source program is burnt in the Flash3 memorizer of objective chip by described off-line cd-rom recorder, or the display of the running status for the program in described off-line cd-rom recorder debugging objective chip Flash3 memorizer, or the display of the running status source program needing renewal being transferred in the Flash of described main control MCU module by miscellaneous equipment for described off-line cd-rom recorder.
Burning process is monitored by the main control MCU of described off-line cd-rom recorder in real time, it is ensured that off-line burning process is correct.
With reference to Fig. 2, preferably, described running status display module 103, including LED, display for the running status that source program is burnt in the Flash3 memorizer of objective chip by described off-line cd-rom recorder, for the display of the running status of the program in described off-line cd-rom recorder debugging objective chip Flash3 memorizer, and the display of the running status source program needing renewal being transferred in the Flash of described main control MCU module by miscellaneous equipment for described off-line cd-rom recorder.
In order to embody the profit easy and simple to handle of the present embodiment, only using 4 LED as human-computer interaction interface, the control software design of this part is stored in the flash storage 111 of main control MCU as a portion of Firmware program.
In the present embodiment, mainly include 4 LED, be respectively designated as LED1, LED2, LED3, LED4. Respectively through the these three state of lighting, extinguish and glimmer of LED to indicate the duty of off-line cd-rom recorder.
When off-line cd-rom recorder is powered normal, LED1 lights; When using off-line cd-rom recorder debugging routine, LED2 lights; When using off-line debugger single-step debug program, LED3 lights; When using button off-line to download, the first flicker of LED4, finally to light, representation program off-line is downloaded successfully.
In an other optional embodiment, described running status display module 103, including buzzer, display for the running status that source program is burnt in the Flash3 memorizer of objective chip by described off-line cd-rom recorder, for the display of the running status of the program in described off-line cd-rom recorder debugging objective chip Flash3 memorizer, and the display of the running status source program needing renewal being transferred in the Flash of described main control MCU module by miscellaneous equipment for described off-line cd-rom recorder.
With reference to Fig. 3, illustrate the structured flowchart of the present invention a kind of portable multi-function off-line cd-rom recorder embodiment 2, the present embodiment is distinctive in that relative to embodiment 1, described flash storage 211 division operation, Flash1 memorizer 2112 and Flash2 memorizer 2111 Liang Ge district it is divided into according to physical address, described Flash1 memorizer 2112 stores off-line cd-rom recorder Firmware program, described Firmware program makes the function that described off-line cd-rom recorder has include source update, usb function realizes, SWD interface function realizes, off-line burning, program debugging, command reception performs and running status shows, Flash2 memorizer 2111 stores source program. improve operational efficiency and the operation stability of off-line cd-rom recorder of the present invention, in a word, improve performance and the quality of off-line cd-rom recorder.
Including:
Main control MCU module 201, the internal flash storage 211 being provided with the read-write operation of Large Copacity of main control MCU module 201, described flash storage 211 is used for storing off-line cd-rom recorder Firmware program and source program;
In the present embodiment, main control MCU module 201 is based on the 32-bit microcontroller that Cortex-M3 is kernel (i.e. main control MCU), choose the GD32F1 Series MCU kernel as main control MCU module 201 of certain company, its most high workload dominant frequency is 108Mhz, the speed of service making main control MCU module 201 is fast, off-line cd-rom recorder work efficiency is the highest, it is encapsulated as LQFP64, select the kernel of this kind of encapsulation, both can guarantee that internal Flash reached heap(ed) capacity 3Mbytes, can guarantee that again size of cores area is minimum, the physical size of main control MCU is 10mm × 10mm, it is highly 1.2mm, also there is the GPIO interface of 51 uses able to programme, this main control MCU cost performance is the highest, there is the flash storage 211 of Large Copacity programmable operations the inside of main control MCU, and its data storage cell is to carry out arranging and encoding according to address, and namely inside flash storage 211 capacity of main control MCU is to increase according to base address.
Preferably, described flash storage 211 division operation, Flash1 memorizer 2112 and Flash2 memorizer 2111 Liang Ge district it is divided into according to physical address, in described Flash1 memorizer 2112 store off-line cd-rom recorder Firmware program, described Firmware program make the function that described off-line cd-rom recorder has include source update, usb function realizations, the realization of SWD interface function, off-line burning, program debugging, command reception execution and running status show; Flash2 memorizer 2111 stores source program.
Exterior storage medium problem is needed for solving conventional offline cd-rom recorder, in the present embodiment, utilize and inside main control MCU, have this characteristic of high capability flash memorizer 211, flash storage 211 is divided into Liang Ge district, according to start address and end address, flash storage 211 is divided into Liang Ge Flash district: Flash1 memorizer 2112 and Flash2 memorizer 2111, the two Flash district is individually present, in the present embodiment, Flash1 memorizer 2112 address section is 0x08000000-0x08002000, capacity amounts to 128Kbytes, it is used for storing off-line cd-rom recorder Firmware program, Flash2 memorizer 2111 address section is 0x08002000 space above, it is used for depositing source program, Flash2 memorizer 2111 district capacity is more than 2Mbytes, the objective chip demand in market existing more than 95% can be met.
Function is utilized, it is necessary to update source program according to different objective chip demands, namely the data in Flash2 memorizer 2111 district are updated in order to realize the repeatable of the present embodiment.The present embodiment uses USB interface 212 as data transmission channel.
Described main control MCU module 201 is additionally provided with USB interface 212, for carrying out data exchange with other external equipment;
USB interface 212 specifically includes that physical interface and protocol interface, main control MCU has USB2.0FullSpeed physical interface: Data+, Data-, interface signal Data+, Data-are drawn out on USB-B port, add GND and VBUS signal, USB-B physical interface function can be realized; Main control MCU is programmable microcontroller, adopt C language that main control MCU is programmed, the USB interface 212 of main control MCU is enumerated into the HID class of usb protocol, the HID Data Transport Protocol interface of USB interface 212 can be realized, the fastest data transmission bauds is 12Mbps, then completes source program and is transferred in the Flash2 memorizer 2111 within main control MCU from outside by USB interface 212.
The VBUS electric signal of described USB interface 212, standard compliant USB2.0 agreement, by the standard USB interface of external equipment, it is provided that 5V DC source, to off-line cd-rom recorder, solves the powerup issue of off-line cd-rom recorder. The HID protocol of USB interface 212 is stored in the Flash1 memorizer 2112 of main control MCU as a portion of Firmware program.
In an other optional embodiment, described main control MCU module 201 can certainly set power supply and supply electricity to the work of described off-line cd-rom recorder.
Described main control MCU module 201 is additionally provided with SWD interface 213, for source program being burnt in the Flash3 memorizer of objective chip, for debugging the program in objective chip Flash3 memorizer, and for the source program updated being needed to be transferred in objective chip Flash3 memorizer by described Flash2 memorizer 2111;
SWD interface described in the present embodiment 213 is as program off-line burning and program debugging interface, SWD interface 213 specifically includes that SWDIO and SWDCLK physically, the two physical interface has only to take 2 GPIO of main control MCU and can solve, except physical interface, it is still necessary to software protocol realizes the protocol interface of SWD interface 213.
The agreement of SWD interface 213 is a kind of standard agreement, its source code CMSIS-DAP is obtained by ARM company, C language is adopted to be programmed main control MCU being transplanted in the Flash1 memorizer 2112 of main control MCU by CMSIS-DAP source code, main control MCU is made to have SWD interface 213 function of standard, in such Flash2 memorizer 2111, the source program of storage can be transferred in objective chip by SWDIO and SWDCLK the two GPIO, it is achieved program off-line download function.
Described SWD interface 213 also has program debugging function on software protocol, for described off-line cd-rom recorder, objective chip is carried out program debugging, need in the IDE environment supported, such as this microcontroller exploitation IDE conventional in two of Keil and IAR, the CMSIS-DAPDebugPort of SWD interface 213 is provided, by CMSIS-DAPDebugPort, objective chip just can be carried out program debugging by the off-line cd-rom recorder described in the present embodiment. The CMSIS-DAP agreement of SWD interface 213 is stored in the Flash1 memorizer 2112 of main control MCU as a portion of Firmware program.
In an other optional embodiment, it can be JTAG standard interface from the interface that ARM company obtains that described main control MCU module 201 is additionally provided with other, owing to jtag interface needs 5 signaling interfaces: TMS, TCK, TDI, TDO, TRST, from physical interface, jtag interface needs to take more hardware resource than SWD interface 113.
Command reception performs module 202, perform source program off-line is burnt to the function in the Flash3 memorizer of objective chip for command reception, or perform to debug the function of the program in objective chip Flash3 memorizer for command reception, or perform to need the source program updated to be transferred to the function in the Flash2 memorizer 2111 of described main control MCU module by miscellaneous equipment for command reception.
With reference to Fig. 4, preferably, described command reception performs module 202 and includes button, it is connected with described main control MCU module 201, for performing the function being burnt to by source program in the Flash3 memorizer of objective chip, or perform the source program updated to be needed to be transferred to the function in the Flash2 memorizer 2111 of described main control MCU module by miscellaneous equipment.
In order to embody the easy and simple to handle of the present embodiment, only using a button as human-computer interaction interface, the control software design of this part is stored in the Flash1 memorizer 2112 of main control MCU as a portion of Firmware program.
Button mainly realizes renewal and the off-line download function of source program:
With reference to key-press status in Fig. 4, during off-line cd-rom recorder energising duty, button is pressed, key-press status is become 0 by 1, in Flash1 memorizer 2112, the Firmware program of storage changes according to key-press status, performing off-line burning function, in the inside Flash2 memorizer 2111 of main control MCU, the source program of storage can be burnt in the Flash3 memorizer of objective chip by SWD interface 213.
Off-line cd-rom recorder does not have under "on" position, button is first pressed, then it is energized to cd-rom recorder again, button disconnects again, key-press status is become the Firmware program of storage in 1, Flash1 memorizer 2112 by 0 and performs the more New function of source program, by USB interface 212, needing the source program updated by the inside Flash2 memorizer 2111 of external transmission to main control MCU, the source program updated finally by 213, SWD interface is transferred in objective chip Flash3 memorizer.
Running status display module 203, display for the running status that source program is burnt in the Flash3 memorizer of objective chip by described off-line cd-rom recorder, or the display of the running status for the program in described off-line cd-rom recorder debugging objective chip Flash3 memorizer, or the display of the running status source program needing renewal being transferred in the Flash2 memorizer 2111 of described main control MCU module by miscellaneous equipment for described off-line cd-rom recorder.
Burning process is monitored by the main control MCU of described off-line cd-rom recorder in real time, it is ensured that off-line burning process is correct.
With reference to Fig. 4, preferably, described running status display module 203, including LED, display for the running status that source program is burnt in the Flash3 memorizer of objective chip by described off-line cd-rom recorder, for the display of the running status of the program in described off-line cd-rom recorder debugging objective chip Flash3 memorizer, and the display of the running status source program needing renewal being transferred in the Flash2 memorizer 2111 of described main control MCU module by miscellaneous equipment for described off-line cd-rom recorder.
In order to embody the profit easy and simple to handle of the present embodiment, only using 4 LED as human-computer interaction interface, the control software design of this part is stored in the Flash1 memorizer 2112 of main control MCU as a portion of Firmware program.
In the present embodiment, mainly include 4 LED, be respectively designated as LED1, LED2, LED3, LED4.Respectively through the these three state of lighting, extinguish and glimmer of LED to indicate the duty of off-line cd-rom recorder.
When off-line cd-rom recorder is powered normal, LED1 lights; When using off-line cd-rom recorder debugging routine, LED2 lights; When using off-line debugger single-step debug program, LED3 lights; When using button off-line to download, the first flicker of LED4, finally to light, representation program off-line is downloaded successfully.
In an other optional embodiment, described running status display module 203, including buzzer, display for the running status that source program is burnt in the Flash3 memorizer of objective chip by described off-line cd-rom recorder, for the display of the running status of the program in described off-line cd-rom recorder debugging objective chip Flash3 memorizer, and the display of the running status source program needing renewal being transferred in the Flash2 memorizer 2111 of described main control MCU module by miscellaneous equipment for described off-line cd-rom recorder.
Each embodiment in this specification all adopts the mode gone forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually referring to.
Above to a kind of portable multi-function off-line cd-rom recorder provided by the present invention, it is described in detail, principles of the invention and embodiment are set forth by specific case used herein, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention; Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this specification content should not be construed as limitation of the present invention.
Claims (10)
1. a portable multi-function off-line cd-rom recorder, it is characterised in that including:
Main control MCU module, is provided with the flash storage of the read-write operation of Large Copacity inside described main control MCU module, described flash storage is used for storing off-line cd-rom recorder Firmware program and source program;
Described main control MCU module is additionally provided with USB interface, for carrying out data exchange with other external equipment;
Described main control MCU module is additionally provided with SWD interface, for source program being burnt in the Flash3 memorizer of objective chip, for debugging the program in objective chip Flash3 memorizer, and for the source program updated being needed by described flash storage being transferred in objective chip Flash3 memorizer;
Command reception performs module, for command reception, source program off-line is burnt in the Flash3 memorizer of objective chip, or for the program in command reception debugging objective chip Flash3 memorizer, or the source program updated will be needed to be transferred in the Flash of described main control MCU module by miscellaneous equipment for command reception.
Running status display module, display for the running status that source program is burnt in the Flash3 memorizer of objective chip by described off-line cd-rom recorder, or the display of the running status for the program in described off-line cd-rom recorder debugging objective chip Flash3 memorizer, or the display of the running status source program needing renewal being transferred in the Flash of described main control MCU module by miscellaneous equipment for described off-line cd-rom recorder.
2. off-line cd-rom recorder as claimed in claim 1, it is characterized in that, described flash storage division operation, Flash1 memorizer and Flash2 memorizer Liang Ge district it is divided into according to physical address, in described Flash1 memorizer store off-line cd-rom recorder Firmware program, described Firmware program enable described off-line cd-rom recorder complete source update, USB interface realizations, the realization of SWD interface, off-line burning, command reception execution and running status show;Flash2 memorizer stores source program.
3. off-line cd-rom recorder as claimed in claim 1 or 2, it is characterised in that described main control MCU module is based on the 32-bit microcontroller that Cortex-M3 is kernel, is encapsulated as LQFP64, and most high workload dominant frequency is 108Mhz.
4. off-line cd-rom recorder as claimed in claim 3, it is characterized in that, described command reception performs module and includes button, it is connected with described main control MCU module, for being burnt in the Flash3 memorizer of objective chip by source program, or the source program updated will be needed to be transferred in the Flash2 of described main control MCU module by miscellaneous equipment.
5. off-line cd-rom recorder as claimed in claim 4, it is characterised in that described SWD interface can also carry out program debugging on software protocol, for described off-line cd-rom recorder, objective chip is carried out program debugging.
6. the off-line cd-rom recorder as in any of the one of claim 1,2,4,5, it is characterized in that, described running status display module, including LED, display for the running status that source program is burnt in the Flash3 memorizer of objective chip by described off-line cd-rom recorder, for the display of the running status of the program in described off-line cd-rom recorder debugging objective chip Flash3 memorizer, and the display of the running status source program needing renewal being transferred in the Flash of described main control MCU module by miscellaneous equipment for described off-line cd-rom recorder.
7. off-line cd-rom recorder as claimed in claim 3, it is characterized in that, described running status display module, including LED, display for the running status that source program is burnt in the Flash3 memorizer of objective chip by described off-line cd-rom recorder, for the display of the running status of the program in described off-line cd-rom recorder debugging objective chip Flash3 memorizer, and the display of the running status source program needing renewal being transferred in the Flash of described main control MCU module by miscellaneous equipment for described off-line cd-rom recorder.
8. the off-line cd-rom recorder as in any of the one of claim 1,2,4,5,7, it is characterized in that, the VBUS electric signal of described USB interface also is compliant with the USB2.0 agreement of standard, by the standard USB interface of external equipment, for providing DC source for described off-line cd-rom recorder.
9. off-line cd-rom recorder as claimed in claim 3, it is characterised in that the VBUS electric signal of described USB interface also is compliant with the USB2.0 agreement of standard, by the standard USB interface of external equipment, for providing DC source for described off-line cd-rom recorder.
10. off-line cd-rom recorder as claimed in claim 6, it is characterised in that the VBUS electric signal of described USB interface also is compliant with the USB2.0 agreement of standard, by the standard USB interface of external equipment, for providing DC source for described off-line cd-rom recorder.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511032642.0A CN105679366B (en) | 2015-12-31 | 2015-12-31 | Portable multifunctional off-line recorder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511032642.0A CN105679366B (en) | 2015-12-31 | 2015-12-31 | Portable multifunctional off-line recorder |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105679366A true CN105679366A (en) | 2016-06-15 |
CN105679366B CN105679366B (en) | 2020-01-21 |
Family
ID=56298549
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511032642.0A Active CN105679366B (en) | 2015-12-31 | 2015-12-31 | Portable multifunctional off-line recorder |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105679366B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106843960A (en) * | 2017-01-18 | 2017-06-13 | 深圳市视显光电技术有限公司 | A kind of offline burning device of LCD logic cards software and method |
CN106950875A (en) * | 2017-03-17 | 2017-07-14 | 北京虹电科技有限公司 | A kind of embedded programming device and its fixture system |
CN107451495A (en) * | 2017-08-07 | 2017-12-08 | 珠海格力电器股份有限公司 | Method, device and chip for protecting stored data |
CN108563452A (en) * | 2018-03-09 | 2018-09-21 | 南昌市科陆智能电网科技有限公司 | A kind of method and system of embedded scm automatic online programming program |
CN109783116A (en) * | 2019-01-15 | 2019-05-21 | 宁波锦浪新能源科技股份有限公司 | A kind of portable DSP cd-rom recorder based on serial ports |
CN110895465A (en) * | 2018-10-31 | 2020-03-20 | 研祥智能科技股份有限公司 | Digital power supply chip burning method |
CN110895466A (en) * | 2018-10-31 | 2020-03-20 | 研祥智能科技股份有限公司 | Digital power supply chip burning tool and burning system |
CN112214428A (en) * | 2020-10-26 | 2021-01-12 | 中国兵器工业集团第二一四研究所苏州研发中心 | Control method of embedded flash memory |
CN112596767A (en) * | 2020-12-16 | 2021-04-02 | 安徽阿瑞特汽车电子科技有限公司 | CAN burns record portable device |
US11113226B2 (en) | 2019-08-30 | 2021-09-07 | Shenzhen GOODIX Technology Co., Ltd. | Firmware burning apparatus and system |
CN113849358A (en) * | 2021-09-18 | 2021-12-28 | 北京计算机技术及应用研究所 | Design method of portable integrated interface debugging equipment |
CN114816448A (en) * | 2022-03-17 | 2022-07-29 | 广州市星翼电子科技有限公司 | Multifunctional offline downloader |
CN114816448B (en) * | 2022-03-17 | 2024-07-23 | 广州市星翼电子科技有限公司 | Multifunctional offline downloader |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101452745B (en) * | 2007-11-30 | 2011-08-31 | 无锡华润矽科微电子有限公司 | Programmer and programming method thereof |
US8977534B2 (en) * | 2011-03-15 | 2015-03-10 | Omron Corporation | Controller support apparatus, controller support program executed on the apparatus, storage medium storing the program, and method of estimating execution time of control program |
CN105204393A (en) * | 2015-08-13 | 2015-12-30 | 彭增金 | Single-chip microcomputer production research and development tool based on virtual nucleus single-chip microcomputer and realization method thereof |
-
2015
- 2015-12-31 CN CN201511032642.0A patent/CN105679366B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101452745B (en) * | 2007-11-30 | 2011-08-31 | 无锡华润矽科微电子有限公司 | Programmer and programming method thereof |
US8977534B2 (en) * | 2011-03-15 | 2015-03-10 | Omron Corporation | Controller support apparatus, controller support program executed on the apparatus, storage medium storing the program, and method of estimating execution time of control program |
CN105204393A (en) * | 2015-08-13 | 2015-12-30 | 彭增金 | Single-chip microcomputer production research and development tool based on virtual nucleus single-chip microcomputer and realization method thereof |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106843960A (en) * | 2017-01-18 | 2017-06-13 | 深圳市视显光电技术有限公司 | A kind of offline burning device of LCD logic cards software and method |
CN106950875A (en) * | 2017-03-17 | 2017-07-14 | 北京虹电科技有限公司 | A kind of embedded programming device and its fixture system |
CN106950875B (en) * | 2017-03-17 | 2023-05-23 | 科芯(天津)生态农业科技有限公司 | Embedded programmer and tooling system thereof |
CN107451495B (en) * | 2017-08-07 | 2021-02-09 | 珠海格力电器股份有限公司 | Method, device and chip for protecting stored data |
CN107451495A (en) * | 2017-08-07 | 2017-12-08 | 珠海格力电器股份有限公司 | Method, device and chip for protecting stored data |
CN108563452A (en) * | 2018-03-09 | 2018-09-21 | 南昌市科陆智能电网科技有限公司 | A kind of method and system of embedded scm automatic online programming program |
CN110895465A (en) * | 2018-10-31 | 2020-03-20 | 研祥智能科技股份有限公司 | Digital power supply chip burning method |
CN110895466A (en) * | 2018-10-31 | 2020-03-20 | 研祥智能科技股份有限公司 | Digital power supply chip burning tool and burning system |
CN109783116A (en) * | 2019-01-15 | 2019-05-21 | 宁波锦浪新能源科技股份有限公司 | A kind of portable DSP cd-rom recorder based on serial ports |
US11113226B2 (en) | 2019-08-30 | 2021-09-07 | Shenzhen GOODIX Technology Co., Ltd. | Firmware burning apparatus and system |
CN112214428A (en) * | 2020-10-26 | 2021-01-12 | 中国兵器工业集团第二一四研究所苏州研发中心 | Control method of embedded flash memory |
CN112596767A (en) * | 2020-12-16 | 2021-04-02 | 安徽阿瑞特汽车电子科技有限公司 | CAN burns record portable device |
CN112596767B (en) * | 2020-12-16 | 2024-05-03 | 安徽阿瑞特汽车电子科技有限公司 | CAN burns record portable device |
CN113849358A (en) * | 2021-09-18 | 2021-12-28 | 北京计算机技术及应用研究所 | Design method of portable integrated interface debugging equipment |
CN114816448A (en) * | 2022-03-17 | 2022-07-29 | 广州市星翼电子科技有限公司 | Multifunctional offline downloader |
CN114816448B (en) * | 2022-03-17 | 2024-07-23 | 广州市星翼电子科技有限公司 | Multifunctional offline downloader |
Also Published As
Publication number | Publication date |
---|---|
CN105679366B (en) | 2020-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105679366A (en) | Portable multifunctional offline programmer | |
CN105760186A (en) | Expandable modular multi-channel off-line programmer | |
CN204904716U (en) | Electron perpetual calendar based on singlechip | |
CN102801818A (en) | Universal sensor interface acquisition system based on ZigBee technology | |
CN106647519A (en) | Multifunctional USB-JTAG interface FPGA download line based on single-chip microcomputer | |
CN102622257A (en) | On-line meter self-updating method and device | |
CN106950875A (en) | A kind of embedded programming device and its fixture system | |
CN110968329A (en) | Burner and operation method and burning system thereof | |
CN204117134U (en) | A kind of electric-controlled plate wireless transmission programmer | |
CN208654779U (en) | A kind of firmware based on multiple types bus more new system offline | |
CN110058542A (en) | A kind of development platform device based on ARM9260 | |
CN102510642A (en) | Non-volatile LED (Light Emitting Diode) lamp operation data recording method based on Internet of things | |
CN101105766A (en) | Storage device with capacity indication function | |
CN201974798U (en) | Television off-line upgrading tool | |
CN208367625U (en) | SMBus bus-based electric quantity state display module | |
CN204117091U (en) | A kind of computing machine uninterrupted power supply mechanism | |
CN208904883U (en) | Portable PLC program download apparatus | |
CN202748777U (en) | On-line singlechip debugging system | |
CN103530262A (en) | Multifunctional download line with USB interface | |
CN101930381A (en) | Debugging system of server | |
CN201576195U (en) | ARM-based multifunctional intelligent control terminal | |
CN201489641U (en) | Flash alarm system | |
CN103760791B (en) | A kind of general development device of automobile combination meter | |
CN110289042A (en) | EMMC chip test system | |
CN108646905A (en) | SMBus bus-based electric quantity state display module |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Room 101, Floor 1-5, Building 8, Yard 9, Fenghao East Road, Haidian District, Beijing 100094 Patentee after: Zhaoyi Innovation Technology Group Co.,Ltd. Patentee after: HEFEI GEYI INTEGRATED CIRCUIT Co.,Ltd. Address before: 100083 12 Floors, Block A, Tiangong Building, Science and Technology University, 30 College Road, Haidian District, Beijing Patentee before: GIGADEVICE SEMICONDUCTOR(BEIJING) Inc. Patentee before: HEFEI GEYI INTEGRATED CIRCUIT Co.,Ltd. |
|
CP03 | Change of name, title or address |