WO2006044203A2 - Flexible otp sector protection architecture for flash memories - Google Patents

Flexible otp sector protection architecture for flash memories Download PDF

Info

Publication number
WO2006044203A2
WO2006044203A2 PCT/US2005/035788 US2005035788W WO2006044203A2 WO 2006044203 A2 WO2006044203 A2 WO 2006044203A2 US 2005035788 W US2005035788 W US 2005035788W WO 2006044203 A2 WO2006044203 A2 WO 2006044203A2
Authority
WO
WIPO (PCT)
Prior art keywords
otp
block
size
blocks
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/US2005/035788
Other languages
French (fr)
Other versions
WO2006044203A3 (en
Inventor
Riccardo Riva Reggiori
Lorenzo Bedarida
Georgia Oddone
Fabio Tassan Caser
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Atmel Corp
Original Assignee
Atmel Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from ITMI20041967 external-priority patent/ITMI20041967A1/en
Application filed by Atmel Corp filed Critical Atmel Corp
Publication of WO2006044203A2 publication Critical patent/WO2006044203A2/en
Publication of WO2006044203A3 publication Critical patent/WO2006044203A3/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/22Safety or protection circuits preventing unauthorised or accidental access to memory cells
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C2216/00Indexing scheme relating to G11C16/00 and subgroups, for features not directly covered by these groups
    • G11C2216/12Reading and writing aspects of erasable programmable read-only memories
    • G11C2216/26Floating gate memory which is adapted to be one-time programmable [OTP], e.g. containing multiple OTP blocks permitting limited update ability

Definitions

  • the present invention relates to flash memories, and more particularly to a system and method for protecting portions of a memory, such as a flash memory, in a more flexible fashion.
  • Memories such as flash memories, are used for storing a variety of data. Often, it is desirable to protect a portion of the memory from being changed. Typically, the portion of the memory is protected from being modified using conventional software protection or conventional hardware protection. If conventional software protection is used, then protect, unprotect, and lock-down commands are provided. The protect commands allows the portion of the memory to be protected from any modificatrion. The unprotect command allows the portion of the memory to be modified. The lock- down command precludes changing the portion of the memory. If conventional hardware protection is provided, then a dedicated pad is typically provided. In most such conventional systems, when the dedicated pad is tied to ground, the portion of the memory is protected. In some conventional memories, a particular portion of the memory is pre-selected for protection .
  • the present invention provides a method and system for protecting a memory having a plurality of blocks from being modified.
  • the method and system comprise providing a plurality of one time programmable (OTP) cells and OTP cell logic coupled with the OTP cells.
  • An OTP cell of the plurality of OTP cells corresponds to a portion of a block of the plurality of blocks.
  • the OTP cell allows modification of the portion of the block when the OTP cell is in a first state and permanently prevents modification of the portion of the block when the OTP cell is in a second state.
  • the OTP cell logic uses the plurality of OTP cells to select the portion of the block as corresponding to the OTP cell. This portion of the block is write protected when the OTP cell is placed in the second state. According to the method and system disclosed herein, the present invention allows selected portions of blocks of memory to be permanently protected from programming.
  • FIG. 1 is a high-level diagram of one embodiment of a system in accordance with the present invention for protecting a memory from being modified.
  • Figure 2 is a more detailed diagram of one embodiment of a system in accordance with the present invention for protecting a memory from being modified.
  • Figure 3 is a more detailed diagram of one embodiment of a portion of a system in accordance with the present invention depicting the correspondence between OTP cells and a portion of the memory for a first size.
  • Figure 4 is a more detailed diagram of one embodiment of a portion of a system in accordance with the present invention depicting the correspondence between OTP cells and a portion of the memory for a second size.
  • Figure 5 is a more detailed diagram of one embodiment of an array of OTP cells in accordance with the present invention.
  • Figure 6 is a flow chart depicting one embodiment of a method in accordance with the present invention for protecting a memory from being modified.
  • the present invention relates to memory devices.
  • the following description is presented to enable one of ordinary skill in the art to make and use the invention and is provided in the context of a patent application and its requirements.
  • Various modifications to the preferred embodiments and the generic principles and features described herein will be readily apparent to those skilled in the art.
  • the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features described herein.
  • the present invention provides a method and system for protecting a memory having a plurality of blocks from being modified.
  • the method and system comprise providing a plurality of one time programmable (OTP) cells and OTP cell logic coupled with the OTP cells.
  • An OTP cell of the plurality of OTP cells corresponds to a portion of a block of the plurality of blocks.
  • the OTP cell allows modification of the portion of the block when the OTP cell is in a first state and permanently prevents modification of the portion of the block when the OTP cell is in a second state.
  • the OTP cell logic uses the plurality of OTP cells to select the portion of the block as corresponding to the OTP cell. This portion of the block is write protected when the OTP cell is placed in the second state.
  • the present invention will be described in terms of a particular memory having a particular number of blocks of a certain size. However, one of ordinary skill in the art will readily recognize that other memories having another number of blocks of varying sizes could be used.
  • Figure 1 is a high-level diagram of one embodiment of a system 100 in accordance with the present invention for protecting a memory from being programmed.
  • the system 100 is used in protecting some portion of the memory 130 having blocks
  • the system 100 includes OTP logic 110 and OTP array 120.
  • the OTP array 120 includes OTP cells 122, 124, 126, and 128. Although four OTP cells 122, 124, 126, and 128 are shown, another number of OTP cells may be provided.
  • an OTP cell can be programmed only once. In general, the OTP has a first, unprogrammed state that generally corresponds to a logical one as well as a programmed state that generally corresponds to a logical zero. Once the OTP cell has been placed in the programmed state, the OTP cell cannot be erased or otherwise rewritten.
  • the OTP cell is generally also nonvolatile, maintaining its state even when power to the system 100 is turned off.
  • the OTP cells 122, 124, 126, and 128 of the OTP array 120 correspond to the memory blocks 132, 134, 136, and 138 respectively.
  • OTP cell 122, 124, 126, and 128 of the OTP array is associated with a corresponding OTP latch (not explicitly shown in Figure 1).
  • the OTP logic 110 determines the size of the blocks 132, 134, 136, and 138 to which OTP cells 122, 124, 126, and 128, respectively, in the OTP array 120 that are to correspond.
  • the size of the memory 130 that can be write protected is selectable through the OTP logic 110.
  • the minimum size of the blocks 132, 134, 136, and 138 is the sector size for the memory 130.
  • the maximum size of the blocks 132, 134, 136, and 138 is the density of the memory 130 divided by the number of OTP cells 122, 124, 126, and 128. However, in an alternate embodiment, the maximum size might be different.
  • the OTP logic 110 can also select certain OTP cells 122, 124, 126, and/or 128 that are actually written in order provide protection for the corresponding blocks 132, 134, 136, and/or 138.
  • the size of the blocks 132, 134, 136, and 128 can be configured using the OTP logic 110 and the OTP cells in the sets 122, 124, and 126 of the OTP array 120.
  • FIG. 2 is a more detailed diagram of one embodiment of a system 150 in accordance with the present invention for protecting a memory from being modified.
  • the system 150 includes OTP logic 160 and OTP array 190, which correspond to the OTP logic 110 and OTP array 120 depicted in Figure 1.
  • the system 150 also includes size selection block 170, command user interface (CUI) 180, and enable/disable block 200.
  • the enable/disable block 200 is preferably implemented as part of the OTP array 190, using OTP cells (not explicitly shown in Figure 2). However, in an alternate embodiment, the enable/disable block 200 may be separately implemented.
  • memory 210 depicted as memory 210.
  • the size selection block 170 is depicted as being implemented in hardware that allows one of two sizes to be selected.
  • the size selection block 170 shown provides a maximum signal 172 and a minimum signal 174 indicating a maximum size and a minimum size, respectively, to be input to the OTP logic 160. Based on these signals, the OTP logic 160 sets the minimum and maximum sizes of the blocks of the memory 210. Thus, the size selection block 170 allows of each block of the memory 210 to be configured. In an alternate embodiment, other sizes, preferably between a minimum size and a maximum size, might be selected and/or another number of signals might be used.
  • the OTP logic 160 uses the maximum signal 172 and the minimum signal 174 to determine to which portions of the memory 210 a particular OTP cell corresponds. Also in such an embodiment, each OTP cell corresponds to a single block of the memory 210.
  • the memory 210 may have a density of eight megabytes and be divided into sixteen memory blocks.
  • the OTP array 190 may include sixteen OTP cells and the sector size may be sixty-four KB. Consequently, the maximum size may be 512 KB (memory density divided by the number of OTP cells), while the minimum size may be sixty-four KB.
  • the OTP logic 160 associates each of the OTP cells in the OTP array 190 with blocks each of which is 512 KB in size. If the maximum signal 172 and minimum signal 174 indicate that the minimum block size is to be protected, the OTP logic 160 preferably associates each OTP cell in the OTP array 190 with blocks each of which is sixty-four KB in size. In another embodiment, other sizes might be obtained by associating each of the OTP cells with another portion of the memory 210. In addition, in an alternate embodiment, the sizes of each of blocks of the memory 210 may be different.
  • Figures 3-4 depict the example above. Thus, portions of Figures 3 and 4 are labeled similarly to their counterparts in Figure 2.
  • the OTP array 190' includes OTP cells 220-235.
  • the memory 210' is depicted as including sixteen blocks 240-255.
  • the OTP logic 160 has set the size of the blocks 240-255 that may be protected against modification to the maximum size.
  • each OTP cell 220-235 corresponds to a single block 240-255, respectively, of 512 KB in size.
  • the OTP cell 220 corresponds to the first 512 KB of the memory
  • the OTP cell 221 corresponds to the second 512 KB of memory
  • the OTP logic 160 has set the size of the blocks 240-255 that are protected to the minimum size.
  • each OTP cell 220'- 235' of the OTP array 190" corresponds to a single block 24O'-255', respectively, of sixty-four KB in size. Consequently, the OTP cell 220 corresponds to the first sixty-four
  • the OTP cell 221 corresponds to the second sixty-four KB of memory, and so on.
  • the size of block 240-255 or 240'- 255' is configurable to be a maximum or minimum size, respectively, by associating each OTP cell 220-235 or 220 '-235' respectively, with a different portion of each of the memory blocks 210.
  • the CUI 180 provides commands to the OTP logic 160 as well as to the enable/disable block 200.
  • the CUI 180 preferably allows the entire OTP array 190 to be disabled using an enable/disable command 182. Consequently, the programming protect feature afforded by the system 150 is turned off.
  • the CUI 180 may disable programming of the OTP cells in the OTP array
  • the CUI 180 preferably provides the enable/disable command 182 and programming enable/disable command 184 to enable/disable block 200.
  • FIG. 5 is a more detailed diagram of a preferred embodiment of an array of OTP cells in the OTP array 190'" in accordance with the present invention. However, nothing prevents the use of another OTP array having other constituents.
  • the OTP array
  • the OTP cells 220"-235" preferably correspond to the OTP cells 220'235 and 22O'-235' depicted in Figures 3-4.
  • the enable/disable block 200' is part of the OTP array 190'.
  • the OTP array 190'" thus includes a total of eighteen OTP cells 220"-235" and 236-237.
  • Each of the OTP cells 220"-235" preferably corresponds to a single block of the memory blocks 210.
  • Each OTP cell 220"-235" also has a corresponding OTP latch 260-277.
  • FIG. 6 is a flow chart depicting one embodiment of a method 300 in accordance with the present invention for protecting a memory from being programmed.
  • the protection feature is enabled and programming of the OTP cells in the OTP array 190 is allowed, via step 302.
  • step 302 is performed by setting the enable/disable and programming enable/disable signals 182 and 184, respectively, to be a logical one.
  • the size(s) of the blocks of the memory 210 that may be protected from programming is determined, via step 304.
  • step 304 is performed by setting either the maximum signal 172
  • the OTP logic 160 is informed of the size of the blocks, such as the blocks 240-255 or 24O'-255'.
  • the OPT cells of the OTP array 190 are associated with the appropriate portions of the memory 210 such that the blocks have the desired size, via step 306. For example, the sizes of the blocks 240-255 or 24O'-255' are set. The portion of the blocks 240-255 or 24O'-255' that are desired to be protected are selected, via step 308.
  • Step 308 may thus include the user selecting the desired portion of the blocks 240- 255 or 24O'-255', as well as the CUI 180 providing the command to permanently protect the desired portion of the blocks 240-255 or 24O'-255' from subsequent modificaiton. For example, if the maximum size is selected, and only the blocks 240-242 are desired to be written, then the CUI 180 provides a command indicating that the OTP cells 220-222 are to be written. The appropriate ones of the OTP cells 220-235 or 220 '-235' are written, via step 310. In the example above, the OTP cells 220-222 would be written in step 310. The user may then optionally lock the memory 210 against further modification, via step 312. Step 312 preferably includes the CUI setting the programming enable/disable signal 184 to a logical zero. Thus, the memory 210 is protected against future modifications.
  • the OTP logic 160 determines whether a protected portion of the memory 210 is desired to be modified. In order to do so, the OTP logic 160 uses the OTP ⁇ 15:0> 162, the address of the sector to be modified 164, whether the programming protection features is enabled or disabled using the enable/disable signal 182, and the size of the blocks which have been locked. The OTP logic 160 returns a sector protection signal 166 to the CUI, which indicates whether the requested portion of the memory 210 can be modified. In the example above, where blocks 240-242 are protected, the OTP logic 160 determines whether the modification requested lies within the blocks 240-242.
  • the sector protection signal 166 indicates that the modification can be made (sector lies outside of blocks 240-242 or protection is disabled) or not (the sector lies within the blocks 240-242 and the protection is enabled).
  • the size of the blocks that are protected against programming can be configured, selected blocks can be protected against programming, and the blocks can be locked against future modification in a nonvolatile fashion. Consequently, the method 300 and system 100 can provide configurable, nonvolatile write protection.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Storage Device Security (AREA)
  • Read Only Memory (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

A method and system for protecting a memory having a plurality of blocks from modification is disclosed. The method and system include providing a plurality of one time programmable (OTP) cells and OTP cell logic coupled with the OTP cells. An OTP cell of the plurality of OTP cells corresponds to a portion of a block of the plurality of blocks. The OTP cell allows modification of the portion of the block when the OTP cell is in a first state and permanently prevents modification of the portion of the block when the OTP cell is in a second state. The OTP cell logic uses the plurality of OTP cells to select the portion of the block as corresponding to the OTP cell. This portion of the block is write protected when the OTP cell is placed in the second state.

Description

FLEXIBLE OTP SECTOR PROTECTION ARCHITECTURE FOR FLASH MEMORIES
FIELD OF THE INVENTION
The present invention relates to flash memories, and more particularly to a system and method for protecting portions of a memory, such as a flash memory, in a more flexible fashion.
BACKGROUND OF THE INVENTION
Memories, such as flash memories, are used for storing a variety of data. Often, it is desirable to protect a portion of the memory from being changed. Typically, the portion of the memory is protected from being modified using conventional software protection or conventional hardware protection. If conventional software protection is used, then protect, unprotect, and lock-down commands are provided. The protect commands allows the portion of the memory to be protected from any modificatrion. The unprotect command allows the portion of the memory to be modified. The lock- down command precludes changing the portion of the memory. If conventional hardware protection is provided, then a dedicated pad is typically provided. In most such conventional systems, when the dedicated pad is tied to ground, the portion of the memory is protected. In some conventional memories, a particular portion of the memory is pre-selected for protection .
Although the conventional software and hardware protection systems function, one of ordinary skill in the art will readily recognize that each has drawbacks. Although conventional software protection allows the protection of the portion of the memory to be dynamically changed, the protection is volatile. Consequently, once power to the memory is shut off, the protection is lost. Conventional hardware protection is nonvolatile. However, one of ordinary skill in the art will readily recognize that tying the dedicated pad to ground precludes any modification of the device. Conventional systems do exist which allow a particular block of the memory to be protected from programming in a nonvolatile fashion. However, such conventional mechanisms for providing nonvolatile protection against programming still have drawbacks such as the inability to configure the size of the portion of the memory being protected or the inability to choose the address position of the portion of the memory to be protected. Accordingly, what is needed is an improved nonvolatile method and system for protecting memories form being modified. The present invention addresses such a need.
BRIEF SUMMARY OF THE INVENTION The present invention provides a method and system for protecting a memory having a plurality of blocks from being modified. The method and system comprise providing a plurality of one time programmable (OTP) cells and OTP cell logic coupled with the OTP cells. An OTP cell of the plurality of OTP cells corresponds to a portion of a block of the plurality of blocks. The OTP cell allows modification of the portion of the block when the OTP cell is in a first state and permanently prevents modification of the portion of the block when the OTP cell is in a second state. The OTP cell logic uses the plurality of OTP cells to select the portion of the block as corresponding to the OTP cell. This portion of the block is write protected when the OTP cell is placed in the second state. According to the method and system disclosed herein, the present invention allows selected portions of blocks of memory to be permanently protected from programming.
BRIEF DESCRIPTION OF SEVERAL VIEWS OF THE DRAWINGS Figure 1 is a high-level diagram of one embodiment of a system in accordance with the present invention for protecting a memory from being modified.
Figure 2 is a more detailed diagram of one embodiment of a system in accordance with the present invention for protecting a memory from being modified.
Figure 3 is a more detailed diagram of one embodiment of a portion of a system in accordance with the present invention depicting the correspondence between OTP cells and a portion of the memory for a first size.
Figure 4 is a more detailed diagram of one embodiment of a portion of a system in accordance with the present invention depicting the correspondence between OTP cells and a portion of the memory for a second size. Figure 5 is a more detailed diagram of one embodiment of an array of OTP cells in accordance with the present invention.
Figure 6 is a flow chart depicting one embodiment of a method in accordance with the present invention for protecting a memory from being modified. DETAILED DESCRIPTION OF THE INVENTION
The present invention relates to memory devices. The following description is presented to enable one of ordinary skill in the art to make and use the invention and is provided in the context of a patent application and its requirements. Various modifications to the preferred embodiments and the generic principles and features described herein will be readily apparent to those skilled in the art. Thus, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features described herein.
The present invention provides a method and system for protecting a memory having a plurality of blocks from being modified. The method and system comprise providing a plurality of one time programmable (OTP) cells and OTP cell logic coupled with the OTP cells. An OTP cell of the plurality of OTP cells corresponds to a portion of a block of the plurality of blocks. The OTP cell allows modification of the portion of the block when the OTP cell is in a first state and permanently prevents modification of the portion of the block when the OTP cell is in a second state. The OTP cell logic uses the plurality of OTP cells to select the portion of the block as corresponding to the OTP cell. This portion of the block is write protected when the OTP cell is placed in the second state.
The present invention will be described in terms of a particular memory having a particular number of blocks of a certain size. However, one of ordinary skill in the art will readily recognize that other memories having another number of blocks of varying sizes could be used.
Figure 1 is a high-level diagram of one embodiment of a system 100 in accordance with the present invention for protecting a memory from being programmed. The system 100 is used in protecting some portion of the memory 130 having blocks
132, 134, 136, and 138. Note that the memory 130 may merely be a portion of a larger memory. The memory 130 is simply the portion that is desired to be protected against subsequent modification. The system 100 includes OTP logic 110 and OTP array 120. The OTP array 120 includes OTP cells 122, 124, 126, and 128. Although four OTP cells 122, 124, 126, and 128 are shown, another number of OTP cells may be provided. As its name suggests, an OTP cell can be programmed only once. In general, the OTP has a first, unprogrammed state that generally corresponds to a logical one as well as a programmed state that generally corresponds to a logical zero. Once the OTP cell has been placed in the programmed state, the OTP cell cannot be erased or otherwise rewritten. The OTP cell is generally also nonvolatile, maintaining its state even when power to the system 100 is turned off.
The OTP cells 122, 124, 126, and 128 of the OTP array 120 correspond to the memory blocks 132, 134, 136, and 138 respectively. In a preferred embodiment, each
OTP cell 122, 124, 126, and 128 of the OTP array is associated with a corresponding OTP latch (not explicitly shown in Figure 1).
The OTP logic 110 determines the size of the blocks 132, 134, 136, and 138 to which OTP cells 122, 124, 126, and 128, respectively, in the OTP array 120 that are to correspond. Thus, the size of the memory 130 that can be write protected is selectable through the OTP logic 110. In a preferred embodiment, the minimum size of the blocks 132, 134, 136, and 138 is the sector size for the memory 130. Also in a preferred embodiment, the maximum size of the blocks 132, 134, 136, and 138 is the density of the memory 130 divided by the number of OTP cells 122, 124, 126, and 128. However, in an alternate embodiment, the maximum size might be different. In a preferred embodiment, the OTP logic 110 can also select certain OTP cells 122, 124, 126, and/or 128 that are actually written in order provide protection for the corresponding blocks 132, 134, 136, and/or 138. Thus, the size of the blocks 132, 134, 136, and 128 can be configured using the OTP logic 110 and the OTP cells in the sets 122, 124, and 126 of the OTP array 120.
Figure 2 is a more detailed diagram of one embodiment of a system 150 in accordance with the present invention for protecting a memory from being modified. The system 150 includes OTP logic 160 and OTP array 190, which correspond to the OTP logic 110 and OTP array 120 depicted in Figure 1. Referring back to Figure 2, the system 150 also includes size selection block 170, command user interface (CUI) 180, and enable/disable block 200. The enable/disable block 200 is preferably implemented as part of the OTP array 190, using OTP cells (not explicitly shown in Figure 2). However, in an alternate embodiment, the enable/disable block 200 may be separately implemented. Also depicted is memory 210. The size selection block 170 is depicted as being implemented in hardware that allows one of two sizes to be selected. However, in another embodiment, another programmable configuration might be used. The size selection block 170 shown provides a maximum signal 172 and a minimum signal 174 indicating a maximum size and a minimum size, respectively, to be input to the OTP logic 160. Based on these signals, the OTP logic 160 sets the minimum and maximum sizes of the blocks of the memory 210. Thus, the size selection block 170 allows of each block of the memory 210 to be configured. In an alternate embodiment, other sizes, preferably between a minimum size and a maximum size, might be selected and/or another number of signals might be used.
In a preferred embodiment, the OTP logic 160 uses the maximum signal 172 and the minimum signal 174 to determine to which portions of the memory 210 a particular OTP cell corresponds. Also in such an embodiment, each OTP cell corresponds to a single block of the memory 210. For example, the memory 210 may have a density of eight megabytes and be divided into sixteen memory blocks. In such an embodiment, the OTP array 190 may include sixteen OTP cells and the sector size may be sixty-four KB. Consequently, the maximum size may be 512 KB (memory density divided by the number of OTP cells), while the minimum size may be sixty-four KB. If the maximum signal 172 and minimum signal 174 indicate that the maximum block size is to be protected, the OTP logic 160 associates each of the OTP cells in the OTP array 190 with blocks each of which is 512 KB in size. If the maximum signal 172 and minimum signal 174 indicate that the minimum block size is to be protected, the OTP logic 160 preferably associates each OTP cell in the OTP array 190 with blocks each of which is sixty-four KB in size. In another embodiment, other sizes might be obtained by associating each of the OTP cells with another portion of the memory 210. In addition, in an alternate embodiment, the sizes of each of blocks of the memory 210 may be different.
Figures 3-4 depict the example above. Thus, portions of Figures 3 and 4 are labeled similarly to their counterparts in Figure 2. For example, the OTP array 190' and
190" of Figures 3 and 4, respectively, correspond to the OTP array 190 of Figure 2. Similarly, the memory blocks 210' and 210" of Figures 3 and 4, respectively, correspond to the memory blocks 210 of Figure 2. Referring to Figures 2-4, the OTP array 190' includes OTP cells 220-235. The memory 210' is depicted as including sixteen blocks 240-255. For the state depicted in Figure 3, the OTP logic 160 has set the size of the blocks 240-255 that may be protected against modification to the maximum size. Thus, each OTP cell 220-235 corresponds to a single block 240-255, respectively, of 512 KB in size. Stated differently, the OTP cell 220 corresponds to the first 512 KB of the memory, the OTP cell 221 corresponds to the second 512 KB of memory, and so on. Similarly, for the state depicted in Figure 4, the OTP logic 160 has set the size of the blocks 240-255 that are protected to the minimum size. Thus, each OTP cell 220'- 235' of the OTP array 190" corresponds to a single block 24O'-255', respectively, of sixty-four KB in size. Consequently, the OTP cell 220 corresponds to the first sixty-four
KB of the memory, the OTP cell 221 corresponds to the second sixty-four KB of memory, and so on. Thus, in a preferred embodiment, the size of block 240-255 or 240'- 255' is configurable to be a maximum or minimum size, respectively, by associating each OTP cell 220-235 or 220 '-235' respectively, with a different portion of each of the memory blocks 210.
The CUI 180 provides commands to the OTP logic 160 as well as to the enable/disable block 200. The CUI 180 preferably allows the entire OTP array 190 to be disabled using an enable/disable command 182. Consequently, the programming protect feature afforded by the system 150 is turned off. Using a programming enable/disable command 184, the CUI 180 may disable programming of the OTP cells in the OTP array
190 by locking the OTP array 190. Such a feature might be used after certain portions of the memory blocks 210 are selected as being protected to preclude further changes to the portion of the memory blocks 210 that are protected. In order to provide these features, the CUI 180 preferably provides the enable/disable command 182 and programming enable/disable command 184 to enable/disable block 200. In one embodiment, the CUI
180 provides the enable/disable and programming enable/disable commands 182 and 184 to OTP cells (not explicitly depicted in Figure 2) in the enable/disable block 200.
Figure 5 is a more detailed diagram of a preferred embodiment of an array of OTP cells in the OTP array 190'" in accordance with the present invention. However, nothing prevents the use of another OTP array having other constituents. The OTP array
190'" preferably corresponds to the OTP array 190 depicted in Figure 2. The OTP cells 220"-235" preferably correspond to the OTP cells 220'235 and 22O'-235' depicted in Figures 3-4. Referring to Figures 2 and 5, in the embodiment shown, the enable/disable block 200' is part of the OTP array 190'. The OTP array 190'" thus includes a total of eighteen OTP cells 220"-235" and 236-237. Each of the OTP cells 220"-235" preferably corresponds to a single block of the memory blocks 210. Each OTP cell 220"-235" also has a corresponding OTP latch 260-277. Figure 6 is a flow chart depicting one embodiment of a method 300 in accordance with the present invention for protecting a memory from being programmed. For clarity, the method 300 is described in the context of the system 150. However, nothing prevents the method 300 from being used with another system. Referring to Figures 2-6, the protection feature is enabled and programming of the OTP cells in the OTP array 190 is allowed, via step 302. In a preferred embodiment, step 302 is performed by setting the enable/disable and programming enable/disable signals 182 and 184, respectively, to be a logical one. The size(s) of the blocks of the memory 210 that may be protected from programming is determined, via step 304. In a preferred embodiment, step 304 is performed by setting either the maximum signal 172
(for the maximum size) or the minimum signal 174 (for the minimum size) to a logical one. Thus, the OTP logic 160 is informed of the size of the blocks, such as the blocks 240-255 or 24O'-255'. The OPT cells of the OTP array 190 are associated with the appropriate portions of the memory 210 such that the blocks have the desired size, via step 306. For example, the sizes of the blocks 240-255 or 24O'-255' are set. The portion of the blocks 240-255 or 24O'-255' that are desired to be protected are selected, via step 308. Step 308 may thus include the user selecting the desired portion of the blocks 240- 255 or 24O'-255', as well as the CUI 180 providing the command to permanently protect the desired portion of the blocks 240-255 or 24O'-255' from subsequent modificaiton. For example, if the maximum size is selected, and only the blocks 240-242 are desired to be written, then the CUI 180 provides a command indicating that the OTP cells 220-222 are to be written. The appropriate ones of the OTP cells 220-235 or 220 '-235' are written, via step 310. In the example above, the OTP cells 220-222 would be written in step 310. The user may then optionally lock the memory 210 against further modification, via step 312. Step 312 preferably includes the CUI setting the programming enable/disable signal 184 to a logical zero. Thus, the memory 210 is protected against future modifications.
Once the method 300 is completed, each time a command to modify a portion of the memory 210 is received, the OTP logic 160 determines whether a protected portion of the memory 210 is desired to be modified. In order to do so, the OTP logic 160 uses the OTP <15:0> 162, the address of the sector to be modified 164, whether the programming protection features is enabled or disabled using the enable/disable signal 182, and the size of the blocks which have been locked. The OTP logic 160 returns a sector protection signal 166 to the CUI, which indicates whether the requested portion of the memory 210 can be modified. In the example above, where blocks 240-242 are protected, the OTP logic 160 determines whether the modification requested lies within the blocks 240-242. Based on the determination, the sector protection signal 166 indicates that the modification can be made (sector lies outside of blocks 240-242 or protection is disabled) or not (the sector lies within the blocks 240-242 and the protection is enabled). Thus, using the method 300, the size of the blocks that are protected against programming can be configured, selected blocks can be protected against programming, and the blocks can be locked against future modification in a nonvolatile fashion. Consequently, the method 300 and system 100 can provide configurable, nonvolatile write protection.
A method and system for protecting a memory from being programmed has been disclosed. The present invention has been described in accordance with the embodiments shown, and one of ordinary skill in the art will readily recognize that there could be variations to the embodiments, and any variations would be within the spirit and scope of the present invention. Accordingly, many modifications may be made by one of ordinary skill in the art without departing from the spirit and scope of the appended claims.

Claims

CLAIMS We Claim:
1. A system for protecting a memory from modification comprising: a plurality of one time programmable (OTP) OTP cells corresponding to a plurality of blocks of the memory, an OTP cell of the plurality of OTP cells corresponding to a block of the plurality of blocks, the OTP cell allowing modification of the block when the OTP cell is in a first state and permanently preventing modification of the block when the OTP cell is in a second state; and
OTP cell logic coupled with the plurality of OTP cells for determining a size of the block corresponding to the OTP cell.
2. The system of claim 1 further comprising: at least one command user interface (CUI), coupled with the OTP cell logic, for providing at least one command for protecting a number of the plurality of blocks, the at least one command for placing a portion of the plurality of OTP cells in the second state, thereby resulting in each of the number of the plurality of blocks being protected from modification.
3. The system of claim 3 wherein the at least one command further is a single command.
4. The system of claim 1 further comprising: a size selection block, coupled with the OTP cell logic for providing a signal indicating the size of the block.
5. The system of claim 4 wherein the size selection block is a hardware block.
6. The system of claim 4 wherein the size selection block is a programmable block.
7. The system of claim 4 wherein the size is capable of being either a minimum size or a maximum size.
8. The system of claim 7 wherein the size can be between the minimum size and as large as the maximum size.
9. The system of claim 7 wherein the minimum size is a sector size.
10. The system of claim 7 wherein the maximum size is a memory density for a portion of the memory desired to be protected divided by a number of the plurality of
OTP cells.
11. The system of claim 1 further comprising: an enable block for enabling/disabling programming and/or use of the plurality of OTP cells.
12. The system of claim 11 wherein the enable/disable block further includes: a first OTP cell for enabling/disabling programming of the plurality of
OTP cells.
13. The system of claim 12 wherein the enable/disable block further includes : a second OTP cell for enabling/disabling the plurality of OTP cells to prevent the memory from being protected from modification.
14. The system of claim 10 further comprising: at least one command user interface (CUI), coupled with the OTP cell logic, wherein the enable block is controlled using the CUI interface.
15. A system for protecting a memory from modification the system comprising: a plurality of one time programmable (OTP) OTP cells corresponding to a plurality of blocks of the memory, at least one OTP cell of the plurality of OTP cells corresponding to each of the plurality of blocks, the at least one OTP cell allowing modification of each of the plurality of blocks when the at least one OTP cell is in a first state and permanently preventing modification of each of the plurality of blocks when the at least one OTP cell is in a second state;
OTP cell logic, coupled with the plurality of OTP cells, for determining at least one size of the block corresponding to the at least one OTP cell; a size selection block, coupled with the OTP cell logic, for providing a command indicating the at least one; at least one command user interface (CUI), coupled with the OTP cell logic, for providing at least one command for protecting a number of the plurality of blocks, the at least one command for placing a portion of the plurality of OTP cells in the second state; a first OTP cell, coupled with the plurality of OTP cells, for enabling/disabling programming of the plurality of OTP cells.
16. A method for protecting a memory from modification comprising: determining a size of each of a plurality of blocks of the memory, the plurality of blocks corresponding to a plurality of one time programmable (OTP) cells, at least one OTP cell of the plurality of OTP cells corresponding to a block of the plurality of blocks, the at least one OTP cell preventing programming of the block when the at least one OTP cell is in a first state, the at least one OTP cell allowing programming of the block when the at least one OTP cell is in a second state; and writing the at least one OTP cell to the first state.
17. The method of claim 16 further including: selecting a portion of the plurality of blocks for protection.
18. The method of claim 16 further comprising: turning on a protection feature to allow the at least one OTP cell to be programmed to the first state.
19. The method of claim 16 wherein the writing step further includes: writing to the at least one OTP cell for each of the portion of the plurality of blocks.
20. The method of claim 16 further including: locking any remaining OTP cell.
21. The method of claim 16 wherein the determining step further includes: determining a minimum size and a maximum size.
22. The method of claim 21 wherein the size determining further includes: determining the size to be between the minimum size and as large as the maximum size.
23. The method of claim 21 wherein the minimum size is a sector size.
24. The method of claim 21 wherein the maximum size is a memory density for a portion of the memory desired to be protected divided by a number of the plurality of OTP cells.
25. A method for protecting a memory from modification comprising: providing a plurality of one time programmable (OTP) OTP cells corresponding to a plurality of blocks of the memory, an OTP cell of the plurality of OTP cells corresponding to a block of the plurality of blocks, the OTP cell allowing modification of the block when the OTP cell is in a first state and permanently preventing modification of the block when the OTP cell is in a second state; and providing OTP cell logic coupled with the plurality of OTP cells for determining a size of the block corresponding to the OTP cell.
PCT/US2005/035788 2004-10-15 2005-10-04 Flexible otp sector protection architecture for flash memories Ceased WO2006044203A2 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
ITMI20041967 ITMI20041967A1 (en) 2004-10-15 2004-10-15 "ARCHITECTURE OF FLEXIBLE PROTECTION OF OTP SECTORS FOR FLASH MEMORY"
ITMI2004A001967 2004-10-15
US11/128,648 US7130209B2 (en) 2004-10-15 2005-05-12 Flexible OTP sector protection architecture for flash memories
US11/128,648 2005-05-12

Publications (2)

Publication Number Publication Date
WO2006044203A2 true WO2006044203A2 (en) 2006-04-27
WO2006044203A3 WO2006044203A3 (en) 2006-11-09

Family

ID=36203397

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2005/035788 Ceased WO2006044203A2 (en) 2004-10-15 2005-10-04 Flexible otp sector protection architecture for flash memories

Country Status (3)

Country Link
US (2) US7130209B2 (en)
TW (1) TWI284906B (en)
WO (1) WO2006044203A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7864557B2 (en) 2004-10-15 2011-01-04 Atmel Corporation Flexible OTP sector protection architecture for flash memories

Families Citing this family (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100618865B1 (en) * 2004-09-30 2006-08-31 삼성전자주식회사 Multiple programmable OTP memory device and its programming method
KR100773398B1 (en) * 2005-12-14 2007-11-05 삼성전자주식회사 Phase Change Memory Device with OTP Cell Array
US7630225B2 (en) * 2006-09-29 2009-12-08 Sandisk Corporation Apparatus combining once-writeable and rewriteable information storage to support data processing
US7414891B2 (en) 2007-01-04 2008-08-19 Atmel Corporation Erase verify method for NAND-type flash memories
US7882405B2 (en) * 2007-02-16 2011-02-01 Atmel Corporation Embedded architecture with serial interface for testing flash memories
US20080232169A1 (en) * 2007-03-20 2008-09-25 Atmel Corporation Nand-like memory array employing high-density nor-like memory devices
US7991943B2 (en) * 2007-10-26 2011-08-02 Standard Microsystems Corporation Implementation of one time programmable memory with embedded flash memory in a system-on-chip
US8194492B2 (en) * 2008-04-08 2012-06-05 Samsung Electronics Co., Ltd. Variable resistance memory device and system
US7974119B2 (en) 2008-07-10 2011-07-05 Seagate Technology Llc Transmission gate-based spin-transfer torque memory unit
US20100091546A1 (en) * 2008-10-15 2010-04-15 Seagate Technology Llc High density reconfigurable spin torque non-volatile memory
US9030867B2 (en) 2008-10-20 2015-05-12 Seagate Technology Llc Bipolar CMOS select device for resistive sense memory
US7936580B2 (en) 2008-10-20 2011-05-03 Seagate Technology Llc MRAM diode array and access method
US7936583B2 (en) 2008-10-30 2011-05-03 Seagate Technology Llc Variable resistive memory punchthrough access method
US7825478B2 (en) 2008-11-07 2010-11-02 Seagate Technology Llc Polarity dependent switch for resistive sense memory
US8178864B2 (en) 2008-11-18 2012-05-15 Seagate Technology Llc Asymmetric barrier diode
US8203869B2 (en) 2008-12-02 2012-06-19 Seagate Technology Llc Bit line charge accumulation sensing for resistive changing memory
US8159856B2 (en) 2009-07-07 2012-04-17 Seagate Technology Llc Bipolar select device for resistive sense memory
US8158964B2 (en) 2009-07-13 2012-04-17 Seagate Technology Llc Schottky diode switch and memory units containing the same
US8261011B2 (en) * 2009-10-29 2012-09-04 Freescale Semiconductor, Inc. One-time programmable memory device and methods thereof
KR20110102734A (en) * 2010-03-11 2011-09-19 삼성전자주식회사 Nonvolatile Semiconductor Memory Device with OTP Lock Bit Register
US8780660B2 (en) * 2010-06-08 2014-07-15 Chengdu Kiloway Electronics Inc. Spurious induced charge cleanup for one time programmable (OTP) memory
TWI443666B (en) * 2010-08-31 2014-07-01 Silicon Motion Inc Data programming circuit and method for otp memory
TWI447736B (en) * 2010-09-13 2014-08-01 Silicon Motion Inc Data programming circuit and method for otp memory
US8648426B2 (en) 2010-12-17 2014-02-11 Seagate Technology Llc Tunneling transistors
KR20140100139A (en) * 2013-02-05 2014-08-14 삼성전자주식회사 Otp cell array having a protected area, semiconductor memory device including the same, and method of programming the otp cell array
US11164642B1 (en) 2018-02-09 2021-11-02 Board Of Trustees Of The University Of Alabama, For And On Behalf Of The University Of Alabama In Huntsville Systems and methods for hardening flash memory to radiation
US11620108B1 (en) 2018-05-17 2023-04-04 Board Of Trustees Of The University Of Alabama For And On Behalf Of The University Of Alabama In Huntsville Random number generation systems and methods
US11101009B1 (en) * 2019-03-04 2021-08-24 Board Of Trustees Of The University Of Alabama, For And On Behalf Of The University Of Alabama In Huntsville Systems and methods to convert memory to one-time programmable memory
US12153812B2 (en) * 2021-11-12 2024-11-26 Samsung Electronics Co., Ltd. Memory device including one-time programmable block and operation method thereof
US12238925B2 (en) 2022-08-11 2025-02-25 Samsung Electronics Co., Ltd. Semiconductor memory device capable of expanding bank capacity adaptively to package size and method of designing the same

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4121053C2 (en) * 1991-06-26 1995-10-19 Eurosil Electronic Gmbh Memory cell with floating gate transistor
US5778070A (en) 1996-06-28 1998-07-07 Intel Corporation Method and apparatus for protecting flash memory
US5954818A (en) 1997-02-03 1999-09-21 Intel Corporation Method of programming, erasing, and reading block lock-bits and a master lock-bit in a flash memory device
US6035401A (en) 1997-02-03 2000-03-07 Intel Corporation Block locking apparatus for flash memory
US20010011318A1 (en) 1997-02-27 2001-08-02 Vishram P. Dalvi Status indicators for flash memory
JP3599541B2 (en) * 1997-11-27 2004-12-08 シャープ株式会社 Nonvolatile semiconductor memory device
US6591327B1 (en) * 1999-06-22 2003-07-08 Silicon Storage Technology, Inc. Flash memory with alterable erase sector size
US6493270B2 (en) 1999-07-01 2002-12-10 Micron Technology, Inc. Leakage detection in programming algorithm for a flash memory device
JP4079552B2 (en) * 1999-07-16 2008-04-23 富士通株式会社 Nonvolatile semiconductor memory that prevents unauthorized copying
US6662262B1 (en) 1999-10-19 2003-12-09 Advanced Micro Devices, Inc. OTP sector double protection for a simultaneous operation flash memory
KR100644602B1 (en) 2000-10-11 2006-11-10 삼성전자주식회사 Reimaging Control Method for Flash Memory and Its Structure
US6717208B2 (en) 2002-06-11 2004-04-06 Taiwan Semiconductor Manufacturing Co., Ltd. Disabling flash memory to protect memory contents
US6857054B2 (en) * 2002-06-28 2005-02-15 Hewlett-Packard Development Company, L.P. Write-once memory storage device
US6741500B2 (en) * 2002-10-04 2004-05-25 Hpl Technologies, Inc. One-time-programmable bit cell with latch circuit having selectively programmable floating gate transistors
US7433993B2 (en) * 2003-12-30 2008-10-07 San Disk Corportion Adaptive metablocks
US7239552B2 (en) * 2004-09-02 2007-07-03 Micron Technology, Inc. Non-volatile one time programmable memory
US7130209B2 (en) 2004-10-15 2006-10-31 Atmel Corporation Flexible OTP sector protection architecture for flash memories

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7864557B2 (en) 2004-10-15 2011-01-04 Atmel Corporation Flexible OTP sector protection architecture for flash memories

Also Published As

Publication number Publication date
US7130209B2 (en) 2006-10-31
US20060083060A1 (en) 2006-04-20
US7864557B2 (en) 2011-01-04
TWI284906B (en) 2007-08-01
US20070025134A1 (en) 2007-02-01
WO2006044203A3 (en) 2006-11-09
TW200625336A (en) 2006-07-16

Similar Documents

Publication Publication Date Title
US7130209B2 (en) Flexible OTP sector protection architecture for flash memories
US5930826A (en) Flash memory protection attribute status bits held in a flash memory array
US8375189B2 (en) Configuring levels of program/erase protection in flash devices
US5749088A (en) Memory card with erasure blocks and circuitry for selectively protecting the blocks from memory operations
US6615324B1 (en) Embedded microprocessor multi-level security system in flash memory
US10423363B2 (en) Apparatuses and methods for configuring I/OS of memory for hybrid memory modules
US8694720B2 (en) Nonvolatile memory devices with page flags, methods of operation and memory systems including same
US8644065B2 (en) Memory system with user configurable density/performance option
KR100813629B1 (en) Enhanced Sector Protection Scheme
US7325114B2 (en) Selectable block protection for non-volatile memory
US6505279B1 (en) Microcontroller system having security circuitry to selectively lock portions of a program memory address space
US8082382B2 (en) Memory device with user configurable density/performance
US8190840B2 (en) Memory devices with data protection
US5345413A (en) Default fuse condition for memory device after final test
EP1085521B1 (en) Non-volatile semiconductor memory
US8607061B2 (en) Flash device security method utilizing a check register
US7155589B2 (en) Permanent memory block protection in a flash memory device
US7916526B2 (en) Protection register for a phase-change memory
US7574576B2 (en) Semiconductor device and method of controlling the same
JP4463378B2 (en) Nonvolatile semiconductor memory device
WO2001061503A1 (en) Nonvolatile memory
US7551481B2 (en) User configurable commands for flash memory
US7565477B2 (en) Semiconductor device and method of controlling the same
US7890721B2 (en) Implementation of integrated status of a protection register word in a protection register array
US20020166036A1 (en) Multiple memory block disable function

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KM KP KR KZ LC LK LR LS LT LU LV LY MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU LV MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase