CN106201617A - A kind of method and system of burning memorizer - Google Patents

A kind of method and system of burning memorizer Download PDF

Info

Publication number
CN106201617A
CN106201617A CN201610555420.5A CN201610555420A CN106201617A CN 106201617 A CN106201617 A CN 106201617A CN 201610555420 A CN201610555420 A CN 201610555420A CN 106201617 A CN106201617 A CN 106201617A
Authority
CN
China
Prior art keywords
burning
memorizer
cpu chip
computer
erasing
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
CN201610555420.5A
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.)
Qingdao Goertek Co Ltd
Original Assignee
Qingdao Goertek Co Ltd
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 Qingdao Goertek Co Ltd filed Critical Qingdao Goertek Co Ltd
Priority to CN201610555420.5A priority Critical patent/CN106201617A/en
Publication of CN106201617A publication Critical patent/CN106201617A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses the method and system of a kind of burning memorizer.The method comprise the steps that and the Target Board at described memorizer place is connected computer, the cpu chip on described Target Board is set up with described computer and described memorizer simultaneously and is electrically connected;Described memorizer is treated that burning information is burnt in described cpu chip in advance by described computer;Described computer controls described cpu chip and treats that burning information monoblock is burnt in described memorizer by described.The advantage that the method and system of this burning memorizer combines off-line burning and online burning, burning information can be revised neatly, maintenance cost is low, the shortcoming simultaneously avoiding off-line burning and online burning, need not burning information is carried out segmentation, it is possible to use cpu chip will treat that burning information monoblock is burnt in memorizer.Additionally, the verification that memory burn is complete being may insure that, memory burn information is accurate, burning success rate is higher.

Description

A kind of method and system of burning memorizer
Technical field
The present invention relates to burning technical field, particularly to the method and system of a kind of burning memorizer.
Background technology
In embedded systems, memorizer typically requires some fixing system informations of storage, and Producer needs program Code is stored in memory by cd-rom recorder.The production method used at present, one is off-line burning, i.e. uses special burning Record device was fixed the burning of information before SMT (Surface Mount Technology, electronic circuit surface installation technique) Record.Another is online burning, is that server sends the information needing burning, by embedded system in test process Cpu chip segmentation carries out burning to memorizer.The pluses and minuses of both burning modes are as follows:
The advantage of off-line burning is to use specialized CDRW to carry out burning, and speed is fast.But shortcoming is it is also obvious that burn Having recorded and i.e. carried out SMT, once burning information needs amendment, and spent human and material resources and time cost are the highest.If There is the situation that leakage is burnt, the cost of maintenance is the highest.
The advantage of online burning mode is can to tackle the amendment of burning information flexibly.Shortcoming has the following aspects, Owing to the quantity of information needing burning is relatively big, needs to transmit the information segmenting treating burning, to add extra control information simultaneously, On the one hand the success rate of the Control of Bit Error Rate burning in communication process;On the other hand time cost improves.
Summary of the invention
In view of the above problems, the invention provides the method and system of a kind of burning memorizer, to solve existing off-line burning Record maintenance cost is high, and the problem that online burning success rate is low, time cost is high.
For reaching above-mentioned purpose, the technical scheme is that and be achieved in that:
The present invention provides a kind of method of burning memorizer, and described method includes:
The Target Board at described memorizer place is connected computer, the cpu chip on described Target Board simultaneously with described meter Electrical connection set up by calculation machine and described memorizer;
Described memorizer is treated that burning information is burnt in described cpu chip in advance by described computer;
Described computer controls described cpu chip and treats that burning information monoblock is burnt in described memorizer by described.
Alternatively, by described, the described cpu chip of described computer control treats that burning information monoblock is burnt to described memorizer Inside include:
Described computer sends erasing instruction to described cpu chip, and described cpu chip performs wiping according to described erasing instruction Division operation, by the storage information erasing in described memorizer;
If wiping successfully, described cpu chip returns to wipe to described computer and successfully instructs;If wiping unsuccessfully, institute State cpu chip and return erasing failure command to institute computer, described computer receive after described erasing failure command again to Described cpu chip sends erasing instruction;
Described computer receives after being wiped successfully instruction and sends burning instruction, described cpu chip to described cpu chip Perform burning operation according to described burning instruction, treat that burning information monoblock is burnt in described memorizer by described, and in burning Complete the return burning of backward described computer and complete instruction.
Alternatively, by described, the described cpu chip of described computer control treats that burning information monoblock is burnt to described memorizer The most also include:
Described computer receives after described burning completes instruction and sends checking command, described CPU core to described cpu chip Sheet performs verification operation according to described checking command, and the memorizer completing burning verifies;
If verifying successfully, described cpu chip successfully instructs to described computer back-checking, and described computer terminates storage Device burning process;If verifying unsuccessfully, described cpu chip is to described computer back-checking failure command, and described computer is to institute State cpu chip and resend erasing instruction.
The present invention also provides for the system of a kind of burning memorizer, and described system includes computer and described memorizer place Target Board, described Target Board connects computer, cpu chip on described Target Board simultaneously with described computer and described memorizer Set up electrical connection;
Described computer, for described memorizer being treated, burning information is burnt in described cpu chip in advance, and controls By described, described cpu chip treats that burning information monoblock is burnt in described memorizer;
Described cpu chip, under the control of described computer, by treating of the described memorizer within it of burning in advance Burning information monoblock is burnt in described memorizer.
Alternatively, described computer, specifically for sending erasing instruction to described cpu chip, and it is erased into receiving Send the instruction of burning memorizer to described cpu chip after merit instruction, or, again to sending out after receiving erasing failure command The erasing instruction sent;
Described cpu chip, specifically for performing erasing operation according to described erasing instruction, by the storage in described memorizer Information erasing, and after erasing memorizer success, wipe to the return of described computer and successfully instruct, or, at erasing memorizer After failure, return erasing failure command to described computer, and the erasing instruction resend according to computer re-executes wiping Division operation;And for receiving the burning instruction execution burning operation that described computer sends, treat burning information by described Monoblock is burnt in described memorizer, and completes instruction to the return burning of described computer after burning completes.
Alternatively, described computer, be additionally operable to receive burning complete instruction after to described cpu chip send verification refer to Order, and for resending erasing instruction to described cpu chip after receiving verification failure command;
Described cpu chip, is additionally operable to receive described checking command and performs verification operation, and the memorizer completing burning is carried out Verification;And successfully instruct to described computer back-checking after verifying successfully, or return at the unsuccessfully backcasting machine that verifies Return verification failure command.
The invention has the beneficial effects as follows: the method and system of a kind of burning memorizer that the present invention provides, by storing The Target Board electrical connection computer at device place, memorizer is treated the CPU that burning information is burnt on Target Board in advance by computer In chip, then control cpu chip will treat that burning information monoblock is burnt in described memorizer, thus combine off-line burning with The advantage of online burning, can revise burning information neatly, and maintenance cost is low, avoids off-line burning and online burning simultaneously Shortcoming, it is not necessary to burning information is carried out segmentation, it is achieved treat the monoblock burning of burning information.Additionally, it is complete to memory burn Verification may insure that memory burn information is accurate, burning success rate is higher.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of the burning memorizer of the embodiment of the present invention;
Fig. 2 is another flow chart of burning memory approach of the embodiment of the present invention;
Fig. 3 is the system schematic of the burning memorizer of the embodiment of the present invention.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
The embodiment of the present invention provides a kind of method of burning memorizer, as it is shown in figure 1, described method includes:
Step 110: the Target Board at described memorizer place is connected computer, the cpu chip on described Target Board is simultaneously Set up with described computer and described memorizer and electrically connect;
Step 120: described memorizer is treated that burning information is burnt in described cpu chip in advance by described computer;
Step 130: described computer controls described cpu chip and treats that burning information monoblock is burnt to described memorizer by described In.
From the foregoing, the method for burning memorizer combines the excellent of off-line burning and online burning in the embodiment of the present invention Point, can revise burning information neatly, and maintenance cost is low, the shortcoming simultaneously avoiding the two, it is not necessary to enter burning information Row segmentation, it is possible to use cpu chip will treat that burning information monoblock is burnt in memorizer.
Specifically, as in figure 2 it is shown, in step 130, described computer controls described cpu chip and treats burning information by described Monoblock includes in being burnt to described memorizer:
Step 131: described computer sends erasing instruction to described cpu chip, and described cpu chip refers to according to described erasing Order performs erasing operation, by the storage information erasing in described memorizer.Also hold herein for the memorizer not storing information This erasing operation of row, eliminates the step whether having storage information in needing to detect memorizer before burning memorizer.
Step 132: if wiping successfully, described cpu chip returns to wipe to described computer and successfully instructs;If erasing Failure, described cpu chip returns erasing failure command to institute's computer, after described computer receives described erasing failure command Again sending erasing instruction to described cpu chip, described cpu chip performs erasing operation according to described erasing instruction, by described Storage information erasing in memorizer, i.e. returns step 131, and re-executes step 132.
Step 133: described computer receives after being wiped successfully instruction and sends burning instruction, institute to described cpu chip State cpu chip and perform burning operation according to described burning instruction, treat that burning information monoblock is burnt in described memorizer by described, And complete instruction to the return burning of described computer after burning completes.
In a preferred embodiment of the invention, as in figure 2 it is shown, in step 130, described computer controls described CPU core By described, sheet treats that burning information monoblock also includes in being burnt to described memorizer:
Step 134: described computer receives after described burning completes instruction and sends checking command to described cpu chip, Described cpu chip performs verification operation according to described checking command, and the memorizer completing burning verifies;
Step 135: if verifying successfully, described cpu chip successfully instructs to described computer back-checking, described computer Terminate memory burn process;If verifying unsuccessfully, described cpu chip is to described computer back-checking failure command, described meter Calculation machine resends erasing instruction to described cpu chip, and described cpu chip performs erasing operation according to described erasing instruction, will The information erasing of burning in described memorizer, i.e. returns step 131 and re-executes, and re-execute step 132, step 133 and step 134, it is ensured that memory burn information is accurate, and burning success rate is higher.
Although relative to traditional on-line rewriting method, the method for the burning memorizer of the embodiment of the present invention is in burning process Time cost can increased, generally about 10 seconds, it is contemplated that the spent manpower of tradition method for burn-recording maintenance, thing Power and time cost, the method for burn-recording of the embodiment of the present invention is still of great significance.
The embodiment of the present invention also provides for the system of a kind of burning memorizer, as it is shown on figure 3, system includes computer 400 He The Target Board 100 at memorizer 200 place, Target Board 100 connects computer 400, cpu chip 300 on Target Board 100 simultaneously with Electrical connection set up by computer 400 and memorizer 200;
Computer 400, for memorizer 200 being treated, burning information is burnt in cpu chip 300 in advance, and controls CPU Chip 300 will treat that burning information monoblock is burnt in memorizer 200;
Cpu chip 300, under the control of computer 400, by the memorizer 200 within it of burning in advance wait burn Record information monoblock is burnt in memorizer 200.
Computer 400, specifically for, send erasing instruction to cpu chip 300, and after receiving and wiping successfully instruction The instruction of burning memorizer 200 is sent to cpu chip 300, or, again to the wiping sent after receiving erasing failure command Except instruction.
Cpu chip 300, specifically for performing erasing operation according to erasing instruction, wipes the storage information in memorizer 200 Remove, and after erasing memorizer 200 success, wipe to computer 400 return and successfully instruct, or, lose at erasing memorizer 200 After losing, return erasing failure command to computer 400, and the erasing instruction resend according to computer 400 re-executes wiping Division operation;And for receiving the burning instruction execution burning operation that computer 400 sends, will treat that burning information monoblock is burnt Record is in memorizer 200, and completes backcasting machine 400 in burning and return burning and complete instruction.
In a preferred embodiment of the invention, computer 400, it is additionally operable to receiving after burning completes instruction to CPU Chip 300 sends checking command, and refers to for resending erasing to cpu chip 300 after receiving verification failure command Order;
Cpu chip 300, is additionally operable to receive checking command and performs verification operation, and the memorizer 200 completing burning carries out school Test;And successfully instruct verifying successfully backcasting machine 400 back-checking, or return at the unsuccessfully backcasting machine 400 that verifies Return verification failure command.
In sum, the embodiment of the present invention provides the benefit that: a kind of burning memorizer that the embodiment of the present invention provides Method and system combines the advantage of off-line burning and online burning, can revise burning information neatly, and maintenance cost is low, with Time avoid off-line burning and online burning shortcoming, it is not necessary to burning information is carried out segmentation, it is achieved treat the whole of burning information Block burning.Additionally, the verification that memory burn is complete being may insure that, memory burn information is accurate, burning success rate is relatively High.
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit protection scope of the present invention.All Any modification, equivalent substitution and improvement etc. made within the spirit and principles in the present invention, are all contained in protection scope of the present invention In.

Claims (6)

1. the method for a burning memorizer, it is characterised in that described method includes:
The Target Board at described memorizer place is connected computer, the cpu chip on described Target Board simultaneously with described computer Electrical connection is set up with described memorizer;
Described memorizer is treated that burning information is burnt in described cpu chip in advance by described computer;
Described computer controls described cpu chip and treats that burning information monoblock is burnt in described memorizer by described.
Method the most according to claim 1, it is characterised in that described computer controls described cpu chip and described waiting burnt Record information monoblock includes in being burnt to described memorizer:
Described computer sends erasing instruction to described cpu chip, and described cpu chip performs erasing behaviour according to described erasing instruction Make, by the storage information erasing in described memorizer;
If wiping successfully, described cpu chip returns to wipe to described computer and successfully instructs;If wiping unsuccessfully, described CPU Chip returns erasing failure command to institute computer, and described computer receives after described erasing failure command again to described Cpu chip sends erasing instruction;
Described computer receive wiped successfully instruction after to described cpu chip send burning instruction, described cpu chip according to Described burning instruction performs burning operation, treats that burning information monoblock is burnt in described memorizer by described, and completes in burning Backward described computer returns burning and completes instruction.
Method the most according to claim 2, it is characterised in that described computer controls described cpu chip and described waiting burnt Record information monoblock also includes in being burnt to described memorizer:
Described computer receives after described burning completes instruction and sends checking command, described cpu chip root to described cpu chip Performing verification operation according to described checking command, the memorizer completing burning verifies;
If verifying successfully, described cpu chip successfully instructs to described computer back-checking, and described computer structure beam store burns Record process;If verifying unsuccessfully, described cpu chip is to described computer back-checking failure command, and described computer is to described CPU Chip resends erasing instruction.
4. the system of a burning memorizer, it is characterised in that described system includes computer and the mesh at described memorizer place Target, described Target Board connects computer, and the cpu chip on described Target Board is built with described computer and described memorizer simultaneously Vertical electrical connection;
Described computer, for described memorizer being treated, burning information is burnt in described cpu chip in advance, and controls described By described, cpu chip treats that burning information monoblock is burnt in described memorizer;
Described cpu chip, under the control of described computer, treats burning by the described memorizer within it of burning in advance Information monoblock is burnt in described memorizer.
System the most according to claim 4, it is characterised in that
Described computer, specifically for described cpu chip send erasing instruction, and receive wipe successfully instruct after to institute State cpu chip and send the instruction of burning memorizer, or, again refer to the erasing sent after receiving erasing failure command Order;
Described cpu chip, specifically for performing erasing operation according to described erasing instruction, by the storage information in described memorizer Erasing, and after erasing memorizer success, wipe to the return of described computer and successfully instruct, or, in erasing memorizer failure After, return erasing failure command to described computer, and the erasing instruction resend according to computer re-executes erasing behaviour Make;And for receiving the burning instruction execution burning operation that described computer sends, treat burning information monoblock by described It is burnt in described memorizer, and completes instruction to the return burning of described computer after burning completes.
System the most according to claim 5, it is characterised in that
Described computer, is additionally operable to receiving to described cpu chip transmission checking command after burning completes instruction, and is used for Erasing instruction is resend to described cpu chip after receiving verification failure command;
Described cpu chip, is additionally operable to receive described checking command and performs verification operation, and the memorizer completing burning carries out school Test;And successfully instruct to described computer back-checking after verifying successfully, or return at the unsuccessfully backcasting machine that verifies Verification failure command.
CN201610555420.5A 2016-07-14 2016-07-14 A kind of method and system of burning memorizer Pending CN106201617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610555420.5A CN106201617A (en) 2016-07-14 2016-07-14 A kind of method and system of burning memorizer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610555420.5A CN106201617A (en) 2016-07-14 2016-07-14 A kind of method and system of burning memorizer

Publications (1)

Publication Number Publication Date
CN106201617A true CN106201617A (en) 2016-12-07

Family

ID=57476100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610555420.5A Pending CN106201617A (en) 2016-07-14 2016-07-14 A kind of method and system of burning memorizer

Country Status (1)

Country Link
CN (1) CN106201617A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107145370A (en) * 2017-05-02 2017-09-08 贵州航天电子科技有限公司 A kind of FLASH memory online burning device
CN109101249A (en) * 2018-08-30 2018-12-28 郑州云海信息技术有限公司 A kind of method for burn-recording of CPLD, device and storage card
CN110609690A (en) * 2019-08-30 2019-12-24 珠海泰芯半导体有限公司 Burning acceleration method of burner

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1740992A (en) * 2004-08-26 2006-03-01 鸿富锦精密工业(深圳)有限公司 The BIOS on-line rewriting method
US20090292859A1 (en) * 2008-05-21 2009-11-26 Ite Tech. Inc. Integrated storage device and control method thereof
CN102034543A (en) * 2010-12-01 2011-04-27 福建鑫诺通讯技术有限公司 Method for simultaneously programming multiple NANDFLASH chips in single task
CN102360569A (en) * 2011-08-24 2012-02-22 中兴通讯股份有限公司 Burning method, system and apparatus for nand flash chips
CN105243042A (en) * 2015-09-30 2016-01-13 广东小天才科技有限公司 Data burning method and data burning apparatus
CN105242941A (en) * 2015-09-14 2016-01-13 广东小天才科技有限公司 Burning method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1740992A (en) * 2004-08-26 2006-03-01 鸿富锦精密工业(深圳)有限公司 The BIOS on-line rewriting method
US20090292859A1 (en) * 2008-05-21 2009-11-26 Ite Tech. Inc. Integrated storage device and control method thereof
CN102034543A (en) * 2010-12-01 2011-04-27 福建鑫诺通讯技术有限公司 Method for simultaneously programming multiple NANDFLASH chips in single task
CN102360569A (en) * 2011-08-24 2012-02-22 中兴通讯股份有限公司 Burning method, system and apparatus for nand flash chips
CN105242941A (en) * 2015-09-14 2016-01-13 广东小天才科技有限公司 Burning method and apparatus
CN105243042A (en) * 2015-09-30 2016-01-13 广东小天才科技有限公司 Data burning method and data burning apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107145370A (en) * 2017-05-02 2017-09-08 贵州航天电子科技有限公司 A kind of FLASH memory online burning device
CN107145370B (en) * 2017-05-02 2020-12-04 贵州航天电子科技有限公司 FLASH memory online burning device
CN109101249A (en) * 2018-08-30 2018-12-28 郑州云海信息技术有限公司 A kind of method for burn-recording of CPLD, device and storage card
CN110609690A (en) * 2019-08-30 2019-12-24 珠海泰芯半导体有限公司 Burning acceleration method of burner

Similar Documents

Publication Publication Date Title
CN106201617A (en) A kind of method and system of burning memorizer
CN106227572A (en) A kind of frequency converter control system programme upgrade method
CN105930236A (en) Application program version returning method based on BMS Bootloaderupgrade
CN109002310A (en) firmware upgrade method
CN109358887A (en) A kind of the online upgrading method, apparatus and system of SCM program
CN114274981B (en) Marshalling train management method, device, equipment and medium
CN109189434A (en) A kind of online upgrading method of electric energy meter
WO2014183557A1 (en) Star sensor in-orbit maintenance method
CN103854704A (en) Automatic detection method and automatic detection device of flash memory bad block
CN111756858B (en) Remote development processing system, method and device for embedded equipment
CN106406962A (en) Wind power generation controller failed remote upgrade recovery method based on ARM
CN103019969A (en) Flash memory storage device and determination method of bad storage area thereof
CN107329776A (en) A kind of method of raising DSP online upgrading fault freedoms
CN109582341A (en) A kind of host system and its programing change method of On-board System of Cab Signal equipment
CN104461589A (en) Single-chip microcomputer updating method and system
CN107621943A (en) A kind of FPGA dynamic batch programming system and method
CN109002306A (en) Method for upgrading software, upgrading terminals, laser marking machine and laser marking system
CN112148317A (en) Online upgrading device of laser radar system and laser radar system
CN111176559B (en) Data writing method and device and dual-activity system
CN107168763A (en) A kind of application synchronous method based on cloud environment, issue main frame and production main frame
CN107430533A (en) A kind of data verification method and device
CN112395012B (en) Data emptying method and device based on double-core intelligent ammeter and computer equipment
CN112799695B (en) Multi-domain multi-source collaborative common-scene software reconstruction implementation method
CN102984160A (en) Distributed network scan task processing method and system
CN109066658A (en) A kind of method of electric energy transfer and relevant device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161207