CN203773957U - Repeated writing device of OTP (one time programmable) register - Google Patents
Repeated writing device of OTP (one time programmable) register Download PDFInfo
- Publication number
- CN203773957U CN203773957U CN201320665281.3U CN201320665281U CN203773957U CN 203773957 U CN203773957 U CN 203773957U CN 201320665281 U CN201320665281 U CN 201320665281U CN 203773957 U CN203773957 U CN 203773957U
- Authority
- CN
- China
- Prior art keywords
- data
- register
- writing
- otp
- controller
- 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.)
- Expired - Lifetime
Links
- 238000013500 data storage Methods 0.000 claims abstract description 16
- 230000011218 segmentation Effects 0.000 claims abstract description 12
- 230000015556 catabolic process Effects 0.000 claims description 3
- 230000008878 coupling Effects 0.000 claims description 3
- 238000010168 coupling process Methods 0.000 claims description 3
- 238000005859 coupling reaction Methods 0.000 claims description 3
- 230000008901 benefit Effects 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 5
- 238000002679 ablation Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Storage Device Security (AREA)
Abstract
The utility model relates to a writing device, and discloses a repeated writing device of an OTP (one time programmable) register. The repeated writing device of the OTP (one time programmable) register, which is disclosed by the utility model, comprises a writing controller, a reading controller and an OTP register. The writing controller writes to-be-written data into a set address which is not programmed yet in the OTP register; the reading controller reads the data stored in the OTP register; the OTP register comprises a writing segmentation control area and a data storage area and is used for storing the data written by the writing controller, wherein the data storage area is divided to be N data segments, N is a natural number, the writing of each data segment is independent from each other and the data can be written in several times. Compared with the prior art, the repeated writing device disclosed by the utility model has the advantages that different data segments of the repeated writing device of the OTP register are set to be independent from each other and data can be written in several times, and meanwhile, the rewriting is unavailable after setting, so that the safety of the data in the device is guaranteed.
Description
Technical field
The utility model relates to writing station, particularly the repeatedly writing station of OTP register.
Background technology
Flash(Flash Memory, is called for short Flash, flash memory) as a kind of nonvolatile memory, the data capacity of unit area is large.Write rear without optical change, be difficult to analyze crack.Read-write does not have particular/special requirement to electric current and voltage, is easy to be integrated in embedded system and mature production technology.But every information of Flash can repeatedly write, safe not.
More and more extensive along with Embedded Application, it is more and more important that the safety of product also seems.Being in order to protect hardware design on the one hand, is also the safety for product itself in addition on the one hand, prevents by assault (HACKED).In order to protect the data in chip, increasing manufacturer provides a kind of special register at chip internal: OTP register (One Time Programmable, one-off programming register).OTP register is that every information is all one-time write, can not rewrite, and power down is obliterated data not, repeatedly sense data.
Such as: 0 can be rewritten as 1, but 1 can not be write as 0 forever again.If there is the OTP register of 16, this OTP uses electrical fuse e-Fuse to realize, current value is 0xA005(1010_0000_0000_0101), user is by programming, the value of OTP register is written as to 0xA015(1010_0000_0001_0101) after, that OTP register can not be rewritten as 0xA005 again; Certainly, the value of this OTP register can also be rewritten as 0xA017(1010_0000_0001_0111) or other.
Under normal circumstances, OTP register is to use electrical fuse e-Fuse to realize, the size of OTP register storage volume is that the device being provided by foundries determines, specifically in the time of system applies, need to be divided into physically several sections also writes several times, each section of control function that correspondence is different, realizes difference in functionality control.In the time realizing a certain function 3, can not affect the later functions that arrange such as function 4,5,6, also irrelevant with former function 1,2 facilities, require function setting separate.Especially, once be provided with function 3, can not again arrange function 3, this is the key effect of OTP register just.
Utility model content
The purpose of this utility model is to provide a kind of repeatedly writing station of OTP register, make the arranging separate and can write several times of different pieces of information section of the repeatedly writing station of this OTP register, meanwhile, once after arranging, can not again rewrite, with the safety of data in assurance device.
For solving the problems of the technologies described above, the utility model provides a kind of repeatedly writing station of OTP register, comprises: writing controller, Read Controller and OTP register;
Wherein, described OTP register comprises and writes segmentation control area and data storage areas; Described data storage areas is divided into N segment data section, and N is natural number; Described every segment data section has the corresponding control bit that writes in said write segmentation control area; Whether said write control bit is used to indicate the data segment corresponding with originally writing control bit and was programmed;
Described Read Controller, described writing controller are all connected with described OTP register; Described writing controller is connected with described Read Controller;
Described Read Controller reads and the corresponding control bit that writes of the data segment of storing data to be written, and the control bit that writes reading is exported to described writing controller;
Described writing controller is written to described data to be written and described writing in the corresponding data segment being not yet programmed of control bit of reading, and corresponding this data segment control bit that writes is rewritten as to the value that instruction corresponding data section had been programmed.
In terms of existing technologies, OTP register comprises and writes segmentation control area and data storage areas the utility model embodiment; Data storage areas is divided into N segment data section, and N is natural number, and every segment data section is for storing the data of different control functions, and writing between every segment data section is separate, can write several times.Meanwhile, in described OTP register, every segment data section of data storage areas has the corresponding control bit that writes writing segmentation control area; Whether said write control bit is used to indicate the data segment corresponding with originally writing control bit and was programmed.If be not yet programmed, writing controller writes this by data to be written and writes in the data segment that control bit is corresponding, and this is write to control bit and is rewritten as the value (such as being 1) that instruction corresponding data section had been programmed, can not rewrite later again.If be programmed, this writes the data segment data writing again that control bit is corresponding, and writing controller finishes write operation, ensures that the data in OTP register are only programmed once.Every information in OTP register is all one-time programming, once after arranging, can not again rewrite, with the safety of data in assurance device.
In addition, the utility model also comprises system interface.Because system interface is existing ripe device, ensure the feasibility of the utility model embodiment.
In addition, in the utility model, OTP register is electrical fuse e-Fuse type OTP register.E-Fuse register, the e-Fuse register of serial transistor type and the e-Fuse register of dielectric breakdown type that e-Fuse type OTP register comprises coupling capacitance type.The feature of the OTP register of these types is exactly one-time write, can not rewrite, once can not again be rewritten and crack by hardware or software after arranging, have increased the security of data in device.
Brief description of the drawings
Fig. 1 is according to the structural representation of the repeatedly writing station of the OTP register of the utility model one preferred embodiments.
Embodiment
For making the purpose of this utility model, technical scheme and advantage clearer, below in conjunction with accompanying drawing, each embodiment of the present utility model is explained in detail.But, persons of ordinary skill in the art may appreciate that in the each embodiment of the utility model, in order to make reader understand the application better, many ins and outs are proposed.But, even without these ins and outs and the many variations based on following embodiment and amendment, also can realize the each claim of the application technical scheme required for protection.
A preferred embodiments of the present utility model relates to a kind of repeatedly writing station of OTP register, and as shown in Figure 1, the repeatedly writing station of this OTP register comprises system interface, writing controller, Read Controller and OTP register to concrete structure.
Wherein, OTP register comprises and writes segmentation control area and data storage areas; Data storage areas is divided into N segment data section, and N is natural number, and every segment data section is for storing the data of different control functions, and writing between every segment data section is separate, can write several times; Described every segment data section has the corresponding control bit that writes writing segmentation control area; Whether write control bit is used to indicate the data segment corresponding with originally writing control bit and was programmed, if be not yet programmed, writing controller will write the data segment corresponding with writing control bit with data writing, and this is write to control bit and is rewritten as the value (such as being 1) that instruction corresponding data section had been programmed, can not rewrite again later; If be programmed, this writes the data segment data writing again that control bit is corresponding, and writing controller finishes write operation, ensures that the data in OTP register are only programmed once.Every information in OTP register is all one-time programming, once after arranging, can not again rewrite, with the safety of data in assurance device.
In the utility model, system interface is connected with writing controller; Read Controller, writing controller are all connected with OTP register; Writing controller is connected with Read Controller.
System interface receives and is written to the data of a certain data segment of data storage areas in OTP register, and described data to be written and write request are input in writing controller.
Writing controller receives data to be written and the write request from system interface, and exports write request to Read Controller.
Read Controller is learnt the corresponding control bit that writes of data segment of storage data to be written according to write request, and writes the result judging after control bit and export to described writing controller reading.
The result that writing controller returns according to Read Controller operates (write operation or superior report an error) accordingly, specific as follows:
If the value of said write control bit (such as being 0) instruction corresponding data section was not yet programmed, writing controller is written to data to be written and writing in the corresponding data segment of control bit of reading, as the information storing in OTP, and this is write to control bit and is rewritten as the value (such as being 1) that instruction corresponding data section had been programmed, this writes control bit and this corresponding data section that writes control bit all can not be rewritten again later; So far, write successfully writing controller retrieval system.If the value of said write control bit (such as being 1) instruction corresponding data section was programmed, writing controller will be ignored this write operation, and superior reports an error and retrieval system.
Wherein, OTP register is electrical fuse e-Fuse type OTP register.E-Fuse register, the e-Fuse register of serial transistor type and the e-Fuse register of dielectric breakdown type that e-Fuse type OTP register comprises coupling capacitance type.The feature of the OTP register of these types is exactly one-time write, can not rewrite, once can not again be rewritten and crack by hardware or software after arranging, have increased the security of data in device.
Because every information of e-Fuse can everybody independently write, accordingly, all the other that write segmentation control area in OTP register write control bit and in data storage areas the ablation process of corresponding data segment identical with above-mentioned ablation process, and be independent of each other, tire out and state no longer one by one inferior.
In terms of existing technologies, OTP register comprises and writes segmentation control area and data storage areas; Data storage areas is divided into N segment data section, and N is natural number, and every segment data section is for storing the data of different control functions, and writing between every segment data section is separate, can write several times.Meanwhile, in described OTP register, every segment data section of data storage areas has the corresponding control bit that writes writing segmentation control area; Whether said write control bit is used to indicate the data segment corresponding with originally writing control bit and was programmed.If be not yet programmed, writing controller writes this by data to be written and writes in the data segment that control bit is corresponding, and this is write to control bit and is rewritten as the value (such as being 1) that instruction corresponding data section had been programmed, can not rewrite later again.If be programmed, this writes the data segment data writing again that control bit is corresponding, and writing controller finishes write operation, ensures that the data in OTP register are only programmed once.Every information in OTP register is all one-time programming, once after arranging, can not again rewrite, with the safety of data in assurance device.
Persons of ordinary skill in the art may appreciate that above-mentioned embodiment is to realize specific embodiment of the utility model, and in actual applications, can do various changes to it in the form and details, and do not depart from spirit and scope of the present utility model.
Claims (4)
1. a repeatedly writing station for OTP register, is characterized in that, comprises: writing controller, Read Controller and OTP register;
Wherein, described OTP register comprises and writes segmentation control area and data storage areas; Described data storage areas is divided into N segment data section, and N is natural number; Described every segment data section has the corresponding control bit that writes in said write segmentation control area; Whether said write control bit is used to indicate the data segment corresponding with originally writing control bit and was programmed;
Described Read Controller, described writing controller are all connected with described OTP register; Described writing controller is connected with described Read Controller;
Described Read Controller reads and the corresponding control bit that writes of the data segment of storing data to be written, and the control bit that writes reading is exported to described writing controller;
Described writing controller is written to described data to be written and described writing in the corresponding data segment being not yet programmed of control bit of reading, and corresponding this data segment control bit that writes is rewritten as to the value that instruction corresponding data section had been programmed.
2. the repeatedly writing station of OTP register according to claim 1, is characterized in that, also comprises system interface;
Described system interface is connected with described writing controller;
Described system interface is written to the data in OTP register described in receiving, and the data in the described OTP of being written to register are input in described writing controller.
3. the repeatedly writing station of OTP register according to claim 1, is characterized in that, described OTP register is electrical fuse e-Fuse type OTP register.
4. the repeatedly writing station of OTP register according to claim 3, it is characterized in that e-Fuse register, the e-Fuse register of serial transistor type and the e-Fuse register of dielectric breakdown type that described e-Fuse type OTP register comprises coupling capacitance type.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201320665281.3U CN203773957U (en) | 2013-10-25 | 2013-10-25 | Repeated writing device of OTP (one time programmable) register |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201320665281.3U CN203773957U (en) | 2013-10-25 | 2013-10-25 | Repeated writing device of OTP (one time programmable) register |
Publications (1)
Publication Number | Publication Date |
---|---|
CN203773957U true CN203773957U (en) | 2014-08-13 |
Family
ID=51291115
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201320665281.3U Expired - Lifetime CN203773957U (en) | 2013-10-25 | 2013-10-25 | Repeated writing device of OTP (one time programmable) register |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN203773957U (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107908359A (en) * | 2017-11-03 | 2018-04-13 | 清华大学深圳研究生院 | A kind of otp memory and its data write-in and read method, safety chip |
US10176882B1 (en) | 2017-06-29 | 2019-01-08 | Cisco Technology, Inc. | Secure storage apparatus |
CN111159071A (en) * | 2019-12-31 | 2020-05-15 | 江苏科大亨芯半导体技术有限公司 | Device and method for realizing OTP (one time programmable) by eFlash memory and OTP memory |
-
2013
- 2013-10-25 CN CN201320665281.3U patent/CN203773957U/en not_active Expired - Lifetime
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10176882B1 (en) | 2017-06-29 | 2019-01-08 | Cisco Technology, Inc. | Secure storage apparatus |
CN107908359A (en) * | 2017-11-03 | 2018-04-13 | 清华大学深圳研究生院 | A kind of otp memory and its data write-in and read method, safety chip |
CN107908359B (en) * | 2017-11-03 | 2020-12-29 | 清华大学深圳研究生院 | OTP memory, data writing and reading method thereof and security chip |
CN111159071A (en) * | 2019-12-31 | 2020-05-15 | 江苏科大亨芯半导体技术有限公司 | Device and method for realizing OTP (one time programmable) by eFlash memory and OTP memory |
CN111159071B (en) * | 2019-12-31 | 2023-08-08 | 江苏科大亨芯半导体技术有限公司 | Device and method for realizing OTP (one time programmable) by eFlash memory and OTP memory |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107844431B (en) | Mapping table updating method, memory control circuit unit and memory storage device | |
TWI486767B (en) | Data storing method, and memory controller and memory storage apparatus using the same | |
TWI515735B (en) | Data erasing method, memory control circuit unit and memory storage apparatus | |
US9058296B2 (en) | Data processing method, memory storage device and memory control circuit unit | |
CN107402716B (en) | Data writing method, memory control circuit unit and memory storage device | |
US20140019670A1 (en) | Data writing method, memory controller, and memory storage device | |
US9032135B2 (en) | Data protecting method, memory controller and memory storage device using the same | |
US20150161042A1 (en) | Memory management method, memory controlling circuit unit, and memory storage device | |
CN107943710B (en) | Memory management method and memory controller using the same | |
CN102902626B (en) | Block management method, Memory Controller and memorizer memory devices | |
CN107958687B (en) | Memory programming method, memory control circuit unit and memory device thereof | |
CN203773957U (en) | Repeated writing device of OTP (one time programmable) register | |
US20130332653A1 (en) | Memory management method, and memory controller and memory storage device using the same | |
CN102446137B (en) | Method for writing data, Memory Controller and memorizer memory devices | |
CN102915273B (en) | Data writing method, memory controller and memory storage device | |
CN103678162A (en) | System data storage method, memorizer controller and memorizer storing device | |
TWI451247B (en) | Data writing method, memory controller and memory storage apparatus | |
CN103324581B (en) | Memory cells and method for reading data, Memory Controller and storage device | |
CN103513930A (en) | Memorizer management method, memorizer controller and memorizer storage device | |
CN104238956A (en) | Method for writing data, controller of storage, and storage device of storage | |
TWI536392B (en) | Non-volatile memory storage apparatus, memory controller and data storage method | |
CN203535643U (en) | Control device with system use function | |
US8832358B2 (en) | Data writing method, memory controller and memory storage apparatus | |
CN105630687A (en) | Data writing method, memory control circuit unit and memory storage apparatus | |
CN203773958U (en) | One time programmable (OTP) register read-write device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CX01 | Expiry of patent term |
Granted publication date: 20140813 |
|
CX01 | Expiry of patent term |