CN103309679B - A kind of implementation method of storage chip RAM software solidification application - Google Patents
A kind of implementation method of storage chip RAM software solidification application Download PDFInfo
- Publication number
- CN103309679B CN103309679B CN201310275963.8A CN201310275963A CN103309679B CN 103309679 B CN103309679 B CN 103309679B CN 201310275963 A CN201310275963 A CN 201310275963A CN 103309679 B CN103309679 B CN 103309679B
- Authority
- CN
- China
- Prior art keywords
- storage chip
- parameter
- user program
- ram
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The present invention relates to the implementation method of a kind of storage chip RAM software solidification application, including: first internal to storage chip RAM various parameters are classified;Secondly will need the data field of the parameter read-in storage chip ROM of solidification, these parameters to be downloaded to by programmed statements write user program the program area of storage chip ROM simultaneously;It is three when circuit powers on and when running user program, and microcontroller is by repeatedly having called repeatedly writing with a brush dipped in Chinese ink of cure parameter and writing with a brush dipped in Chinese ink of a user program, it is ensured that cure parameter and the correctness of user program, is effectively improved circuit anti-interference performance.Compared with prior art, it is simple that it is mainly characterized in that: (1) the method to the present invention, it is easy to accomplish.(2) by repeatedly having called repeatedly writing with a brush dipped in Chinese ink of special parameter and writing with a brush dipped in Chinese ink of a program ram district user program in RAM data district, it is ensured that cure parameter and the correctness of user program.
Description
Technical field
The present invention relates to the cure applications implementation method of storage chip RAM Software Anti-interference in the circuit such as a kind of embedded system.
Background technology
In the circuit such as embedded system, there is the exchange of the most real-time data between microprocessor and Peripheral storage chip RAM, can the quality of working environment directly affects microprocessor normally, work reliably.When especially the circuit such as AC servo driver embedded system is in strong electromagnetic naval vessel working environment, the impacts such as the instantaneous power-down come in more susceptible to spatial interference, power supply power-fail and peripheral electrical network crosstalk and transient pulse interference, often cause the misoperation of microprocessor.Solution generally uses the technology such as low pass filter, isolating transformer, Phototube Coupling, for matured product, it is necessary to re-start hardware designs and cost is high.By storage chip RAM software solidification application technology, can be on the basis of need not changing products-hardware design, it is ensured that the correctness of driver cure parameter, it is effectively improved embedded system interference free performance, enhances the reliability worked under strong electromagnetic ships environment.
Summary of the invention
It is an object of the invention to be effectively improved instantaneous power-down and the interference free performance of transient pulse interference that spatial interference, power supply power-fail and peripheral electrical network crosstalk are come in by the circuit such as embedded system, enhance the reliability worked under strong electromagnetic ships environment.
Realize the object of the invention technical solution by: first according to the environment applied, the parameter within storage chip RAM is classified, distinguish in normal course of operation without the parameter changed and user program statement, then the data field of the parameter read-in storage chip ROM of solidification will be needed, these parameters are downloaded to by programmed statements write user program the program area of storage chip ROM simultaneously, when circuit powers on and when n time is run user program, microcontroller is by having called writing with a brush dipped in Chinese ink of cure parameter and writing with a brush dipped in Chinese ink of a program ram district user program in n+1 RAM data district for n+1 time, guarantee to be cured the correctness of parameter and user program.
The present invention compared with prior art, is mainly characterized by:
(1) whole technical costs is low and is easily achieved.
(2) cure parameter in repeatedly RAM data district is write with a brush dipped in Chinese ink and the writing with a brush dipped in Chinese ink of a program ram district user program by repeatedly having called, it is ensured that the parameter that is cured and the correctness of user program.
(3) it is effectively improved instantaneous power-down and the interference free performance of transient pulse interference that power supply power-fail, spatial interference and peripheral electrical network crosstalk are come in by the circuit such as embedded system, enhances the reliability worked under strong electromagnetic ships environment.The invention will be further described below in conjunction with the accompanying drawings.
Accompanying drawing explanation
Fig. 1 is the implementation method block diagram of a kind of storage chip RAM software solidification application.
Detailed description of the invention
The enforcement of combination technology solution is described further:
Step one; according to the working environment applied, various parameters in storage chip RAM built-in variable file are determined (comprise protected variable, be not protected variable, Default Value parameter, switching variable and user program etc.) numerical range of parameter; therefrom distinguish without the parameter changed and user program statement in normal course of operation, be to need the parameter that is cured by these without the parameter determination changed;
Step 2, compiles software document by communication composing software by the parameter determining solidification and writes data field corresponding in storage chip ROM;
Step 3, the parameter these being cured writes user program by programmed statements, downloads to program area corresponding to storage chip ROM by communication composing software;
Step 4, when circuit powers on, microcontroller by the calling to storage chip RAM data district and program area from storage chip ROM data district and program area, completes writing with a brush dipped in Chinese ink and the writing with a brush dipped in Chinese ink of program ram district user program for the first time of cure parameter in RAM data district for the first time;
Step 5, when microprocessor runs a user program, microcontroller, by calling operation user program from storage chip program ram district, completes writing with a brush dipped in Chinese ink of cure parameter in a RAM data district;
Step 6, when circuit once powers on, microcontroller all again through the calling to storage chip RAM data district and program area from storage chip ROM data district and program area, completes writing with a brush dipped in Chinese ink of cure parameter and writing with a brush dipped in Chinese ink of a program ram district user program in a RAM data district;
Step 7, whenever running a user program at microprocessor, microcontroller, by calling operation user program from storage chip program ram district, completes writing with a brush dipped in Chinese ink of cure parameter in a RAM data district.
When circuit powers on once with n user program of operation, microprocessor has called writing with a brush dipped in Chinese ink of cure parameter and writing with a brush dipped in Chinese ink of a program ram district user program in n RAM data district eventually through n+1 time, guarantee the correctness of cure parameter and user program, it is effectively improved instantaneous power-down and the interference free performance of transient pulse interference that power supply power-fail, spatial interference and peripheral electrical network crosstalk are come in by the circuit such as embedded system, enhances the reliability worked under strong electromagnetic ships environment.
Claims (6)
1. the implementation method of a storage chip RAM software solidification application, it is characterised in that including:
Step one, classifies to the parameter within storage chip RAM according to the working environment applied, distinguishes
Parameter and the user program statement of solidification is needed in normal course of operation;
Step 2, it would be desirable to the data field of the parameter read-in storage chip ROM of solidification;
Step 3, it would be desirable to the parameter of solidification writes user program by programmed statements, downloads to storage chip ROM's
Program area;
Step 4, when circuit powers on, microcontroller by from storage chip ROM data district and program area to storage core
Calling of sheet RAM data district and program area, completes writing with a brush dipped in Chinese ink and for the first time of cure parameter in RAM data district for the first time
Writing with a brush dipped in Chinese ink of program ram district user program;
Step 5, when microprocessor runs a user program, microcontroller is by from storage chip program ram district
Call operation user program, complete writing with a brush dipped in Chinese ink of cure parameter in a RAM data district.
2. an implementation method for a kind of storage chip RAM software solidification according to claim 1 application, its
It is characterised by: need the parameter of solidification to comprise two kinds of variable parameters, i.e. without changing in normal course of operation in described step one
Variable parameter and debugging time need change, once debugged the variable parameter no longer changed after determining.
3. an implementation method for a kind of storage chip RAM software solidification according to claim 1 application, its
It is characterised by: in described step 4, also comprise circuit when re-powering for n time, complete the process of step 4.
4. an implementation method for a kind of storage chip RAM software solidification according to claim 1 application, its
It is characterised by: when being also included in microprocessor n user program of operation in described step 5, complete the mistake of step 5
Journey.
5. an implementation method for a kind of storage chip RAM software solidification according to claim 1 application, its
It is characterised by: after circuit powers on once, when microprocessor runs n user program, completes step 4, the process of five.
6. an implementation method for a kind of storage chip RAM software solidification according to claim 1 application, its
It is characterised by: circuit powers on for n time and runs user program n time, completes step 4, the process of five.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310275963.8A CN103309679B (en) | 2013-07-03 | 2013-07-03 | A kind of implementation method of storage chip RAM software solidification application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310275963.8A CN103309679B (en) | 2013-07-03 | 2013-07-03 | A kind of implementation method of storage chip RAM software solidification application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103309679A CN103309679A (en) | 2013-09-18 |
CN103309679B true CN103309679B (en) | 2016-10-26 |
Family
ID=49134940
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310275963.8A Active CN103309679B (en) | 2013-07-03 | 2013-07-03 | A kind of implementation method of storage chip RAM software solidification application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103309679B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1581080A (en) * | 2004-05-20 | 2005-02-16 | 安徽现代电视技术有限公司 | Fixing method for embedded operating system |
CN1728096A (en) * | 2004-07-23 | 2006-02-01 | 芯邦科技(深圳)有限公司 | Storage control chip device possessing function of compatible configuration |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI282140B (en) * | 2005-11-10 | 2007-06-01 | Realtek Semiconductor Corp | Display controller and method for updating parameters of the same |
CN101026838A (en) * | 2007-03-13 | 2007-08-29 | 华为技术有限公司 | Method for storing mobile phone datafile by non-file mode |
IL187039A0 (en) * | 2007-10-30 | 2008-02-09 | Sandisk Il Ltd | Secure overlay manager protection |
CN101976577B (en) * | 2010-11-03 | 2013-06-05 | 冠捷显示科技(武汉)有限公司 | Method for arranging display equipment software and method for writing control parameters into FLASH |
-
2013
- 2013-07-03 CN CN201310275963.8A patent/CN103309679B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1581080A (en) * | 2004-05-20 | 2005-02-16 | 安徽现代电视技术有限公司 | Fixing method for embedded operating system |
CN1728096A (en) * | 2004-07-23 | 2006-02-01 | 芯邦科技(深圳)有限公司 | Storage control chip device possessing function of compatible configuration |
Also Published As
Publication number | Publication date |
---|---|
CN103309679A (en) | 2013-09-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103763433B (en) | The progress control method of terminal applies and system | |
CN103235750A (en) | Unattended control system and method for computer | |
CN103309679B (en) | A kind of implementation method of storage chip RAM software solidification application | |
CN112035967A (en) | Method and device for simulating no-load exciting current of transformer under direct-current magnetic biasing working condition | |
CN101751323A (en) | Microprocessor chip emulator and breakpoint setting method | |
CN204117133U (en) | Based on the injection machine mobile terminal of Android platform | |
CN103631667A (en) | Method for verifying consistency of intelligent device ICD and virtual terminal list | |
CN105242921A (en) | Compatibile UI developing device and application therefor | |
CN109520079B (en) | Air conditioner, control method and device thereof, and computer readable storage medium | |
CN203910237U (en) | Liquid crystal driving circuit for liquid crystal electric energy meter | |
CN202886920U (en) | Elasticizer control system | |
CN205862166U (en) | Multifunctional universal controller | |
CN207636976U (en) | Pulse output card | |
CN103207823B (en) | A kind of processor chips emulator | |
CN210721358U (en) | Vbus power supply automatic switching circuit of OTG equipment | |
CN103076765B (en) | Data transmission method for motor CPU (Central Processing Unit) and display control CPU of numerical control cutter | |
CN204832915U (en) | Power module based on PLC system | |
CN204389567U (en) | A kind of single-phase intelligent electric power digital display meter | |
CN204679943U (en) | A kind of outer cooling mechanism for computer CPU | |
CN103593235A (en) | Internal-memory active protection method based on software implementation | |
CN203561983U (en) | Computer testing OCIO function board card | |
CN204131486U (en) | Anti-interference touch circuit of touch key of washing machine | |
CN220105545U (en) | Integrated network control multipath power supply module | |
CN203491659U (en) | Fault alarm device with micro-letter function | |
CN203301863U (en) | Printed board with communication chip and communication power supply |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |