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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 