Movatterモバイル変換


[0]ホーム

URL:


CN108053861A - Firmware self-regeneration method in intelligent memory device - Google Patents

Firmware self-regeneration method in intelligent memory device
Download PDF

Info

Publication number
CN108053861A
CN108053861ACN201810088576.6ACN201810088576ACN108053861ACN 108053861 ACN108053861 ACN 108053861ACN 201810088576 ACN201810088576 ACN 201810088576ACN 108053861 ACN108053861 ACN 108053861A
Authority
CN
China
Prior art keywords
firmware
data
memory device
error
correct
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
CN201810088576.6A
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.)
Jiangsu Hua Cun Electronic Technology Co Ltd
Original Assignee
Jiangsu Hua Cun Electronic Technology 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 Jiangsu Hua Cun Electronic Technology Co LtdfiledCriticalJiangsu Hua Cun Electronic Technology Co Ltd
Priority to CN201810088576.6ApriorityCriticalpatent/CN108053861A/en
Publication of CN108053861ApublicationCriticalpatent/CN108053861A/en
Priority to PCT/CN2018/099739prioritypatent/WO2019148792A1/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention discloses a kind of firmware self-regeneration methods in intelligent memory device, firmware is write in intelligent memory device in two different blocks, the location information of other side is remembered mutually, when wherein side's corrupted data, utilizes the firmware of the correct firmware repair data mistake of data.The firmware that can be corrected mistake makes it recover normal data.

Description

Firmware self-regeneration method in intelligent memory device
Technical field
The present invention relates to firmwares in memory to repair field.
Background technology
Firmware is a software, it is therefore an objective to manipulate intelligent memory device(Predominantly flash memory)It is various in main control chipVarious kinds function.The firmware of first loading, influences whether whole device can normal operation after power activation.Due to flash memoryAll be that can only read memory device in chip, so formal firmware can be placed in flash memory, therefore flash memory preserve data canIt is extremely important by property.But promoted with person's manufacturing process, more advanced technique, flash memory can generate the bit of mistake when operating, leadCause error in data.Flash memory as shown in Figure 1 is formed by multiple pieces, and each block is composed of multiple pages, and each page is by multiple sectorsIt is composed.It after firmware is written into Hash memory pages, is frequently read, causes the corrupted data in flash memory.
In the past in order to protect firmware, multiple firmwares can be write in flash memory, to prevent firmware data from damaging.When write-in is excessiveFirmware backup when, influence whether flash memory usage amount, and when these firmwares all damage, whole device can not start.
The content of the invention
It is an object of the invention to provide a kind of firmware self-regeneration methods in intelligent memory device, can correct mistakeFirmware makes it recover normal data by mistake.
Realizing the technical solution of above-mentioned purpose is:
Firmware is write in intelligent memory device two not by a kind of firmware self-regeneration method in intelligent memory deviceIn same block, the location information of other side is remembered mutually, when wherein side's corrupted data, utilizes the correct firmware repair data of dataThe firmware of mistake.
Preferably, including:
Step S1 is searched and is checked first part of firmware, and error in data or while not searching enter step S2, enter when data are correctStep S3;
Step S2 is searched and is checked second part of firmware, error in data or starts failure when not searching, and step is entered when data are correctRapid S4;
Step S3 checks second part of firmware, and when error in data enters step S4, normal operation when data are correct;
Step S4 when the error in data of first part of firmware or when not searching, passes through the position of first part of firmware in second part of firmwareConfidence ceases, and the data message of second part of firmware is stored in the storage of first part of firmware by the memory block for first part of firmware of storage of erasingIn block, then normal operation;
When the error in data of second part of firmware, by the location information of second part of firmware in first part of firmware, storage of erasingThe data message of first part of firmware is stored in the memory block of second part of firmware, then normal operation by the memory block of two parts of firmwares.
Preferably, intelligent memory device is set to flash memory.
The beneficial effects of the invention are as follows:The present invention is by the way that firmware is write in two different blocks, when a wherein number formulary evidenceDamage utilizes the service life of the firmware of the correct firmware repair data mistake of data, thereby increase product.It is compared with traditional approach,It only needs to back up protection and obdurability that a small amount of firmware data may achieve firmware.
Description of the drawings
Fig. 1 is the structure chart of flash memory;
Fig. 2 is the flow chart of the firmware self-regeneration method of the present invention.
Specific embodiment
The present invention will be further described with reference to the accompanying drawings.
Firmware self-regeneration method in the intelligent memory device of the present invention, intelligent memory device is write by firmwareIn in two different blocks, remember the location information of other side mutually, when wherein side's corrupted data, utilize the correct firmware of dataThe firmware of repair data mistake.Intelligent memory device is preferably flash memory.
Specifically, referring to Fig. 2, firmware self-regeneration method comprises the following steps:
Step S1 is searched and is checked first part of firmware, and error in data or while not searching enter step S2, enter when data are correctStep S3.
Step S2 is searched and is checked second part of firmware, error in data or starts failure when not searching, when data are correct intoEnter step S4.
Step S3 checks second part of firmware, and when error in data enters step S4, normal operation when data are correct.
Step S4 when the error in data of first part of firmware or when not searching, passes through first part of firmware in second part of firmwareLocation information, the data message of second part of firmware is stored in first part of firmware by the memory block for first part of firmware of storage of erasingIn memory block, then normal operation.
When the error in data of second part of firmware, by the location information of second part of firmware in first part of firmware, erase and depositThe memory block of second part of firmware is put, the data message of first part of firmware is stored in the memory block of second part of firmware, then normallyOperation.
After reparation, next time during electric power starting, it is possible to find first part of firmware data.Utilize the method twoFirmware data self-regeneration thereby increases the service life of product.
Above example is used for illustrative purposes only rather than limitation of the present invention, the technology people in relation to technical fieldMember, without departing from the spirit and scope of the present invention, can also make various conversion or modification, therefore all equivalentTechnical solution should also belong to scope of the invention, should be limited by each claim.

Claims (3)

CN201810088576.6A2018-01-302018-01-30Firmware self-regeneration method in intelligent memory devicePendingCN108053861A (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN201810088576.6ACN108053861A (en)2018-01-302018-01-30Firmware self-regeneration method in intelligent memory device
PCT/CN2018/099739WO2019148792A1 (en)2018-01-302018-08-09Self-repair method for firmware in intelligent storage device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810088576.6ACN108053861A (en)2018-01-302018-01-30Firmware self-regeneration method in intelligent memory device

Publications (1)

Publication NumberPublication Date
CN108053861Atrue CN108053861A (en)2018-05-18

Family

ID=62125121

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810088576.6APendingCN108053861A (en)2018-01-302018-01-30Firmware self-regeneration method in intelligent memory device

Country Status (2)

CountryLink
CN (1)CN108053861A (en)
WO (1)WO2019148792A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2019148792A1 (en)*2018-01-302019-08-08江苏华存电子科技有限公司Self-repair method for firmware in intelligent storage device

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1728102A (en)*2004-07-262006-02-01明基电通股份有限公司 Firmware management system and method
CN102298545A (en)*2011-08-232011-12-28晨星软件研发(深圳)有限公司System startup boot processing method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103425549A (en)*2012-05-222013-12-04鸿富锦精密工业(深圳)有限公司Firmware managing method and system of embedded controller
US9781207B2 (en)*2013-08-292017-10-03International Business Machines CorporationDispersed storage based on estimated life and methods for use therewith
CN105550064A (en)*2015-12-042016-05-04广州中海达定位技术有限公司Storage firmware dual backup method and device based on GNSS receiver
CN106021003B (en)*2016-05-052019-11-29捷开通讯(深圳)有限公司Restorative procedure, intelligent terminal and the server of intelligent terminal
CN108053861A (en)*2018-01-302018-05-18江苏华存电子科技有限公司Firmware self-regeneration method in intelligent memory device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1728102A (en)*2004-07-262006-02-01明基电通股份有限公司 Firmware management system and method
CN102298545A (en)*2011-08-232011-12-28晨星软件研发(深圳)有限公司System startup boot processing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2019148792A1 (en)*2018-01-302019-08-08江苏华存电子科技有限公司Self-repair method for firmware in intelligent storage device

Also Published As

Publication numberPublication date
WO2019148792A1 (en)2019-08-08

Similar Documents

PublicationPublication DateTitle
US7783955B2 (en)Method for implementing error-correction codes in flash memory
CN100590606C (en) Flash memory data integrity protection method
US9524212B2 (en)Method, device and operating system for processing and using burn data of NAND flash
MX2012010944A (en)Non-regular parity distribution detection via metadata tag.
TWI512742B (en) Non-volatile flash memory erasure abnormal memory block repairing method and device
CN102081577A (en)Data storage structure of Flash memory and data manipulation mode thereof
CN105808371A (en)Data backup and recovery method, control chip and storage device
CN105893178A (en)Data backup method for mobile hard disk
CN113625947B (en)Data error correction method, device, equipment and computer readable storage medium
CN101000569A (en)Method of correcting error code for multiple sector
US9754682B2 (en)Implementing enhanced performance with read before write to phase change memory
CN106227625A (en)The restoration methods of a kind of flash data damaged because of power down and system
CN105280239A (en)Method and device for dynamically realizing ECC check codes of solid state drives
CN107632943B (en)Solid state disk data protection method and solid state disk
CN103425546A (en)General high-efficient reliable Nor Flash data memory management method
CN108053861A (en)Firmware self-regeneration method in intelligent memory device
CN107783725A (en)The method, apparatus and nonvolatile memory of data storage
CN105095352A (en)Data processing method and apparatus applied to distributed system
CN104461379A (en)Method for improving stability of NAND and NAND
CN115509466B (en)Data management method and device, electronic equipment and storage medium
US9880926B1 (en)Log structured reserved zone for a data storage device
CN110660442A (en)High-temperature application method and system of NOR FLASH
CN102591738B (en) Data management method, memory controller and embedded memory storage device
CN113707211B (en)Flash memory READ RETRY error correction method and device
CN116185563A (en)Software simulation algorithm based on vehicle-gauge microcontroller data flash memory

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20180518


[8]ページ先頭

©2009-2025 Movatter.jp