Data writing method and device, memory, electronic device and storage medium
By adjusting the index and parameters of the OTP memory, the allocation of write groups can be flexibly adjusted, solving the waste problem caused by the fixed OTP area and realizing the efficient utilization of the OTP area and improving the yield.
Patent Information
- Application Number
- CN202210748706.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-28
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2042-06-28
AI Technical Summary
In existing technologies, the area allocation method of OTP memory is fixed and cannot be changed, which makes it impossible to write some information, resulting in the failure to meet the conditions during IC testing, causing waste and reduced yield.
By flexibly adjusting the indexes and parameters in OTP, adjusting the allocation area and write count of each write group, and only writing necessary data information, OTP area space is saved and the yield is improved.
It enables flexible use of the OTP area, reduces write and read times, minimizes waste, and improves yield.
Smart Images

Figure CN115167766B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present disclosure relate to a one-time programmable memory data writing method, a one-time programmable memory multi-group data writing method, a one-time programmable memory, an electronic device, a one-time programmable memory data writing device, and a storage medium. BACKGROUND
[0002] One-time programmable (OTP) memory belongs to non-volatile memory. Compared with multiple-time programmable devices such as multiple-time programmable (MTP) memory and flash memory, the programming process of the OTP memory is irreversible, that is, after information is burned into the OTP memory, the data bits that have been modified in the OTP memory cannot be changed and cleared again. The OTP can be applied to application scenarios that require a certain flexibility and low cost due to its low cost and one-time programmable capability, especially for electronic products that need to be rapidly mass-produced with constantly updated functions. SUMMARY
[0003] At least one embodiment of the present disclosure provides a one-time programmable memory data writing method for writing a write group into the one-time programmable memory, wherein the write group includes first write information, and the first write information includes a first index, and a first index start parameter and a first index end parameter corresponding to the first index, and the first index is used to determine a first sub-write group corresponding to the write group. The data writing method includes: obtaining the first write information corresponding to the write group; writing the first write information; and writing first sub-data corresponding to the first sub-write group into the one-time programmable memory based on a storage address range determined by the first index start parameter and the first index end parameter and the first index.
[0004] For example, in the data writing method provided by at least one embodiment of the present disclosure, the first write information further includes a write group start parameter and a write group end parameter, and the write group start parameter and the write group end parameter are used to determine a range of an area in which the write group is written into the one-time programmable memory.
[0005] For example, the data writing method provided by at least one embodiment of the present disclosure further includes: obtaining second writing information corresponding to the writing group, wherein the second writing information includes a second index, and a second index start parameter and a second index end parameter corresponding to the second index, the second index is used to determine a second sub-writing group corresponding to the writing group; writing the second writing information, and writing second sub-data corresponding to the second sub-writing group into the one-time programmable memory based on a storage address range determined by the second index start parameter and the second index end parameter, and the second index, wherein the storage address range determined by the second index start parameter and the second index end parameter is outside the storage address range determined by the first index start parameter and the first index end parameter.
[0006] For example, in the data writing method provided by at least one embodiment of the present disclosure, the first writing information further includes a skip option, which is used to skip reading the first sub-data corresponding to the first sub-writing group when reading the one-time programmable memory.
[0007] For example, the data writing method provided by at least one embodiment of the present disclosure further includes: modifying the skip option in the first writing information to the first option before writing the second writing information and the second sub-data into the one-time programmable memory.
[0008] For example, in the data writing method provided by at least one embodiment of the present disclosure, the first writing information further includes a writing group type.
[0009] At least one embodiment of the present disclosure further provides a one-time programmable memory multi-group data writing method, which is used to write a plurality of writing groups into the one-time programmable memory, wherein each writing group in the plurality of writing groups includes first writing information, the first writing information includes a first index, and a first index start parameter and a first index end parameter corresponding to the first index, the first index is used to determine the first sub-writing group corresponding to each writing group. The multi-group data writing method includes: obtaining the first writing information corresponding to each writing group; writing the first writing information corresponding to each writing group, and writing first sub-data corresponding to the first sub-writing group into the one-time programmable memory based on a storage address range determined by the first index start parameter and the first index end parameter, and the first index.
[0010] For example, in the multi-group data writing method provided by at least one of the embodiments of the present disclosure, the writing of the first sub-data corresponding to the first sub-write group into the one-time programmable memory based on the first index start parameter and the first index end parameter determined storage address range and the first index includes: writing the i-th first index, where i = 1, 2, …, n, and n is a positive integer; writing the i-th first index start parameter and the i-th first index end parameter; determining the i-th storage address range based on the i-th first index start parameter and the i-th first index end parameter; obtaining the i-th first sub-data corresponding to the i-th first sub-write group based on the i-th storage address range and the i-th first index; and writing the i-th first sub-data into the one-time programmable memory.
[0011] For example, in the multi-group data writing method provided by at least one of the embodiments of the present disclosure, the determination of the i-th storage address range based on the i-th first index start parameter and the i-th first index end parameter includes: determining the i-th first storage address range corresponding to the i-th first index; in the i-th first storage address range, finding the i-th first index start address corresponding to the i-th first index start parameter, and finding the i-th first index end address corresponding to the i-th first index end parameter; and taking the i-th first index start address and the i-th first index end address and the address information therebetween in the i-th first storage address range as the i-th storage address range.
[0012] At least one of the embodiments of the present disclosure also provides a one-time programmable memory. The one-time programmable memory includes data information written by the data writing method provided by any of the embodiments of the present disclosure or data information written by the multi-group data writing method provided by any of the embodiments of the present disclosure.
[0013] At least one of the embodiments of the present disclosure also provides an electronic device. The electronic device includes a one-time programmable memory provided by any of the embodiments of the present disclosure.
[0014] For example, the electronic device provided by at least one of the embodiments of the present disclosure further includes a reading module configured to read the data information in the one-time programmable memory.
[0015] The at least one embodiment of the present disclosure further provides a data writing device for writing a write group into the OTP memory. The data writing device comprises: an obtaining module configured to obtain first write information corresponding to the write group, wherein the write group comprises the first write information, the first write information comprises a first index, and a first index start parameter and a first index end parameter corresponding to the first index, and the first index is used to determine a first sub-write group corresponding to the write group; and a writing module configured to write the first write information, and configured to write first sub-data corresponding to the first sub-write group into the OTP memory based on a storage address range determined according to the first index start parameter and the first index end parameter, and the first index.
[0016] The at least one embodiment of the present disclosure further provides a data writing device for writing a write group into the OTP memory. The data writing device comprises: an obtaining module configured to obtain first write information corresponding to the write group, wherein the write group comprises the first write information, the first write information comprises a first index, and a first index start parameter and a first index end parameter corresponding to the first index, and the first index is used to determine a first sub-write group corresponding to the write group; and a writing module configured to write the first write information, and configured to write first sub-data corresponding to the first sub-write group into the OTP memory based on a storage address range determined according to the first index start parameter and the first index end parameter, and the first index.
[0017] The at least one embodiment of the present disclosure further provides a data writing device for writing a write group into the OTP memory. The data writing device comprises: an obtaining module configured to obtain first write information corresponding to the write group, wherein the write group comprises the first write information, the first write information comprises a first index, and a first index start parameter and a first index end parameter corresponding to the first index, and the first index is used to determine a first sub-write group corresponding to the write group; and a writing module configured to write the first write information, and configured to write first sub-data corresponding to the first sub-write group into the OTP memory based on a storage address range determined according to the first index start parameter and the first index end parameter, and the first index. BRIEF DESCRIPTION OF DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only related to some embodiments of the present disclosure, but not limit the present disclosure.
[0019] Figure 1 A schematic diagram of an OTP running process in a display system;
[0020] Figure 2 A schematic diagram of a different type of data information allocation in an OTP area range;
[0021] Figure 3 An exemplary flowchart of an OTP memory data writing method provided by the at least one embodiment of the present disclosure;
[0022] Figure 4A A schematic diagram of a first write information provided by the at least one embodiment of the present disclosure;
[0023] Figure 4B This is a schematic diagram illustrating the correspondence between first written information and a data information index table, provided for at least one embodiment of this disclosure;
[0024] Figure 4C This is a schematic diagram illustrating a second method of writing information, provided in at least one embodiment of this disclosure.
[0025] Figure 4D This is a schematic diagram illustrating the correspondence between a second written information and a data information index table, provided for at least one embodiment of this disclosure.
[0026] Figure 5 A schematic diagram illustrating the allocation method of multiple write groups within an OTP region, provided in at least one embodiment of this disclosure;
[0027] Figure 6A A schematic diagram of an OTP without the skip option enabled, provided for at least one embodiment of this disclosure;
[0028] Figure 6B A schematic diagram of an OTP with the skip option as the first option for a POWER group B0h sub-write group provided in at least one embodiment of this disclosure;
[0029] Figure 7 An exemplary flowchart illustrating a method for writing multiple sets of data to a one-time programmable memory, provided in at least one embodiment of this disclosure;
[0030] Figure 8 for Figure 7 An exemplary flowchart of step S220;
[0031] Figure 9A This is a schematic diagram illustrating a method for allocating multiple write groups within an OTP region.
[0032] Figure 9B A schematic diagram illustrating the allocation method of multiple write groups containing only necessary data information within an OTP area, provided for at least one embodiment of this disclosure;
[0033] Figure 10 A schematic block diagram of an electronic device provided for at least one embodiment of the present disclosure;
[0034] Figure 11 A schematic block diagram of a one-time programmable memory data writing device provided for at least one embodiment of the present disclosure;
[0035] Figure 12 A schematic block diagram of another one-time programmable memory data writing device provided for at least one embodiment of the present disclosure;
[0036] Figure 13 A schematic block diagram of an electronic device provided for at least one embodiment of this disclosure; and
[0037] Figure 14 A schematic diagram of a storage medium provided for at least one embodiment of the present disclosure. DETAILED DESCRIPTION
[0038] In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions of the embodiments of the present disclosure will be described clearly and completely below with reference to the drawings of the embodiments of the present disclosure. Obviously, the described embodiments are some but not all of the embodiments of the present disclosure. Based on the described embodiments of the present disclosure, all other embodiments obtained by a person of ordinary skill in the art without creative effort belong to the scope of protection of the present disclosure.
[0039] Unless otherwise defined, technical terms or scientific terms used in the present disclosure shall have the ordinary meaning of the terms to a person of ordinary skill in the art to which the present disclosure belongs. The terms “first”, “second” and similar terms used in the present disclosure do not denote any order, quantity or importance, but are used to distinguish different components. Similarly, the terms “one”, “a” or “the” and similar terms do not denote quantity limitation, but denote the presence of at least one. The terms “include” or “contain” and similar terms mean that the elements or objects before the terms encompass the elements or objects listed after the terms and their equivalents, and do not exclude other elements or objects. The terms “connect” or “connected” and similar terms are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. The terms “up”, “down”, “left”, “right” and the like are only used to represent relative positional relationships, and when the absolute positions of the described objects are changed, the relative positional relationships can also be changed accordingly.
[0040] The present disclosure will be described below through several specific embodiments. In order to keep the following description of the embodiments of the present disclosure clear and concise, the detailed description of known functions and known components can be omitted. When any component of the embodiments of the present disclosure appears in more than one figure, the component is denoted by the same or similar reference numeral in each figure.
[0041] With the improvement of display resolution and data transmission speed of display panels, the requirements for driving chips are also increasing. Display driving chip (Display Driver Integrated Circuit, DDIC) is one of the main control elements of display panels, and the main function is to send driving signals and data signals to display panels in the form of electrical signals, and through the control of screen brightness and color, image information such as letters, pictures and the like can be presented on the screen.
[0042] An Application Processor (AP) is usually connected to the DDIC to provide information necessary for driving the DDIC, such as indexes, parameters, and the like required for driving the DDIC. However, it takes a lot of time to transmit the above information from the AP to the DDIC. Replacing the AP with the OTP to send the required partial data to the DDIC can reduce the burden of the AP.
[0043] Figure 1 A schematic diagram of an OTP operation process in a display system.
[0044] For example, as shown in Figure 1 , the DDIC receives information such as display commands and image data from the AP and outputs it to the display panel. From the time the display command changes from RESET to SLEEP OUT, until the time the display command changes to BOOSTING, the DDIC receives and transmits data information necessary for driving the DDIC and the like from the OTP to support boosting and display. When the display command received by the DDIC from the AP changes from DISP OFF to DISP ON, the DDIC is driven to turn on the display of the display panel.
[0045] For example, the data written to the OTP can be various, such as DDIC driving data, display panel driving data, data requested to the AP, and the like. In addition, the OTP can also be applied to other Integrated Circuits (ICs), not limited to the DDIC. As high-performance smart phones develop, it is desirable that more information can be contained in the OTP, such as gamma correction of various frequencies, high-specification image improvement, and effective power control, and the like. However, once data information is written in the OTP, the already written position cannot be written with other data information. Therefore, according to the Specification (SPEC) required by the customer, a plurality of different types of writing groups (for example, power group, source group, and gamma group, and the like) are usually set in the OTP area range, and the number of writes of each type of writing group is limited to write different types of data information.
[0046] Figure 2 A schematic diagram of an allocation manner of different types of data information in the OTP area range.
[0047] For example, as shown in Figure 2 , the IC shipping group of the OTP writes the required information of the IC, such as the oscillator (OSC), the memory (MEMORY), the chip ID, and the like, before the IC is delivered to the customer; the remaining area of the OTP will be allocated to other writing groups according to the SPEC required by the customer, such as Figure 2a power (POWER) group, a source (SOURCE) group, a gamma (GAMMA) group, and a customer (CUSTOMER) group.
[0048] For example, the size of the area of each write group is determined by the index, parameters, write times, and the like of the IC. The allocation method of the write group, the write times, and the like are usually fixed during initial development and cannot be changed thereafter. For example, in Figure 2 In the specification, it is stipulated that each write group is allowed to be written twice (each time at a different location), and the space occupied by each write group in the OTP area, the total amount of data information contained, and the amount of data information for each write are stipulated. Therefore, in order to meet the optimal conditions for using the OTP when testing the customer IC, it is necessary to set as many write times as possible in the OTP in order to more flexibly use the area space of the OTP. However, the OTP area is limited by the area allocated from the total size of the IC and the specifications (SPEC) required by the customer. Since the specifications and size of the OTP are limited, and the specifications (SPEC) required by the customer are fixed and not easily changed, part of the required information cannot be written to the OTP, resulting in many conditions that cannot be met when testing the IC, thereby causing many ICs to be discarded.
[0049] At least one embodiment of the present disclosure provides a data write method for a one-time programmable memory, for writing a write group to the one-time programmable memory. The write group includes first write information, the first write information including a first index and a first index start parameter and a first index end parameter corresponding to the first index, the first index being used to determine a first sub-write group corresponding to the write group. The data write method includes: obtaining the first write information corresponding to the write group; writing the first write information, and writing first sub-data corresponding to the first sub-write group to the one-time programmable memory based on a storage address range determined based on the first index start parameter and the first index end parameter and the first index.
[0050] At least one embodiment of the present disclosure also provides a one-time programmable memory multi-group data write method, a one-time programmable memory, an electronic device, a one-time programmable memory data write device, and a storage medium.
[0051] The method, device, equipment, and storage medium provided by at least one embodiment of the present disclosure can flexibly adjust the allocation area and write times of each write group in the OTP by changing the index and parameter information in the OTP, so that, for example, only necessary data information can be written in the OTP, thereby saving the OTP area space and more flexibly using the OTP area space, and thus the write time and / or read time of the OTP can be reduced during mass production, the yield can be improved, and waste can be reduced.
[0052] Below, at least one embodiment of the present disclosure will be explained in detail with reference to the drawings. It should be noted that the same reference numerals will be used to refer to the same elements in different drawings.
[0053] Figure 3 An exemplary flowchart of a data write method for one-time programmable memory provided by at least one embodiment of the present disclosure.
[0054] For example, as shown in Figure 3 At least one embodiment of the present disclosure provides a data write method for one-time programmable memory, which is used to write a write group into one-time programmable memory (OTP). For example, the data write method comprises the following steps S110-S120.
[0055] Step S110: obtaining first write information corresponding to the write group;
[0056] Step S120: writing the first write information, and writing first sub-data corresponding to the first sub-write group into the one-time programmable memory based on the storage address range determined based on the first index start parameter and the first index end parameter and the first index.
[0057] For example, in step S110, the write group comprises the first write information, the first write information comprises the first index and the first index start parameter and the first index end parameter corresponding to the first index, and the first index is used to determine the first sub-write group corresponding to the write group.
[0058] For example, in step S120, after writing the first index, the region range corresponding to the first index can be determined as the first storage address range in the data information index table; after writing the first index start parameter and the first index end parameter, the first index start parameter to the first index end parameter and the region range therebetween can be determined as the storage address range in the first storage address range, and the data information in the storage address range is the first sub-data corresponding to the first sub-write group.
[0059] For example, after writing the first write information and the first sub-data corresponding to the first sub-write group into the OTP, the next group of data information can also be written into the OTP. For example, as shown in Figure 3 The data write method can further comprise the following steps S130-S140.
[0060] Step S130: obtaining second write information corresponding to the write group;
[0061] Step S140: writing the second write information, and writing second sub-data corresponding to the second sub-write group into the one-time programmable memory based on the storage address range determined based on the second index start parameter and the second index end parameter and the second index.
[0062] For example, in step S130, the write group includes second write information after the first write information, the second write information includes a second index and a second index start parameter and a second index end parameter corresponding to the second index, and the second index is used to determine a second sub-write group corresponding to the write group.
[0063] For example, in step S140, after writing the second index, the range corresponding to the second index in the data information index table can be determined as a second storage address range; after writing the second index start parameter and the second index end parameter, the second index start parameter to the second index end parameter and the range therebetween in the second storage address range can be determined as a storage address range, and the data information in the storage address range is the second sub-data corresponding to the second sub-write group.
[0064] It should be noted that the storage address range determined by the second index start parameter and the second index end parameter is outside the storage address range determined by the first index start parameter and the first index end parameter, that is, the first sub-data corresponding to the first sub-write group and the second sub-data corresponding to the second sub-write group are different.
[0065] Figure 4A A schematic diagram of the first write information provided by at least one embodiment of the present disclosure; Figure 4B A schematic diagram of the correspondence between the first write information and the data information index table provided by at least one embodiment of the present disclosure.
[0066] For example, as shown in Figure 4A , the first write information includes a write group type, different types of write groups include different data information, which is different according to a given specification (SPEC). For example, the write group type can include, for example, an IC shipping group, a power group, a source group, a gamma group and a customer group in Figure 2 ; according to the requirements of customers or the application requirements of OTP, the write group type can also include other types, and embodiments of the present disclosure do not limit this.
[0067] For example, in Figure 4AIn this document, the OTP physical address corresponding to the write group type is 0 (i.e., the starting position; the addresses mentioned later are offset values relative to this address); when the corresponding OTP write data is 01, the write group type is, for example, an IC shipment group; when the OTP write data is 02, the write group type is, for example, a power group; when the OTP write data is 03, the write group type is, for example, a source group; ...; the above correspondence is only an example, and this disclosure does not limit the correspondence between write group type, OTP physical address, and OTP write data.
[0068] For example, such as Figure 4A As shown, the first write information also includes a skip option (SKIP). The skip option includes a first option (SKIP ON) and a second option (SKIP OFF). When reading from the OTP, skipping reads the first sub-data corresponding to the first sub-write group of the first option, while normal reads skipping reads the first sub-data corresponding to the first sub-write group of the second option.
[0069] For example, in Figure 4A In this example, the OTP physical address corresponding to the skip option is 1; when the corresponding OTP write data is 11, the skip option is, for example, the second option; when the corresponding OTP write data is modified to 01, the skip option becomes, for example, the first option; in this example, each data bit of the OTP is initially "1", can be modified once, that is, changed from "1" to "0", but cannot be modified again afterward. The above correspondence is only an example, and this disclosure does not limit the correspondence between skip options, OTP physical addresses, and OTP write data.
[0070] For example, such as Figure 4A As shown, the first write information may also include write group start parameters (OTP_Start_Addr) and write group end parameters (OTP_End_Addr); the write group start parameters and write group end parameters are used to determine the area range of the write group written into the OTP.
[0071] For example, in Figure 4A In this example, the OTP physical addresses corresponding to the write group start parameter are 2 and 3, and the OTP physical addresses corresponding to the write group end parameter are 4 and 5. When the OTP write data corresponding to the write group start parameter is 00, the starting address of the write group in the OTP region is, for example, 0. When the OTP write data corresponding to the write group end parameter is 199, the ending address of the write group in the OTP region is, for example, 199. This determines that the range of data that the write group can contain in the OTP region is 0 to 199. The above correspondence is only an example, and this disclosure does not limit the correspondence between the write group start parameter and the write group end parameter and the OTP physical address and the OTP write data.
[0072] For example, such as Figure 4A As shown, the first write information also includes a first index and corresponding first index start parameters and first index end parameters. For example... Figure 3 In the method described in steps S110 to S120, the first index can be used to determine the index table region corresponding to the first index as the first storage address range, and the first index start parameter and the first index end parameter can be used to determine the storage address range within the first storage address range.
[0073] For example, in Figure 4A In this document, the first index, the first index start parameter, and the first index end parameter correspond to OTP physical addresses 7, 8, and 9, respectively; the OTP write data corresponding to the first index is A0, and the OTP write data corresponding to the first index start parameter and the first index end parameter are 00 and 49, respectively (here, 00 is the starting address of the storage address used to store the data, and 49 is the offset value relative to that address). The first sub-data corresponding to the first sub-write group is determined by the first index, the first index start parameter, and the first index end parameter. This first sub-data includes 50 groups of data within the storage address range. The above correspondence is only an example, and this disclosure does not limit the correspondence between the first index, the first index start parameter, and the first index end parameter and the OTP physical address and the OTP write data.
[0074] For example, in some examples, such as Figure 4A As shown, when the OTP write data corresponding to the first index is A0, the area range corresponding to the first index A0 is determined as the first storage address range (OTP_A0_EN) in the data information index table; in the first storage address range, the first index start address (A0_START_PARA) corresponding to the first index start parameter and the first index end address (A0_END_PARA) corresponding to the first index end parameter are searched; then the first index start address and the first index end address and the address information between them are used as the storage address range. For example, the first index start address includes 8 addresses A0_START_PARA[0], A0_START_PARA[1]...A0_START_PARA[7], which correspond to the 8 data information corresponding to the first index start parameter in the data information index table; the first index end address includes 8 addresses A0_END_PARA[0], A0_END_PARA[1]...A0_END_PARA[7], which correspond to the 8 data information corresponding to the first index end parameter in the data information index table. For example, in Figure 4AIn the first index start parameter, the OTP write data is 00, and the OTP write data is 49. Therefore, the storage address range determined by the first index start parameter and the first index end parameter includes 50 sets of data, which is the first sub-data corresponding to the first sub-write group.
[0075] For example, specifically, such as Figure 4B As shown, in some examples, when the OTP write data corresponding to the first index is A0, the first storage address range (OTP_A0_EN) is determined in the data information index table based on the first index A0; then, within the data range corresponding to this first storage address range, the first sub-data is determined based on the first index start parameter and the first index end parameter. For example, as... Figure 4B As shown, the first index start parameter 00 corresponds to data 1, which includes data information 1-0, data information 1-1... data information 1-7, a total of 8 data information, which correspond to the 8 addresses A0_START_PARA[0], A0_START_PARA[1]... A0_START_PARA[7] included in the first index start address, respectively; the first index end parameter 49 corresponds to data 50, which includes data information 50-0, data information 50-1... data information 50-7, a total of 8 data information, which correspond to the 8 addresses A0_END_PARA[0], A0_END_PARA[1]... A0_END_PARA[7] included in the first index start address, the first index end address and the address information between them are used as the storage address range, that is, the 50 sets of data (data 1, data 2... data 50) information corresponding to the parameters (01~48) between the first index start parameter 00 and the first index end parameter 49 are used as the first sub-data corresponding to the first sub-write group.
[0076] For example, such as Figure 4A and Figure 4B As shown, after writing the first write information to the OTP, the first sub-data (data1, data2...data50) determined based on the first write information is then written to the OTP, thus completing the data writing of the first sub-write group of the write group.
[0077] When it needs to be explained, Figure 4A and Figure 4B This is merely an example of writing information. This embodiment of the disclosure does not limit the specific parameter values of the first index start parameter and the first index end parameter, the number of addresses included in the first index start address and the first index end address, or the OTP write data corresponding to the first index start parameter and the first index end parameter.
[0078] Figure 4CA schematic diagram of second write information provided for at least one embodiment of the present disclosure; Figure 4D A schematic diagram of a corresponding relationship between second write information and a data information index table provided for at least one embodiment of the present disclosure.
[0079] For example, after writing the first sub-data corresponding to the first write information and the first sub-write group into the OTP, the next group of data information can be written into the OTP. Figure 4C As shown in the figure, the write group can also include second write information. Similar to the first write information in Figure 4A , the second write information includes a second index and a second index start parameter and a second index end parameter corresponding to the second index. Through the method described in steps S130-S140 in Figure 3 , for example, the second index can be used to determine the index table region corresponding to the second index as a second storage address range, and the second index start parameter and the second index end parameter can be used to determine the storage address range in the second storage address range.
[0080] For example, in Figure 4C , the OTP physical addresses corresponding to the second index, the second index start parameter and the second index end parameter are 7, 8 and 9 respectively; the OTP write data corresponding to the second index is A1, and the OTP write data corresponding to the second index start parameter and the second index end parameter are 00 and 49 respectively; the second sub-data corresponding to the second sub-write group is determined by the second index, the second index start parameter and the second index end parameter, and the second sub-data includes 50 groups of data in the storage address range; the above corresponding relationship is only an example, and the present disclosure does not limit the corresponding relationship between the second index, the second index start parameter and the second index end parameter and the OTP physical address and the OTP write data.
[0081] For example, in some examples, as shown in Figure 4C , when the OTP write data corresponding to the second index is A1, in the data information index table, the region range corresponding to the second index A1 is determined as the second storage address range (OTP_A1_EN); in the second storage address range, the second index start address (A1_START_PARA) corresponding to the second index start parameter is found, and the second index end address (A1_END_PARA) corresponding to the second index end parameter is found; then the second index start address and the second index end address and the address information therebetween are taken as the storage address range.
[0082] For example, the second index start address includes 8 addresses A1_START_PARA[0], A1_START_PARA[1]…A1_START_PARA[7] corresponding to 8 data information in the data information index table respectively; the second index end address includes 8 addresses A1_END_PARA[0], A1_END_PARA[1]…A1_END_PARA[7] corresponding to 8 data information in the data information index table respectively. For example, in Figure 4C , the OTP write data corresponding to the second index start parameter is 00, and the OTP write data corresponding to the second index end parameter is 49, then the storage address range determined by the second index start parameter and the second index end parameter includes 50 groups of data, and the data information is the second sub-data corresponding to the second sub-write group.
[0083] For example, specifically, as shown in Figure 4D , in some examples, when the second index corresponds to the OTP write data A1, the second storage address range (OTP_A1_EN) is determined in the data information index table according to the second index A1; then in the data range corresponding to the second storage address range, the second sub-data is determined based on the second index start parameter and the second index end parameter. For example, as shown in Figure 4D , the second index start parameter 00 corresponds to data 1, and data 1 includes 8 data information 1-0', 1-1'…1-7', which correspond to 8 addresses A1_START_PARA[0], A1_START_PARA[1]…A1_START_PARA[7] included in the second index start address respectively; the second index end parameter 49 corresponds to data 50, and data 50 includes 8 data information 50-0', 50-1'…50-7', which correspond to 8 addresses A1_END_PARA[0], A1_END_PARA[1]…A1_END_PARA[7] included in the second index start address respectively. The second index start address and the second index end address and the address information therebetween are taken as the storage address range, i.e. the 50 groups of data (data 1, data 2…data 50) information corresponding to the second index start parameter 00 and the second index end parameter 49 and the parameters (01-48) therebetween are taken as the second sub-data corresponding to the second sub-write group.
[0084] For example, as shown in Figure 4C and Figure 4D , after writing the second write information into the OTP, the second sub-data (data 1, data 2…data 50) determined based on the second write information is written into the OTP, and the data writing of the second sub-write group of the write group is completed.
[0085] Need to explain, Figure 4C And Figure 4D Only for writing information, the specific parameter value of the second index start parameter and the second index end parameter, the address quantity included in the second index start address and the second index end address, and the OTP write data corresponding to the second index start parameter and the second index end parameter are not limited by the embodiments of the present disclosure.
[0086] For example, similar to the first write information in Figure 4A , the second write information as shown in Figure 4C also includes write group type, skip option (SKIP), write group start parameter (OTP_Start_Addr) and write group end parameter (OTP_End_Addr), the contents and operation mode of the above information are basically the same as the first write information in Figure 4A , and details are not repeated.
[0087] Figure 5 The schematic diagram of the allocation mode of the plurality of write groups provided by at least one embodiment of the present disclosure in the OTP area range.
[0088] For example, as shown in Figure 5 , taking the write groups corresponding to Figure 4A and Figure 4C as an example, the write group type is IC shipment group, and the data range that the write group determined by the write group start parameter and the write group end parameter can contain in the area range written into the OTP is 0-199. Through the data writing method as shown in Figure 3 , the first sub-data corresponding to the first sub-write group A0h and its storage address range in the OTP are determined by the first index, the first index start parameter and the first index end parameter, and the first sub-data includes 50 groups of data in the storage address range; the second sub-data corresponding to the second sub-write group A1h and its storage address range in the OTP are determined by the second index, the second index start parameter and the second index end parameter, and the second sub-data includes 50 groups of data in the storage address range. Through the above method, the data information included in the IC shipment group in the OTP is determined, and the data information can be effectively used during the operation process of the OTP.
[0089] For example, in Figure 2In the shown IC shipment group, based on the pre-defined allocation manner (data range 0-199), write times (2 times) and index (A0 and A1), 100 data are written in the first sub-write group A0h and the second sub-write group A1h respectively. The above allocation manner (data range 0-199), write times (2 times) and index (A0 and A1) are usually fixed during the initial development period and cannot be changed thereafter. However, by, for example Figure 3 The shown data writing method, i.e. by specifying the first / second index start parameter and the first / second index end parameter corresponding to the first / second index, as shown in Figure 5 50 groups of data are written in the first sub-write group A0h and the second sub-write group A1h respectively, i.e. only necessary data information can be written, thereby saving the OTP area space of 100 data.
[0090] For example, as shown in Figure 5 For other types of write groups, such as the POWER group, the data writing method shown in Figure 3 Compared with the POWER group containing only two sub-write groups B0h and B1h in Figure 2 , the sub-write group B2h containing 100 data is added; similarly, the number of sub-write groups in the write groups such as the SOURCE group, the GAMMA group and the CUSTOMER group and the data information contained in each sub-write group and its storage address range can also be changed.
[0091] For example, as shown in Figure 5 Compared with Figure 2 , due to the saved OTP area space, the remaining 100 data OTP area space can be used as an additional write group (SPECIAL group) and specific data information can be written in the SPECIAL group. For example, the specific information can be data information in the already allocated write groups such as the POWER group, the SOURCE group, etc. which is desired to be additionally tested, or can be data information not contained in the above-mentioned already allocated write groups (for example, necessary data information which cannot be written due to the OTP specification and size limitation in Figure 2 , etc.), and the embodiments of the present disclosure do not limit this.
[0092] In the embodiments of the present disclosure, by changing the index and parameter information in the OTP, the allocation area and write times of each write group in the OTP can be flexibly adjusted, so that only necessary data information can be written in the OTP, thereby saving the OTP area space, and further reducing the write time and read time of the OTP during mass production.
[0093] Figure 6A A schematic diagram of an OTP without enabled skip option provided by at least one embodiment of the present disclosure;Figure 6B A schematic diagram of a skip option of a B0h sub-write group of a POWER group for a first option of an OTP provided by at least one embodiment of the present disclosure.
[0094] For example, as shown in Figure 6A and Figure 6B , all data information contained in all write groups in the OTP corresponds to addresses 0-9999. When reading the OTP, if the skip option is not enabled (i.e., the skip option is a second option (SKIP OFF)), as shown in Figure 6A , addresses 0-9999 will be read in their entirety; if the skip option is enabled for the B0h sub-write group of the POWER group (i.e., the skip option is a first option (SKIP ON)), as shown in Figure 6B , the B0h sub-write group of the POWER group will be skipped.
[0095] For example, during the OTP write process, the skip option is by default the second option (i.e., the OTP write data corresponding to the skip option in Figure 4A or Figure 4C is by default 11). If it is found that a sub-write group is written incorrectly, or that a sub-write group does not need to be read before reading, the skip option is modified to the first option (i.e., the OTP write data corresponding to the skip option in Figure 4A or Figure 4C is modified to 01), so that when reading the OTP, the data in the sub-write group can be skipped. By setting the skip option during the OTP write process, when reading the OTP, incorrect or unnecessary data information can be avoided, so that the utilization of data information in the OTP is optimized.
[0096] Figure 7 An exemplary flowchart of a method for writing multiple groups of data into a one-time programmable memory provided by at least one embodiment of the present disclosure.
[0097] For example, as shown in Figure 7 , at least one embodiment of the present disclosure provides a method for writing multiple groups of data into a one-time programmable memory (OTP), which is used to write multiple write groups into the OTP. For example, the method for writing multiple groups of data includes the following steps S210-S220.
[0098] Step S210: obtaining first write information corresponding to each write group;
[0099] Step S220: writing the first write information corresponding to each write group, and writing first sub-data corresponding to a first sub-write group into the one-time programmable memory based on a storage address range determined based on a first index start parameter and a first index end parameter, and the first index.
[0100] For example, in the multi-group data writing method shown in Figure 7 , the data writing method of each writing group is the same as that in Figure 3 , and the first writing information corresponding to each writing group and its operation mode are the same as those described in Figure 4A-D , and will not be described here. Through the multi-group data writing method shown in Figure 7 , the allocation of the multiple writing groups in the area range of the OTP can be as shown in Figure 5 , or other forms, and the embodiments of the present disclosure do not limit this.
[0101] Figure 8 For example, as shown in Figure 7 , in the process of writing n groups of data of multiple writing groups into the OTP (here n is a positive integer), first, the first writing information corresponding to each writing group is obtained in step S210, and then the first writing information corresponding to each writing group and the first sub-data corresponding thereto are written into the OTP in step S220. For example,
[0102] For example, as shown in Figure 8 , in the process of writing n groups of data of multiple writing groups into the OTP (here n is a positive integer), first, the first writing information corresponding to each writing group is obtained in step S210, and then the first writing information corresponding to each writing group and the first sub-data corresponding thereto are written into the OTP in step S220. For example, Figure 7 , step S220 includes the following steps S221-S225. Figure 7 Figure 7 Step S221: Write the i-th first index, where i = 1, 2, …, n;
[0103] Step S222: Write the i-th first index start parameter and the i-th first index end parameter;
[0104] Step S223: Determine the i-th storage address range based on the i-th first index start parameter and the i-th first index end parameter;
[0105] Step S224: Obtain the i-th group of first sub-data corresponding to the i-th first sub-writing group based on the i-th storage address range and the i-th first index;
[0106] Step S225: Write the i-th group of first sub-data into the one-time programmable memory.
[0107] Step S225: Write the i-th group of first sub-data into the one-time programmable memory.
[0108] For example, in step S221, for the i-th group of data to be written, a first index corresponding to the group of data is written; in step S222, a first index start parameter and a first index end parameter corresponding to the group of data are written; in step S223, a corresponding storage address range is determined based on the first index start parameter and the first index end parameter; in step S224, the i-th group of first sub-data corresponding to the i-th first sub-write group is obtained based on the storage address range and the first index, the i-th group of first sub-data being the i-th group of data to be written; and in step S225, the i-th group of first sub-data is written into the OTP.
[0109] For example, further, in step S223, in order to determine the i-th storage address range, first, in the data information index table, the i-th first index (for example, A0 in Figure 4A ) is determined to correspond to the i-th first storage address range (OTP_A0_EN); then, in the i-th first storage address range, the i-th group of first index start address (A0_START_PARA) corresponding to the i-th first index start parameter is found, and the i-th group of first index end address (A0_END_PARA) corresponding to the i-th first index end parameter is found; and then, the i-th group of first index start address and the i-th group of first index end address and the address information therebetween in the i-th first storage address range are taken as the i-th storage address range.
[0110] Figure 9A A schematic diagram of a plurality of write groups in an OTP region range allocation manner; Figure 9B A schematic diagram of a plurality of write groups in an OTP region range allocation manner provided by at least one embodiment of the present disclosure, only containing necessary data information.
[0111] For example, in one example, as shown in Figure 9A , in mass production, according to customer requirements, IC shipment groups, POWER groups, SOURCE groups, CUSTOMER groups, etc. need to be written once in the OTP region range, and GAMMA groups need to be written twice. Figure 9A The data information writing process of the OTP in does not adopt the data writing method provided by the embodiments of the present disclosure, and thus the data allocation manner, the writing times (2 times) and the index are fixed in the development initial stage and cannot be changed.
[0112] For example, as shown in Figure 9B , the data information writing process of the OTP adopts the data writing method provided by the embodiments of the present disclosure, and thus the data allocation manner, the writing times (2 times) and the index can be changed. Figure 9AIn comparison, each write group has the same number of writes in the OTP area range, but by specifying the first index start parameter and the first index end parameter, only necessary data information can be written each time, thereby saving OTP area space, and thus reducing the write time and read time of the OTP in mass production.
[0113] Figure 10 A schematic block diagram of an electronic device is provided for at least one embodiment of the present disclosure.
[0114] For example, as shown in Figure 10 , at least one embodiment of the present disclosure provides an electronic device 100, which includes a one-time programmable memory 110 and a reading module 120. For example, data information in the one-time programmable memory 110 can be written by a data writing method such as Figure 3 , and the reading module 120 is configured to read the data information in the one-time programmable memory 110.
[0115] For example, the electronic device 100 can be a DDIC or other type of IC that can read and utilize data information in the OTP, and embodiments of the present disclosure do not limit this.
[0116] Figure 11 A schematic block diagram of a one-time programmable memory data writing device is provided for at least one embodiment of the present disclosure.
[0117] For example, as shown in Figure 11 , the one-time programmable memory data writing device 200 includes an obtaining module 210 and a writing module 220.
[0118] For example, the obtaining module 210 is configured to obtain first write information corresponding to a write group. For example, the write group includes the first write information, and the first write information includes a first index and a first index start parameter and a first index end parameter corresponding to the first index, and the first index is used to determine a first sub-write group corresponding to the write group. That is, the obtaining module 210 can be configured to perform, for example, steps S110 or S130 as shown in Figure 3 , or step S210 as shown in Figure 7 .
[0119] For example, the writing module 220 is configured to write the first write information, and is configured to write first sub-data corresponding to the first sub-write group to the one-time programmable memory based on a storage address range determined based on the first index start parameter and the first index end parameter and the first index. That is, the writing module 220 can be configured to perform, for example, steps S120 or S140 as shown in Figure 3 , or step S220 as shown in Figure 7 .
[0120] As described above, for example Figure 3 the data writing method shown in Figure 7 the multi-group data writing method shown in Figure 1-9B the details of the contents involved in the operation of the one-time programmable memory data writing device 200 have been described, and thus the related details will not be described here for brevity, and the related details can be referred to the above description of
[0121] It should be noted that Figure 11 the above-mentioned modules in the data writing device 200 can be respectively configured as software, hardware, firmware or any combination of the above-mentioned items to perform specific functions. For example, these modules can correspond to dedicated integrated circuits, can also correspond to pure software codes, and can also correspond to software and hardware combined modules. As an example, the device described with reference to Figure 11 may be a PC computer, a tablet device, a personal digital assistant, a smart phone, a web application or other devices capable of executing program instructions, but is not limited thereto.
[0122] In addition, although the data writing device 200 is divided into modules for performing respective processes in the above description, it is clear to those skilled in the art that the processes performed by each module can also be performed without any specific module division in the device or without clear demarcation between modules. In addition, the data writing device 200 described with reference to Figure 11 is not limited to including the above-described modules, but can also add some other modules (for example, storage modules, data processing modules, etc.) as needed, or the above modules can be combined.
[0123] At least one embodiment of the present disclosure also provides another one-time programmable memory data writing device, which comprises a processor and a memory; the memory comprises one or more computer program modules; the one or more computer program modules are stored in the memory and configured to be executed by the processor, and the one or more computer program modules comprise a one-time programmable memory data writing method or a one-time programmable memory multi-group data writing method provided by the above-mentioned embodiments of the present disclosure.
[0124] Figure 12 a schematic block diagram of another one-time programmable memory data writing device provided by at least one embodiment of the present disclosure
[0125] For example, as described in Figure 12As shown, the data writing apparatus 300 includes a processor 310 and a memory 320. For example, the memory 320 is configured to store non-transitory computer-readable instructions (e.g., one or more computer program modules). The processor 310 is configured to execute the non-transitory computer-readable instructions, which, when executed by the processor 310, can perform one or more steps of the data writing method or the plurality of sets of data writing methods according to the foregoing. The memory 320 and the processor 310 can be interconnected by a bus system and / or other forms of connection mechanisms (not shown).
[0126] For example, the processor 310 can be a central processing unit (CPU), a digital signal processor (DSP), or other forms of processing units with data processing and / or program executing capabilities, such as a field programmable gate array (FPGA), etc. For example, the central processing unit (CPU) can be of X86 or ARM architecture, etc. The processor 310 can be a general purpose processor or a special purpose processor, and can control other components in the adaptive voltage and frequency scaling apparatus 300 to perform desired functions.
[0127] For example, the memory 320 can include any combination of one or more computer program products. The computer program product can include various forms of computer-readable storage media for storing information that is used in the implementation of the present disclosure, such as the volatile and / or non-volatile computer memory described above. For example, the volatile computer memory can include random access memory (RAM), cache memory, etc. The non-volatile computer memory can include read only memory (ROM), hard disk drives, erasable programmable read only memories (EPROM), compact disk read only memories (CD-ROM), USB memory, flash memories, etc. One or more computer program modules can be stored on the computer-readable storage media. The processor 310 can execute the one or more computer program modules to implement various functions of the apparatus 300. Various application programs and various data used by the application programs and / or generated by the application programs can also be stored in the computer-readable storage media.
[0128] It should be noted that, in the embodiments of the present disclosure, the specific functions and technical effects of the data writing apparatus 300 can refer to the description of the data writing method or the plurality of sets of data writing methods provided by at least one embodiment of the present disclosure, which will not be described herein.
[0129] Figure 13 A schematic block diagram of an electronic device according to at least one embodiment of the present disclosure.
[0130] For example, as shown in Figure 13 The electronic device 400 is suitable for implementing the data writing method or the plurality of sets of data writing methods provided by the embodiments of the present disclosure, for example. It should be noted that, Figure 13The illustrated electronic device 400 is merely an example and does not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.
[0131] For example, such as Figure 13 As shown, the electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 41, which includes, for example, a data writing device according to any embodiment of this disclosure, and can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 42 or a program loaded from a storage device 48 into a random access memory (RAM) 43. The RAM 43 also stores various programs and data required for caching the operation of the device 400 in the system simulation. The processing device 41, ROM 42, and RAM 43 are interconnected via a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44. Typically, the following devices may be connected to the I / O interface 45: input devices 46 including, for example, a touchscreen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 47 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 48 including, for example, magnetic tape, hard disk, etc.; and communication devices 49. The communication device 49 allows the electronic device 400 to communicate wirelessly or wiredly with other electronic devices to exchange data.
[0132] Although Figure 13 An electronic device 400 with various devices is shown, but it should be understood that it is not required to implement or have all of the devices shown, and the electronic device 400 may alternatively implement or have more or fewer devices.
[0133] For detailed descriptions and technical effects of the electronic device 400, please refer to the above descriptions of the data writing method or multiple data writing methods, which will not be repeated here.
[0134] Figure 14 This is a schematic diagram of a storage medium provided for at least one embodiment of the present disclosure.
[0135] For example, such as Figure 14 As shown, storage medium 500 is used to store non-transitory computer-readable instructions 510. For example, when the non-transitory computer-readable instructions 510 are executed by a computer, one or more steps of the data writing method or multiple sets of data writing methods described above can be performed.
[0136] For example, this storage medium 500 can be applied to Figure 12 The one-time programmable memory data writing device 300 is shown. For example, the storage medium 500 can be the memory 320 in the data writing device 300. For example, relevant descriptions of the storage medium 500 can be found in [reference needed].Figure 12 The corresponding description of the memory 320 in the data writing device 300 shown is not repeated here.
[0137] For the present disclosure, the following points need to be explained:
[0138] (1) In the drawings of the embodiments of the present disclosure, only the structures related to the embodiments of the present disclosure are involved, and other structures can be referred to the general design.
[0139] (2) In the case of no conflict, the features in the same embodiment and different embodiments of the present disclosure can be combined with each other.
[0140] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present disclosure, which should be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.
Claims
1. A method of writing data to a one-time programmable memory for writing a write group to the one-time programmable memory, wherein, The first write information includes a first index, and a first index start parameter and a first index end parameter corresponding to the first index, the first index being used to determine a first sub-write group corresponding to the write group, The data write method comprises: obtaining the first write information corresponding to the write group; writing the first write information, and writing first sub-data corresponding to the first sub-write group into the one-time programmable memory based on a storage address range determined based on the first index start parameter and the first index end parameter and the first index, wherein the method further comprises: obtaining second write information corresponding to the write group, wherein the second write information includes a second index, and a second index start parameter and a second index end parameter corresponding to the second index, the second index being used to determine a second sub-write group corresponding to the write group; writing the second write information, and writing second sub-data corresponding to the second sub-write group into the one-time programmable memory based on a storage address range determined based on the second index start parameter and the second index end parameter and the second index, wherein the storage address range determined based on the second index start parameter and the second index end parameter is outside the storage address range determined based on the first index start parameter and the first index end parameter.
2. The data write method of claim 1, wherein, The first write information further includes a write group start parameter and a write group end parameter, the write group start parameter and the write group end parameter being used to determine a range of an area in which the write group is written into the one-time programmable memory.
3. The data write method of claim 1, wherein, The first write information further includes a skip option, which is used to skip reading the first sub-data corresponding to the first sub-write group when reading the one-time programmable memory.
4. The data write method of claim 3, further comprising: modifying the skip option in the first write information to the first option before writing the second write information and the second sub-data into the one-time programmable memory.
5. The data writing method according to any one of claims 1 to 4, wherein, The first write information further includes a write group type.
6. A method of writing multiple sets of data to a one-time programmable memory, for writing a plurality of write sets to the one-time programmable memory, wherein, Each write group of the plurality of write groups includes first write information, the first write information including a first index, and a first index start parameter and a first index end parameter corresponding to the first index, the first index being used to determine a first sub-write group corresponding to the each write group, The plurality of groups of data write methods comprise: obtaining the first write information corresponding to the each write group; writing the first write information corresponding to the each write group, and writing first sub-data corresponding to the first sub-write group into the one-time programmable memory based on a storage address range determined based on the first index start parameter and the first index end parameter and the first index, wherein the method further comprises: obtaining second write information corresponding to the write group, wherein the second write information comprises a second index, and a second index start parameter and a second index end parameter corresponding to the second index, the second index being used to determine a second sub-write group corresponding to the write group; writing the second write information, and a storage address range determined based on the second index start parameter and the second index end parameter, and the second index, and writing second sub-data in the second sub-write group to the one-time programmable memory, wherein the storage address range determined based on the second index start parameter and the second index end parameter is outside the storage address range determined based on the first index start parameter and the first index end parameter.
7. The multiple group data writing method of claim 6, wherein, The writing of the first write information corresponding to each write group, and the writing of first sub-data in the first sub-write group to the one-time programmable memory based on the storage address range determined based on the first index start parameter and the first index end parameter, and the first index, comprises: writing an i-th first index, wherein i = 1, 2, …, n, and n is a positive integer; writing an i-th first index start parameter and an i-th first index end parameter; determining an i-th storage address range based on the i-th first index start parameter and the i-th first index end parameter; obtaining i-th first sub-data corresponding to an i-th first sub-write group based on the i-th storage address range and the i-th first index; writing the i-th first sub-data to the one-time programmable memory.
8. The multiple group data writing method of claim 7, wherein, The determination of the i-th storage address range based on the i-th first index start parameter and the i-th first index end parameter comprises: determining an i-th first storage address range corresponding to the i-th first index; in the i-th first storage address range, finding an i-th first index start address corresponding to the i-th first index start parameter, and finding an i-th first index end address corresponding to the i-th first index end parameter; taking the i-th first index start address and the i-th first index end address in the i-th first storage address range and address information therebetween as the i-th storage address range.
9. A one-time programmable memory comprising data information written by the data writing method of any one of claims 1-5 or data information written by the multi-group data writing method of any one of claims 6-8.
10. An electronic device comprising the one-time programmable memory of claim 9.
11. The electronic device of claim 10, further comprising: a reading module configured to read the data information in the one-time programmable memory.
12. A one-time programmable memory data writing device for writing a write group to the one-time programmable memory, comprising: an obtaining module, configured to obtain first write information corresponding to the write group, wherein the write group comprises the first write information, the first write information comprises a first index, and a first index start parameter and a first index end parameter corresponding to the first index, and the first index is used to determine a first sub-write group corresponding to the write group; a writing module, configured to write the first write information, and write first sub-data corresponding to the first sub-write group into the one-time programmable memory based on a storage address range determined according to the first index start parameter and the first index end parameter, and the first index; wherein the obtaining module is further configured to obtain second write information corresponding to the write group, wherein the second write information comprises a second index, and a second index start parameter and a second index end parameter corresponding to the second index, and the second index is used to determine a second sub-write group corresponding to the write group; the writing module is further configured to write the second write information, and write second sub-data corresponding to the second sub-write group into the one-time programmable memory based on a storage address range determined according to the second index start parameter and the second index end parameter, and the second index; wherein the storage address range determined according to the second index start parameter and the second index end parameter is outside the storage address range determined according to the first index start parameter and the first index end parameter.
13. A one-time programmable memory data writing apparatus, comprising: a processor; a memory comprising one or more computer program modules; wherein the one or more computer program modules are stored in the memory and configured to be executed by the processor, and the one or more computer program modules are used to implement the data writing method of any one of claims 1-5 or the multi-group data writing method of any one of claims 6-8.
14. A storage medium for storing non-transitory computer readable instructions, when the non-transitory computer readable instructions are executed by a computer, the data writing method of any one of claims 1-5 or the multi-group data writing method of any one of claims 6-8 is implemented.
Citation Information
Patent Citations
Writing method and device of programs
CN106802811A
Electronic apparatus and memory access control method
JP2020135641A