CN104063249A - Off-line downloading device for program and downloading method thereof - Google Patents

Off-line downloading device for program and downloading method thereof Download PDF

Info

Publication number
CN104063249A
CN104063249A CN201410306084.1A CN201410306084A CN104063249A CN 104063249 A CN104063249 A CN 104063249A CN 201410306084 A CN201410306084 A CN 201410306084A CN 104063249 A CN104063249 A CN 104063249A
Authority
CN
China
Prior art keywords
serial port
module
chip microcomputer
program
chip
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
CN201410306084.1A
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.)
Nantong Guo Xin Microtronics AS
Original Assignee
Nantong Guo Xin Microtronics AS
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 Nantong Guo Xin Microtronics AS filed Critical Nantong Guo Xin Microtronics AS
Priority to CN201410306084.1A priority Critical patent/CN104063249A/en
Publication of CN104063249A publication Critical patent/CN104063249A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to an off-line downloading device for a program and a downloading method thereof. The off-line downloading device comprises a serial port module and a single-chip microcomputer, wherein the input end of the serial port module is connected to a computer for converting a downloaded data module of a computer to a serial port data module; the input end of the single-chip microcomputer is connected to the output end of the serial port module, the output end of the single-chip microcomputer is connected to the input end of a target chip for storing and controlling the serial port data module in the serial port module to be written in the target chip. According to the off-line downloading device, the single-chip microcomputer is electrically connected to the computer through the serial port module, a program data module is downloaded to the single-chip microcomputer, the single-chip microcomputer and the computer are disconnected, and the program data module is written in the target chip, so that the function of off-line downloading is more conveniently implemented without the computer.

Description

A kind of program off line download apparatus and method for down loading thereof
Technical field
The present invention relates to a kind of program off line download apparatus and method for down loading thereof.
Background technology
Along with scientific and technological development, electronic product is more and more universal.In prior art, be generally to utilize computer that program is downloaded in objective chip and is used for electronic product, the cost of computer is high, and volume is larger, is inconvenient to carry, and makes troubles in process of production.
Summary of the invention
The object of the invention is to overcome the defect that prior art exists, a kind of program off line download apparatus and method for down loading thereof are provided.
The technical scheme that realizes the object of the invention is: a kind of program off line download apparatus, comprising:
Serial port module, the input end of described serial port module is connected with computer, and the data module of downloading computer is converted to serial data module;
Single-chip microcomputer, the input end of described single-chip microcomputer is connected with the output terminal of described serial port module, and the output terminal of described single-chip microcomputer is connected with the input end of objective chip, and the serial data module of storing and controlling in serial port module writes in objective chip.
Further, described serial port module comprises serial ports joint, serial port chip and connector, and described serial ports joint and described connector are all connected electrically in described serial port chip, and described serial ports joint is also electrically connected to described single-chip microcomputer, and described connector is also connected with computer.
Further, described connector is 4pin connector or USB connector.
Further, between described single-chip microcomputer and described objective chip, be also connected with download time limiter.
Further, be also provided with the peripheral memory being connected with described single-chip microcomputer.
Further, be also provided with shell, described shell arranged outside has snap close, and described serial port module and described single-chip microcomputer are arranged at described enclosure.
Further, on described shell, be provided with the draw-in groove of installation targets chip, a described draw-in groove end opening along its length, the described draw-in groove other end is along its length outside arc-shaped protrusions.
Further, a kind of program off line method for down loading, is characterized in that, comprises the following steps:
S1, the routine data module in computer is downloaded in serial port module;
S2, serial port module and computer disconnect, and serial port module is converted to said procedure data module serial data module and sends single-chip microcomputer to;
S3, single-chip microcomputer are stored and are controlled said procedure data module and write in objective chip.
Further, described S1 will be downloaded in serial port module with the download time limiting module of routine data module binding in computer, if described S3 writes once, download time limiting module is corresponding reduces once, until the limited number of times of download time limiting module is zero.
Further, if described S3 writes once, download time limiter is corresponding reduces once, until the limited number of times of download time limiter is zero.
The present invention has positive effect: in the present invention, serial port module is electrically connected to single-chip microcomputer with computer, routine data module is downloaded in single-chip microcomputer, single-chip microcomputer and computer disconnect and routine data module are write in objective chip, do not need computer can realize the function that off line is downloaded, convenient.
Accompanying drawing explanation
For content of the present invention is more easily expressly understood, according to specific embodiment also by reference to the accompanying drawings, the present invention is further detailed explanation below, wherein:
Fig. 1 is structured flowchart of the present invention;
Fig. 2 is the structural representation of serial port module of the present invention.
Wherein: 1, serial ports joint, 2, serial port chip, 3, connector.
Embodiment
As shown in Figure 1, as the first preferred implementation, present embodiment provides a kind of program off line download apparatus, comprising:
Serial port module, the input end of serial port module is connected with computer, and the data module of downloading computer is converted to serial data module;
Single-chip microcomputer, the input end of single-chip microcomputer is connected with the output terminal of serial port module, and the output terminal of single-chip microcomputer is connected with the input end of objective chip, and the serial data module of storing and controlling in serial port module writes in objective chip.
As shown in Figure 2, the serial port module that present embodiment provides comprises serial ports joint 1, serial port chip 2 and connector 3, serial ports joint 1 and connector 3 are all connected electrically in serial port chip 2, serial ports joint 1 is also electrically connected to single-chip microcomputer, connector 3 is also connected with computer, and the connector of present embodiment is 4pin connector or USB connector.
Present embodiment also provides a kind of program off line method for down loading, comprises the following steps:
S1, the routine data module in computer is downloaded in serial port module;
S2, serial port module and computer disconnect, and serial port module is converted to said procedure data module serial data module and sends single-chip microcomputer to;
S3, single-chip microcomputer are stored and are controlled said procedure data module and write in objective chip.
In present embodiment, serial port module is electrically connected to single-chip microcomputer with computer, routine data module is downloaded in single-chip microcomputer, single-chip microcomputer and computer disconnect and routine data module are write in objective chip, do not need computer can realize the function that off line is downloaded, convenient.
As the second preferred implementation, on the basis of the first embodiment, present embodiment is also provided with the peripheral memory being connected with single-chip microcomputer.
Present embodiment also provides a kind of program off line method for down loading, comprises the following steps:
S1, the routine data module in computer is downloaded in serial port module;
S2, serial port module and computer disconnect, serial port module said procedure data module is converted to serial data module and send single-chip microcomputer to and peripheral memory in;
S3, single-chip microcomputer are stored and are controlled said procedure data module and write in objective chip.
As the 3rd preferred implementation, on the basis of the first or second embodiment, present embodiment is also provided with shell, and shell arranged outside has snap close, and serial port module and single-chip microcomputer are arranged at enclosure.The shell that present embodiment increases can anti-sealing splashes on single-chip microcomputer and causes damage, and snap close can be locked in somewhere by this program off line download apparatus, thereby prevents that stolen loss from stealing the routine data in single-chip microcomputer.
On the shell that present embodiment provides, be provided with the draw-in groove of installation targets chip, a draw-in groove end opening along its length, the draw-in groove other end is along its length outside arc-shaped protrusions, facilitates taking of objective chip.
Present embodiment also provides a kind of program off line method for down loading, comprises the following steps:
S1, by computer, bind routine data module and download time limiting module be downloaded in serial port module;
S2, serial port module and computer disconnect, serial port module said procedure data module is converted to serial data module and send single-chip microcomputer to and peripheral memory in;
S3, single-chip microcomputer are stored and are controlled said procedure data module and write in objective chip; If write once, download time limiting module is corresponding reduces once, until the limited number of times of download time limiting module is zero.
In present embodiment, computer, by routine data module and the binding of download time number limiting module, can limit the number of times that off line is downloaded, and prevents the abuse of program, safer.
As the 4th preferred implementation, between the single-chip microcomputer that present embodiment provides and objective chip, be also connected with download time limiter.
Present embodiment also provides a kind of program off line method for down loading, comprises the following steps:
S1, the routine data module in computer is downloaded in serial port module;
S2, serial port module and computer disconnect, and serial port module is converted to said procedure data module serial data module and sends in single-chip microcomputer;
S3, single-chip microcomputer are stored and are controlled said procedure data module and write in objective chip; If write once, download time limiter is corresponding reduces once, until the limited number of times of download time limiter is zero.
Present embodiment, as another embodiment, realizes the function of restriction off line download time, prevents the abuse of program, safer.
Above-described specific embodiment; object of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only specific embodiments of the invention; be not limited to the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a program off line download apparatus, is characterized in that, comprising:
Serial port module, the input end of described serial port module is connected with computer, and the data module of downloading computer is converted to serial data module;
Single-chip microcomputer, the input end of described single-chip microcomputer is connected with the output terminal of described serial port module, and the output terminal of described single-chip microcomputer is connected with the input end of objective chip, and the serial data module of storing and controlling in serial port module writes in objective chip.
2. program off line download apparatus according to claim 1, it is characterized in that, described serial port module comprises serial ports joint, serial port chip and connector, described serial ports joint and described connector are all connected electrically in described serial port chip, described serial ports joint is also electrically connected to described single-chip microcomputer, and described connector is also connected with computer.
3. program off line download apparatus according to claim 2, is characterized in that, described connector is 4pin connector or USB connector.
4. program off line download apparatus according to claim 1, is characterized in that, between described single-chip microcomputer and described objective chip, is also connected with download time limiter.
5. program off line download apparatus claimed in claim 1, is characterized in that, is also provided with the peripheral memory being connected with described single-chip microcomputer.
6. according to program off line download apparatus claimed in claim 1, it is characterized in that, be also provided with shell, described shell arranged outside has snap close, and described serial port module and described single-chip microcomputer are arranged at described enclosure.
7. according to program off line download apparatus claimed in claim 6, it is characterized in that, on described shell, be provided with the draw-in groove of installation targets chip, a described draw-in groove end opening along its length, the described draw-in groove other end is along its length outside arc-shaped protrusions.
8. the program off line method for down loading as described in as arbitrary in claim 1-7, is characterized in that, comprises the following steps:
S1, the routine data module in computer is downloaded in serial port module;
S2, serial port module and computer disconnect, and serial port module is converted to said procedure data module serial data module and sends single-chip microcomputer to;
S3, single-chip microcomputer are stored and are controlled said procedure data module and write in objective chip.
9. program off line method for down loading claimed in claim 8, it is characterized in that, described S1 will be downloaded in serial port module with the download time limiting module of routine data module binding in computer, if described S3 writes once, download time limiting module is corresponding reduces once, until the limited number of times of download time limiting module is zero.
10. program off line method for down loading claimed in claim 8, is characterized in that, if described S3 writes once, download time limiter is corresponding reduces once, until the limited number of times of download time limiter is zero.
CN201410306084.1A 2014-06-30 2014-06-30 Off-line downloading device for program and downloading method thereof Pending CN104063249A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410306084.1A CN104063249A (en) 2014-06-30 2014-06-30 Off-line downloading device for program and downloading method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410306084.1A CN104063249A (en) 2014-06-30 2014-06-30 Off-line downloading device for program and downloading method thereof

Publications (1)

Publication Number Publication Date
CN104063249A true CN104063249A (en) 2014-09-24

Family

ID=51550973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410306084.1A Pending CN104063249A (en) 2014-06-30 2014-06-30 Off-line downloading device for program and downloading method thereof

Country Status (1)

Country Link
CN (1) CN104063249A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657186A (en) * 2015-03-20 2015-05-27 南通国芯微电子有限公司 Novel programming method
CN104679569A (en) * 2015-03-20 2015-06-03 南通国芯微电子有限公司 Programming method
CN112214428A (en) * 2020-10-26 2021-01-12 中国兵器工业集团第二一四研究所苏州研发中心 Control method of embedded flash memory

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200983107Y (en) * 2006-12-11 2007-11-28 河南职业技术学院 Processing program downloader of digital control machine tool
CN102916805A (en) * 2012-10-31 2013-02-06 飞天诚信科技股份有限公司 Security application downloading method
CN202956753U (en) * 2012-11-05 2013-05-29 汕尾芯灵电子科技有限公司 Programming device and programming system of flash memory chip in embedded system
CN203070282U (en) * 2013-01-30 2013-07-17 吴江市博众精工科技有限公司 Serial port module device for singlechip
CN203966105U (en) * 2014-06-30 2014-11-26 南通国芯微电子有限公司 A kind of program off line download apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200983107Y (en) * 2006-12-11 2007-11-28 河南职业技术学院 Processing program downloader of digital control machine tool
CN102916805A (en) * 2012-10-31 2013-02-06 飞天诚信科技股份有限公司 Security application downloading method
CN202956753U (en) * 2012-11-05 2013-05-29 汕尾芯灵电子科技有限公司 Programming device and programming system of flash memory chip in embedded system
CN203070282U (en) * 2013-01-30 2013-07-17 吴江市博众精工科技有限公司 Serial port module device for singlechip
CN203966105U (en) * 2014-06-30 2014-11-26 南通国芯微电子有限公司 A kind of program off line download apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657186A (en) * 2015-03-20 2015-05-27 南通国芯微电子有限公司 Novel programming method
CN104679569A (en) * 2015-03-20 2015-06-03 南通国芯微电子有限公司 Programming method
CN112214428A (en) * 2020-10-26 2021-01-12 中国兵器工业集团第二一四研究所苏州研发中心 Control method of embedded flash memory

Similar Documents

Publication Publication Date Title
CN102981990B (en) Data transmission method and device of terminal equipment with Androild platform
RU2008116377A (en) DATA RECEIVER, DATA TRANSMITTER AND METHOD FOR PROCESSING INFORMATION AND COMPUTER PROGRAM
CN104063249A (en) Off-line downloading device for program and downloading method thereof
TWI620068B (en) Universal serial bus hub with multiple hosts supported and automobile head unit using the same
CN203966105U (en) A kind of program off line download apparatus
TWM584452U (en) Integrated electronic apparatus for data access, data transmission and power management
CN103530065A (en) Storage control method
US20140298319A1 (en) Method for installing operating system on electronic device
CN204119337U (en) A kind of hunting camera of built Bluetooth module
EP2339545B1 (en) USB non-volatile memory system for an electronic engine controller
US20090138673A1 (en) Internal memory mapped external memory interface
US20170272378A1 (en) Network Communication Apparatus and Electronic Apparatus
US20160266912A1 (en) External devices, electronic devices, methods for starting external devices, and methods for data processing
CN206312120U (en) A kind of mobile device software update apparatus
CN110788458A (en) Control method and system of stud welding equipment, storage medium and electronic equipment
US20200410085A1 (en) Usb mass storage device access control method and access control apparatus
CN103902231A (en) Method and system for accessing data of mobile storage device
CN102147766B (en) Method for maintaining TCP (Transmission Control Protocol) stream table structure and unordered buffer area
TWI728363B (en) Integrated electronic apparatus for data access, data transmission and power management and method thereof
CN110913298A (en) Earphone device, communication method, system and computer readable storage medium
US20140040511A1 (en) Portable data storage device with wireless functionality having a digital switch circuit and a method for storing data in the aforementioned
CN104238424A (en) Electrical equipment logical control device and control method thereof
CN103226479A (en) Electronic device system and electronic device
CN201859435U (en) Switching device with PCI Express interface
JP3124423U (en) Conversion device for setting standard specifications with different I / O terminals

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Zilang Road, Chongchuan District 226004 Jiangsu city of Nantong province No. 28 Building 5 layer 1-4

Applicant after: Jiangsu Guoxin Technology Co., Ltd.

Address before: 226004 Jiangsu Province, Nantong City Chongchuan District Chongchuan Road No. 58, building 3, floor 4

Applicant before: Nantong Guo Xin Microtronics A/S

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20140924

RJ01 Rejection of invention patent application after publication