JP2004326564A - Nonvolatile semiconductor memory device - Google Patents

Nonvolatile semiconductor memory device Download PDF

Info

Publication number
JP2004326564A
JP2004326564A JP2003122051A JP2003122051A JP2004326564A JP 2004326564 A JP2004326564 A JP 2004326564A JP 2003122051 A JP2003122051 A JP 2003122051A JP 2003122051 A JP2003122051 A JP 2003122051A JP 2004326564 A JP2004326564 A JP 2004326564A
Authority
JP
Japan
Prior art keywords
system control
control information
semiconductor memory
nonvolatile semiconductor
storage area
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
Application number
JP2003122051A
Other languages
Japanese (ja)
Inventor
Manabu Kawabata
学 川端
Tsuneo Uenishi
恒雄 上西
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2003122051A priority Critical patent/JP2004326564A/en
Publication of JP2004326564A publication Critical patent/JP2004326564A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Read Only Memory (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a nonvolatile semiconductor memory device to prevent unintended system control from being executed according to wrong system control information when any unexpected accident and so on causes a bit error in the system control information stored in the nonvolatile semiconductor memory device. <P>SOLUTION: System control information A is stored in a first storage region 111. System control information B is created by performing predetermined transformation process to the system control information A and stored in a second storage region 112. When this device is switched on, the system control information A and B stored in the nonvolatile memory device 11 are read, and the read and decoded system control information B and the system control information A are compared. When they are verified to be the same information, a system control permission signal 161 is outputted and system control is executed based on the system control information A. When they are verified to be different information, an error signal 162 is outputted and the device is not permitted to work. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、不揮発性半導体メモリ装置に関し、特に、不揮発性半導体メモリシステムの制御情報等の重要な情報のエラー検出を実現し、信頼性の向上を期するための技術に関する。
【0002】
【従来の技術】
従来の冗長救済や内部電圧補正可能な不揮発性半導体メモリ装置について、以下に説明する。
図5は、従来の不揮発性半導体メモリ装置の構成を示すブロック図である。
【0003】
図5において、51はフラッシュEEPROMからなり冗長救済用の冗長ブロックを含む不揮発性半導体メモリ、52はメモリ制御部、53は変数レジスタ、54はデコーダ、55はメモリ用電源ユニット、511は不揮発性半導体メモリ51の冗長情報や、不揮発性半導体メモリ装置の内部電圧補正情報等を含むシステム制御情報であり、不揮発性半導体メモリ51に記憶されている。
【0004】
以上のように構成された不揮発性半導体メモリ装置の動作について説明する。不揮発性半導体メモリ装置に電源が投入されると、メモリ制御部52の命令に従って不揮発性半導体メモリ51から変数レジスタ53にシステム制御情報511が転送される。デコーダ54では、変数レジスタ53に格納されているシステム制御情報511の内容に従って不揮発性半導体メモリ51の選択先ブロックを切り替えることで冗長置換を行う。また、メモリ用電源ユニット55では、変数レジスタ53に格納されているシステム制御情報511の内容に従って不揮発性半導体メモリ装置の内部電圧補正を行う。
【0005】
【特許文献1】
特開2001−297038号公報
【0006】
【発明が解決しようとする課題】
しかしながら、上記従来の構成では、不測の事故等により不揮発性半導体メモリ51に記憶しているシステム制御情報511にビットエラーが発生した場合、電源投入時に誤ったシステム制御情報511が変数レジスタ53に転送され、デコーダ54およびメモリ用電源ユニット55では、誤ったシステム制御情報511に従って意図しない冗長置換や、内部電圧補正が実行されてしまうため、結果として不揮発性半導体メモリ装置が誤動作してしまう恐れがあった。
【0007】
また、上記従来の構成では、不揮発性半導体メモリ51に記憶しているシステム制御情報511が、正常に読み出し可能な場合と、誤読み出しをする場合との境界付近でビットエラーを発生するような状態、すなわちエラービットの変動が中途半端で不安定な状態のとき、電源投入時に正しいシステム制御情報511が変数レジスタ53に転送され、正しく冗長置換や内部電圧補正が実行されることもあれば、電源投入時に誤ったシステム制御情報511が変数レジスタ53に転送され、誤った冗長置換や内部電圧補正が実行されることもあるため、結果として不揮発性半導体メモリ装置が不安定な動作をしてしまう恐れがあった。
【0008】
本発明は、上記問題点を解消するためになされたものであり、不揮発性半導体メモリ装置のシステム制御情報等の重要な情報のエラー検出を行い、信頼性を向上させることのできる不揮発性半導体メモリ装置を提供することを目的とする。
【0009】
【課題を解決するための手段】
上記課題を解決するために、本発明の請求項1にかかる不揮発性半導体メモリ装置は、予め所定の記憶領域に不揮発的に記憶されたシステム制御情報に基づいてシステム制御を行う不揮発性半導体メモリ装置において、第1のシステム制御情報を格納する第1の記憶領域と、所定の変換処理を施した前記第1のシステム制御情報を第2のシステム制御情報として格納する第2の記憶領域とを有する不揮発性半導体メモリと、当該装置の電源投入時に、前記第1の記憶領域に格納された前記第1のシステム制御情報と、前記第2の記憶領域に格納された前記第2のシステム制御情報とを各々読み出し、一時的に格納する複数のデータバッファと、前記データバッファに格納された前記第2のシステム制御情報を、前記所定の変換処理と逆の処理であるデコード処理を行なうデコーダと、前記第1のシステム制御情報と、前記第2のシステム制御情報が前記デコーダによりデコード処理された結果とを比較し、不一致のときはエラー信号を外部に出力するエラー検知手段とを具備することを特徴とするものである。
【0010】
これにより、不測の事故等により、前記第1のシステム制御情報、あるいは前記第2のシステム制御情報のいずれかにビットエラーが発生したことを簡単に検知することができ、その結果、誤ったシステム制御情報に従って意図しない冗長置換や、内部電圧補正が実行されてしまう、というような不揮発性半導体メモリ装置の誤動作を防止することができる。
【0011】
また、本発明の請求項2にかかる不揮発性半導体メモリ装置は、予め所定の記憶領域に不揮発的に記憶されたシステム制御情報に基づいてシステム制御を行う不揮発性半導体メモリ装置において、第1のシステム制御情報を格納する第1の記憶領域と、前記第1のシステム制御情報の反転データを第2のシステム制御情報として格納する第2の記憶領域とを有する不揮発性半導体メモリと、当該装置の電源投入時に、前記第1の記憶領域に格納された前記第1のシステム制御情報と、前記第2の記憶領域に格納された前記第2のシステム制御情報とを各々読み出し、一時的に格納する複数のデータバッファと、前記データバッファに格納された第2のシステム制御情報が、前記第1のシステム制御情報の反転データであるか否かを判定し、反転データでないときはエラー信号を外部に出力するエラー検知手段とを具備することを特徴とするものである。
【0012】
これにより、不測の事故等により、前記第1のシステム制御情報、あるいは前記第2のシステム制御情報のいずれかにビットエラーが発生したことを簡単に検知することができ、その結果、誤ったシステム制御情報に従って意図しない冗長置換や、内部電圧補正が実行されてしまう、というような不揮発性半導体メモリ装置の誤動作を防止することができる。
【0013】
また、本発明の請求項3にかかる不揮発性半導体メモリ装置は、請求項1または請求項2に記載の不揮発性半導体メモリ装置において、前記エラー検知手段によりエラー信号が出力された際、前記不揮発性半導体メモリの未使用領域である第3の記憶領域に対して、ビットエラー検出情報を書き込む書き込み制御手段と、当該装置の電源投入時に、前記第3の記憶領域に格納されているデータを読み出し、該読み出されたデータが前記ビットエラー検出情報であるときは、エラー信号を外部に出力する第2のエラー検知手段とを具備することを特徴とするものである。
【0014】
これにより、ビットエラー検出情報により、当該システム制御情報が過去に一度でもビットエラーが発生したシステム制御情報であるかを認知することができるため、当該装置の誤動作をより一層防止し、不揮発性半導体メモリに格納されているシステム制御情報の信頼性の向上を実現することができる。
【0015】
また、本発明の請求項4にかかる不揮発性半導体メモリ装置は、請求項1または請求項2に記載の不揮発性半導体メモリ装置において、前記エラー検知手段によりエラー信号が出力された際、前記不揮発性半導体メモリの複数の記憶領域に格納されている複数のシステム制御情報の内、所定のシステム制御情報を格納している記憶領域に対してビットエラー検出情報を書き込む書き込み制御手段を備え、前記エラー検知手段は、前記書き込み制御手段により前記所定のシステム制御情報を格納している記憶領域に前記ビットエラー検出情報が書き込まれた後は、常にエラー信号を出力することを特徴とするものである。
【0016】
これにより、より簡単、かつ小規模な回路構成でビットエラーの発生履歴を認知することができ、不揮発性半導体メモリに格納されているシステム制御情報の信頼性をより向上させることができる。
【0017】
【発明の実施の形態】
(実施の形態1)
以下、本発明の実施の形態1にかかる不揮発性半導体メモリ装置について、図面を参照しながら説明する。
図1は、本実施の形態1による不揮発性半導体メモリ装置の構成を示すブロック図である。
【0018】
図1において、11はフラッシュEEPROMからなる不揮発性半導体メモリ、12は制御回路、13はデータバッファA、14はデータバッファB、15はデコーダ、16は比較器である。
【0019】
また、111は第1のシステム制御情報(システム制御情報A)を格納する第1の記憶領域、112は所定の変換処理を施した第1のシステム制御情報を第2のシステム制御情報(システム制御情報B)として格納する第2の記憶領域である。
【0020】
また、121は制御回路12から不揮発性半導体メモリ11に出力されるシステム制御情報転送命令、161はシステム制御情報Aに基づき冗長置換や内部電圧補正等の不揮発性半導体メモリ装置のシステム制御の実行を許可するシステム制御許可信号、162はシステム制御情報A、あるいはシステム制御情報Bのいずれかでビットエラーを発生していることを本不揮発性半導体メモリ装置の外部に通知するエラー信号である。
【0021】
次に、動作について説明する。
不揮発性半導体メモリ装置に電源が投入されると、制御回路12から不揮発性半導体メモリ11に対してシステム制御情報転送命令121が出力される。そして、不揮発性半導体メモリ11の第1の記憶領域111に格納されているシステム制御情報A、および第2の記憶領域112に格納されているシステム制御情報BがデータバッファA13およびデータバッファB14に各々転送され、データバッファA13にはシステム制御情報Aが一時格納され、データバッファB14にはシステム制御情報Bが一時格納される。
【0022】
データバッファB14に一時格納されたシステム制御情報Bは、デコーダ15に転送され、デコーダ15により所定の変換を施す前の状態にデコードされ、比較器16に入力され、データバッファA13に一時格納されたシステム制御情報Aも、デコーダ15によりデコードされたシステム制御情報Bと同じタイミングで比較器16に入力される。比較器16では、入力されたシステム制御情報Aとデコードされたシステム制御情報Bが同一の情報であるか否かを比較する。
【0023】
比較の結果、同一の情報であると判断した場合にはシステム制御許可信号161を出力し、システム制御情報Aに基づいて不揮発性半導体メモリ装置のシステム制御を実行する。
【0024】
また、同一の情報ではないと判断した場合にはエラー信号162を出力し、本不揮発性半導体メモリ装置の外部の制御回路、あるいはソフトウェア制御により、該不揮発性半導体メモリ装置の動作を禁止する。
【0025】
このような実施の形態1による不揮発性半導体メモリ装置では、システム制御情報A、および該システム制御情報Aに所定の変換処理を施したシステム制御情報Bを不揮発性半導体メモリ11に記憶しておき、当該装置の電源投入時に、不揮発性半導体メモリ11に記憶されているシステム制御情報Aとシステム制御情報Bを読み出し、該読み出したシステム制御情報Bをデコード処理した結果がシステム制御情報Aと一致するかどうかを比較し、一致しなければエラー信号162を出力して当該装置の動作を禁止するようにしたので、システム制御情報Aの信頼性向上を実現するとともに、ビットエラー発生による不揮発性半導体メモリ装置の誤動作を防止することができる。
【0026】
(実施の形態2)
以下、本発明の実施の形態2にかかる不揮発性半導体メモリ装置について図面を参照しながら説明する。
図2は、本実施の形態2による不揮発性半導体メモリ装置の構成を示すブロック図である。
【0027】
図2において、21はフラッシュEEPROMからなる不揮発性半導体メモリ、22は制御回路、23はデータバッファA、24はデータバッファB、25は比較器である。
【0028】
また、211は第1のシステム制御情報(システム制御情報A)を格納する第1の記憶領域、212は第1のシステム制御情報の反転データを第2のシステム制御情報(システム制御情報B)として格納する第2の記憶領域である。
【0029】
また、221は制御回路22から不揮発性半導体メモリ21に出力されるシステム制御情報転送命令、251はシステム制御情報Aに基づき冗長置換や内部電圧補正等の不揮発性半導体メモリ装置のシステム制御の実行を許可するシステム制御許可信号、252はシステム制御情報A、あるいはシステム制御情報Bのいずれかでビットエラーを発生していることを本不揮発性半導体メモリ装置の外部に通知するエラー信号である。
【0030】
以上のように構成された不揮発性半導体メモリ装置の動作について説明する。
不揮発性半導体メモリ装置に電源が投入されると、制御回路22から不揮発性半導体メモリ21に対してシステム制御情報転送命令221が出力される。そして、不揮発性半導体メモリ21の第1の記憶領域211に格納されているシステム制御情報A、および第2の記憶領域212に格納されているシステム制御情報BがデータバッファA23およびデータバッファB24に各々転送され、データバッファA23にはシステム制御情報Aが一時格納され、データバッファB24にはシステム制御情報Bが一時格納される。
【0031】
データバッファA23に一時格納されたシステム制御情報AとデータバッファB24に一時格納されたシステム制御情報Bは、同じタイミングで比較器25に入力される。比較器25では、入力されたシステム制御情報Aとシステム制御情報Bの排他的論理和をとることにより、システム制御情報Bがシステム制御情報Aの反転データであるか否かを比較する。
【0032】
比較の結果、システム制御情報Bがシステム制御情報Aの反転データであると判断した場合にはシステム制御許可信号251を出力し、システム制御情報Aに基づいて不揮発性半導体メモリ装置のシステム制御を実行する。
【0033】
また、システム制御情報Bがシステム制御情報Aの反転データではないと判断した場合にはエラー信号252を出力し、本不揮発性半導体メモリ装置の外部の制御回路、あるいはソフトウェア制御により、該不揮発性半導体メモリ装置の動作を禁止する。
【0034】
このような実施の形態2による不揮発性半導体メモリ装置では、システム制御情報A、および該システム制御情報Aの反転データであるシステム制御情報Bを不揮発性半導体メモリ21に記憶しておき、当該装置の電源投入時に、不揮発性半導体メモリ21に記憶されているシステム制御情報Aとシステム制御情報Bを読み出し、該読み出したシステム制御情報Bがシステム制御情報Aを反転させたものであるかどうかを比較し、反転データでなければエラー信号252を出力して当該装置の動作を禁止するようにしたので、システム制御情報Aの信頼性向上を実現するとともに、ビットエラー発生による不揮発性半導体メモリ装置の誤動作を防止することができる。また、重要なシステム制御情報を異なる複数のデータに変換して複数の記憶領域に記憶させる際、異なる複数のデータをシステム制御情報とシステム制御情報の反転データとの2種類のデータとすることで、前記実施の形態1で示すような異なるデータ同士の内容を比較するためのデコーダが不要となり、より簡単かつ小規模な回路構成でビットエラーを検出することができる。
【0035】
(実施の形態3)
以下、本実施の形態3にかかる不揮発性半導体メモリ装置について図面を参照しながら説明する。
図3は、本実施の形態3による不揮発性半導体メモリ装置の構成を示すブロック図である。
【0036】
図3において、31はフラッシュEEPROMからなる不揮発性半導体メモリ、32は制御回路、33はデータバッファA、34はデータバッファB、35はデータバッファC、36は比較器、37は判定回路である。
【0037】
また、311は第1のシステム制御情報(システム制御情報A)を格納する第1の記憶領域、312は第1のシステム制御情報の反転データを第2のシステム制御情報(システム制御情報B)として格納する第2の記憶領域、313は不揮発性半導体メモリ31のビットエラー発生履歴を示すビットエラー検出情報が書き込まれる第3の記憶領域である。
【0038】
また、321は制御回路32から不揮発性半導体メモリ31に出力されるビットエラー検出情報転送命令、322は制御回路32から不揮発性半導体メモリ31に出力されるシステム制御情報転送命令、323は制御回路32から不揮発性半導体メモリ31に出力されるビットエラー検出情報書込み命令、361はシステム制御情報Aに基づき冗長置換や内部電圧補正等の不揮発性半導体メモリ装置のシステム制御の実行を許可するシステム制御許可信号、362はシステム制御情報A、あるいはシステム制御情報Bのいずれかでビットエラーが発生していることを本不揮発性半導体メモリ装置の外部および制御回路32に通知するエラー信号、371は判定回路37から制御回路32に出力されるシステム制御情報転送許可信号、372はシステム制御情報A、あるいはシステム制御情報Bのいずれかで過去にビットエラーを発生していることを本不揮発性半導体メモリ装置の外部に通知するエラー信号である。
【0039】
次に、動作を説明する。
不揮発性半導体メモリ装置に電源が投入されると、制御回路32から不揮発性半導体メモリ31に対してビットエラー検出情報転送命令321が出力される。そして、不揮発性半導体メモリ31の第3の記憶領域313に記憶されているビットエラー検出情報がデータバッファC35に転送され、データバッファC35にはビットエラー検出情報が一時格納される。
【0040】
データバッファC35に一時格納されたビットエラー検出情報は、続いて判定回路37に入力される。判定回路37では、入力されたビットエラー検出情報の内容が、不揮発性半導体メモリ31において過去にビットエラーを発生していないことを示す内容である場合にはシステム制御情報転送許可信号371を出力し、不揮発性半導体メモリ31において過去にビットエラーを発生していることを示す内容である場合にはエラー信号372を出力する。このエラー信号372が出力されたときは、本不揮発性半導体メモリ装置の外部の制御回路、あるいはソフトウェア制御により、該不揮発性半導体メモリ装置の動作を禁止する。なお、ビットエラー検出情報の初期状態は過去にビットエラーを発生していないことを示す内容である。
【0041】
判定回路37から制御回路32にシステム制御情報転送許可信号371が入力されると、制御回路32から不揮発性半導体メモリ31に対してシステム制御情報転送命令322が出力される。そして、不揮発性半導体メモリ31の第1の記憶領域311に格納されているシステム制御情報A、および第2の記憶領域312に格納されているシステム制御情報Bが、データバッファA33およびデータバッファB34に各々転送され、データバッファA33にはシステム制御情報Aが一時格納され、データバッファB34にはシステム制御情報Bが一時格納される。
【0042】
データバッファA33に一時格納されたシステム制御情報AとデータバッファB34に一時格納されたシステム制御情報Bは同じタイミングで比較器36に入力される。比較器36では、入力されたシステム制御情報Aとシステム制御情報Bの排他的論理和をとることにより、システム制御情報Bがシステム制御情報Aの反転データであるか否かを比較する。
【0043】
上記比較の結果、システム制御情報Bがシステム制御情報Aの反転データであると判断した場合にはシステム制御許可信号361を出力し、システム制御情報Aに基づいて不揮発性半導体メモリ装置のシステム制御を実行する。
【0044】
一方、システム制御情報Bがシステム制御情報Aの反転データではないと判断した場合には不揮発性半導体メモリ装置外部および制御回路32にエラー信号362を出力し、本不揮発性半導体メモリ装置の外部の制御回路、あるいはソフトウェア制御により、該不揮発性半導体メモリ装置の動作を禁止するとともに、制御回路32から不揮発性半導体メモリ31に対してビットエラー検出情報書込み命令323を出力し、不揮発性半導体メモリ31に格納されているビットエラー検出情報を、過去にビットエラーを発生していることを示すデータに書き換える。
【0045】
このような実施の形態3による不揮発性半導体メモリ装置では、システム制御情報A、および該システム制御情報Aの反転データであるシステム制御情報Bを不揮発性半導体メモリ31に記憶しておき、当該装置の電源投入時に、不揮発性半導体メモリ31に記憶されているシステム制御情報Aとシステム制御情報Bを読み出し、該読み出したシステム制御情報Bがシステム制御情報Aを反転させたものであるかどうかを比較し、反転データでなければエラー信号362を出力して当該装置の動作を禁止するようにしたので、システム制御情報Aの信頼性向上を実現するとともに、ビットエラー発生による不揮発性半導体メモリ装置の誤動作を防止することができる。
【0046】
また、本実施の形態3による不揮発性半導体メモリ装置では、比較器36によりエラー信号が出力された際、不揮発性半導体メモリ31の未使用領域である第3の記憶領域313にビットエラー検出情報を書き込み、該ビットエラー検出情報が書き込まれた後は常にエラー信号372を出力し、当該装置の動作を禁止するようにしたので、フラッシュEEPROMで不揮発的に記憶しているシステム制御情報が、正常に読み出し可能な場合と誤読み出しをする場合との境界付近でビットエラーを発生するような状態、すなわちエラービットの変動が中途半端で不安定な状態であっても、システム制御情報において過去に一度でもビットエラーが発生した場合は、システム制御情報を格納している記憶領域とは独立した記憶領域に書き込まれたビットエラー検出情報によりビットエラーの発生履歴を認知して、不揮発性半導体メモリの動作を禁止することができるため、より一層不揮発性半導体メモリのシステム制御情報の信頼性の向上を実現することができる。
【0047】
なお、本実施の形態3では、システム制御情報Bをシステム制御情報Aの反転データとし、かつ比較器36ではシステム制御情報Bがシステム制御情報Aの反転データであるか否かを比較する構成として説明したが、前記実施の形態1に示すようにシステム制御情報Aに所定の変換を施したものをシステム制御情報Bとし、かつデータバッファB34と比較器36の間にシステム制御情報Bを所定の変換を施す前の情報にデコードするデコーダを追加し、比較器36ではシステム制御情報Aとデコード後のシステム制御情報Bが同一の情報であるか否かを比較する構成でも構わない。
【0048】
(実施の形態4)
以下、本発明の実施の形態4にかかる不揮発性半導体メモリ装置について図面を参照しながら説明する。
図4は、本実施の形態4による不揮発性半導体メモリ装置の構成を示すブロック図である。
【0049】
図4において、41はフラッシュEEPROMからなる不揮発性半導体メモリ、42は制御回路、43はデータバッファA、44はデータバッファB、45は比較器である。
【0050】
また、411は第1のシステム制御情報(システム制御情報A)を格納する第1の記憶領域、412は第1のシステム制御情報の反転データを第2のシステム制御情報(システム制御情報B)として格納する第2の記憶領域であり、411aは第1の記憶領域411に書き込まれるビットエラー検出情報である。
【0051】
また、421は制御回路42から不揮発性半導体メモリ41に出力されるシステム制御情報転送命令、422は制御回路42から不揮発性半導体メモリ41に出力されるビットエラー検出情報書込み命令、451はシステム制御情報Aに基づき冗長置換や内部電圧補正等の不揮発性半導体メモリ装置のシステム制御の実行を許可するシステム制御許可信号、452はシステム制御情報A、あるいはシステム制御情報Bのいずれかでビットエラーを発生していることを本不揮発性半導体メモリ装置の外部および制御回路42に通知するエラー信号である。
【0052】
次に、動作を説明する。
不揮発性半導体メモリ装置に電源が投入されると、制御回路42から不揮発性半導体メモリ41に対してシステム制御情報転送命令421が出力される。そして、不揮発性半導体メモリ41の第1の記憶領域411に格納されているシステム制御情報A、および第2の記憶領域412に格納されているシステム制御情報BがデータバッファA43およびデータバッファB44に各々転送され、データバッファA43にはシステム制御情報Aが一時格納され、データバッファB44にはシステム制御情報Bが一時格納される。
【0053】
データバッファA43に一時格納されたシステム制御情報AとデータバッファB44に一時格納されたシステム制御情報Bは同じタイミングで比較器45に入力される。比較器45では、入力されたシステム制御情報Aとシステム制御情報Bの排他的論理和をとることにより、システム制御情報Bがシステム制御情報Aの反転データであるか否かを比較する。
【0054】
比較の結果、システム制御情報Bがシステム制御情報Aの反転データであると判断された場合、システム制御許可信号451を出力し、システム制御情報Aに基づいて不揮発性半導体メモリ装置のシステム制御を実行する。
【0055】
また、システム制御情報Bがシステム制御情報Aの反転データではないと判断された場合、不揮発性半導体メモリ装置外部および制御回路42にエラー信号452を出力し、不揮発性半導体メモリ装置外部の制御回路やソフトウェア制御により不揮発性半導体メモリ装置の動作を禁止するとともに、制御回路42から不揮発性半導体メモリ41に対してビットエラー検出情報書込み命令422を出力し、不揮発性半導体メモリ41の第1の記憶領域411に格納されているシステム制御情報Aの一部、あるいは全てにビットエラー検出情報411aを書き込む。なお、ビットエラー検出情報411aは、通常のシステム制御情報Aでは使用しないデータで構成されており、システム制御情報Aにビットエラー検出情報411aを書き込むことで、システム制御情報Aの内容が書き換えられてしまうため、以降比較器45は常にエラー信号452を出力する。
【0056】
このような実施の形態4による不揮発性半導体メモリ装置では、システム制御情報A、および該システム制御情報Aの反転データであるシステム制御情報Bを不揮発性半導体メモリ41に記憶しておき、当該装置の電源投入時に、不揮発性半導体メモリ41に記憶されているシステム制御情報Aとシステム制御情報Bを読み出し、該読み出したシステム制御情報Bがシステム制御情報Aを反転させたものであるかどうかを比較し、反転データでなければエラー信号452を出力して当該装置の動作を禁止するようにしたので、システム制御情報Aの信頼性向上を実現するとともに、ビットエラー発生による不揮発性半導体メモリ装置の誤動作を防止する。
【0057】
また、本実施の形態4による不揮発性半導体メモリ装置では、システム制御情報の過去のビットエラー発生履歴を示すビットエラー検出情報を、システム制御情報を格納している記憶領域とは独立した記憶領域に書き込むのではなく、システム制御情報を格納している複数の記憶領域の一部の領域に対してビットエラー検出情報を書き込むようにしたので、電源投入時、前記実施の形態3に示すように、始めにエラー検出情報を確認するといった特別なパワーオンシーケンスが不要となり、より簡単かつ小規模な回路構成でビットエラーの発生履歴を認知し、不揮発性半導体メモリのシステム制御情報の信頼性の向上を実現することができる。
【0058】
なお、ここではシステム制御情報Bをシステム制御情報Aの反転データとし、かつ比較器45ではシステム制御情報Bがシステム制御情報Aの反転データであるか否かを比較する構成として説明したが、前記実施の形態1に示すようにシステム制御情報Aに所定の変換を施したものをシステム制御情報Bとし、かつデータバッファB44と比較器45の間にシステム制御情報Bを所定の変換を施す前の情報にデコードするデコーダを追加し、比較器45ではシステム制御情報Aとデコード後のシステム制御情報Bが同一の情報であるか否かを比較する構成でも構わない。
【0059】
【発明の効果】
以上のように、本発明の請求項1にかかる不揮発性半導体メモリ装置によれば、予め所定の記憶領域に不揮発的に記憶されたシステム制御情報に基づいてシステム制御を行う不揮発性半導体メモリ装置において、第1のシステム制御情報を格納する第1の記憶領域と、所定の変換処理を施した前記第1のシステム制御情報を第2のシステム制御情報として格納する第2の記憶領域とを有する不揮発性半導体メモリと、当該装置の電源投入時に、前記第1の記憶領域に格納された前記第1のシステム制御情報と、前記第2の記憶領域に格納された前記第2のシステム制御情報とを各々読み出し、一時的に格納する複数のデータバッファと、前記データバッファに格納された前記第2のシステム制御情報を、前記所定の変換処理と逆の処理であるデコード処理を行なうデコーダと、前記第1のシステム制御情報と、前記第2のシステム制御情報が前記デコーダによりデコード処理された結果とを比較し、不一致のときはエラー信号を外部に出力するエラー検知手段とを具備することより、不測の事故等により、前記第1のシステム制御情報、あるいは前記第2のシステム制御情報のいずれかにビットエラーが発生したことを簡単に検知することができ、その結果、誤ったシステム制御情報に従って意図しない冗長置換や、内部電圧補正が実行されてしまう、というような不揮発性半導体メモリ装置の誤動作を防止することができる。
【0060】
また、本発明の請求項2にかかる不揮発性半導体メモリ装置によれば、予め所定の記憶領域に不揮発的に記憶されたシステム制御情報に基づいてシステム制御を行う不揮発性半導体メモリ装置において、第1のシステム制御情報を格納する第1の記憶領域と、前記第1のシステム制御情報の反転データを第2のシステム制御情報として格納する第2の記憶領域とを有する不揮発性半導体メモリと、当該装置の電源投入時に、前記第1の記憶領域に格納された前記第1のシステム制御情報と、前記第2の記憶領域に格納された前記第2のシステム制御情報とを各々読み出し、一時的に格納する複数のデータバッファと、前記データバッファに格納された第2のシステム制御情報が、前記第1のシステム制御情報の反転データであるか否かを判定し、反転データでないときはエラー信号を外部に出力するエラー検知手段とを具備することより、不測の事故等により、前記第1のシステム制御情報、あるいは前記第2のシステム制御情報のいずれかにビットエラーが発生したことを簡単に検知することができ、その結果、誤ったシステム制御情報に従って意図しない冗長置換や、内部電圧補正が実行されてしまう、というような不揮発性半導体メモリ装置の誤動作を防止することができる。
【0061】
また、本発明の請求項3にかかる不揮発性半導体メモリ装置によれば、請求項1または請求項2に記載の不揮発性半導体メモリ装置において、前記エラー検知手段によりエラー信号が出力された際、前記不揮発性半導体メモリの未使用領域である第3の記憶領域に対して、ビットエラー検出情報を書き込む書き込み制御手段と、当該装置の電源投入時に、前記第3の記憶領域に格納されているデータを読み出し、該読み出されたデータが前記ビットエラー検出情報であるときは、エラー信号を外部に出力する第2のエラー検知手段とを具備することより、ビットエラー検出情報により、当該システム制御情報が過去に一度でもビットエラーが発生したシステム制御情報であるかを認知することができるため、当該装置の誤動作をより一層防止し、不揮発性半導体メモリに格納されているシステム制御情報の信頼性の向上を実現することができる。
【0062】
また、本発明の請求項4にかかる不揮発性半導体メモリ装置は、請求項1または請求項2に記載の不揮発性半導体メモリ装置において、前記エラー検知手段によりエラー信号が出力された際、前記不揮発性半導体メモリの複数の記憶領域に格納されている複数のシステム制御情報の内、所定のシステム制御情報を格納している記憶領域に対してビットエラー検出情報を書き込む書き込み制御手段を備え、前記エラー検知手段は、前記書き込み制御手段により前記所定のシステム制御情報を格納している記憶領域に前記ビットエラー検出情報が書き込まれた後は、常にエラー信号を出力するようにしたので、より簡単、かつ小規模な回路構成でビットエラーの発生履歴を認知することができ、不揮発性半導体メモリに格納されているシステム制御情報の信頼性をより向上させることができる。
【図面の簡単な説明】
【図1】本発明の実施の形態1における不揮発性半導体メモリ装置の構成を示すブロック図である。
【図2】本発明の実施の形態2における不揮発性半導体メモリ装置の構成を示すブロック図である。
【図3】本発明の実施の形態3における不揮発性半導体メモリ装置の構成を示すブロック図である。
【図4】本発明の実施の形態4における不揮発性半導体メモリ装置の構成を示すブロック図である。
【図5】従来の不揮発性半導体メモリ装置の構成を示すブロック図である。
【符号の説明】
11 不揮発性半導体メモリ(フラッシュEEPROM)
12 制御回路
13 データバッファA
14 データバッファB
15 デコーダ
16 比較器
111 第1の記憶領域
112 第2の記憶領域
121 システム制御情報転送命令
161 システム制御許可信号
162 エラー信号
21 不揮発性半導体メモリ(フラッシュEEPROM)
22 制御回路
23 データバッファA
24 データバッファB
25 比較器
211 第1の記憶領域
212 第2の記憶領域
221 システム制御情報転送命令
251 システム制御許可信号
252 エラー信号
31 不揮発性半導体メモリ(フラッシュEEPROM)
32 制御回路
33 データバッファA
34 データバッファB
35 データバッファC
36 比較器
37 判定回路
311 第1の記憶領域
312 第2の記憶領域
313 第3の記憶領域
321 ビットエラー検出情報転送命令
322 システム制御情報転送命令
323 ビットエラー検出情報書込み命令
361 システム制御許可信号
362 エラー信号
371 システム制御情報転送許可信号
372 エラー信号
41 不揮発性半導体メモリ(フラッシュEEPROM)
42 制御回路
43 データバッファA
44 データバッファB
45 比較器
411 第1の記憶領域
411a ビットエラー検出情報
412 第2の記憶領域
421 システム制御情報転送命令
422 ビットエラー検出情報書込み命令
451 システム制御許可信号
452 エラー信号
51 不揮発性半導体メモリ(フラッシュEEPROM)
52 メモリ制御部
53 変数レジスタ
54 デコーダ
55 メモリ用電源ユニット
511 システム制御情報記憶領域
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a nonvolatile semiconductor memory device, and more particularly to a technique for realizing error detection of important information such as control information of a nonvolatile semiconductor memory system and improving reliability.
[0002]
[Prior art]
A conventional nonvolatile semiconductor memory device capable of redundancy repair and internal voltage correction will be described below.
FIG. 5 is a block diagram showing a configuration of a conventional nonvolatile semiconductor memory device.
[0003]
In FIG. 5, reference numeral 51 denotes a nonvolatile semiconductor memory comprising a flash EEPROM and including a redundancy block for redundancy relief, 52 a memory control unit, 53 a variable register, 54 a decoder, 55 a power supply unit for memory, and 511 a nonvolatile semiconductor memory. This is system control information including redundant information of the memory 51 and internal voltage correction information of the nonvolatile semiconductor memory device, and is stored in the nonvolatile semiconductor memory 51.
[0004]
The operation of the nonvolatile semiconductor memory device configured as described above will be described. When power is applied to the nonvolatile semiconductor memory device, system control information 511 is transferred from the nonvolatile semiconductor memory 51 to the variable register 53 according to a command from the memory control unit 52. The decoder 54 performs redundancy replacement by switching the selected block of the nonvolatile semiconductor memory 51 according to the contents of the system control information 511 stored in the variable register 53. Further, the memory power supply unit 55 corrects the internal voltage of the nonvolatile semiconductor memory device according to the contents of the system control information 511 stored in the variable register 53.
[0005]
[Patent Document 1]
JP 2001-297038 A
[0006]
[Problems to be solved by the invention]
However, in the above-described conventional configuration, when a bit error occurs in the system control information 511 stored in the nonvolatile semiconductor memory 51 due to an unexpected accident or the like, the erroneous system control information 511 is transferred to the variable register 53 when the power is turned on. However, in the decoder 54 and the memory power supply unit 55, unintended redundancy replacement or internal voltage correction is performed in accordance with incorrect system control information 511, and as a result, the nonvolatile semiconductor memory device may malfunction. Was.
[0007]
Further, in the above-described conventional configuration, the system control information 511 stored in the non-volatile semiconductor memory 51 is in a state where a bit error occurs near a boundary between a case where normal reading is possible and a case where reading is erroneous. That is, when the variation of the error bit is halfway and unstable, the correct system control information 511 is transferred to the variable register 53 when the power is turned on, and the redundancy replacement or the internal voltage correction is executed correctly. Incorrect system control information 511 is transferred to the variable register 53 when the power is turned on, and erroneous redundancy replacement or internal voltage correction may be performed. As a result, the nonvolatile semiconductor memory device may operate in an unstable manner. was there.
[0008]
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and a nonvolatile semiconductor memory capable of detecting an error of important information such as system control information of a nonvolatile semiconductor memory device and improving reliability. It is intended to provide a device.
[0009]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, a nonvolatile semiconductor memory device according to claim 1 of the present invention performs a system control based on system control information stored in a nonvolatile manner in a predetermined storage area in advance. , A first storage area for storing first system control information, and a second storage area for storing the first system control information subjected to a predetermined conversion process as second system control information A nonvolatile semiconductor memory, the first system control information stored in the first storage area when the apparatus is powered on, and the second system control information stored in the second storage area. A plurality of data buffers for respectively reading and temporarily storing the data, and processing the second system control information stored in the data buffer by a process reverse to the predetermined conversion process. A decoder that performs a decoding process, compares the first system control information with the result of the second system control information decoded by the decoder, and outputs an error signal to the outside if they do not match. And a detecting means.
[0010]
As a result, it is possible to easily detect that a bit error has occurred in either the first system control information or the second system control information due to an unexpected accident or the like. It is possible to prevent a malfunction of the nonvolatile semiconductor memory device such as an unintended redundancy replacement or an internal voltage correction being executed according to the control information.
[0011]
The nonvolatile semiconductor memory device according to claim 2 of the present invention is a nonvolatile semiconductor memory device that performs system control based on system control information previously stored in a predetermined storage area in a nonvolatile manner. A non-volatile semiconductor memory having a first storage area for storing control information, a second storage area for storing inverted data of the first system control information as second system control information, At the time of insertion, the plurality of the first system control information stored in the first storage area and the second system control information stored in the second storage area are respectively read and temporarily stored. And determining whether the second system control information stored in the data buffer is inverted data of the first system control information. If not data is characterized in that it comprises an error detection means for outputting an error signal to the outside.
[0012]
As a result, it is possible to easily detect that a bit error has occurred in either the first system control information or the second system control information due to an unexpected accident or the like. It is possible to prevent a malfunction of the nonvolatile semiconductor memory device such as an unintended redundancy replacement or an internal voltage correction being executed according to the control information.
[0013]
According to a third aspect of the present invention, in the nonvolatile semiconductor memory device according to the first or second aspect, when the error detection unit outputs an error signal, Writing control means for writing bit error detection information to a third storage area that is an unused area of the semiconductor memory; and reading data stored in the third storage area when the apparatus is powered on; When the read data is the bit error detection information, a second error detection means for outputting an error signal to the outside is provided.
[0014]
Thus, it is possible to recognize from the bit error detection information whether the system control information is the system control information in which a bit error has occurred at least once in the past. The reliability of the system control information stored in the memory can be improved.
[0015]
According to a fourth aspect of the present invention, in the nonvolatile semiconductor memory device according to the first or second aspect, when the error detecting unit outputs an error signal, Writing control means for writing bit error detection information to a storage area storing predetermined system control information among a plurality of system control information stored in a plurality of storage areas of the semiconductor memory; The means is characterized in that after the bit error detection information is written in the storage area storing the predetermined system control information by the write control means, an error signal is always output.
[0016]
As a result, the occurrence history of bit errors can be recognized with a simpler and smaller circuit configuration, and the reliability of the system control information stored in the nonvolatile semiconductor memory can be further improved.
[0017]
BEST MODE FOR CARRYING OUT THE INVENTION
(Embodiment 1)
Hereinafter, a nonvolatile semiconductor memory device according to a first embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of the nonvolatile semiconductor memory device according to the first embodiment.
[0018]
In FIG. 1, reference numeral 11 denotes a nonvolatile semiconductor memory composed of a flash EEPROM, 12 denotes a control circuit, 13 denotes a data buffer A, 14 denotes a data buffer B, 15 denotes a decoder, and 16 denotes a comparator.
[0019]
Reference numeral 111 denotes a first storage area for storing first system control information (system control information A), and reference numeral 112 denotes first system control information subjected to a predetermined conversion process to second system control information (system control information A). This is a second storage area for storing information B).
[0020]
Reference numeral 121 denotes a system control information transfer instruction output from the control circuit 12 to the nonvolatile semiconductor memory 11, and reference numeral 161 denotes execution of system control of the nonvolatile semiconductor memory device such as redundancy replacement and internal voltage correction based on the system control information A. A permitted system control signal 162 is an error signal for notifying the outside of the nonvolatile semiconductor memory device that a bit error has occurred in either the system control information A or the system control information B.
[0021]
Next, the operation will be described.
When power is applied to the nonvolatile semiconductor memory device, the control circuit 12 outputs a system control information transfer command 121 to the nonvolatile semiconductor memory 11. Then, the system control information A stored in the first storage area 111 and the system control information B stored in the second storage area 112 of the nonvolatile semiconductor memory 11 are stored in the data buffer A13 and the data buffer B14, respectively. The data buffer A13 temporarily stores the system control information A, and the data buffer B14 temporarily stores the system control information B.
[0022]
The system control information B temporarily stored in the data buffer B14 is transferred to the decoder 15, is decoded by the decoder 15 to a state before performing a predetermined conversion, is input to the comparator 16, and is temporarily stored in the data buffer A13. The system control information A is also input to the comparator 16 at the same timing as the system control information B decoded by the decoder 15. The comparator 16 compares whether the input system control information A and the decoded system control information B are the same information.
[0023]
As a result of the comparison, if it is determined that they are the same information, the system control permission signal 161 is output, and the system control of the nonvolatile semiconductor memory device is executed based on the system control information A.
[0024]
If it is determined that the information is not the same, an error signal 162 is output, and the operation of the nonvolatile semiconductor memory device is prohibited by a control circuit or software control external to the nonvolatile semiconductor memory device.
[0025]
In such a nonvolatile semiconductor memory device according to the first embodiment, the system control information A and the system control information B obtained by performing a predetermined conversion process on the system control information A are stored in the nonvolatile semiconductor memory 11, When the power of the device is turned on, the system control information A and the system control information B stored in the nonvolatile semiconductor memory 11 are read, and whether the result of decoding the read system control information B matches the system control information A In this case, an error signal 162 is output to prohibit the operation of the device, and the reliability of the system control information A is improved. Can be prevented from malfunctioning.
[0026]
(Embodiment 2)
Hereinafter, a nonvolatile semiconductor memory device according to a second embodiment of the present invention will be described with reference to the drawings.
FIG. 2 is a block diagram showing a configuration of the nonvolatile semiconductor memory device according to the second embodiment.
[0027]
In FIG. 2, reference numeral 21 denotes a nonvolatile semiconductor memory formed of a flash EEPROM, 22 denotes a control circuit, 23 denotes a data buffer A, 24 denotes a data buffer B, and 25 denotes a comparator.
[0028]
Reference numeral 211 denotes a first storage area for storing first system control information (system control information A), and 212 denotes inverted data of the first system control information as second system control information (system control information B). This is a second storage area for storing.
[0029]
Reference numeral 221 denotes a system control information transfer command output from the control circuit 22 to the nonvolatile semiconductor memory 21. Reference numeral 251 denotes execution of system control of the nonvolatile semiconductor memory device such as redundancy replacement and internal voltage correction based on the system control information A. A system control permission signal 252 to be permitted is an error signal for notifying the outside of the nonvolatile semiconductor memory device that a bit error has occurred in either the system control information A or the system control information B.
[0030]
The operation of the nonvolatile semiconductor memory device configured as described above will be described.
When power is supplied to the nonvolatile semiconductor memory device, the control circuit 22 outputs a system control information transfer command 221 to the nonvolatile semiconductor memory 21. Then, the system control information A stored in the first storage area 211 and the system control information B stored in the second storage area 212 of the nonvolatile semiconductor memory 21 are stored in the data buffer A23 and the data buffer B24, respectively. The data buffer A23 temporarily stores the system control information A, and the data buffer B24 temporarily stores the system control information B.
[0031]
The system control information A temporarily stored in the data buffer A23 and the system control information B temporarily stored in the data buffer B24 are input to the comparator 25 at the same timing. The comparator 25 performs an exclusive OR operation on the input system control information A and the system control information B to compare whether or not the system control information B is inverted data of the system control information A.
[0032]
As a result of the comparison, when it is determined that the system control information B is inverted data of the system control information A, the system control permission signal 251 is output, and the system control of the nonvolatile semiconductor memory device is executed based on the system control information A. I do.
[0033]
If it is determined that the system control information B is not the inverted data of the system control information A, an error signal 252 is output, and the nonvolatile semiconductor memory device is controlled by a control circuit external to the nonvolatile semiconductor memory device or by software control. Inhibit the operation of the memory device.
[0034]
In such a nonvolatile semiconductor memory device according to the second embodiment, system control information A and system control information B which is inverted data of the system control information A are stored in the nonvolatile semiconductor memory 21, and When the power is turned on, the system control information A and the system control information B stored in the nonvolatile semiconductor memory 21 are read, and it is compared whether the read system control information B is obtained by inverting the system control information A. If the data is not inverted data, the error signal 252 is output to prohibit the operation of the device, thereby improving the reliability of the system control information A and preventing the malfunction of the nonvolatile semiconductor memory device due to the occurrence of a bit error. Can be prevented. When converting important system control information into a plurality of different data and storing them in a plurality of storage areas, the plurality of different data are converted into two types of data, that is, system control information and inverted data of the system control information. A decoder for comparing the contents of different data as shown in the first embodiment is not required, and a bit error can be detected with a simpler and smaller circuit configuration.
[0035]
(Embodiment 3)
Hereinafter, a nonvolatile semiconductor memory device according to the third embodiment will be described with reference to the drawings.
FIG. 3 is a block diagram showing a configuration of the nonvolatile semiconductor memory device according to the third embodiment.
[0036]
In FIG. 3, reference numeral 31 denotes a nonvolatile semiconductor memory formed of a flash EEPROM, 32 denotes a control circuit, 33 denotes a data buffer A, 34 denotes a data buffer B, 35 denotes a data buffer C, 36 denotes a comparator, and 37 denotes a determination circuit.
[0037]
Reference numeral 311 denotes a first storage area for storing first system control information (system control information A). Reference numeral 312 denotes inverted data of the first system control information as second system control information (system control information B). A second storage area 313 for storing is a third storage area in which bit error detection information indicating a bit error occurrence history of the nonvolatile semiconductor memory 31 is written.
[0038]
321 is a bit error detection information transfer instruction output from the control circuit 32 to the nonvolatile semiconductor memory 31; 322 is a system control information transfer instruction output from the control circuit 32 to the nonvolatile semiconductor memory 31; 361 is a system control permission signal for permitting execution of system control of the nonvolatile semiconductor memory device such as redundancy replacement or internal voltage correction based on the system control information A. , 362 are error signals notifying the outside of the nonvolatile semiconductor memory device and the control circuit 32 that a bit error has occurred in either the system control information A or the system control information B. The system control information transfer permission signal 372 output to the control circuit 32 is Stem control information A, or that generates a bit error in the past in one of system control information B is an error signal that notifies the outside of the non-volatile semiconductor memory device.
[0039]
Next, the operation will be described.
When power is applied to the nonvolatile semiconductor memory device, the control circuit 32 outputs a bit error detection information transfer instruction 321 to the nonvolatile semiconductor memory 31. Then, the bit error detection information stored in the third storage area 313 of the nonvolatile semiconductor memory 31 is transferred to the data buffer C35, and the bit error detection information is temporarily stored in the data buffer C35.
[0040]
The bit error detection information temporarily stored in the data buffer C35 is subsequently input to the determination circuit 37. The determination circuit 37 outputs a system control information transfer permission signal 371 when the content of the input bit error detection information is a content indicating that no bit error has occurred in the nonvolatile semiconductor memory 31 in the past. If the content indicates that a bit error has occurred in the nonvolatile semiconductor memory 31 in the past, an error signal 372 is output. When the error signal 372 is output, the operation of the nonvolatile semiconductor memory device is prohibited by a control circuit external to the nonvolatile semiconductor memory device or by software control. The initial state of the bit error detection information indicates that no bit error has occurred in the past.
[0041]
When the system control information transfer permission signal 371 is input from the determination circuit 37 to the control circuit 32, a system control information transfer instruction 322 is output from the control circuit 32 to the nonvolatile semiconductor memory 31. Then, the system control information A stored in the first storage area 311 of the nonvolatile semiconductor memory 31 and the system control information B stored in the second storage area 312 are stored in the data buffer A33 and the data buffer B34. Each is transferred, and the system control information A is temporarily stored in the data buffer A33, and the system control information B is temporarily stored in the data buffer B34.
[0042]
The system control information A temporarily stored in the data buffer A33 and the system control information B temporarily stored in the data buffer B34 are input to the comparator 36 at the same timing. The comparator 36 performs an exclusive OR operation on the input system control information A and the system control information B to compare whether or not the system control information B is inverted data of the system control information A.
[0043]
As a result of the comparison, when it is determined that the system control information B is inverted data of the system control information A, a system control permission signal 361 is output, and the system control of the nonvolatile semiconductor memory device is performed based on the system control information A. Execute.
[0044]
On the other hand, when it is determined that the system control information B is not the inverted data of the system control information A, an error signal 362 is output to the outside of the nonvolatile semiconductor memory device and to the control circuit 32 to control the outside of the nonvolatile semiconductor memory device. The operation of the nonvolatile semiconductor memory device is prohibited by a circuit or software control, and a bit error detection information write command 323 is output from the control circuit 32 to the nonvolatile semiconductor memory 31 and stored in the nonvolatile semiconductor memory 31. The bit error detection information is rewritten to data indicating that a bit error has occurred in the past.
[0045]
In the non-volatile semiconductor memory device according to the third embodiment, the system control information A and the system control information B, which is inverted data of the system control information A, are stored in the non-volatile semiconductor memory 31, and When the power is turned on, the system control information A and the system control information B stored in the nonvolatile semiconductor memory 31 are read, and it is compared whether or not the read system control information B is obtained by inverting the system control information A. If the data is not inverted data, the error signal 362 is output to prohibit the operation of the device, so that the reliability of the system control information A is improved and the malfunction of the nonvolatile semiconductor memory device due to the occurrence of a bit error is prevented. Can be prevented.
[0046]
In the nonvolatile semiconductor memory device according to the third embodiment, when the error signal is output from the comparator 36, the bit error detection information is stored in the third storage area 313, which is an unused area of the nonvolatile semiconductor memory 31. After the writing and the bit error detection information are written, an error signal 372 is always output to prohibit the operation of the device, so that the system control information stored in a nonvolatile manner in the flash EEPROM can be normally read. In a state where a bit error occurs near the boundary between the case where reading is possible and the case where reading is erroneously performed, that is, even if the fluctuation of the error bit is halfway and unstable, even once in the past in the system control information, When a bit error occurs, data is written to a storage area independent of the storage area that stores system control information. And recognizes the occurrence history of bit error by Ttoera detection information, it is possible to prohibit the operation of the nonvolatile semiconductor memory, it is possible to realize a further improvement in the reliability of the system control information in the nonvolatile semiconductor memory.
[0047]
In the third embodiment, the system control information B is used as inverted data of the system control information A, and the comparator 36 compares whether the system control information B is inverted data of the system control information A. As described in the first embodiment, the system control information A obtained by performing a predetermined conversion on the system control information A is referred to as the system control information B, and the system control information B is provided between the data buffer B 34 and the comparator 36 by the predetermined conversion. A decoder for decoding the information before the conversion may be added, and the comparator 36 may compare the system control information A with the decoded system control information B to determine whether they are the same information.
[0048]
(Embodiment 4)
Hereinafter, a nonvolatile semiconductor memory device according to a fourth embodiment of the present invention will be described with reference to the drawings.
FIG. 4 is a block diagram showing a configuration of the nonvolatile semiconductor memory device according to the fourth embodiment.
[0049]
In FIG. 4, reference numeral 41 denotes a nonvolatile semiconductor memory composed of a flash EEPROM, 42 denotes a control circuit, 43 denotes a data buffer A, 44 denotes a data buffer B, and 45 denotes a comparator.
[0050]
Reference numeral 411 denotes a first storage area for storing first system control information (system control information A), and 412 denotes inverted data of the first system control information as second system control information (system control information B). This is a second storage area for storing, and 411a is bit error detection information written in the first storage area 411.
[0051]
Reference numeral 421 denotes a system control information transfer instruction output from the control circuit 42 to the nonvolatile semiconductor memory 41, 422 denotes a bit error detection information write instruction output from the control circuit 42 to the nonvolatile semiconductor memory 41, and 451 denotes system control information. A system control permission signal 452 for permitting execution of system control of the nonvolatile semiconductor memory device such as redundancy replacement and internal voltage correction based on A. A bit error 452 occurs in either system control information A or system control information B. This is an error signal that notifies the control circuit and the outside of the nonvolatile semiconductor memory device that the non-volatile semiconductor memory device is operating.
[0052]
Next, the operation will be described.
When power is applied to the nonvolatile semiconductor memory device, a system control information transfer instruction 421 is output from the control circuit 42 to the nonvolatile semiconductor memory 41. Then, the system control information A stored in the first storage area 411 and the system control information B stored in the second storage area 412 of the nonvolatile semiconductor memory 41 are stored in the data buffer A43 and the data buffer B44, respectively. The system control information A is temporarily stored in the data buffer A43, and the system control information B is temporarily stored in the data buffer B44.
[0053]
The system control information A temporarily stored in the data buffer A43 and the system control information B temporarily stored in the data buffer B44 are input to the comparator 45 at the same timing. The comparator 45 compares the input system control information A and the system control information B with each other to determine whether the system control information B is inverted data of the system control information A.
[0054]
As a result of the comparison, when it is determined that the system control information B is the inverted data of the system control information A, a system control permission signal 451 is output, and the system control of the nonvolatile semiconductor memory device is executed based on the system control information A. I do.
[0055]
If it is determined that the system control information B is not the inverted data of the system control information A, an error signal 452 is output to the outside of the nonvolatile semiconductor memory device and to the control circuit 42, and the control circuit outside the nonvolatile semiconductor memory device The operation of the nonvolatile semiconductor memory device is prohibited by software control, and a bit error detection information write command 422 is output from the control circuit 42 to the nonvolatile semiconductor memory 41, and the first storage area 411 of the nonvolatile semiconductor memory 41 is The bit error detection information 411a is written in part or all of the system control information A stored in. The bit error detection information 411a is composed of data that is not used in the normal system control information A. By writing the bit error detection information 411a in the system control information A, the contents of the system control information A are rewritten. Therefore, the comparator 45 always outputs the error signal 452 thereafter.
[0056]
In the non-volatile semiconductor memory device according to the fourth embodiment, the system control information A and the system control information B, which is the inverted data of the system control information A, are stored in the non-volatile semiconductor memory 41. When the power is turned on, the system control information A and the system control information B stored in the nonvolatile semiconductor memory 41 are read, and it is compared whether or not the read system control information B is obtained by inverting the system control information A. If the data is not inverted data, the error signal 452 is output to prohibit the operation of the device, so that the reliability of the system control information A is improved and the malfunction of the nonvolatile semiconductor memory device due to the occurrence of a bit error is prevented. To prevent.
[0057]
Further, in the nonvolatile semiconductor memory device according to the fourth embodiment, the bit error detection information indicating the past bit error occurrence history of the system control information is stored in a storage area independent of the storage area storing the system control information. Instead of writing, the bit error detection information is written to a part of the plurality of storage areas storing the system control information. Therefore, when the power is turned on, as shown in the third embodiment, A special power-on sequence, such as checking error detection information at the beginning, is no longer necessary, and the bit error occurrence history can be recognized with a simpler and smaller circuit configuration to improve the reliability of the system control information of the nonvolatile semiconductor memory. Can be realized.
[0058]
Here, the system control information B is assumed to be inverted data of the system control information A, and the comparator 45 has been described as a configuration for comparing whether the system control information B is inverted data of the system control information A. System control information A obtained by subjecting system control information A to predetermined conversion as described in Embodiment 1 is referred to as system control information B, and system control information B is provided between data buffer B 44 and comparator 45 before the predetermined conversion. A decoder for decoding information may be added, and the comparator 45 may compare the system control information A and the decoded system control information B to determine whether they are the same information.
[0059]
【The invention's effect】
As described above, according to the non-volatile semiconductor memory device according to the first aspect of the present invention, in the non-volatile semiconductor memory device which performs system control based on system control information stored in a non-volatile manner in a predetermined storage area in advance. Having a first storage area for storing first system control information, and a second storage area for storing the first system control information subjected to a predetermined conversion process as second system control information The non-volatile semiconductor memory, the first system control information stored in the first storage area and the second system control information stored in the second storage area when the device is powered on. A plurality of data buffers each of which is read and temporarily stored, and the second system control information stored in the data buffer is a process reverse to the predetermined conversion process. An error detector for comparing a decoder for performing code processing with a result of decoding of the first system control information and the second system control information by the decoder, and outputting an error signal to the outside if they do not match; Means, it is possible to easily detect that a bit error has occurred in either the first system control information or the second system control information due to an unexpected accident or the like. As a result, it is possible to prevent a malfunction of the nonvolatile semiconductor memory device such as an unintended redundancy replacement or an internal voltage correction being executed in accordance with incorrect system control information.
[0060]
Further, according to the nonvolatile semiconductor memory device of the present invention, in the nonvolatile semiconductor memory device for performing system control based on system control information previously stored in a predetermined storage area in a nonvolatile manner, A non-volatile semiconductor memory having a first storage area for storing the first system control information, a second storage area for storing the inverted data of the first system control information as the second system control information, and the device When the power is turned on, the first system control information stored in the first storage area and the second system control information stored in the second storage area are respectively read and temporarily stored. A plurality of data buffers, and determining whether the second system control information stored in the data buffer is inverted data of the first system control information. And error detecting means for outputting an error signal to the outside when the data is not inverted data, so that a bit is added to either the first system control information or the second system control information due to an unexpected accident or the like. It is possible to easily detect that an error has occurred, and as a result, to prevent a malfunction of the nonvolatile semiconductor memory device such as an unintended redundancy replacement or an internal voltage correction being performed according to incorrect system control information. can do.
[0061]
Further, according to the nonvolatile semiconductor memory device of claim 3 of the present invention, in the nonvolatile semiconductor memory device according to claim 1 or 2, when the error detection unit outputs an error signal, Writing control means for writing bit error detection information to a third storage area, which is an unused area of the nonvolatile semiconductor memory, and data stored in the third storage area when the apparatus is powered on. When the read data is the bit error detection information, the system control information includes a second error detection unit that outputs an error signal to the outside. It is possible to recognize whether or not the system control information has a bit error even once in the past, further preventing the device from malfunctioning. , It is possible to realize an improvement of the reliability of the system control information stored in the nonvolatile semiconductor memory.
[0062]
According to a fourth aspect of the present invention, in the nonvolatile semiconductor memory device according to the first or second aspect, when the error detecting unit outputs an error signal, Writing control means for writing bit error detection information to a storage area storing predetermined system control information among a plurality of system control information stored in a plurality of storage areas of the semiconductor memory; The unit is configured to always output an error signal after the bit error detection information is written in the storage area storing the predetermined system control information by the writing control unit. The history of bit errors can be recognized with a large-scale circuit configuration, and system control stored in non-volatile semiconductor memory is possible. It is possible to improve the reliability of the information.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a nonvolatile semiconductor memory device according to a first embodiment of the present invention.
FIG. 2 is a block diagram showing a configuration of a nonvolatile semiconductor memory device according to a second embodiment of the present invention.
FIG. 3 is a block diagram showing a configuration of a nonvolatile semiconductor memory device according to a third embodiment of the present invention.
FIG. 4 is a block diagram showing a configuration of a nonvolatile semiconductor memory device according to a fourth embodiment of the present invention.
FIG. 5 is a block diagram showing a configuration of a conventional nonvolatile semiconductor memory device.
[Explanation of symbols]
11 Non-volatile semiconductor memory (flash EEPROM)
12 Control circuit
13 Data buffer A
14 Data buffer B
15 Decoder
16 Comparators
111 first storage area
112 Second storage area
121 System control information transfer instruction
161 System control permission signal
162 Error signal
21 Non-volatile semiconductor memory (flash EEPROM)
22 Control circuit
23 Data buffer A
24 Data buffer B
25 Comparator
211 first storage area
212 second storage area
221 System control information transfer instruction
251 System control permission signal
252 error signal
31 Nonvolatile semiconductor memory (flash EEPROM)
32 control circuit
33 Data buffer A
34 Data buffer B
35 Data buffer C
36 comparator
37 Judgment circuit
311 First storage area
312 Second storage area
313 third storage area
321 bit error detection information transfer instruction
322 System control information transfer instruction
323-bit error detection information write instruction
361 System control permission signal
362 error signal
371 System control information transfer permission signal
372 error signal
41 Non-volatile semiconductor memory (flash EEPROM)
42 control circuit
43 Data buffer A
44 Data buffer B
45 comparator
411 First Storage Area
411a Bit error detection information
412 Second storage area
421 System control information transfer instruction
422 bit error detection information write instruction
451 System control permission signal
452 error signal
51 Non-volatile semiconductor memory (flash EEPROM)
52 Memory control unit
53 variable registers
54 decoder
55 Power supply unit for memory
511 System control information storage area

Claims (4)

予め所定の記憶領域に不揮発的に記憶されたシステム制御情報に基づいてシステム制御を行う不揮発性半導体メモリ装置において、
第1のシステム制御情報を格納する第1の記憶領域と、所定の変換処理を施した前記第1のシステム制御情報を第2のシステム制御情報として格納する第2の記憶領域とを有する不揮発性半導体メモリと、
当該装置の電源投入時に、前記第1の記憶領域に格納された前記第1のシステム制御情報と、前記第2の記憶領域に格納された前記第2のシステム制御情報とを各々読み出し、一時的に格納する複数のデータバッファと、
前記データバッファに格納された前記第2のシステム制御情報を、前記所定の変換処理と逆の処理であるデコード処理を行なうデコーダと、
前記第1のシステム制御情報と、前記第2のシステム制御情報が前記デコーダによりデコード処理された結果とを比較し、不一致のときはエラー信号を外部に出力するエラー検知手段とを具備する、
ことを特徴とする不揮発性半導体メモリ装置。
In a nonvolatile semiconductor memory device that performs system control based on system control information stored in a predetermined storage area in a nonvolatile manner in advance,
Non-volatile storage having a first storage area for storing first system control information and a second storage area for storing the first system control information subjected to a predetermined conversion process as second system control information A semiconductor memory;
When the power of the apparatus is turned on, the first system control information stored in the first storage area and the second system control information stored in the second storage area are read out, respectively, and temporarily read out. Multiple data buffers to be stored in
A decoder for performing a decoding process, which is a process reverse to the predetermined conversion process, on the second system control information stored in the data buffer;
Error detecting means for comparing the first system control information with a result of the second system control information decoded by the decoder, and outputting an error signal to the outside if the result does not match,
A nonvolatile semiconductor memory device characterized by the above-mentioned.
予め所定の記憶領域に不揮発的に記憶されたシステム制御情報に基づいてシステム制御を行う不揮発性半導体メモリ装置において、
第1のシステム制御情報を格納する第1の記憶領域と、前記第1のシステム制御情報の反転データを第2のシステム制御情報として格納する第2の記憶領域とを有する不揮発性半導体メモリと、
当該装置の電源投入時に、前記第1の記憶領域に格納された前記第1のシステム制御情報と、前記第2の記憶領域に格納された前記第2のシステム制御情報とを各々読み出し、一時的に格納する複数のデータバッファと、
前記データバッファに格納された第2のシステム制御情報が、前記第1のシステム制御情報の反転データであるか否かを判定し、反転データでないときはエラー信号を外部に出力するエラー検知手段とを具備する、
ことを特徴とする不揮発性半導体メモリ装置。
In a nonvolatile semiconductor memory device that performs system control based on system control information stored in a predetermined storage area in a nonvolatile manner in advance,
A nonvolatile semiconductor memory having a first storage area for storing first system control information, and a second storage area for storing inverted data of the first system control information as second system control information;
When the power of the apparatus is turned on, the first system control information stored in the first storage area and the second system control information stored in the second storage area are read out, respectively, and temporarily read out. Multiple data buffers to be stored in
Error detecting means for judging whether or not the second system control information stored in the data buffer is inverted data of the first system control information, and outputting an error signal to the outside if the data is not inverted; Comprising,
A nonvolatile semiconductor memory device characterized by the above-mentioned.
請求項1または請求項2に記載の不揮発性半導体メモリ装置において、
前記エラー検知手段によりエラー信号が出力された際、前記不揮発性半導体メモリの未使用領域である第3の記憶領域に対して、ビットエラー検出情報を書き込む書き込み制御手段と、
当該装置の電源投入時に、前記第3の記憶領域に格納されているデータを読み出し、該読み出されたデータが前記ビットエラー検出情報であるときは、エラー信号を外部に出力する第2のエラー検知手段とを具備する、
ことを特徴とする不揮発性半導体メモリ装置。
The nonvolatile semiconductor memory device according to claim 1 or 2,
Write control means for writing bit error detection information to a third storage area, which is an unused area of the nonvolatile semiconductor memory, when an error signal is output by the error detection means;
When the power of the apparatus is turned on, the data stored in the third storage area is read, and when the read data is the bit error detection information, an error signal is output to the outside. Detecting means,
A nonvolatile semiconductor memory device characterized by the above-mentioned.
請求項1または請求項2に記載の不揮発性半導体メモリ装置において、
前記エラー検知手段によりエラー信号が出力された際、前記不揮発性半導体メモリの複数の記憶領域に格納されている複数のシステム制御情報の内、所定のシステム制御情報を格納している記憶領域に対してビットエラー検出情報を書き込む書き込み制御手段を備え、
前記エラー検知手段は、前記書き込み制御手段により前記所定のシステム制御情報を格納している記憶領域に前記ビットエラー検出情報が書き込まれた後は、常にエラー信号を出力する、
ことを特徴とする不揮発性半導体メモリ装置。
The nonvolatile semiconductor memory device according to claim 1 or 2,
When an error signal is output by the error detection means, a storage area storing predetermined system control information among a plurality of system control information stored in a plurality of storage areas of the nonvolatile semiconductor memory. Write control means for writing bit error detection information by
The error detection unit, after the bit error detection information is written to the storage area storing the predetermined system control information by the write control unit, always outputs an error signal,
A nonvolatile semiconductor memory device characterized by the above-mentioned.
JP2003122051A 2003-04-25 2003-04-25 Nonvolatile semiconductor memory device Pending JP2004326564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003122051A JP2004326564A (en) 2003-04-25 2003-04-25 Nonvolatile semiconductor memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003122051A JP2004326564A (en) 2003-04-25 2003-04-25 Nonvolatile semiconductor memory device

Publications (1)

Publication Number Publication Date
JP2004326564A true JP2004326564A (en) 2004-11-18

Family

ID=33500415

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003122051A Pending JP2004326564A (en) 2003-04-25 2003-04-25 Nonvolatile semiconductor memory device

Country Status (1)

Country Link
JP (1) JP2004326564A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012128741A (en) * 2010-12-16 2012-07-05 Mitsubishi Electric Corp Train information management device and majority decision processing method
JP2014089796A (en) * 2006-12-22 2014-05-15 Sidense Corp Power-on detection system for memory device
JP2015520473A (en) * 2012-05-16 2015-07-16 サイデンス コーポレーション Power-on detection system for memory devices

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014089796A (en) * 2006-12-22 2014-05-15 Sidense Corp Power-on detection system for memory device
JP2012128741A (en) * 2010-12-16 2012-07-05 Mitsubishi Electric Corp Train information management device and majority decision processing method
JP2015520473A (en) * 2012-05-16 2015-07-16 サイデンス コーポレーション Power-on detection system for memory devices

Similar Documents

Publication Publication Date Title
JP5010271B2 (en) Error correction code generation method and memory control device
JP4585520B2 (en) Test apparatus and test method
KR20080074316A (en) Memory system, memory for the same, and command decoding method of the memory
US11144388B2 (en) Nonvolatile memory device and memory system including nonvolatile memory device
JP2005242797A (en) Error correction circuit
US7752527B2 (en) Microcontroller and RAM
US8281219B2 (en) Error correction code (ECC) circuit test mode
US10552261B2 (en) Semiconductor device and memory module
KR101952512B1 (en) Memory address protection circuit and method
JP2009295252A (en) Semiconductor memory device and its error correction method
KR20100031402A (en) Method and apparatus for detecting free page and error correction code decoding method and apparatus using the same
JP2007265056A (en) Configuration apparatus for programmable logistic device
US7530005B2 (en) Storage device
EP3525210B1 (en) Data register monitoring
CN109614277B (en) Semiconductor device with a semiconductor device having a plurality of semiconductor chips
JP2004326564A (en) Nonvolatile semiconductor memory device
US8352817B2 (en) Method for testing a memory device, as well as a control device having means for testing a memory
JP2001290710A (en) Device for detecting data error
JP6332134B2 (en) Memory diagnostic circuit
KR20100060424A (en) System on chip and information processing method thereof
JP2003100095A (en) Semiconductor integrated circuit device
US20130007565A1 (en) Method of processing faults in a microcontroller
US20080028278A1 (en) Circuit architecture protected against perturbations
JP2006155735A (en) Storage device
JP3913221B2 (en) Information processing device