CN104679569A - Programming method - Google Patents

Programming method Download PDF

Info

Publication number
CN104679569A
CN104679569A CN201510126396.9A CN201510126396A CN104679569A CN 104679569 A CN104679569 A CN 104679569A CN 201510126396 A CN201510126396 A CN 201510126396A CN 104679569 A CN104679569 A CN 104679569A
Authority
CN
China
Prior art keywords
objective chip
microprocessor
data module
module
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
CN201510126396.9A
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 CN201510126396.9A priority Critical patent/CN104679569A/en
Publication of CN104679569A publication Critical patent/CN104679569A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a programming method. The programming method comprises the following steps: 1, writing a program data module in a computer into a serial port module, converting the serial port module into a serial port data module, and conveying the serial port data module to a microprocessor; 2, electrically connecting a target chip with the microprocessor, and then generating a request signal through the target chip; 3, receiving the request signal through a power management module, and switching the working voltage to the working voltage needed by the target chip according to the request signal; 4, writing the serial port data module into the target chip or storing the serial port data module into a storage chip and then writing the serial port data module into the target chip through the microprocessor. The working voltage is switched to the working voltage needed by the target chip according to the request signal of the target chip, the programming method can be applied to target chips under different working voltages, and the cost is reduced; meanwhile, programs are written into the target chip or are stored into the storage chip and then written into the target chip, so that the computer can perform online and offline programming more conveniently.

Description

A kind of programmed method
Technical field
The present invention relates to a kind of programmed method.
Background technology
Along with the development of science and technology, electronic product is more and more universal.In prior art, be generally utilize computer program to be write in objective chip to use for electronic product, the cost of computer is high, and volume is comparatively large, is inconvenient to carry, makes troubles in process of production.On the other hand, the operating voltage of objective chip is different, and a kind of programmer can only be programmed a kind of objective chip, and so just need different programmers, cost is very large.
Summary of the invention
In order to solve the problems of the technologies described above, the invention provides a kind of programmed method.
In order to achieve the above object, technical scheme of the present invention is as follows:
The invention provides a kind of programmed method, comprise the following steps:
S1, by computer routine data module write serial port module in, routine data module converts is serial data module and sends microprocessor to by serial port module;
S2, objective chip is electrically connected with microprocessor after generate request signal by objective chip;
S3, power management module receive request signal and according to this request signal, operating voltage are switched to the operating voltage of objective chip needs;
Serial data module writes in objective chip or writes in objective chip after being stored to storage chip again by S4, microprocessor.
According to the request signal of objective chip, operating voltage is switched to the operating voltage of objective chip needs in the present invention, go for the objective chip of different operating voltage, cost-saving, simultaneously, objective chip is write again after writing objective chip between program or being stored to storage chip, realize the online and offline programming of computer, convenient.
On the basis of technique scheme, also can do following improvement:
As preferred scheme, write in serial port module together with download time limiting module and routine data module being bound in above-mentioned step S1 also, if step S4 by serial data module write objective chip once, then download time limiting module reduces accordingly or increases once, until the limited number of times of download time limiting module is zero or limits number of times.
Adopt above-mentioned preferred scheme, download time limiting module and routine data module are bound by computer, can limit the number of times of download, prevent the abuse of program, safer.
As preferred scheme, also comprise:
S5, whether correct according to the serial data module of write objective chip, send correct or wrong buzzing.
Adopt above-mentioned preferred scheme, whether correct according to the serial data module of write objective chip, send correct or wrong buzzing, the correctness of programming by prompting, avoid artificial vision's fatigue that misprogrammed occurs.
As preferred scheme, in above-mentioned step S3 after objective chip powers on, voltage check device detects that objective chip is, after power-up state, programming signal is sent to microprocessor, and microprocessor is by serial data module write objective chip.
Adopt above-mentioned preferred scheme, it is that after power-up state, microprocessor, automatically to objective chip programming, realizes automated programming that voltage check device detects objective chip, convenient.
As preferred scheme, after above-mentioned microprocessor completes one-time programming, voltage check device detects objective chip again, if objective chip is power-up state, microprocessor is that waiting status is until objective chip power-off, microprocessor gets back to holding state again, and voltage check device detects next objective chip.
Adopt above-mentioned preferred scheme, realize automated programming, also avoid overprogram, more safe and reliable.
Embodiment
The following detailed description of the preferred embodiment of the present invention.
In order to reach object of the present invention, in wherein a kind of embodiment of the present invention, providing a kind of programmed method, comprise the following steps:
S1, by computer routine data module write serial port module in, routine data module converts is serial data module and sends microprocessor to by serial port module;
S2, objective chip is electrically connected with microprocessor after generate request signal by objective chip;
S3, power management module receive request signal and according to this request signal, operating voltage are switched to the operating voltage of objective chip needs;
S4, microprocessor write after serial data module stores to storage chip in objective chip again.
According to the request signal of objective chip, operating voltage is switched to the operating voltage of objective chip needs in present embodiment, go for the objective chip of different operating voltage, cost-saving, simultaneously, objective chip is write again after writing objective chip between program or being stored to storage chip, realize computer offline programming, convenient.
In order to optimize implementation result of the present invention further, in another embodiment of the invention, on the basis of foregoing teachings, write in serial port module together with download time limiting module and routine data module being bound in above-mentioned step S1 also, if step S4 by serial data module write objective chip once, then download time limiting module reduces once accordingly, until the limited number of times of download time limiting module is zero.
Adopt above-mentioned preferred scheme, download time limiting module and routine data module are bound by computer, can limit the number of times of download, prevent the abuse of program, safer.
In order to optimize implementation result of the present invention further, in another embodiment of the invention, on the basis of foregoing teachings, also comprise:
S5, whether correct according to the serial data module of write objective chip, send correct or wrong buzzing.
Adopt above-mentioned preferred scheme, whether correct according to the serial data module of write objective chip, send correct or wrong buzzing, the correctness of programming by prompting, avoid artificial vision's fatigue that misprogrammed occurs.
In order to optimize implementation result of the present invention further, in another embodiment of the invention, on the basis of foregoing teachings, in above-mentioned step S3 after objective chip powers on, voltage check device detects that objective chip is, after power-up state, programming signal is sent to microprocessor, and microprocessor is by serial data module write objective chip.
Adopt above-mentioned preferred scheme, it is that after power-up state, microprocessor, automatically to objective chip programming, realizes automated programming that voltage check device detects objective chip, convenient.
In order to optimize implementation result of the present invention further, in another embodiment of the invention, on the basis of foregoing teachings, after above-mentioned microprocessor completes one-time programming, voltage check device detects objective chip again, if objective chip is power-up state, microprocessor be waiting status until objective chip power-off, microprocessor gets back to holding state again, and voltage check device detects next objective chip.
Adopt above-mentioned preferred scheme, realize automated programming, also avoid overprogram, more safe and reliable.
Above-described is only the preferred embodiment of the present invention, it should be pointed out that for the person of ordinary skill of the art, and without departing from the concept of the premise of the invention, can also make some distortion and improvement, these all belong to protection scope of the present invention.

Claims (5)

1. a programmed method, is characterized in that, comprises the following steps:
S1, by computer routine data module write serial port module in, routine data module converts is serial data module and sends microprocessor to by serial port module;
S2, objective chip is electrically connected with microprocessor after generate request signal by objective chip;
S3, power management module receive request signal and according to this request signal, operating voltage are switched to the operating voltage of objective chip needs;
Serial data module writes in objective chip or writes in objective chip after being stored to storage chip again by S4, microprocessor.
2. programmed method according to claim 1, it is characterized in that, write in serial port module together with download time limiting module and routine data module being bound in described step S1 also, if described step S4 by serial data module write objective chip once, then download time limiting module reduces accordingly or increases once, until the limited number of times of download time limiting module is zero or limits number of times.
3. programmed method according to claim 1, is characterized in that, also comprises:
S5, whether correct according to the serial data module of write objective chip, send correct or wrong buzzing.
4. programmed method according to claim 1, it is characterized in that, in described step S3 after objective chip powers on, voltage check device detects that objective chip is, after power-up state, programming signal is sent to microprocessor, and microprocessor is by serial data module write objective chip.
5. programmed method according to claim 4, it is characterized in that, after microprocessor completes one-time programming, voltage check device detects objective chip again, if objective chip is power-up state, microprocessor is that waiting status is until objective chip power-off, microprocessor gets back to holding state again, and voltage check device detects next objective chip.
CN201510126396.9A 2015-03-20 2015-03-20 Programming method Pending CN104679569A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510126396.9A CN104679569A (en) 2015-03-20 2015-03-20 Programming method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510126396.9A CN104679569A (en) 2015-03-20 2015-03-20 Programming method

Publications (1)

Publication Number Publication Date
CN104679569A true CN104679569A (en) 2015-06-03

Family

ID=53314666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510126396.9A Pending CN104679569A (en) 2015-03-20 2015-03-20 Programming method

Country Status (1)

Country Link
CN (1) CN104679569A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599040A (en) * 2008-06-05 2009-12-09 彭增金 Multi-interface simulation programmer
CN201527648U (en) * 2009-09-23 2010-07-14 原相科技股份有限公司 System-on-chip data writing device
CN102916805A (en) * 2012-10-31 2013-02-06 飞天诚信科技股份有限公司 Security application downloading method
CN202815646U (en) * 2012-08-13 2013-03-20 中兴通讯股份有限公司 Intelligent power supply control device for data communication chip and communication equipment
CN202956753U (en) * 2012-11-05 2013-05-29 汕尾芯灵电子科技有限公司 Programming device and programming system of flash memory chip in embedded system
CN104063249A (en) * 2014-06-30 2014-09-24 南通国芯微电子有限公司 Off-line downloading device for program and downloading method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599040A (en) * 2008-06-05 2009-12-09 彭增金 Multi-interface simulation programmer
CN201527648U (en) * 2009-09-23 2010-07-14 原相科技股份有限公司 System-on-chip data writing device
CN202815646U (en) * 2012-08-13 2013-03-20 中兴通讯股份有限公司 Intelligent power supply control device for data communication chip and communication equipment
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
CN104063249A (en) * 2014-06-30 2014-09-24 南通国芯微电子有限公司 Off-line downloading device for program and downloading method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
卫朝霞: "《数字逻辑》", 30 April 2011 *

Similar Documents

Publication Publication Date Title
CN103559053A (en) Board system and FPGA (Field Programmable Logic Array) online update method of communication interface cards
CN106297865A (en) Control controller and the operational approach thereof of semiconductor storage unit
CN105679367B (en) A kind of programmable device suitable for MTM antifuse PROM
CN104318949B (en) A kind of burning device, programming system and method for burn-recording
CN206021242U (en) The FPGA programs configuration controlled based on CPLD and firmware encrypting system
CN103116511A (en) Double-booting method based on single FLASH storage chip
CN103412836A (en) Hot plug processing method, device and system
CN103838591A (en) Upgrading method and device of multiple single-chip microcomputers based on serial buses
CN104008069A (en) Data protection method, device and equipment
CN106055420A (en) Method, device and equipment for data verification
CN109426442A (en) Data storage device and its operating method
CN110531994A (en) Method for burn-recording, replication tool and computer equipment
US9454438B2 (en) Recovery circuit for basic input-output system
CN106293797A (en) A kind of method and system of online updating Single Chip Microcomputer (SCM) program
CN105718416A (en) Method for upgrading configuration file of FPGA (Field Programmable Gate Array) and upgrading device
CN104679569A (en) Programming method
CN104461633A (en) Single-chip offline programming unit and offline programming method
CN102236415A (en) Keyboard with fingerprint power-on device
CN101373438A (en) Method, system and apparatus for managing basic input and output system
CN105138379A (en) Method for on-line upgrading based on Ymodem protocol
CN105868042B (en) A kind of watchdog circuit
CN106919409A (en) A kind of FPGA unit updating apparatus, system and method
CN201828906U (en) Memory protection device
CN111027104A (en) Method, device and mainboard for preventing loss of network card identification data
CN204440309U (en) Hot reset system

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: 20150603

RJ01 Rejection of invention patent application after publication