CN109992274A - Recording device, the method for burning program and readable storage medium storing program for executing - Google Patents
Recording device, the method for burning program and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN109992274A CN109992274A CN201910256657.7A CN201910256657A CN109992274A CN 109992274 A CN109992274 A CN 109992274A CN 201910256657 A CN201910256657 A CN 201910256657A CN 109992274 A CN109992274 A CN 109992274A
- Authority
- CN
- China
- Prior art keywords
- burning
- recordable paper
- address
- identifying code
- file
- 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
- 238000003860 storage Methods 0.000 title claims abstract description 31
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000004422 calculation algorithm Methods 0.000 claims description 8
- 230000006870 function Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 3
- 230000009466 transformation Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000005055 memory storage Effects 0.000 description 2
- 230000008520 organization Effects 0.000 description 2
- 238000002360 preparation method Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 210000004709 eyebrow Anatomy 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000011232 storage material Substances 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 230000017105 transposition Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/654—Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
Abstract
The method and readable storage medium storing program for executing of a kind of recording device, burning program, the recording device include that recordable paper obtains interface, Flash interface, memory and processor;Processor reads program verification file from the first equipment connecting with recordable paper acquisition interface and stores to from the first address of memory, it reads from the first equipment to recordable paper and is written in Flash chip, again from read in Flash chip the content being just written and store to from the second address of memory, content at second address is converted into the second identifying code by preset rules, this will be under the jurisdiction of at second identifying code and the first address and wait for that the first identifying code of recordable paper is compared, and determine this to recordable paper burning success when comparing successfully.The content being burnt in Flash chip can be detected, whether the program to determine burning is correct and complete, avoids the problem of Flash chip of the patch into electronic equipment causes electronic equipment cannot get up because occurring various burning problems during burning.
Description
Technical field
The present invention relates to burning chip technical fields, and in particular to a kind of recording device, the method for burning program and readable
Storage medium.
Background technique
Flash (flash memory) chip is very widely used storage material, be able to carry out can quick storage, erasing data
Storage substance.Flash chip as a kind of memory devices, have the characteristics that it is non-volatile, in the condition of no electric current supply
Under also can muchly keep data, become each class of electronic devices, the storage medium of especially all kinds of pocket digital devices.
Produce instruments or equipment before, usually first to the Flash chip burning program in instrument or equipment, then will burn
The Flash chip patch of program has been recorded into the instrument or equipment.Current way is directly by burning program to Flash chip
In, still, in this way when burning program, if due to the artificial fault burning program or burning of wrong model
Occur exception during record, then, the Flash chip after burning will cause instrument to be unable to run after patch is into instrument.
Summary of the invention
The application provides the method and readable storage medium storing program for executing of a kind of recording device, burning program, with to being burnt to Flash core
Program in piece is detected, and the problem of instrument after burning program is unable to run is avoided the occurrence of.
According in a first aspect, providing a kind of recording device in a kind of embodiment, comprising:
Recordable paper obtains interface, and for connecting the first equipment, first equipment is storage to recordable paper and correspondence
Program verification file equipment, include respectively to corresponding first identifying code of recordable paper in the program verification file;
Flash interface, for connecting the Flash chip to burning;
Memory, for storing data;
Processor obtains interface, Flash interface and Memory linkage with recordable paper respectively, for from the burning
Read program verification file in first equipment of file acquisition interface connection, and by program verification file storage to the of memory
It at one address, is read from first equipment to recordable paper, and described will be written in Flash chip to recordable paper, from
The content being just written is read in Flash chip and is stored at the second address of memory, and the content at second address is pressed
The second identifying code is converted to according to preset rules, will be under the jurisdiction of at second identifying code and first address described to burning text
First identifying code of part is compared, and determines when comparing successfully described to recordable paper burning success.
According to second aspect, a kind of method of burning program is provided in a kind of embodiment, comprising:
Program verification file is read, and by program verification file storage at the first address of memory, the burning
Verify in file includes respectively to corresponding first identifying code of recordable paper;
It reads to recordable paper, and this is waited in recordable paper write-in Flash chip;
The content being just written is read from Flash chip, and by content storage at the second address of memory;
Content at second address is converted into the second identifying code according to preset rules;
First identifying code to recordable paper will be under the jurisdiction of at second identifying code and first address to carry out
Compare, and described in determining when comparing successfully to recordable paper burning successfully.
According to the third aspect, a kind of computer readable storage medium is provided in a kind of embodiment comprising program, the journey
Sequence can be executed by processor to realize method as described above.
According to the method and readable storage medium storing program for executing of the recording device of above-described embodiment, burning program, due to recordable paper
After being burnt in Flash chip, this being waited for, the content of recordable paper is read into memory from Flash chip again,
Then the content is converted into the second identifying code by preset rules, then by second identifying code and program verification stored in memory
Corresponding first identifying code is compared in file, if comparing successfully, illustrates that this is correctly burnt to Flash to recordable paper
In chip, and file content is complete.The detection to the program being burnt in Flash chip is realized, so as to avoid burning
The problem of instrument is unable to run after record program.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of recording device provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of the method for burning program provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of the method for specific burning program provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of memory storage structure and Flash chip storage organization in the embodiment of the present invention.
Specific embodiment
Below by specific embodiment combination attached drawing, invention is further described in detail.Wherein different embodiments
Middle similar component uses associated similar element numbers.In the following embodiments, many datail descriptions be in order to
The application is better understood.However, those skilled in the art can recognize without lifting an eyebrow, part of feature
It is dispensed, or can be substituted by other elements, material, method in varied situations.In some cases, this Shen
Please it is relevant it is some operation there is no in the description show or describe, this is the core in order to avoid the application by mistake
More descriptions are flooded, and to those skilled in the art, these relevant operations, which are described in detail, not to be necessary, they
Relevant operation can be completely understood according to the general technology knowledge of description and this field in specification.
It is formed respectively in addition, feature described in this description, operation or feature can combine in any suitable way
Kind embodiment.Meanwhile each step in method description or movement can also can be aobvious and easy according to those skilled in the art institute
The mode carry out sequence exchange or adjustment seen.
It is herein component institute serialization number itself, such as " first ", " second " etc., is only used for distinguishing described object,
Without any sequence or art-recognized meanings.And " connection ", " connection " described in the application, unless otherwise instructed, include directly and
It is indirectly connected with (connection).
In embodiments of the present invention, the file being burnt in Flash chip is read into memory again, then according to default
Rule is converted into the second identifying code, then by second identifying code and corresponding first identifying code in corresponding program verification file into
Row compares, and determines whether burning is successful to recordable paper according to comparison result.
Referring to FIG. 1, Fig. 1 is a kind of structural schematic diagram of recording device provided in an embodiment of the present invention, the recording device
Interface 1, Flash interface 2, memory 3 and processor 4 are obtained including recordable paper.Recordable paper obtains interface 1 for connecting first
Equipment, which is equipment of the storage to recordable paper and corresponding program verification file, for example can be SD card
(Secure Digital Memory Card, safe digital card), USB flash disk etc. store equipment, wrap in program verification file therein
It includes respectively to corresponding first identifying code of recordable paper.Flash interface 2 is used to connect the Flash chip to burning.Memory 3 and place
It manages device 4 to connect, for storing data.Processor 4 obtains interface 1 with recordable paper respectively and Flash interface 2 is connect, in this way, burning
Record file acquisition interface 1 just connects processor 4 and the first equipment room, establishes communication channel therebetween, likewise,
Flash interface 2 connects processor 4 and Flash chip, makes to be able to carry out communication between processor 4 and Flash chip.
Processor 4 is used to obtain reading program verification file in the first equipment that interface 1 is connect from recordable paper, and the burning is tested
It demonstrate,proves file storage to read at the first address of memory 3, then from first equipment to recordable paper, and by reading to burning
File is written in Flash chip, and the content being just written then is read from Flash chip and is stored to the second address of memory 3
Place, is converted to the second identifying code according to preset rules for the content at the second address, at second identifying code and the first address
Be under the jurisdiction of this and wait for that the first identifying code of recordable paper is compared, and determine when comparing successfully this to recordable paper burning at
Function.First identifying code therein can be MD5 (Message Digest Algorithm 5, informative abstract) code, at this moment, processing
Recordable paper at second address is converted to MD5 code according to MD5 algorithm by device 4, will be subordinate in the MD5 code and program verification file
It is compared in the corresponding MD5 code to recordable paper.The program being burnt in Flash chip can be detected by comparing,
To judge whether the content being burnt in Flash chip is consistent with to recordable paper.
In practical application, which further includes the instruction device 5 connecting with processor 4, processor 4 be also used to than
Burning failure instruction is sent to the instruction device 5 when to failure, is referred to when judging needed recordable paper burning success to this
Showing device 5 sends burning and successfully instructs;The prompt letter of the instruction device 5 output burning failure when receiving burning failure instruction
Breath exports the successful prompt information of burning when receiving burning and successfully instructing.The instruction transposition 5 such as can be indicator light,
Recordable paper at second address is converted to MD5 code according to MD5 algorithm by processor 4, will be in the MD5 code and program verification file
It is under the jurisdiction of the corresponding MD5 code to recordable paper to be compared, when comparing failure, indicator light sends out a warning, to remind burning in time
Personnel's burning failure;In needed recordable paper burning success, indicator light gives a green light, and prompts burning completion and burning success.
Based on above-mentioned recording device, the embodiment of the present invention provides a kind of method of burning program, and flow chart is referring to figure
2, as shown in Fig. 2, this method may include steps of:
Step 101: reading program verification file and store and arrive memory.
Processor 4 obtains interface 1 by recordable paper and connect with the first equipment, and program verification text is read from the first equipment
Part, and include respectively to recordable paper by program verification file storage at the first address of memory 3, in the program verification file
Corresponding first identifying code.
For example, production has tri- files of A, B and C to recordable paper, according to a kind of preset rules (such as preset calculation
Method) these three files are respectively converted into the first identifying code, obtain corresponding first identifying code character string XA、XBAnd XC, so
Afterwards by XA、XBAnd XCIt is put into a file, for example is put into a txt file in order, this document of generation is that burning is tested
Demonstrate,prove file.
Step 102: reading to recordable paper and be written in Flash chip.
Processor 4 then reads one to recordable paper from the first equipment, this is then waited for that Flash is written in recordable paper
In chip, at this point, just there are corresponding recordable papers in Flash chip.Specifically, processor 4 can by reading should be to
Recordable paper is first stored at the third address of memory 3, is emptied in Flash chip and is waited at the address of recordable paper for storing this
Content, then will be stored at third address should be to corresponding address in recordable paper write-in Flash chip at.
Step 103: the content being just written is read from Flash chip.
Processor 4 reads out the content being just written in Flash chip from Flash chip again, then will read
Content store at the second address of memory 3.
Step 104: being the second identifying code by the Content Transformation of reading.
After processor 4 will be stored from the content that reads out in Flash chip to from the second address of memory 3, by this
Recordable paper at double-address is converted to the second identifying code according to preset rules.
For example, when making recordable paper, using a kind of preset algorithm, by A, B and C, these three files are converted respectively
For the first identifying code, processor 4 when the recordable paper at the second address is converted to the second identifying code according to preset rules just
The recordable paper can be converted using same algorithm, obtain the second identifying code.
Step 105: the second identifying code is compared with the first identifying code.
After processor 4 will be converted to the second identifying code from the recordable paper read out in Flash chip, this second is tested
It is under the jurisdiction of corresponding the first identifying code to recordable paper in card code and program verification file to be compared, detects second identifying code
With corresponding first identifying code whether.
For example, including A, B and C, these three wait for the corresponding first identifying code X of recordable paper in program verification fileA、XB
And XC, processor 4 will be burnt in Flash chip to recordable paper A, obtain corresponding recordable paper A1, processor 4 by A1 from
It is read out in Flash chip and is converted to the second identifying code YA, then by YAWith XAIt is compared.
Step 106: determining whether burning is successful to recordable paper according to comparison result.
If it is consistent with corresponding first identifying code that processor 4 compares out the second identifying code, success is compared, thinks to burn at this time
Record Flash chip be to recordable paper it is correct and complete, that is, determine to recordable paper burning success.If processor 4
It is different from corresponding first identifying code to compare out the second identifying code, then compares failure, illustrate to be burnt to Flash chip to burning
File is incorrect or exception occurs in burning, at this moment, burning personnel's burning can be prompted to lose by the indicator light on recording device
It loses.
The method of recording device and burning program provided in this embodiment, the recordable paper that will be burnt in Flash chip
It reads out again, is converted into the second identifying code according to preset rules, then in program verification file corresponding
One identifying code is compared, and according to comparison result judgement should whether burning be successful to recordable paper, can pass through when comparing failure
Suggestion device prompts burning personnel, so as to avoid Flash chip of the patch into electronic equipment because occurring during burning
Various burning problems and appearance the problem of cause electronic equipment cannot get up.
It is SD with the first equipment on the basis of the above embodiments to clearly embody the purpose of the present invention
Card, recordable paper obtain interface be SD card slot, have uboot file, kernel file and file system files to recordable paper, respectively to
Corresponding first identifying code of recordable paper is MD5 code character string, for program verification file is MD5.txt file, in conjunction with Fig. 3 and
Fig. 4 makees further illustrate.
Fig. 3 is a kind of method flow diagram of specific burning program provided in an embodiment of the present invention, and Fig. 4 is that the present invention is implemented
The schematic diagram of memory storage structure and Flash chip storage organization in example.As shown in figure 3, the method for the burning program can wrap
Include following steps:
Step 201: preparation is to recordable paper and program verification file.
Software developer makes needed recordable paper using relevant developing instrument, these wait for that recordable paper includes
Uboot file, kernel file and file system files, in order to use these texts of recording device (or being cd-rom recorder) burning
Part, these wait for further including having cd-rom recorder bootstrap in recordable paper.
Make after these wait for recordable paper, each waited for that recordable paper generates a MD5 code character string, and by this
A little MD5 code character strings are deposited in order in MD5.txt file, that is to say, that by uboot file, kernel file and file system
System file generates corresponding MD5 code character string respectively, for example, the corresponding MD5 code character string of uboot file is indicated with W1,
The corresponding MD5 code character string of kernel file indicates that the corresponding MD5 code character string of file system files is indicated with W3, then with W2
These MD5 code character strings are sequentially stored in MD5.txt file according to " W1 → W2 → W3 " is such, the MD5.txt file
The program verification file as obtained.
Step 202: storage is to recordable paper and program verification file into SD card.
Prepare to after recordable paper and program verification file, by these wait for recordable paper (cd-rom recorder bootstrap,
Uboot file, kernel file and file system files) and MD5.txt file copy in SD card together.
Step 203: SD card and Flash chip are connect with recording device respectively.
SD card by storage to recordable paper and program verification file is inserted into the SD card slot of recording device, will need to burn
The Flash chip of record is connect by Flash interface 2 with recording device, which such as can be card slot form, will
Flash chip is put into the card slot.
Step 204: cd-rom recorder bootstrap is read from SD card.
After SD card and Flash chip are connected with recording device respectively, recording device is powered on, then recording device into
Enter burning process, at this point, the processor 4 of recording device first reads cd-rom recorder bootstrap, and Bootloader from SD card.
Step 205: reading program verification file and be stored at the first address of memory.
Under the guidance of cd-rom recorder bootstrap, processor 4 can read the content of MD5.txt file from SD card first,
Then by the content read storage at the first address of memory 3, which such as can be 0x7F00000, deposit
Storage effect can be found in Fig. 4.
Step 206: depositing in order from reading in SD card to recordable paper to from the third address of memory.
Under the guidance of cd-rom recorder bootstrap, processor 4 is according to first in code sequence reading SD card to burning
Then the content of reading is stored at the third address of memory 3 by the content of file uboot file, the third address is such as
It can be 0x100000, referring to fig. 4.
Step 207: Flash chip will be written to recordable paper.
Processor 4 then empties the address Flash for being used to store uboot file in Flash chip, then by memory 3
Content in the 0x100000 of third address is written to this in Flash chip and is used to store at the address of uboot file, shown in Fig. 4,
Uboot file can be written at the address F1 of Flash chip.
Step 208: reading the content being just written in Flash chip.
Processor 4 reads out the content being just written at the address Flash chip F1 from Flash chip, then
By the content read out storage at the second address of memory 3, which such as can be 0x200000, referring to fig. 4.
Step 209: being MD5 code character string by the Content Transformation of reading.
Processor 4, which will just be written to the content at the address Flash chip F1 and read out, is stored to the second address of memory 3
After place, the content at second address is converted into MD5 code character string according to MD5 algorithm.
Step 210: whether the MD5 code after judging conversion is identical as the content in program verification file.
Processor 4 after MD5 code character string, by the MD5 code character string and stores the Content Transformation at the second address
The MD5 code character string W1 for being under the jurisdiction of uboot file in MD5.txt file at the first address is compared, and judges that the two is
It is no identical.If they are the same, then success is compared, step 211~step 213 is executed;If it is different, then comparing failure, step 214 is executed.
Step 211: emptying the content at the second address and third address.
If processor 4 compare successfully illustrate the content being burnt in Flash chip be it is correct and complete, at this moment, place
Reason device 4 can empty the content at the second address (such as 0x200000) and third address (such as 0x100000) of memory 3, to burn
Record next use when recordable paper.
Step 212: judge whether there are also non-burning complete to recordable paper.
After processor 4 empties the content at the second address and third address, judge whether there are also non-burning complete to
Recordable paper.If it is not, explanation is all to the recordable paper success of burning, 213 are thened follow the steps;If so, jumping to step
Rapid 206, continue to read it is next carry out burning and detection to recordable paper, until all complete to the equal burning of recordable paper.
For example, processor 4 judges that there are also kernel file and the non-burnings of file system files, then after the success of uboot burning file
Return step 206, continue from SD card read kernel file content carry out burning, until the equal burning of needed recordable paper at
Function.
Step 213: prompt burning success.
When it is all when recordable paper burning success when, processor 4 to instruction device 5 send burning successfully instruct,
When instruction device 5 receives the burning and successfully instructs, the successful prompt information of burning is exported.For example, the instruction device 5 can be
LED (Light Emitting Diode, light emitting diode) lamp, when all when the recordable paper success of burning, the LED
Lamp display green, to prompt burning personnel all to the recordable paper success of burning.
Step 214: prompt burning failure.
If the MD5 code after the judgement conversion of processor 4 is different from the content in program verification file, failure is compared, illustrates to burn
The content model recorded in Flash chip is incorrect, or partial bytes during burning is imperfect or burning occurs and go out
The problems such as now abnormal, at this point, processor 4 sends burning failure instruction to instruction device 5, instruction device 5 receives burning mistake
When losing instruction, the prompt information of burning failure is exported.For example, the instruction device 5 can be LED light, it, should when comparing failure
LED light is displayed in red, and to remind burning personnel that burning exception has occurred in time, burning terminates.
It should be noted that be only here with it is all when recordable paper burning success when LED light display green,
When comparing failure, LED light, which is displayed in red, is illustrated, and is not intended to limit the present invention, is also possible to it in practical application
His form, for example two indicator lights can be set, be respectively intended to the success of burning of the needed recordable paper of instruction and compare
Failure.
The method of burning program provided in this embodiment can will be respectively to recordable paper while preparation is to recordable paper
A MD5 code character string is generated respectively and is stored in MD5.txt file, and corresponding program verification file is obtained;In burning program
When, the content being burnt in Flash chip is read into memory again, is converted into MD5 code character string, then by the MD5 code word
Symbol string is compared with corresponding MD5 code in MD5.txt file in version publication, if comparing successfully, illustrates to be burnt to Flash
Content in chip is correct and complete;If comparing failure, illustrating to be burnt to content model in Flash chip not just
Really, or occur that the problems such as abnormal occur in partial bytes during burning is imperfect or burning, at this moment, recording device can lead to
Cross instruction device prompts burning abnormal in time, so as to find the problem in time during burning, effectively prevents Flash core
Piece is after patch is into electronic equipment, because the content model being burnt in Flash chip mismatches, burning is incomplete, is burnt to
There is electronic equipment the problem of can not running caused by jump etc. in the content of Flash chip.
It will be understood by those skilled in the art that all or part of function of various methods can pass through in above embodiment
The mode of hardware is realized, can also be realized by way of computer program.When function all or part of in above embodiment
When being realized by way of computer program, which be can be stored in a computer readable storage medium, and storage medium can
To include: read-only memory, random access memory, disk, CD, hard disk etc., it is above-mentioned to realize which is executed by computer
Function.For example, program is stored in the memory of equipment, when executing program in memory by processor, can be realized
State all or part of function.In addition, when function all or part of in above embodiment is realized by way of computer program
When, which also can store in storage mediums such as server, another computer, disk, CD, flash disk or mobile hard disks
In, through downloading or copying and saving into the memory of local device, or version updating is carried out to the system of local device, when logical
When crossing the program in processor execution memory, all or part of function in above embodiment can be realized.
Use above specific case is illustrated the present invention, is merely used to help understand the present invention, not to limit
The system present invention.For those skilled in the art, according to the thought of the present invention, can also make several simple
It deduces, deform or replaces.
Claims (10)
1. a kind of recording device characterized by comprising
Recordable paper obtains interface, and for connecting the first equipment, first equipment is storage to recordable paper and corresponding burning
The equipment for verifying file is recorded, includes respectively to corresponding first identifying code of recordable paper in the program verification file;
Flash interface, for connecting the Flash chip to burning;
Memory, for storing data;
Processor obtains interface, Flash interface and Memory linkage with recordable paper respectively, for from the recordable paper
It obtains and reads program verification file in the first equipment of interface connection, and the program verification file is stored to the first ground of memory
It at location, is read from first equipment to recordable paper, and described will be written in Flash chip to recordable paper, from Flash
The content being just written is read in chip and is stored at the second address of memory, by the content at second address according to default
Rule is converted to the second identifying code, and the to recordable paper will be under the jurisdiction of at second identifying code and first address
One identifying code is compared, and determines when comparing successfully described to recordable paper burning success.
2. recording device as described in claim 1, which is characterized in that first identifying code is informative abstract MD5 code;It is described
Processor is specifically used for the recordable paper at second address being converted to MD5 code according to MD5 algorithm.
3. recording device as described in claim 1, which is characterized in that the processor is specifically used for from first equipment
It reads to recordable paper, this is waited for that recordable paper storage at the third address of memory, empties in Flash chip for storing this
To the content at the address of recordable paper, it then will be stored at the third address and Flash chip be written to recordable paper
In wait at the address of recordable paper for storing this.
4. recording device as claimed in claim 3, which is characterized in that the processor is also used to empty institute after comparing successfully
State the content at the second address and the third address, judge whether there are also non-burning complete to recordable paper, if so, then after
It is continuous read from first equipment it is next to recordable paper.
5. recording device as claimed in claim 4, which is characterized in that further include the instruction device being connected to the processor;
The processor is also used to send burning failure instruction to the instruction device when comparing failure, is judging needed burning
Burning is sent to the instruction device when burning file success successfully to instruct;
The instruction device is used to receive the prompt information for exporting burning failure when burning failure instruction, is receiving burning
Burning successful prompt information is exported when success instructs.
6. recording device as described in claim 1, which is characterized in that it is described to recordable paper be uboot file, kernel file
Or file system files.
7. a kind of method of burning program characterized by comprising
Program verification file is read, and by program verification file storage at the first address of memory, the program verification
It include respectively to corresponding first identifying code of recordable paper in file;
It reads to recordable paper, and this is waited in recordable paper write-in Flash chip;
The content being just written is read from Flash chip, and by content storage at the second address of memory;
Content at second address is converted into the second identifying code according to preset rules;
First identifying code to recordable paper will be under the jurisdiction of at second identifying code and first address to be compared,
And it is determined when comparing successfully described to recordable paper burning success.
8. the method for claim 7, which is characterized in that first identifying code is informative abstract MD5 code, described by institute
It states the content at the second address and is converted to the second identifying code according to preset rules and include:
Content at second address is converted into MD5 code according to MD5 algorithm.
9. the method for claim 7, which is characterized in that be subordinate at by second identifying code and first address
After first identifying code to recordable paper is compared, the method also includes:
When comparing failure, the prompt information of burning failure is exported.
10. a kind of computer readable storage medium, which is characterized in that including program, described program can be executed by processor with
Realize the method as described in any one of claim 7 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910256657.7A CN109992274A (en) | 2019-04-01 | 2019-04-01 | Recording device, the method for burning program and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910256657.7A CN109992274A (en) | 2019-04-01 | 2019-04-01 | Recording device, the method for burning program and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109992274A true CN109992274A (en) | 2019-07-09 |
Family
ID=67131885
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910256657.7A Pending CN109992274A (en) | 2019-04-01 | 2019-04-01 | Recording device, the method for burning program and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109992274A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110531994A (en) * | 2019-08-22 | 2019-12-03 | 芯海科技(深圳)股份有限公司 | Method for burn-recording, replication tool and computer equipment |
CN110750272A (en) * | 2019-10-12 | 2020-02-04 | 昆山丘钛微电子科技有限公司 | Data burning method for camera equipment, burning equipment and storage medium |
CN110996443A (en) * | 2019-12-06 | 2020-04-10 | 吴苑 | Burning method and device for address codes of LED lamp beads |
CN111078235A (en) * | 2019-12-13 | 2020-04-28 | 西安研祥兴业电子科技有限公司 | Digital power supply chip burning method and device |
CN111124440A (en) * | 2019-12-17 | 2020-05-08 | 湖南国科微电子股份有限公司 | Chip software burning method, chip software burning data processing method and device |
CN112188327A (en) * | 2020-09-27 | 2021-01-05 | 上海欣诺通信技术股份有限公司 | Optical network unit burning method, device, medium and equipment |
CN112988179A (en) * | 2021-04-29 | 2021-06-18 | 北京华益精点生物技术有限公司 | Burning method and system for glucometer code card, electronic equipment and storage medium |
CN113010190A (en) * | 2021-03-26 | 2021-06-22 | 易兆微电子(杭州)股份有限公司 | MAC address burning method, device, equipment and storage medium |
CN113821227A (en) * | 2021-09-23 | 2021-12-21 | 青岛海信日立空调系统有限公司 | Air conditioner online burning system |
CN117170694A (en) * | 2023-09-15 | 2023-12-05 | 合芯科技(苏州)有限公司 | BMC data burning configuration method, device, equipment and medium |
CN117555573A (en) * | 2024-01-12 | 2024-02-13 | 深圳市迈腾电子有限公司 | Chip burning information synchronization method, electronic equipment and computer readable medium |
CN117555573B (en) * | 2024-01-12 | 2024-04-30 | 深圳市迈腾电子有限公司 | Chip burning information synchronization method, electronic equipment and computer readable medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050160218A1 (en) * | 2004-01-20 | 2005-07-21 | Sun-Teck See | Highly integrated mass storage device with an intelligent flash controller |
CN104679507A (en) * | 2015-02-05 | 2015-06-03 | 四川长虹电器股份有限公司 | Generation method and device for NAND Flash programmer burn image file |
CN105045626A (en) * | 2015-07-21 | 2015-11-11 | 珠海格力电器股份有限公司 | Program burning method, burning device and controller |
CN108363579A (en) * | 2018-02-08 | 2018-08-03 | 深圳创维-Rgb电子有限公司 | Data burning method, device, equipment and storage medium |
CN108491212A (en) * | 2018-03-19 | 2018-09-04 | 广东美的暖通设备有限公司 | Burning file method, equipment and computer readable storage medium |
-
2019
- 2019-04-01 CN CN201910256657.7A patent/CN109992274A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050160218A1 (en) * | 2004-01-20 | 2005-07-21 | Sun-Teck See | Highly integrated mass storage device with an intelligent flash controller |
CN104679507A (en) * | 2015-02-05 | 2015-06-03 | 四川长虹电器股份有限公司 | Generation method and device for NAND Flash programmer burn image file |
CN105045626A (en) * | 2015-07-21 | 2015-11-11 | 珠海格力电器股份有限公司 | Program burning method, burning device and controller |
CN108363579A (en) * | 2018-02-08 | 2018-08-03 | 深圳创维-Rgb电子有限公司 | Data burning method, device, equipment and storage medium |
CN108491212A (en) * | 2018-03-19 | 2018-09-04 | 广东美的暖通设备有限公司 | Burning file method, equipment and computer readable storage medium |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110531994A (en) * | 2019-08-22 | 2019-12-03 | 芯海科技(深圳)股份有限公司 | Method for burn-recording, replication tool and computer equipment |
CN110750272A (en) * | 2019-10-12 | 2020-02-04 | 昆山丘钛微电子科技有限公司 | Data burning method for camera equipment, burning equipment and storage medium |
CN110750272B (en) * | 2019-10-12 | 2023-09-05 | 昆山丘钛微电子科技有限公司 | Data burning method for image pickup apparatus, burning apparatus, and storage medium |
CN110996443B (en) * | 2019-12-06 | 2022-01-11 | 吴苑 | Burning method and device for address codes of LED lamp beads |
CN110996443A (en) * | 2019-12-06 | 2020-04-10 | 吴苑 | Burning method and device for address codes of LED lamp beads |
CN111078235A (en) * | 2019-12-13 | 2020-04-28 | 西安研祥兴业电子科技有限公司 | Digital power supply chip burning method and device |
CN111078235B (en) * | 2019-12-13 | 2024-02-20 | 西安研祥兴业电子科技有限公司 | Digital power supply chip burning method and device |
CN111124440A (en) * | 2019-12-17 | 2020-05-08 | 湖南国科微电子股份有限公司 | Chip software burning method, chip software burning data processing method and device |
CN112188327B (en) * | 2020-09-27 | 2022-10-14 | 上海欣诺通信技术股份有限公司 | Optical network unit burning method, device, medium and equipment |
CN112188327A (en) * | 2020-09-27 | 2021-01-05 | 上海欣诺通信技术股份有限公司 | Optical network unit burning method, device, medium and equipment |
CN113010190A (en) * | 2021-03-26 | 2021-06-22 | 易兆微电子(杭州)股份有限公司 | MAC address burning method, device, equipment and storage medium |
CN112988179B (en) * | 2021-04-29 | 2021-09-28 | 北京华益精点生物技术有限公司 | Burning method and system for glucometer code card, electronic equipment and storage medium |
CN112988179A (en) * | 2021-04-29 | 2021-06-18 | 北京华益精点生物技术有限公司 | Burning method and system for glucometer code card, electronic equipment and storage medium |
CN113821227A (en) * | 2021-09-23 | 2021-12-21 | 青岛海信日立空调系统有限公司 | Air conditioner online burning system |
CN117170694A (en) * | 2023-09-15 | 2023-12-05 | 合芯科技(苏州)有限公司 | BMC data burning configuration method, device, equipment and medium |
CN117555573A (en) * | 2024-01-12 | 2024-02-13 | 深圳市迈腾电子有限公司 | Chip burning information synchronization method, electronic equipment and computer readable medium |
CN117555573B (en) * | 2024-01-12 | 2024-04-30 | 深圳市迈腾电子有限公司 | Chip burning information synchronization method, electronic equipment and computer readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109992274A (en) | Recording device, the method for burning program and readable storage medium storing program for executing | |
JP4416914B2 (en) | Method for providing control information to a drive via a data storage medium | |
CN102117660B (en) | For testing the tester of data storage device | |
TWI220962B (en) | Firmware updating method and related apparatus for checking content of replacing firmware before firmware updating | |
CN107391333A (en) | A kind of OSD disk failures method of testing and system | |
US9129244B2 (en) | Linked decision nodes in a business process model | |
CN101286336B (en) | System and method for embedding optical drive compatibility information in optical media | |
CN109726105A (en) | Test data building method, device, equipment and storage medium | |
CN106104463B (en) | System and method for storing the failsafe operation of equipment | |
CN109189405A (en) | A kind of method and system of proving program Flash data consistency | |
CN108509215A (en) | A kind of replacing options of system software, device, terminal device and storage medium | |
CN105573676A (en) | Method for verifying data consistency in storage system | |
CN113672520A (en) | Test case generation method and device, electronic equipment and storage medium | |
CN110515755A (en) | Interface function verification method, device, equipment and computer readable storage medium | |
CN109165209A (en) | The data verification method, device of object type, equipment and medium in database | |
CN110018954A (en) | Code quality detection, the appraisal procedure of code detection quality, device and equipment | |
CN103425932B (en) | Signature calibration method and terminal device | |
JP2008140456A (en) | Storage device, storage medium, control unit, memory, server device, and client/server system | |
US20140380284A1 (en) | Method for developing and testing a connectivity driver for an instrument | |
US11625366B1 (en) | System, method, and computer program for automatic parser creation | |
US6973014B1 (en) | Methods for optical disc sector verification | |
CN108153521A (en) | The management method and its system of a kind of XML configuration file | |
CN111897685A (en) | Method and device for checking data in power failure, storage medium and electronic equipment | |
US20080201572A1 (en) | Method and system for uniformizing product data embedded in a computer platform | |
CN106874181A (en) | The verification method and device of a kind of interface conversion |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190709 |
|
RJ01 | Rejection of invention patent application after publication |