serial port type NAND FLASH data zero clearing processing method and a serial port type NAND FLASH data zero clearing processing system

A processing method and serial port technology, applied in the field of memory, can solve the problems of neglecting data clearing, software development inconvenience, software system crash, etc., to improve stability and reliability, reduce programming risks, and simplify production processes. Effect

Active Publication Date: 2019-04-19
SHENZHEN SKYWORTH DIGITAL TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Such a design is very inconvenient for software development. For software, 1 is an effective value. We usually default the initial value of the data structure to 0 instead of 1.
Especially for new software that has just been burned, if the data of these blocks is not reset before use before production testing, it will not only lead to data errors in the data block, but may even cause serious problems such as array out-of-bounds and system crashes! In order to avoid these problems, all burned memory flash must first clear these blocks before use
[0004] In the prior art, when performing production testing on the serial port NAND FLASH chip after burning, it is necessary to add the reset command provided by the solution provider. Although this operation is feasible, it is very easy for those machines that do not follow the standard production process, such as the development of prototypes. The operation of ignoring the data clearing will cause the software system to crash and cannot be started normally. It can only be upgraded through the boot system. For the complete machine and prototype, it is not only troublesome to operate, but also to upgrade the software by removing the cover and welding the serial port or removing the flash chip to re-program. It may damage the appearance of the machine; if the programmed memory is cleared manually, it is easy to be negligent in operation and cause the software system to crash

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • serial port type NAND FLASH data zero clearing processing method and a serial port type NAND FLASH data zero clearing processing system
  • serial port type NAND FLASH data zero clearing processing method and a serial port type NAND FLASH data zero clearing processing system
  • serial port type NAND FLASH data zero clearing processing method and a serial port type NAND FLASH data zero clearing processing system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] figure 1 It is a schematic flow chart of a serial port type NAND FLASH data clearing processing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the data in the block is cleared before the production test. The method can be performed by The serial port type NAND FLASH data clearing processing system is implemented. This system can be implemented in the form of software and / or hardware, and can be applied to equipment.

[0028] Such as figure 1 Described, the method of the present embodiment comprises:

[0029] S110. When it is detected that the system is started and is in the production mode, read the data information of the target sub-block in at least one pre-divided storage area.

[0030] It should be noted that the software that has just been burned is used before the production test without resetting the data in each block in the flash memory, which will not only cause data errors in the data block, bu...

Embodiment 2

[0047] As a preferred embodiment of the above embodiment, figure 2 A schematic flow chart of a serial port type NAND FLASH data clearing processing method provided by Embodiment 2 of the present invention, as figure 2 Described, the method of the embodiment of the present invention comprises:

[0048] S201, the system starts.

[0049] Start an application program or start a detection system, or start a device.

[0050] S202. Determine whether it is in production mode; if yes, execute S203; if not, execute S204.

[0051] When the application program is started, the detection system is started, or the device is started, it can be judged whether it is currently in the production mode. Clear processing. If it is not in the production mode, it means that you can directly enter the production test, or the production test has been completed, and you can directly enter the user mode.

[0052] S203. Read partition data, and obtain key bytes in the partition data.

[0053] If it...

Embodiment 3

[0064] image 3 It is a schematic structural diagram of a serial port type NAND FLASH data clearing processing system provided by Embodiment 3 of the present invention. The system includes: a monitoring module 310 and a clearing module 320 .

[0065] Among them, the monitoring module 310 is used to read the data information of the target sub-block in at least one pre-divided storage area when it is detected that the system is started and in the production mode; the clearing module 320 is used to if the target sub-block The target byte information in the data information is the same as the preset byte information, then perform zero-clearing processing on all blocks in the storage area where the target sub-block is located; wherein, the at least one storage area includes at least one sub-block blocks.

[0066] On the basis of the above technical solutions, before the monitoring module is used to read the target block data information in at least one pre-divided storage area, it...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a serial port type NAND FLASH data zero clearing processing method and system, and the method comprises the steps: reading the data information of a target sub-block in at least one pre-divided storage region when the system is detected to be started and in a production mode; If the target byte information in the target sub-block data information is the same as preset byte information, performing zero clearing processing on all blocks in a storage area where the target sub-block is located; Wherein the at least one storage area comprises at least one sub-block. The technical scheme of the embodiment of the invention is adopted. In the prior art, a serial port type FLASH enters a production test; According to the technical scheme of the invention, the technical problems of complexity and complexity in zero clearing of the memory due to the fact that a corresponding production and measurement tool needs to be imported are solved, whether data isstored in each block of the memory or not is automatically detected, zero clearing processing is automatically carried out if the data exists, the efficiency of zero clearing processing is improved, and the technical effect of software system crash is avoided.

Description

technical field [0001] The embodiment of the present invention relates to the technical field of memory, and in particular to a method, system, device, and storage medium for serial port type NAND FLASH data clearing and processing. Background technique [0002] The software programming process is actually the process of discharging the memory cells, so for the memory blocks without data, the memory cells are not operated, so the value of these partitions is still 1, that is, FF. [0003] Such a design is very inconvenient for software development. For software, 1 is an effective value. We usually default the initial value of the data structure to 0 instead of 1. Especially for new software that has just been burned, if the data of these blocks is not reset before use before production testing, it will not only lead to data errors in the data block, but may even cause serious problems such as array out-of-bounds and system crashes! In order to avoid these problems, all prog...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/61G06F12/02G11C7/20
CPCG06F8/63G06F12/0246G06F12/0253G11C7/20
Inventor 袁满
Owner SHENZHEN SKYWORTH DIGITAL TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products