Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for controlling memory startup

A technology for controlling memory and control devices, applied in the direction of program control devices, memory systems, program control design, etc., can solve the problems of many pins and high cost, and achieve the effect of reducing costs

Active Publication Date: 2016-09-07
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the above-mentioned process of realizing the start-up of the control memory, the inventor found that there are at least the following problems in the prior art: in the scheme of manually configuring the pin information of the control chip, there are many pins of the control chip that need to be configured (for example: 3 The pins are used to configure pagesize, 2 pins are used to configure blocksize, and 4 pins are used to configure the maximum ECC capability), that is to say, more pins are needed, resulting in high cost

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
  • A method and device for controlling memory startup
  • A method and device for controlling memory startup
  • A method and device for controlling memory startup

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] see figure 1 , is a method for controlling memory activation provided by an embodiment of the present invention, which is applied to a control device, and the control device includes a preset data segment, and the preset data segment includes at least one sub-data segment, and each sub-data segment corresponds to A configuration type, the method comprising:

[0054] 101: Read each sub-data segment in the first data segment, and perform a first operation on the sub-data segment corresponding to the first configuration type to obtain a second data segment; the first data segment is the preset A data segment obtained after a second operation is performed on a sub-data segment corresponding to the actual configuration type of the memory in the data segment, where the first operation is an operation opposite to the second operation.

[0055] Wherein, the memory in the embodiment of the present invention may be NAND Flash, and the execution subject of the method provided in ...

Embodiment 2

[0086] The preset data segment includes at least one sub-data segment, and each sub-data segment corresponds to a configuration type. see figure 2 , (a) is a preset data segment, which is composed of a segment of data in the startup program of the memory and an ECC code generated therefrom. The preset data segment includes a plurality of sub-data segments, and each sub-data segment corresponds to a The configuration types are marked as: A, B, C, D, ..., K. Among them, A is the configuration type composed of 24bitECC and 8KB pagesize, and B is the configuration type composed of 24bitECC and 4KB pagesize. Assuming that the actual configuration type of the memory is A, when programming the startup program into the memory, the sub-data segment corresponding to the configuration type A in the preset data segment can be reversed and then programmed. The sub-data segment corresponding to configuration type A is programmed normally, thereby generating the first data segment (as sho...

Embodiment 3

[0106] The preset data segment includes at least one sub-data segment, and each sub-data segment corresponds to a configuration type. according to figure 2 The preset data segment shown in (a) and figure 2 For the first data segment shown in (b), the embodiment of the present invention provides another method for controlling memory startup, such as Figure 4 shown, including:

[0107] 401: Read each sub-data segment in the first data segment and perform an inversion operation on the sub-data segment corresponding to the first configuration type in the first data segment, and perform the inversion operation on the first data segment obtained after the inversion operation as the second data segment.

[0108] 402: Determine whether the second data segment matches the preset data segment.

[0109] If yes, execute step 403; if not, execute step 404.

[0110] 403: Start the storage according to the first configuration type.

[0111] For specific descriptions of steps 401-403...

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 method and device for controlling memory start-up, and relates to the technical field of memory control. The invention is not limited to the number of pins of a control chip and reduces costs. The method provided by the embodiment of the present invention is applied to a control device. The control device contains a preset data segment, and the preset data segment includes at least one sub-data segment, and each sub-data segment corresponds to a configuration type. The method includes: reading the first Each sub-data segment in a data segment, and perform the first operation on the sub-data segment corresponding to the first configuration type to obtain the second data segment; the first data segment is the actual The data segment obtained after the sub-data segment corresponding to the configuration type performs the second operation, the first operation is the opposite operation of the second operation; match the second data segment with the preset data segment; when the second data segment and the preset data segment When matched, the memory is started according to the first configuration type.

Description

technical field [0001] The invention relates to the technical field of memory control, in particular to a method and device for controlling memory startup. Background technique [0002] NAND Flash is a non-volatile random access memory suitable for storing large-capacity data. The configuration types (also called "specifications") of different NAND Flash are different, which are reflected in one or more of the following parameters: maximum error correction (Error Checking and Correcting, referred to as ECC) capability, page size (pagesize), block size (blocksize) etc. [0003] NAND Flash can realize various functions under the control of a controller chip (controller), for example, a startup function, a function of writing data, a function of reading data, and the like. The control chip's control of NAND Flash needs to match the configuration type of NAND Flash, for example, it needs to meet the maximum ECC capability of NAND Flash, and read data according to the page size...

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 Patents(China)
IPC IPC(8): G06F13/16G06F12/02
CPCG06F13/1668G06F9/4403G06F9/44505G06F9/44573G06F11/1417G06F12/0646
Inventor 喻丙旭蔡智勇李智
Owner HUAWEI TECH CO LTD