CN104657186A - Novel programming method - Google Patents
Novel programming method Download PDFInfo
- Publication number
- CN104657186A CN104657186A CN201510125775.6A CN201510125775A CN104657186A CN 104657186 A CN104657186 A CN 104657186A CN 201510125775 A CN201510125775 A CN 201510125775A CN 104657186 A CN104657186 A CN 104657186A
- Authority
- CN
- China
- Prior art keywords
- module
- objective chip
- program package
- serial port
- microprocessor
- 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
Links
Abstract
The invention discloses a novel programming method. The method comprises the following steps: S1. binding a program package and an encryption program package and writing into a serial port module, converting the program package and the encryption program package into serial port data through the serial port module and transmitting the serial data to a microprocessor; S2. electrically connecting a target chip with the microprocessor and generating a request signal through the target chip; and S3. receiving the request signal through a power supply management module and switching the working voltage into a working voltage needed by the target chip through the power supply management module; and S4. writing the data of the serial port module into the target chip through the microprocessor. According to the novel programming method, the program package and the encryption program package are bonded, the program package can be found out to be programmed or upgraded only by inputting corresponding the encryption program package data in programming and upgrading of the program, the operation is simple, errors are difficultly caused, the encryption program packet is good in safety, and the leakage of the program package is avoided.
Description
Technical field
The present invention relates to a kind of novel programmed method.
Background technology
Along with the development of science and technology, electronic product is more and more universal, is generally program to be write in objective chip to use for electronic product.In prior art, the program that corresponding different objective chip is downloaded is different, and this just needs to find different routine packages just can complete download, works very loaded down with trivial details.On the other hand, time programs different in objective chip needs to upgrade, also need to find the routine package of upgrading just can complete upgrading, complicated operation, and easily make mistakes.
Summary of the invention
In order to solve the problems of the technologies described above, the invention provides a kind of novel programmed method.
In order to achieve the above object, technical scheme of the present invention is as follows:
The invention provides a kind of novel programmed method, draw together following steps:
S1, routine package and encrypted item bag being bound and to write in serial port module, routine package and encrypted item bag are converted to serial data and send 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 are by serial data module write objective chip.
By routine package and the binding of encrypted item bag in the present invention, only needing to input corresponding encrypted item bag data when programming or ROMPaq can find routine package to carry out programming or upgrading, simple to operate, not easily makes mistakes, and the security of encrypted item bag is good, avoids the leakage of routine package.
At least one in program header module, programming type module and objective chip information module drawn together by encrypted item handbag above-mentioned in the present invention.
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 package, encrypted item bag being bound in above-mentioned 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.
Adopt above-mentioned preferred scheme, download time limiting module and routine package, encrypted item bag are bound, the number of times of download can be limited, prevent the abuse of program, safer.
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 novel programmed method, draw together following steps:
S1, routine package and encrypted item bag being bound and to write in serial port module, routine package and encrypted item bag are converted to serial data and send 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 are by serial data module write objective chip.
By routine package and the binding of encrypted item bag in present embodiment, only needing to input corresponding encrypted item bag data when programming or ROMPaq can find routine package to carry out programming or upgrading, simple to operate, not easily makes mistakes, and the security of encrypted item bag is good, avoids the leakage of routine package.
At least one in program header module, programming type module and objective chip information module drawn together by encrypted item handbag above-mentioned in present embodiment.
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 package, encrypted item bag being bound in above-mentioned 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.
Adopt above-mentioned preferred scheme, download time limiting module and routine package, encrypted item bag are bound, the number of times of download can be limited, prevent the abuse of program, safer.
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 (3)
1. a novel programmed method, is characterized in that, comprises the following steps:
S1, routine package and encrypted item bag being bound and to write in serial port module, routine package and encrypted item bag are converted to serial data and send 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 are by serial data module write objective chip.
2. novel programmed method according to claim 1, is characterized in that, at least one in program header module, programming type module and objective chip information module drawn together by described encrypted item handbag.
3. novel programmed method according to claim 1, it is characterized in that, write in serial port module together with download time limiting module and routine package, encrypted item bag 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.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510125775.6A CN104657186A (en) | 2015-03-20 | 2015-03-20 | Novel programming method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510125775.6A CN104657186A (en) | 2015-03-20 | 2015-03-20 | Novel programming method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104657186A true CN104657186A (en) | 2015-05-27 |
Family
ID=53248365
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510125775.6A Pending CN104657186A (en) | 2015-03-20 | 2015-03-20 | Novel programming method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104657186A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006033419A1 (en) * | 2004-09-20 | 2006-03-30 | Sony Computer Entertainment Inc. | Methods and apparatus for distributing software applications |
US20070101342A1 (en) * | 2005-10-31 | 2007-05-03 | Microsoft Corporation | Automated device driver management |
CN101901160A (en) * | 2010-08-11 | 2010-12-01 | 中兴通讯股份有限公司 | Packing method and device of version upgrading software package |
CN102043656A (en) * | 2011-01-20 | 2011-05-04 | 宇龙计算机通信科技(深圳)有限公司 | Software management method and software management server |
CN202815646U (en) * | 2012-08-13 | 2013-03-20 | 中兴通讯股份有限公司 | Intelligent power supply control device for data communication chip and communication equipment |
CN104063249A (en) * | 2014-06-30 | 2014-09-24 | 南通国芯微电子有限公司 | Off-line downloading device for program and downloading method thereof |
-
2015
- 2015-03-20 CN CN201510125775.6A patent/CN104657186A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006033419A1 (en) * | 2004-09-20 | 2006-03-30 | Sony Computer Entertainment Inc. | Methods and apparatus for distributing software applications |
US20070101342A1 (en) * | 2005-10-31 | 2007-05-03 | Microsoft Corporation | Automated device driver management |
CN101901160A (en) * | 2010-08-11 | 2010-12-01 | 中兴通讯股份有限公司 | Packing method and device of version upgrading software package |
CN102043656A (en) * | 2011-01-20 | 2011-05-04 | 宇龙计算机通信科技(深圳)有限公司 | Software management method and software management server |
CN202815646U (en) * | 2012-08-13 | 2013-03-20 | 中兴通讯股份有限公司 | Intelligent power supply control device for data communication chip and communication equipment |
CN104063249A (en) * | 2014-06-30 | 2014-09-24 | 南通国芯微电子有限公司 | Off-line downloading device for program and downloading method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9880830B2 (en) | On-board applet migration | |
US9934014B2 (en) | Automatic purposed-application creation | |
US9979703B2 (en) | Updating software on a secure element | |
CN109067523A (en) | A kind of data ciphering method of encrypted card | |
EP3627425A1 (en) | Se application processing method, user terminal, and server | |
CN201015047Y (en) | Split type RF CPU card meter controller | |
CN102609657A (en) | Login method and device for user identified by radio frequency | |
CN103605939B (en) | Method, device and system for writing personal data in financial IC card | |
CN207164210U (en) | A kind of test device of smart card | |
CN104657186A (en) | Novel programming method | |
CN204463209U (en) | A kind of two generation USBKey devices using carrier network to transmit data | |
CN105490708B (en) | A kind of method and device for reading and writing smart card | |
CN104836639B (en) | A kind of data transmission method for transmitting many algorithms parameter | |
CN103841552A (en) | Method and system for carrying out aerial card writing through mobile terminal and card reader | |
CN105207747A (en) | Data transmission method based on HID protocol | |
CN104992328A (en) | Mobile payment method, system and security payment carrier | |
CN105654168A (en) | Embedded intelligent safety module, safety hardware device, safe data processing system and operation method of embedded intelligent safety module | |
CN101425120A (en) | Card reader and executing method thereof | |
CN104992134B (en) | Label immediate processing method | |
US11031973B2 (en) | Circuit, method and apparatus for performing near-field communication | |
CN106326779A (en) | App copyright information loading method and system based on digital signature | |
CN109509276A (en) | Smart lock machine core code management system and device | |
CN104461460A (en) | Method and device for simultaneously configuring multi-kernel registers | |
CN104393890A (en) | Safe NFC chip | |
CN104700043A (en) | Encrypted programming method |
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 | ||
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 |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150527 |