CN108614752A - Troubleshooting methodology based on NANDflash and device - Google Patents
Troubleshooting methodology based on NANDflash and device Download PDFInfo
- Publication number
- CN108614752A CN108614752A CN201611129138.7A CN201611129138A CN108614752A CN 108614752 A CN108614752 A CN 108614752A CN 201611129138 A CN201611129138 A CN 201611129138A CN 108614752 A CN108614752 A CN 108614752A
- Authority
- CN
- China
- Prior art keywords
- program
- troubleshooting
- firmware program
- code
- nand flash
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the invention discloses a kind of troubleshooting methodology and device based on NAND flash.Wherein, the troubleshooting methodology based on NAND flash includes:Reading program undated parameter, the expression of described program undated parameter only update the code block;Code firmware program in the block is updated according to described program undated parameter, the print code for troubleshooting is included in updated firmware program;Run updated firmware program.The embodiment of the present invention in the firmware program of NAND flash storage devices by adding the print code for troubleshooting, and then running log when during the test can run equipment prints, tester judges whether the specific location occurred with failure that breaks down according to running log, it solves the problems, such as that troubleshooting can not be carried out since useful information cannot be obtained in the prior art, to in the case of user data in not changing storage device, fault removal efficiency is improved, troubleshooting in running software is fast implemented and operates.
Description
Technical field
The present embodiments relate to memory technology more particularly to a kind of troubleshooting methodology based on NAND flash and
Device.
Background technology
NAND flash are one kind of Flash memories, belong to non-volatile memory device.
After the error of NAND flash storage devices, research staff needs to obtain software institute during the entire process of equipment malfunctions
The information such as the process or courses of action of experience or the state of data distribution, by analyzing these information, you can learn
It is where failure occur.
But in the prior art, after the error of NAND flash storage devices, corresponding data is merely representative of the letter after error
Breath or state, research staff can not understand will appear mistake why by these information, can not then carry out troubleshooting.
And to the process of reproducing apparatus error, then it will necessarily destroy the legacy data stored in equipment.
Invention content
The embodiment of the present invention provides a kind of troubleshooting methodology and device based on NAND flash, to solve the prior art
In the problem of can not carrying out troubleshooting since useful information cannot be obtained.
In a first aspect, an embodiment of the present invention provides a kind of troubleshooting methodology based on NAND flash, it is applied to
NAND flash storage devices, the storage device include firmware program, and the firmware program is stored in the storage device
In code block, this method includes:
Reading program undated parameter, the expression of described program undated parameter only update the code block;
Code firmware program in the block is updated according to described program undated parameter, updated firmware program
In comprising for troubleshooting print code;
Run the updated firmware program.
Second aspect, the embodiment of the present invention additionally provide a kind of fault removal device based on NAND flash, are applied to
NAND flash storage devices, the storage device include firmware program, and the firmware program is stored in the storage device
In code block, which includes:
Read module, is used for reading program undated parameter, and the expression of described program undated parameter only updates the code block;
Update module, for being updated to code firmware program in the block according to described program undated parameter, more
Include the print code for troubleshooting in firmware program after new;
Module is run, for running the updated firmware program.
The embodiment of the present invention is according to the firmware program in program undated parameter more block of new code, in updated firmware program
Including the print code for troubleshooting, and then during the test, running log when can run equipment prints
Come, tester judges whether the specific location occurred with failure that breaks down according to running log, solves in the prior art
Since useful information cannot be obtained the problem of can not carry out troubleshooting, to the user data in not changing storage device
In the case of, fault removal efficiency is improved, troubleshooting in running software is fast implemented and operates.
Description of the drawings
Fig. 1 is a kind of flow chart of troubleshooting methodology based on NAND flash in the embodiment of the present invention one;
Fig. 2 is a kind of structural schematic diagram of fault removal device based on NAND flash in the embodiment of the present invention two.
Specific implementation mode
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart of troubleshooting methodology based on NAND flash in the embodiment of the present invention one, this reality
It applies example and is applicable to the case where NAND flash break down, be applied to NAND flash storage devices, the storage device packet
Firmware program is included, the firmware program is stored in the code block of the storage device, and this method can be by being based on NAND
The fault removal device of flash executes, which may be used software and/or the mode of hardware is realized.As shown in Figure 1, should
Method includes:
S110, reading program undated parameter, program undated parameter expression only update the code block.
NAND flash storage devices include code block and data block, correspondingly, code block is for storing firmware program
Code information, data block information for storing data.
Before the method execution, the data of host computer transmission are firstly received, including program undated parameter, storage
Equipment can be read out and parse to program undated parameter, and then more block of new code.
S120, code firmware program in the block is updated according to program undated parameter, in updated firmware program
Including the print code for troubleshooting.After more block of new code, old firmware program then becomes invalid data in code block.
S130, the updated firmware program of operation.
Before the operation of S130 steps, it should first determine that the operation of the update to firmware program is fully completed.When determining to firmware program
Update operation be fully completed and after the updated firmware program of normal operation, during the test, equipment will be according to printing
Code prints running log, and tester judges whether the specific position occurred with failure of breaking down according to running log
It sets.
The embodiment of the present invention is according to the firmware program in program undated parameter more block of new code, in updated firmware program
Including the print code for troubleshooting, and then during the test, running log when can run equipment prints
Come, tester judges whether the specific location occurred with failure that breaks down according to running log, solves in the prior art
Since useful information cannot be obtained the problem of can not carry out troubleshooting, to the user data in not changing storage device
In the case of, fault removal efficiency is improved, troubleshooting in running software is fast implemented and operates.
Embodiment two
Fig. 2 is a kind of structural schematic diagram of fault removal device based on NAND flash in the embodiment of the present invention two,
The device is applied to NAND flash storage devices, the storage for executing the troubleshooting methodology based on NAND flash
Equipment includes firmware program, and the firmware program is stored in the code block of the storage device.As shown in Fig. 2, the device packet
Include read module 210, update module 220 and operation module 230, wherein
Read module 210, is used for reading program undated parameter, and the expression of described program undated parameter only updates the code
Block;
Update module 220, for being updated to code firmware program in the block according to described program undated parameter,
Include the print code for troubleshooting in updated firmware program;
Module 230 is run, for running the updated firmware program.
The embodiment of the present invention is according to the firmware program in program undated parameter more block of new code, in updated firmware program
Including the print code for troubleshooting, and then during the test, running log when can run equipment prints
Come, tester judges whether the specific location occurred with failure that breaks down according to running log, solves in the prior art
Since useful information cannot be obtained the problem of can not carry out troubleshooting, to the user data in not changing storage device
In the case of, fault removal efficiency is improved, troubleshooting in running software is fast implemented and operates.
Fault removal device provided in an embodiment of the present invention based on NAND flash can perform any embodiment of the present invention
The troubleshooting methodology based on NAND flash provided, has the corresponding function module of execution method and advantageous effect.
Note that above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The present invention is not limited to specific embodiments described here, can carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out to the present invention by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
May include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (2)
1. a kind of troubleshooting methodology based on NAND flash is applied to NAND flash storage devices, the storage device
Including firmware program, the firmware program is stored in the code block of the storage device, which is characterized in that the method packet
It includes:
Reading program undated parameter, the expression of described program undated parameter only update the code block;
Code firmware program in the block is updated according to described program undated parameter, is wrapped in updated firmware program
Containing the print code for troubleshooting;
Run the updated firmware program.
2. a kind of fault removal device based on NAND flash is applied to NAND flash storage devices, the storage device
Including firmware program, the firmware program is stored in the code block of the storage device, which is characterized in that described device packet
It includes:
Read module, is used for reading program undated parameter, and the expression of described program undated parameter only updates the code block;
Update module, for being updated to code firmware program in the block according to described program undated parameter, after update
Firmware program in comprising for troubleshooting print code;
Module is run, for running the updated firmware program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611129138.7A CN108614752A (en) | 2016-12-09 | 2016-12-09 | Troubleshooting methodology based on NANDflash and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611129138.7A CN108614752A (en) | 2016-12-09 | 2016-12-09 | Troubleshooting methodology based on NANDflash and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108614752A true CN108614752A (en) | 2018-10-02 |
Family
ID=63643463
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611129138.7A Pending CN108614752A (en) | 2016-12-09 | 2016-12-09 | Troubleshooting methodology based on NANDflash and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108614752A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010272073A (en) * | 2009-05-25 | 2010-12-02 | Fujitsu Ltd | Monitoring unit for storage device, and firmware updating method for the monitoring unit |
CN102081562A (en) * | 2009-11-30 | 2011-06-01 | 华为技术有限公司 | Equipment diagnosis method and system |
US20140236493A1 (en) * | 2010-09-30 | 2014-08-21 | Fitbit, Inc. | Methods, Systems and Devices for Activity Tracking Device Data Synchronization With Computing Devices |
CN204044803U (en) * | 2014-08-06 | 2014-12-24 | 浪潮电子信息产业股份有限公司 | A kind of server master board trouble-shooter of USB interface |
-
2016
- 2016-12-09 CN CN201611129138.7A patent/CN108614752A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010272073A (en) * | 2009-05-25 | 2010-12-02 | Fujitsu Ltd | Monitoring unit for storage device, and firmware updating method for the monitoring unit |
CN102081562A (en) * | 2009-11-30 | 2011-06-01 | 华为技术有限公司 | Equipment diagnosis method and system |
US20140236493A1 (en) * | 2010-09-30 | 2014-08-21 | Fitbit, Inc. | Methods, Systems and Devices for Activity Tracking Device Data Synchronization With Computing Devices |
CN204044803U (en) * | 2014-08-06 | 2014-12-24 | 浪潮电子信息产业股份有限公司 | A kind of server master board trouble-shooter of USB interface |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106095620B (en) | A kind of development approach of built-in Linux partition holding | |
CN105511911B (en) | The generation method and device of system firmware upgrade package | |
CN108197476B (en) | Vulnerability detection method and device for intelligent terminal equipment | |
CN108287789A (en) | Batch-automated test method, device and electronic equipment | |
CN109324918A (en) | Application program exception handling method and device, terminal and storage medium | |
CN108170457A (en) | Firmware upgrade method, device and VR head-mounted displays | |
CN104881355A (en) | Method and system for testing test coverage | |
CN113835643B (en) | Data storage method and device, electronic equipment and readable storage medium | |
CN104615471A (en) | System upgrading method and device for terminal | |
CN107066361A (en) | The method and apparatus that a kind of utilization BMC disables corrupted internal memory | |
CN104298618B (en) | The command handling method and device of a kind of intelligent terminal | |
CN104036193A (en) | Local cross-domain vulnerability detection method and device for application program | |
CN110414218A (en) | Kernel detection method, device, electronic equipment and storage medium | |
CN103838642A (en) | Data recovery method, device and system | |
CN112667442A (en) | Control method, device and equipment based on nonvolatile memory device starting system | |
CN104536884A (en) | Code testing method and device | |
CN105511904B (en) | A kind of method and device automatically updating quick window | |
CN108614752A (en) | Troubleshooting methodology based on NANDflash and device | |
CN103294606A (en) | Methods and devices for allocating memories and detecting overflow thereof | |
CN104317645B (en) | A kind of method and device of Application Instance listening port | |
US20120272103A1 (en) | Software operability service | |
CN107957923A (en) | A kind of memory diagnosis method and apparatus | |
CN114385428A (en) | Terminal equipment testing method and related equipment | |
CN102063365B (en) | Method and device for recording operation information of single plate | |
CN110309025B (en) | APP breakdown repairing method and related equipment |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200826 Address after: 100083 Beijing City, Haidian District Xueyuan Road No. 30, large industrial building A block 12 layer Applicant after: GIGADEVICE SEMICONDUCTOR(BEIJING) Inc. Address before: 202, room 52, building 2, 100176 North View Garden, Daxing District economic and Technological Development Zone, Beijing Applicant before: BEIJING JINGCUN TECHNOLOGY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181002 |
|
RJ01 | Rejection of invention patent application after publication |