CN1979686A - Safety detecting method for system integrated chip with built-in non-volatile memory - Google Patents
Safety detecting method for system integrated chip with built-in non-volatile memory Download PDFInfo
- Publication number
- CN1979686A CN1979686A CN 200510111178 CN200510111178A CN1979686A CN 1979686 A CN1979686 A CN 1979686A CN 200510111178 CN200510111178 CN 200510111178 CN 200510111178 A CN200510111178 A CN 200510111178A CN 1979686 A CN1979686 A CN 1979686A
- Authority
- CN
- China
- Prior art keywords
- chip
- test
- built
- volatile memory
- data
- 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.)
- Pending
Links
Images
Abstract
The invention discloses a safe test method for an SOC (system on chip) embedded with nonvolatile memory (NVM), detecting data at embedded NVM specific addresses by a test mode detecting logic so as to implement test mode switching, where the embedded NVM specific addresses can not be accessed in user mode, and when the test is finished, it writes the appointed mode setting data at the embedded NVM specific addresses, and after detecting the data, a test mode logic circuit of the SOC intermediately switches the chip to the user mode to cut off test circuits of internal modules so as to make the chip enter into common user mode, thus implementing access inhibition to the internal modules. For reentering into the chip test mode, the invention also erases the mode setting data in the NVM by a special microprocessing instruction and simultaneously erases all data in the NVM so as to protect data.
Description
Technical field
The present invention relates to a kind of integrated circuit (IC) testing method, particularly a kind of safety detecting method of system integrated chip.
Background technology
Wafer (Wafer) the level test of system integrated chip (SOC) product often relates to the test of internal logic functional module, Simulation with I P module and storer; consideration based on circuit design protection of Intellectual Property Rights and data security; after finishing, test needs test access is cut off; thereby make domestic consumer can only use the function under the user model; and can not directly visit the circuit module of SOC inside and the data message of specific memory section, such test is called safety test.
Realize that by changing physical connection the chip safety test is current designing technique relatively more commonly used, mainly contain two kinds of methods, a kind of is fuse cut, and another kind is that scribe line is cut off.
The fuse cut technology is to realize the switching of test pattern and user model in chip by the break-make of resistance fuse, after chip manufacturing is finished, the connected state of fuse resistor makes circuit enter test pattern, and this state can be realized the test of chip internal module down.After test is finished, make fuse failure by making alive, chip enters user model, and this state can only use the general function of chip down, can not some functions under the test pattern be operated, thus the safety test and the application of realization chip.
Scribe line cut-out technology is to utilize the space of scribe line to place the pad (Pad) that determines test pattern/user model.In the Wafer test, can control signal be added on this Pad by probe, thereby control chip enters the test that test pattern carries out internal module, after test is finished, Wafer is cut when encapsulating, Pad on the scribe line is destroyed, draw on the chip internal/pull down resistor is clamping, makes chip enter user model, forbids test access.
Above-mentionedly realize that by changing physical connection there is following problem in chip safety test scheme: the method that physics changes is a disruptive method, just can't reenter test pattern after changing, and uses dumb; The user may realize entering again of test pattern by the method for physics reparation, and the acquisition cuicuit data message, and security is not high.
Summary of the invention
The technical problem to be solved in the present invention provide a kind of based on electrical method, can guarantee data security and can reenter the safety detecting method of system integrated chip of the built-in non-volatile memory of test pattern.
For solving the problems of the technologies described above, the safety detecting method of the system integrated chip of built-in non-volatile memory of the present invention has utilized a test pattern to detect logic, this logic realizes the switching of test pattern based on the judgement of the data of embedded NVM particular address, and this address is inaccessible under user model.When test is finished, embedded NVM particular address is write data designated information, after the test pattern logical circuit of chip detects these data, then immediately chip is switched under the user model, cut off the test access of internal module, make chip enter user EXEC, thereby the visit that realizes the internal circuit module is forbidden.For realizing reentering of chip testing pattern, the present invention also is provided with data erase by a special-purpose MCU instruction with the pattern in the NVM, wipes the total data of NVM simultaneously, with protected data safety.
The present invention can realize the visit test of chip internal module under test pattern, and under user EXEC, can only use the external function of chip, internal module directly visit is under an embargo, switching between test pattern and the user model has obtained safe and reliable control, can realize the safety test of SOC chip; Realize safety test control by electrical method simultaneously, higher than the physics mode security; Can under test pattern and user model, switch repeatedly neatly safely, and when switching, destroy the sensitive data that chip is preserved, guarantee data security.
Description of drawings
Accompanying drawing is control principle figure of the present invention.
Embodiment
The present invention is further detailed explanation below in conjunction with accompanying drawing.
The NVM that embeds in the SOC chip, as flash memory (Flash), EEPROM (Electrically Erasable Programmable Read Only Memo) (EEPROM) etc., its data have the characteristic that following electricity keeps, and the present invention utilizes this characteristic to carry out switching between test pattern and the user model.
Referring to accompanying drawing, the present invention is provided with test pattern and detects steering logic, and this logic realizes the switching of test pattern based on the judgement of the data of embedded NVM particular address, and this address is inaccessible under user model.Under the initial state that chip manufacturing is finished, because the data of NVM particular address are non-data designated, chip is in the test pattern attitude, can directly realize the test of internal module by chip pin.When test is finished, the NVM specific storage address is write mode designated data message is set, after the test pattern detection steering logic of chip detects these data, immediately chip is switched under the user model, cut off the test access of internal module, make chip enter user EXEC, thereby the visit that realizes the internal circuit module is forbidden.
The present invention also is provided with pattern and enters steering logic again, and this logical circuit can be provided with data erase with the pattern in the NVM by a special-purpose microcontroller (MCU) instruction, at this moment can reenter the chip testing pattern.The MCU instruction can be wiped the total data of NVM in mode switch, the sensitive information that is about to preserve in the SOC is destroyed with protected data safety.
Method provided by the invention has been utilized the nonvolatile characteristics of NVM data, has realized embedded The safety test of the SOC of NVM, the method is simple, and is reliable, uses flexibly.
Claims (4)
1, a kind of safety detecting method of system integrated chip of built-in non-volatile memory, between test pattern and user model, switch, it is characterized in that, adopt test pattern to detect steering logic, carry out switching between described test pattern and the described user model by the judgement of data that built-in non-volatile memory particular address that can not be accessed under user model is preserved.
2, the safety detecting method of the system integrated chip of built-in non-volatile memory according to claim 1 is characterized in that, when test is finished, described built-in non-volatile memory particular address is write specific data information.
3, the safety detecting method of the system integrated chip of built-in non-volatile memory according to claim 2, it is characterized in that, described test pattern detect steering logic described built-in non-volatile memory particular address as detect less than as described in specific data information, then chip is switched to described test pattern; Described test pattern detect steering logic in described built-in non-volatile memory particular address as specific data information as described in detecting, then immediately chip is switched to user model, cut off the test access of internal module.
4, the safety detecting method of the system integrated chip of built-in non-volatile memory according to claim 1 is characterized in that, adopts a pattern to enter steering logic again, sends a little processing instruction and wipes data in the built-in non-volatile memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200510111178 CN1979686A (en) | 2005-12-06 | 2005-12-06 | Safety detecting method for system integrated chip with built-in non-volatile memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200510111178 CN1979686A (en) | 2005-12-06 | 2005-12-06 | Safety detecting method for system integrated chip with built-in non-volatile memory |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1979686A true CN1979686A (en) | 2007-06-13 |
Family
ID=38130809
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200510111178 Pending CN1979686A (en) | 2005-12-06 | 2005-12-06 | Safety detecting method for system integrated chip with built-in non-volatile memory |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1979686A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102592683A (en) * | 2012-02-23 | 2012-07-18 | 苏州华芯微电子股份有限公司 | Method for entering chip test mode and related device |
CN101752001B (en) * | 2008-12-12 | 2012-10-17 | 北京中电华大电子设计有限责任公司 | Method for preventing contents in programmable nonvolatile memory from being mistakenly rewritten |
CN101719383B (en) * | 2009-11-10 | 2012-12-26 | 上海宏力半导体制造有限公司 | Method for testing flash memory chips |
CN103678074A (en) * | 2012-09-25 | 2014-03-26 | 上海华虹集成电路有限责任公司 | Processor chip simulator |
CN106326781A (en) * | 2016-08-22 | 2017-01-11 | 大唐微电子技术有限公司 | Method and device for protecting chip testing mode |
CN106782659A (en) * | 2016-12-05 | 2017-05-31 | 中国电子科技集团公司第四十七研究所 | A kind of utilization antifuse realizes the circuit of encipherment protection |
CN108595295A (en) * | 2017-12-27 | 2018-09-28 | 贵阳忆芯科技有限公司 | The test method and system of microinstruction sequence |
WO2019037188A1 (en) * | 2017-08-25 | 2019-02-28 | 歌尔丹拿音响有限公司 | Mode switching method of embedded device and embedded device |
CN110310692A (en) * | 2019-06-28 | 2019-10-08 | 上海华虹集成电路有限责任公司 | A kind of nonvolatile memory erasing control method enhancing service life |
CN112749419A (en) * | 2020-12-31 | 2021-05-04 | 广州万协通信息技术有限公司 | Protection device and method for security chip test mode |
CN117785590A (en) * | 2024-02-27 | 2024-03-29 | 深圳市纽创信安科技开发有限公司 | Chip and chip data protection method |
-
2005
- 2005-12-06 CN CN 200510111178 patent/CN1979686A/en active Pending
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101752001B (en) * | 2008-12-12 | 2012-10-17 | 北京中电华大电子设计有限责任公司 | Method for preventing contents in programmable nonvolatile memory from being mistakenly rewritten |
CN101719383B (en) * | 2009-11-10 | 2012-12-26 | 上海宏力半导体制造有限公司 | Method for testing flash memory chips |
CN102592683A (en) * | 2012-02-23 | 2012-07-18 | 苏州华芯微电子股份有限公司 | Method for entering chip test mode and related device |
CN102592683B (en) * | 2012-02-23 | 2014-12-10 | 苏州华芯微电子股份有限公司 | Method for entering chip test mode and related device |
CN103678074A (en) * | 2012-09-25 | 2014-03-26 | 上海华虹集成电路有限责任公司 | Processor chip simulator |
CN106326781B (en) * | 2016-08-22 | 2019-04-19 | 大唐微电子技术有限公司 | A kind of method and apparatus for protecting chip test mode |
CN106326781A (en) * | 2016-08-22 | 2017-01-11 | 大唐微电子技术有限公司 | Method and device for protecting chip testing mode |
CN106782659A (en) * | 2016-12-05 | 2017-05-31 | 中国电子科技集团公司第四十七研究所 | A kind of utilization antifuse realizes the circuit of encipherment protection |
WO2019037188A1 (en) * | 2017-08-25 | 2019-02-28 | 歌尔丹拿音响有限公司 | Mode switching method of embedded device and embedded device |
CN108595295A (en) * | 2017-12-27 | 2018-09-28 | 贵阳忆芯科技有限公司 | The test method and system of microinstruction sequence |
CN108595295B (en) * | 2017-12-27 | 2023-09-12 | 贵阳忆芯科技有限公司 | Method and system for testing micro instruction sequence |
CN110310692A (en) * | 2019-06-28 | 2019-10-08 | 上海华虹集成电路有限责任公司 | A kind of nonvolatile memory erasing control method enhancing service life |
CN112749419A (en) * | 2020-12-31 | 2021-05-04 | 广州万协通信息技术有限公司 | Protection device and method for security chip test mode |
CN112749419B (en) * | 2020-12-31 | 2023-11-21 | 广州万协通信息技术有限公司 | Protection device and method for safety chip test mode |
CN117785590A (en) * | 2024-02-27 | 2024-03-29 | 深圳市纽创信安科技开发有限公司 | Chip and chip data protection method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1979686A (en) | Safety detecting method for system integrated chip with built-in non-volatile memory | |
CN101867169B (en) | It is applied to the protection circuit of flash memory | |
CN100594551C (en) | Method and apparatus for protecting an integrated circuit from erroneous operation | |
KR100805835B1 (en) | Host connection device, method identifying host interface, and multimedia system including host and host connection device | |
RU2154859C2 (en) | Card with embedded microprocessor | |
CN108491058A (en) | A kind of the powered-off fault data guard method and device of Nonvolatile memory | |
CN101561857A (en) | Multi-mode startup safety embedded system | |
US5245582A (en) | Memory card circuit with power-down control of access buffer | |
CN104051018A (en) | Retention logic for non-volatile memory | |
CN105302269A (en) | Power failure detection and data storage circuit for microcomputer system | |
WO2022127086A1 (en) | Data processing method, system, and device for magnetic storage medium | |
CN104516684B (en) | Data processing equipment, microcontroller and semiconductor device | |
US20090013134A1 (en) | Memory apparatus and protecting method thereof | |
CN102915209A (en) | Storage control chip, storage equipment and system data writing method | |
JP2006127648A (en) | Nonvolatile storage device and electronic device | |
CN202486769U (en) | Protective circuit of block storage | |
CN202150274U (en) | Anti-lost circuit structure for EEPROM (Electrically Erasable Programmable Read Only Memory) data | |
CN103546638B (en) | A kind of flash memory cards fall card restoration methods and mobile terminal thereof | |
CN100468574C (en) | Non-volatile semiconductor storage device | |
CN101526802A (en) | Information protection method for PIN input equipment | |
CN102708923A (en) | Semiconductor integrated circuit and control method | |
CN209168175U (en) | A kind of polydisc safe storage system for realizing identification by RF Technology of Radio Frequency Card | |
CN108648781A (en) | A kind of storage device detection device | |
CN100585611C (en) | Unit card reader control chip and its method for checking interference | |
CN104077245A (en) | NVRAM (non-volatile random access memory) control method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |