TW201523252A - Semiconductor memory device, system starting-up method and computer program product - Google Patents

Semiconductor memory device, system starting-up method and computer program product Download PDF

Info

Publication number
TW201523252A
TW201523252A TW102144175A TW102144175A TW201523252A TW 201523252 A TW201523252 A TW 201523252A TW 102144175 A TW102144175 A TW 102144175A TW 102144175 A TW102144175 A TW 102144175A TW 201523252 A TW201523252 A TW 201523252A
Authority
TW
Taiwan
Prior art keywords
page address
semiconductor memory
read
page
memory device
Prior art date
Application number
TW102144175A
Other languages
Chinese (zh)
Other versions
TWI515566B (en
Inventor
Takehiro Kaminaga
Original Assignee
Winbond Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Winbond Electronics Corp filed Critical Winbond Electronics Corp
Priority to TW102144175A priority Critical patent/TWI515566B/en
Publication of TW201523252A publication Critical patent/TW201523252A/en
Application granted granted Critical
Publication of TWI515566B publication Critical patent/TWI515566B/en

Links

Abstract

A semiconductor memory device comprising: a memory array, composed of non-volatile memory cells; a setting unit, setting a page address of a first read when starting-up; and a control unit, performing an internal sequence to read out a page address from the setting unit when starting-up and transmit page data read out from the memory array based on the read-out page address to a page buffer.

Description

半導體記憶裝置、系統啟動方法以及電腦程式產品 Semiconductor memory device, system startup method, and computer program product

本發明係有關於NAND型快閃記憶體等的半導體記憶體,且特別有關於具有在系統等啟動時傳送資料之功能的半導體記憶體。 The present invention relates to a semiconductor memory of a NAND type flash memory or the like, and particularly relates to a semiconductor memory having a function of transmitting data at the time of startup of a system or the like.

NAND型快閃記憶體包括由複數個記憶體單元串聯連接而成之NAND串列所構成的記憶體單元陣列。相較於NOR型快閃記憶體,NAND型快閃記憶體可實現高集成度的記憶體單元陣列,因此,NAND型快閃記憶體適用於影像資料和音樂資料等大容量資料的儲存。除了上述用途以外,NAND型快閃記憶體也可作為在電子設備或系統啟動時提供啟動碼(boot code)的記憶體。啟動碼為用於啟動主機(host)側之電子設備或系統的作業系統(operating system)的資料。 The NAND type flash memory includes a memory cell array composed of a plurality of NAND strings in which a plurality of memory cells are connected in series. Compared with NOR-type flash memory, NAND-type flash memory can realize a highly integrated memory cell array. Therefore, NAND-type flash memory is suitable for storing large-capacity data such as image data and music data. In addition to the above uses, the NAND type flash memory can also be used as a memory for providing a boot code when the electronic device or system is booted. The boot code is information for starting an operating system of an electronic device or system on the host side.

第1圖所示為根據先前技術(專利文獻1)之可向主機系統輸出啟動碼之半導體記憶體的系統組成示意圖。如第1A圖所示,半導體記憶體10包括輸入/輸出接腳12、記 憶體控制器14以及記憶體部16。輸入/輸出接腳12用於在半導體10與主機裝置30之間輸入/輸出資料。記憶體控制器14包括用於透過輸入/輸出接腳12與主機裝置30之間傳送資料的主機介面20、用於與記憶體部16之間傳送資料的記憶體介面22、控制資料傳送等的微處理單元(Micro Processing Unit,MPU)24以及儲存程式碼和資料的唯讀記憶體(Read Only Memory,ROM)26和隨機存取記憶體(Random Access Memory,RAM)28。記憶體部16包括2個晶片,例如NAND型快閃記憶體晶片。此外,如第1B圖所示,記憶體部16包括可用實體(physical)位址存取的實體存取區域16A以及可用邏輯(logical)位址存取的邏輯存取區域16B。在實體存取區域16A中儲存主機裝置30的啟動碼。啟動碼為用於啟動主機裝置30的作業系統等的資料。藉由上述組成,可在主機裝置30只對應至實體存取方式的情況下提供啟動碼至主機裝置30。 Fig. 1 is a view showing a system configuration of a semiconductor memory which can output a boot code to a host system according to the prior art (Patent Document 1). As shown in FIG. 1A, the semiconductor memory 10 includes input/output pins 12, The body controller 14 and the memory unit 16 are memorized. The input/output pin 12 is for inputting/outputting data between the semiconductor 10 and the host device 30. The memory controller 14 includes a host interface 20 for transferring data between the input/output pin 12 and the host device 30, a memory interface 22 for transferring data to and from the memory unit 16, control data transfer, and the like. A Micro Processing Unit (MPU) 24 and a Read Only Memory (ROM) 26 and a Random Access Memory (RAM) 28 for storing code and data. The memory portion 16 includes two wafers, such as a NAND type flash memory chip. Further, as shown in FIG. 1B, the memory portion 16 includes a physical access area 16A accessible by a physical address and a logical access area 16B accessible by a logical address. The activation code of the host device 30 is stored in the physical access area 16A. The boot code is material for starting the operating system or the like of the host device 30. With the above composition, the boot code can be provided to the host device 30 in the case where the host device 30 corresponds only to the physical access mode.

專利文獻: Patent literature:

專利文獻1 日本專利公開第2009-175877號公報。 Patent Document 1 Japanese Patent Laid-Open Publication No. 2009-175877.

在將NAND型快閃記憶體用作儲存啟動碼之記憶體的主機系統中,可能會在啟動時或電源開啟(power up)時從快閃記憶體讀出啟動碼,然後啟動系統。雖然晶片組和作業系統的啟動程序有多種方法,但為了在啟動後從快 閃記憶體讀出啟動碼,快閃記憶體以外的系統(晶片組內的晶片上(on-chip)ROM和主機裝置等)內必須有第一次讀出的讀出指令和位址的資訊。因此,系統啟動時需要一定的時間。 In a host system in which a NAND type flash memory is used as a memory for storing a boot code, a boot code may be read from a flash memory at startup or power up, and then the system is booted. Although there are many ways to start the chipset and operating system, in order to get faster after booting The flash memory read boot code, the system other than the flash memory (on-chip ROM and host device in the chipset) must have the read command and address information read out for the first time. . Therefore, it takes a certain amount of time to start the system.

本發明的目的在於提供一種可縮短系統啟動時間的半導體記憶體。除此之外,本發明的目的還在於提供一種可自由設定啟動時最初讀出之位址的半導體記憶體。 It is an object of the present invention to provide a semiconductor memory that can reduce system startup time. In addition, it is an object of the present invention to provide a semiconductor memory that can freely set an address that is initially read at startup.

本發明一實施例提供一種半導體記憶裝置,包括:一記憶體陣列,由非揮發性記憶體單元所構成;一設定單元,用以設定啟動時最初讀出之上述記憶體陣列的頁面位址;以及一控制單元,執行一內部程序,以在啟動時從上述設定單元讀出頁面位址,並根據所讀出之頁面位址將對應於所讀出之頁面位址的頁面資料從上述記憶體陣列傳送至一頁面緩衝器。在一較佳範例中,上述設定單元更設定用以識別是否已儲存頁面位址的識別資訊,上述控制單元根據上述識別資訊決定是否執行上述內部程序。在一較佳範例中,上述設定單元包括於啟動時上述控制單元所存取的一暫存器,上述暫存器將頁面位址儲存於一預定區域。在一較佳範例中,上述暫存器更儲存用以表示是否已儲存頁面位址的旗標資訊。在一較佳範例中,上述設定單元回應一主機裝置所執行之使用者指令而設定上述頁面位址。在一較佳範例中,上述內部程序為開啟上述半導體記 憶裝置之電源時所執行的一電源開啟程序,且上述內部程序包括讀出指令的執行。在一較佳範例中,上述半導體記憶裝置為一快閃記憶體。 An embodiment of the present invention provides a semiconductor memory device including: a memory array formed by a non-volatile memory unit; and a setting unit configured to set a page address of the memory array initially read at startup; And a control unit executing an internal program to read the page address from the setting unit at the startup, and to extract the page data corresponding to the read page address from the memory according to the read page address The array is transferred to a page buffer. In a preferred example, the setting unit further sets identification information for identifying whether the page address has been stored, and the control unit determines whether to execute the internal program according to the identification information. In a preferred example, the setting unit includes a temporary register accessed by the control unit at the time of startup, and the temporary storage device stores the page address in a predetermined area. In a preferred example, the temporary register further stores flag information indicating whether the page address has been stored. In a preferred example, the setting unit sets the page address in response to a user instruction executed by a host device. In a preferred example, the internal program is to open the semiconductor record A power-on program executed when the power of the device is restored, and the internal program includes execution of the read command. In a preferred example, the semiconductor memory device is a flash memory.

本發明一實施例提供一種系統啟動方法,適用於包括一半導體記憶裝置以及一主機裝置的一系統,包括:將啟動時最初讀出之記憶體陣列的頁面位址設定至上述半導體記憶裝置;執行一內部程序,以在上述半導體記憶裝置啟動時讀出所設定之頁面位址,並根據所讀出之頁面位址將對應於所讀出之頁面位址的頁面資料從上述記憶體陣列傳送至一頁面緩衝器。 An embodiment of the present invention provides a system startup method, which is applicable to a system including a semiconductor memory device and a host device, including: setting a page address of a memory array that is initially read at startup to the semiconductor memory device; An internal program for reading the set page address when the semiconductor memory device is activated, and transmitting page data corresponding to the read page address from the memory array to the read page address A page buffer.

本發明一實施例提供一種電腦程式產品,由一半導體記憶裝置執行以進行一啟動方法,上述啟動方法包括:執行一內部程序,從設定有啟動時最初讀出之頁面位址的一暫存器讀出上述頁面位址,並根據所讀出之頁面位址將對應於所讀出之頁面位址的頁面資料從一記憶體陣列傳送至一頁面緩衝器。在一較佳範例中,上述啟動方法更包括:根據用以識別是否已將上述頁面位址設定至上述暫存器的識別資訊執行上述內部程序。 An embodiment of the present invention provides a computer program product, which is executed by a semiconductor memory device to perform a booting method. The booting method includes: executing an internal program from a temporary register that sets a page address initially read when booting The page address is read out, and the page data corresponding to the read page address is transferred from a memory array to a page buffer according to the read page address. In a preferred example, the booting method further includes: executing the internal program according to the identification information for identifying whether the page address is set to the temporary register.

根據本發明,藉由設定啟動時最初讀出之頁面位址並將啟動時頁面位址之頁面資料自動傳送至頁面緩衝器,可縮短系統的啟動時間。此外,藉由變更頁面位址的設定,可擴大位址映射(address mapping)的自由度。 According to the present invention, the startup time of the system can be shortened by setting the page address initially read at startup and automatically transmitting the page data of the page address at the startup to the page buffer. In addition, by changing the setting of the page address, the degree of freedom of address mapping can be expanded.

1‧‧‧旗標檢查 1‧‧‧ Flag check

2‧‧‧讀出頁面位址M 2‧‧‧Read page address M

3‧‧‧傳送頁面位址M至位址暫存器 3‧‧‧Transfer page address M to address register

4‧‧‧執行讀出確認指令 4‧‧‧Execute read confirmation command

5‧‧‧傳送頁面位址M的資料至頁面緩衝器 5‧‧‧Transfer page address M data to page buffer

10‧‧‧半導體記憶體 10‧‧‧Semiconductor memory

12‧‧‧輸入/輸出接腳 12‧‧‧Input/output pins

14‧‧‧記憶體控制器 14‧‧‧ memory controller

16‧‧‧記憶體部 16‧‧‧ Memory Department

16A‧‧‧實體存取區域 16A‧‧‧ physical access area

16B‧‧‧邏輯存取區域 16B‧‧‧Logical access area

20‧‧‧主機介面 20‧‧‧Host interface

22‧‧‧記憶體介面 22‧‧‧ memory interface

24‧‧‧微處理單元 24‧‧‧Microprocessing unit

26‧‧‧唯讀記憶體 26‧‧‧Read-only memory

28‧‧‧隨機存取記憶體 28‧‧‧ Random access memory

30‧‧‧主機裝置 30‧‧‧Host device

100‧‧‧快閃記憶體 100‧‧‧flash memory

110‧‧‧記憶體陣列 110‧‧‧Memory array

120‧‧‧輸入/輸出緩衝器 120‧‧‧Input/Output Buffer

130‧‧‧位址暫存器 130‧‧‧ address register

140‧‧‧資料暫存器 140‧‧‧data register

150‧‧‧控制器 150‧‧‧ Controller

160‧‧‧字元線選擇電路 160‧‧‧Word line selection circuit

170‧‧‧頁面緩衝器/感測電路 170‧‧‧Page Buffer/Sensor Circuit

180‧‧‧行選擇電路 180‧‧‧ row selection circuit

190‧‧‧內部電壓產生電路 190‧‧‧Internal voltage generation circuit

130‧‧‧位址暫存器 130‧‧‧ address register

170‧‧‧頁面緩衝器 170‧‧‧Page Buffer

200‧‧‧系統 200‧‧‧ system

210‧‧‧主機裝置 210‧‧‧Host device

220‧‧‧記憶體模組 220‧‧‧ memory module

230‧‧‧記憶體控制器 230‧‧‧ memory controller

240‧‧‧組態暫存器 240‧‧‧Configuration register

242‧‧‧位址儲存區域 242‧‧‧ Address storage area

244‧‧‧旗標區域 244‧‧‧ Flag area

Ax‧‧‧列位址資訊 Ax‧‧‧Listing address information

Ay‧‧‧行位址資訊 Ay‧‧‧ Location Information

BLK(0)、BLK(1)、BLK(m)‧‧‧區塊 BLK(0), BLK(1), BLK(m)‧‧‧ blocks

BST、SST‧‧‧選擇電晶體 BST, SST‧‧‧ select transistor

C1、C2、C3‧‧‧控制訊號 C1, C2, C3‧‧‧ control signals

GBL0、GBL1、GBLn-1、GBLn‧‧‧位元線 GBL0, GBL1, GBLn-1, GBLn‧‧‧ bit line

I/O‧‧‧外部輸入/輸出端子 I/O‧‧‧ external input/output terminals

MC0、MC1、MC2、MC31‧‧‧記憶體單元 MC0, MC1, MC2, MC31‧‧‧ memory unit

NU‧‧‧串列單位 NU‧‧‧ tandem units

S100、S102、S104‧‧‧步驟 S100, S102, S104‧‧‧ steps

S200、S202、S204...、S216‧‧‧步驟 S200, S202, S204..., S216‧‧‧ steps

SGD、SGS‧‧‧選擇閘極線 SGD, SGS‧‧‧ select gate line

SL‧‧‧共同源線 SL‧‧‧Common source line

TD、TS‧‧‧選擇電晶體 TD, TS‧‧‧ select transistor

Vers‧‧‧抹除電壓 Vers‧‧‧ erase voltage

Vpass‧‧‧脈衝電壓 Vpass‧‧‧ pulse voltage

Vprog‧‧‧程式化電壓 Vprog‧‧‧ stylized voltage

Vread‧‧‧讀出脈衝電壓 Vread‧‧‧Read pulse voltage

WL0、WL1、WL2、WL31‧‧‧字元線 WL0, WL1, WL2, WL31‧‧‧ character line

第1A圖與第1B圖為根據先前技術之用於輸出啟動碼之半導體記憶體系統的組成的示意圖。 1A and 1B are schematic views of the composition of a semiconductor memory system for outputting a boot code according to the prior art.

第2圖為根據本發明實施例之快閃記憶體的一組成範例的示意圖。 2 is a schematic diagram showing an example of the composition of a flash memory according to an embodiment of the present invention.

第3圖為根據本發明實施例之NAND串列的組成的電路圖。 Figure 3 is a circuit diagram showing the composition of a NAND string in accordance with an embodiment of the present invention.

第4圖為施加於本發明實施例之快閃記憶體各單元的電壓的一範例的示意圖。 Fig. 4 is a view showing an example of voltage applied to each unit of the flash memory of the embodiment of the present invention.

第5圖為包括本發明實施例之快閃記憶體的系統的概略示意圖。 Fig. 5 is a schematic diagram showing a system including a flash memory according to an embodiment of the present invention.

第6圖為設定快閃記憶體的啟動時讀出頁面位址的流程圖。 Figure 6 is a flow chart for setting the address of the page when the flash memory is started.

第7圖為設定位址資訊至快閃記憶體的一範例的示意圖。 Figure 7 is a diagram showing an example of setting address information to flash memory.

第8圖為根據本發明實施例之快閃記憶體的操作的流程圖。 Figure 8 is a flow chart showing the operation of the flash memory in accordance with an embodiment of the present invention.

第9圖為根據本發明實施例之快閃記憶體的啟動時操作的示意圖。 Figure 9 is a schematic diagram of the startup operation of the flash memory according to an embodiment of the present invention.

以下參照圖式詳細說明本發明的實施例。另外,須注意的是,為容易理解起見,圖式中各部件的大小比例會有所調整,而可能與實際裝置中的大小比例不同。 Embodiments of the present invention will be described in detail below with reference to the drawings. In addition, it should be noted that, for the sake of easy understanding, the size ratio of each component in the drawing may be adjusted, and may be different from the size ratio in the actual device.

第2圖為根據本發明實施例之快閃記憶體的組 成示意圖,須注意的是,第2圖所示的快閃記憶體組成僅為示例性,本發明並不必然侷限於此種組成。 2 is a group of flash memory according to an embodiment of the present invention In the schematic diagram, it should be noted that the flash memory composition shown in FIG. 2 is merely exemplary, and the present invention is not necessarily limited to such a composition.

本實施例中的快閃記憶體100包括:記憶體陣列110,由以行列形式排列的複數個記憶體單元所組成;輸入/輸出緩衝器120,連接至外部輸入/輸出端子I/O並保存輸入/輸出資料;位址暫存器130,用以從輸入/輸出緩衝器120接收位址資料;資料暫存器140,用以保存輸入/輸出資料;控制器150,用以根據來自輸入/輸出緩衝器120的指令資料以及外部控制訊號(圖中未表示的晶片致能(chip enable)訊號和位址鎖存致能(address latch enable)訊號等),供給控制各單元的控制訊號C1、C2、C3等;字元線選擇電路160,用以解碼從位址暫存器130接收的列位址資訊Ax,並根據解碼結果進行記憶體區塊(block)的選擇和字元線的選擇等;頁面緩衝器/感測電路170,用以保存從字元線選擇電路160所選擇之頁面中讀出的資料,並保存待寫入至所選擇之頁面的資料;行選擇電路180,用以解碼從位址暫存器130接收的行位址Ay,並根據解碼結果選擇頁面緩衝器170內的行資料;以及內部電壓產生電路190,用以產生資料讀出、程式化和抹除等所必要的電壓(程式化電壓Vprog、脈衝電壓Vpass、讀出脈衝電壓Vread、抹除電壓Vers等)。 The flash memory 100 in this embodiment includes: a memory array 110 composed of a plurality of memory cells arranged in a matrix; an input/output buffer 120 connected to an external input/output terminal I/O and saved. Input/output data; address register 130 for receiving address data from input/output buffer 120; data register 140 for storing input/output data; controller 150 for inputting from/ The command data of the output buffer 120 and an external control signal (a chip enable signal and an address latch enable signal (not shown) are provided to control the control signals C1 of each unit. C2, C3, etc.; the word line selection circuit 160 is configured to decode the column address information Ax received from the address register 130, and perform memory block selection and word line selection according to the decoding result. And a page buffer/sense circuit 170 for holding data read from a page selected by the word line selection circuit 160 and storing data to be written to the selected page; the row selection circuit 180, Temporary storage from the address 130 received row address Ay, and selects row data in page buffer 170 according to the decoding result; and internal voltage generating circuit 190 for generating voltages necessary for data reading, programming, erasing, etc. (stylized voltage Vprog, pulse voltage Vpass, read pulse voltage Vread, erase voltage Vers, etc.).

記憶體陣列110具有沿行方向配置的區塊BLK(0)、BLK(1)、...、BLK(m)。區塊的一端配置有頁面緩衝器/感測電路170。儘管如此,頁面緩衝器/感測電路170也可配置於區塊的另一端或區塊的二端。 The memory array 110 has blocks BLK(0), BLK(1), ..., BLK(m) arranged in the row direction. A page buffer/sense circuit 170 is disposed at one end of the block. Nonetheless, the page buffer/sense circuit 170 can also be configured at the other end of the block or at both ends of the block.

如第3圖所示,1個記憶體區塊由複數個NAND串列單位NU形成,1個記憶體區塊內配置有n+1個沿列方向配置的串列單位NU。每個串列單位NU的組成包括串聯連接之複數個記憶體單元MCi(i=0,1,...,31)、位於串列單位NU之一端並連接至記憶體單元MC31之汲極側的選擇電晶體TD以及位於串列單位NU之另一端並連接至記憶體單元MC0之源極側的選擇電晶體TS。每個選擇電晶體TD的汲極連接至其所對應的1條位元線GBL,而選擇電晶體TS的源極連接至共同源極線SL。 As shown in FIG. 3, one memory block is formed by a plurality of NAND string units NU, and n+1 pieces of serial units NU arranged in the column direction are arranged in one memory block. The composition of each serial unit NU includes a plurality of memory cells MCi (i = 0, 1, ..., 31) connected in series, one end of the serial unit NU and connected to the drain side of the memory cell MC31. The selection transistor TD and the selection transistor TS located at the other end of the serial unit NU and connected to the source side of the memory cell MC0. The drain of each of the selection transistors TD is connected to its corresponding one bit line GBL, and the source of the selection transistor TS is connected to the common source line SL.

記憶體單元MCi的控制閘極連接至字元線WLi。選擇電晶體TD和TS的閘極分別連接至與字元線WLi平行延伸的選擇閘極線SGD和SGS。在字元線選擇電路160根據列位址Ax選擇記憶體區塊的時候,會透過該記憶體區塊的選擇閘極線SGS、SGD選擇性地驅動選擇電晶體TD、TS。 The control gate of the memory cell MCi is connected to the word line WLi. The gates of the selection transistors TD and TS are respectively connected to the selection gate lines SGD and SGS extending in parallel with the word line WLi. When the word line selection circuit 160 selects a memory block based on the column address Ax, the selection transistors TD, TS are selectively driven through the selection gate lines SGS, SGD of the memory block.

傳統上記憶體單元具有一金氧半導體(Metal Oxide Semiconductor,MOS)結構,該MOS結構包括形成於P井區內之N型擴散區域所構成的源極/汲極、形成於源極/汲極之間的通道上的穿隧氧化膜(tunnel oxide film)、形成於穿隧氧化膜上的浮動閘極(電荷蓄積層)以及在浮動閘極上透過介電層形成的控制閘極。在浮動閘極中沒有蓄積電荷時,也就是寫入資料「1」時,閾值處於負值且記憶體單元為正常開啟(normally on)。在浮動閘極中有蓄積電荷時,也就是寫入資料「0」時,閾值朝正值方向偏移且記憶單元 為正常關閉(normally off)。 Conventionally, the memory cell has a Metal Oxide Semiconductor (MOS) structure including a source/drain formed by an N-type diffusion region formed in the P well region, and is formed at the source/drain A tunnel oxide film on the channel, a floating gate (charge accumulation layer) formed on the tunnel oxide film, and a control gate formed on the floating gate through the dielectric layer. When there is no accumulated charge in the floating gate, that is, when the data "1" is written, the threshold is at a negative value and the memory cell is normally on. When there is accumulated charge in the floating gate, that is, when data "0" is written, the threshold is shifted toward the positive direction and the memory unit Normally off.

第4圖為快閃記憶體的各種操作中所施加的偏壓電壓的一範例的示意圖。在讀出操作中,施加一特定正電壓於位元線,施加一特定電壓(例如0V)於所選擇的字元線(選擇字元線),施加脈衝電壓Vpass(例如4.5V)於非選擇字元線,施加正電壓(例如4.5V)於選擇閘極線SGD和SGS,開啟位元線選擇電晶體TD和源極線選擇電晶體TS,並施加0V於共同源極線SL。在程式化(寫入)操作中,施加高電壓的程式化電壓Vprog(15~20V)於所選擇的字元線,施加中間電位之電壓(例如10V)於非選擇字元線,開啟位元線選擇電晶體TD,關閉源極線選擇電晶體TS,並將對應於資料「0」或「1」之電位供給至位元線GBL。在抹除操作中,施加0V於區塊內的選擇字元線,施加高電壓(例如20V)於P井區,將浮動閘極的電子拉至基板而以區塊為單位抹除資料。 Fig. 4 is a diagram showing an example of a bias voltage applied in various operations of the flash memory. In the read operation, a specific positive voltage is applied to the bit line, a specific voltage (eg, 0V) is applied to the selected word line (select word line), and a pulse voltage Vpass (eg, 4.5V) is applied to the non-selection. The word line is applied with a positive voltage (for example, 4.5 V) to select the gate lines SGD and SGS, the bit line selection transistor TD and the source line selection transistor TS are turned on, and 0 V is applied to the common source line SL. In the stylized (write) operation, a high voltage stylized voltage Vprog (15~20V) is applied to the selected word line, and an intermediate potential voltage (for example, 10V) is applied to the unselected word line to turn on the bit. The line selection transistor TD turns off the source line selection transistor TS and supplies the potential corresponding to the data "0" or "1" to the bit line GBL. In the erase operation, 0V is applied to the selected word line in the block, a high voltage (for example, 20V) is applied to the P well region, the electrons of the floating gate are pulled to the substrate, and the data is erased in units of blocks.

第5圖為包括本實施例之快閃記憶體的系統的一範例的示意圖。如第5圖所示,系統200包括主機裝置210以及連接至主機裝置210的記憶體模組220。主機裝置210並未特別限定,但其可為電腦、數位相機、印表機等電子設備或搭載於晶片組的晶片。記憶體模組220包括與第1圖所示之記憶體控制器14具有相同功能的記憶體控制器230以及快閃記憶體100。記憶體控制器230控制主機裝置210與快閃記憶體100之間的資料傳送。 Fig. 5 is a schematic diagram showing an example of a system including the flash memory of the embodiment. As shown in FIG. 5, system 200 includes a host device 210 and a memory module 220 coupled to host device 210. The host device 210 is not particularly limited, but may be an electronic device such as a computer, a digital camera, or a printer, or a wafer mounted on a wafer set. The memory module 220 includes a memory controller 230 and a flash memory 100 having the same functions as the memory controller 14 shown in FIG. The memory controller 230 controls data transfer between the host device 210 and the flash memory 100.

以下說明快閃記憶體的位址資訊設定。一開始,為了將啟動時最初讀出之位址資訊設定至快閃記憶 體,由主機裝置執行使用者指令。第6圖所示為位址資訊的設定操作的流程圖。 The following describes the address information setting of the flash memory. Initially, in order to set the address information initially read at startup to the flash memory The user command is executed by the host device. Figure 6 is a flow chart showing the setting operation of the address information.

首先,開始用來程式化來自主機裝置210之位址資訊的指令(步驟S100)。此指令為使用者所使用的使用者指令,與一般程式化開始指令(80h、81h、85h)的程序不同。當開始程式化位址資訊的指令時,主機裝置210對快閃記憶體100發送預設的指令以及外部控制訊號,以將系統啟動時最初讀出之位址資訊設定至快閃記憶體100。 First, an instruction to program address information from the host device 210 is started (step S100). This command is a user command used by the user, and is different from the program of the general stylized start command (80h, 81h, 85h). When the instruction to program the address information is started, the host device 210 transmits a preset command and an external control signal to the flash memory 100 to set the address information initially read when the system is started to the flash memory 100.

接著,使用者指定啟動時最初讀出之位址資訊並輸入所指定的啟動時最初讀出之位址資訊(步驟S102)。在一較佳實施例中,位址資訊包括記憶體陣列110內的頁面位址。可由使用者指定的頁面位址位於記憶體陣列110中的區域內。主機裝置210中的輸入位址資訊透過記憶體控制器230暫時保存於例如快閃記憶體100的資料暫存器140。 Next, the user specifies the address information initially read at the time of startup and inputs the address information originally read at the time of startup (step S102). In a preferred embodiment, the address information includes page addresses within the memory array 110. The page address that can be specified by the user is located in the area in the memory array 110. The input address information in the host device 210 is temporarily stored in the data register 140 of the flash memory 100, for example, via the memory controller 230.

接著,由主機裝置210執行程式化確認指令(步驟S104)。回應此指令的執行,快閃記憶體100進行位址資訊的程式化。在一較佳實施例中,控制器150將保存於資料暫存器140中的位址資訊程式化至快閃記憶體啟動時必須存取或參照的組態暫存器(Configuration Register,CR)。第7圖為組態暫存器的一組成例,組態暫存器240將從主機裝置210接收的頁面位置儲存於位址儲存區域242,並將表示儲存頁面位址事件的旗標(flag),例如「1」,儲存於旗標區域244。另一方面,在頁面位址未被程式化的情況下,旗標保持為「0」。 Next, the host device 210 executes a stylization confirmation command (step S104). In response to the execution of this instruction, the flash memory 100 performs stylization of the address information. In a preferred embodiment, the controller 150 programs the address information stored in the data buffer 140 to a configuration register (CR) that must be accessed or referenced during flash memory startup. . Figure 7 is a block diagram of a configuration register. The configuration register 240 stores the page location received from the host device 210 in the address storage area 242 and will indicate a flag for storing the page address event (flag For example, "1" is stored in the flag area 244. On the other hand, if the page address is not stylized, the flag remains "0".

組態暫存器240為設定快閃記憶體100之操作資訊的暫存器,舉例而言,在組態暫存器240的其他區域中設定有快閃記憶體啟動時所必須的資訊。舉例而言,在半導體晶圓(wafer)階段檢測所選擇的晶片或測試用元件的電路特性,然後儲存用來根據上述檢測結果設定快閃記憶體之操作的調整碼(trimming code)或調整位階(trimming level)。在一般操作下,使用者不能看見組態暫存器240的儲存內容,但可藉由執行特定模式或指令確認儲存內容。在一較佳實施例中,控制器150包括用於回應主機裝置210執行使用者指令而將頁面位址程式化至組態暫存器的韌體或狀態機器(state machine)等。 The configuration register 240 is a register for setting the operation information of the flash memory 100. For example, information necessary for the startup of the flash memory is set in other areas of the configuration register 240. For example, detecting the circuit characteristics of the selected wafer or test component at a semiconductor wafer stage, and then storing a trimming code or adjusting the level for setting the operation of the flash memory according to the above detection result. (trimming level). Under normal operation, the user cannot see the stored content of the configuration register 240, but can confirm the stored content by executing a specific mode or instruction. In a preferred embodiment, the controller 150 includes a firmware or state machine for programming the page address to the configuration register in response to the host device 210 executing the user command.

接著,參照第8圖之流程圖說明系統啟動時快閃記憶體的資料自動傳送。當第5圖所示之系統200啟動時,開啟快閃記憶體100的電源(步驟S200),控制器150執行電源開啟程序(power up sequence)。在一較佳實施例中,控制器150包括執行電源開啟程序的程式或狀態機器。在電源開啟程序中,控制器150存取組態暫存器240,檢查(確認)設定於旗標區域244的旗標,以決定接下來的內部操作。若啟動(boot up)之頁面位址並未被程式化,也就是說,若旗標為「0」,則快閃記憶體100進行與往常相同的啟動,等待來自主機裝置210的最初指令的輸入(步驟S204)。 Next, the automatic transfer of data of the flash memory at the time of system startup will be described with reference to the flowchart of FIG. When the system 200 shown in FIG. 5 is activated, the power of the flash memory 100 is turned on (step S200), and the controller 150 executes a power up sequence. In a preferred embodiment, controller 150 includes a program or state machine that executes a power on procedure. In the power-on procedure, the controller 150 accesses the configuration register 240 to check (confirm) the flag set in the flag area 244 to determine the next internal operation. If the boot up page address is not stylized, that is, if the flag is "0", the flash memory 100 performs the same startup as usual, waiting for the initial instruction from the host device 210. Input (step S204).

另一方面,若旗標被設定為「1」,由於啟動時最初讀出之頁面位址已被程式化,控制器150執行內部指令「00h」(步驟S206),從組態暫存器240的位址儲存區域242 讀出頁面位址(步驟S208),將所讀出的頁面位址設定至位址暫存器130(步驟S210)。然後,控制器150執行內部指令「30h」(步驟S212)。回應於控制器150執行內部指令「30h」,字元線選擇電路160選擇頁面位址,所選擇之頁面位址的頁面資料被傳送至頁面緩衝器170(步驟S214)。傳送至頁面緩衝器170的頁面資料,也就是啟動的資料,藉由回應讀出用時脈訊號RE#之觸發(toggle),從輸入/輸出緩衝器120輸出至記憶體控制器230或主機裝置210(步驟S216)。 On the other hand, if the flag is set to "1", since the page address originally read at the time of startup has been programmed, the controller 150 executes the internal command "00h" (step S206), from the configuration register 240. Address storage area 242 The page address is read (step S208), and the read page address is set to the address register 130 (step S210). Then, the controller 150 executes the internal command "30h" (step S212). In response to the controller 150 executing the internal command "30h", the word line selection circuit 160 selects the page address, and the page material of the selected page address is transferred to the page buffer 170 (step S214). The page data transmitted to the page buffer 170, that is, the activated data, is output from the input/output buffer 120 to the memory controller 230 or the host device by responding to the toggle of the read clock signal RE#. 210 (step S216).

第9圖為第8圖之流程圖的模式表示。如第9圖所示,檢查組態暫存器240的旗標的二進位值(操作1),若旗標為「1」,則讀出頁面位址M(操作2),然後將頁面位址M保存於位址暫存器130(操作3)。接著,執行讀出確認指令(操作4),讀出頁面位址M的頁面資料並傳送至頁面緩衝器170(操作5)。 Figure 9 is a schematic representation of the flow chart of Figure 8. As shown in FIG. 9, the binary value of the flag of the configuration register 240 is checked (operation 1). If the flag is "1", the page address M is read (operation 2), and then the page address is set. M is stored in the address register 130 (Operation 3). Next, a read confirmation command (operation 4) is executed, and the page material of the page address M is read and transferred to the page buffer 170 (operation 5).

藉由本實施例,啟動時或開啟電源時,快閃記憶體可在內部設定讀出指令以及頁面位址,頁面位址的資料會被自動傳送至頁面緩衝器並從頁面緩衝器輸出,因此,系統可省略指令、位址輸入以及初次讀出忙碌(tR)的偵測,減少系統啟動時最初讀出的等待時間。 With the embodiment, when the power is turned on or turned on, the flash memory can internally set the read command and the page address, and the page address data is automatically transferred to the page buffer and output from the page buffer, therefore, The system can omit instructions, address inputs, and initial read busy (tR) detection, reducing the wait time initially read when the system is booted.

除此之外,由於啟動時最初讀出之頁面位址可設定至任何屬於使用者區域的地方,因此可擴大位址映射的自由度。藉由執行第6圖所示的使用者指令,被程式化至組態暫存器的頁面位址可任意替換為其他頁面位址。舉例而言,當快閃記憶體之記憶體陣列發生缺陷時,為了避免 用到發生缺陷之區塊,可變更啟動時的讀出頁面位址。 In addition, since the page address initially read at startup can be set to any place belonging to the user area, the degree of freedom of address mapping can be expanded. By executing the user instruction shown in Figure 6, the page address that is programmed into the configuration register can be arbitrarily replaced with another page address. For example, when a memory array of a flash memory is defective, in order to avoid Use the block where the defect occurred, and change the read page address at startup.

在上述實施例中雖然以將包括頁面位址以及旗標之位址資訊程式化至組態暫存器為例,但位址資訊並不侷限於被程式化至組態暫存器,也可被程式化至在電源開啟程序中控制器150所存取或參照的其他可非揮發性覆寫的暫存器。除此之外,儲存於啟動時最初讀出之頁面位址的啟動資料可由使用者自由程式化。另外,在上述實施例中雖然以「00h」、「30h」作為快閃記憶體所執行的內部讀出指令的範例,但本發明並不侷限於此,簡言之,也可以是在電源開啟程序中快閃記憶體不從外部接收指令的前提下可根據內部讀出指令讀出設定至暫存器中的頁面位址的指令或控制訊號。另外,在上述實施例中雖然以記憶體單元儲存二值資料的快閃記憶體為例,但本發明並不侷限於此,舉例而言,本發明也適用於記憶體單元儲存多值資料的快閃記憶體。 In the above embodiment, although the address information including the page address and the flag is programmed into the configuration register, the address information is not limited to being programmed into the configuration register. It is stylized to other non-volatile overwrite registers that are accessed or referenced by controller 150 in the power-on sequence. In addition, the startup data stored in the page address initially read at startup can be freely programmed by the user. Further, in the above embodiment, although "00h" and "30h" are used as examples of the internal read command executed by the flash memory, the present invention is not limited thereto, and in short, it may be turned on at the power source. In the program, the flash memory can read the command or control signal set to the page address in the scratchpad according to the internal read command without receiving the command from the outside. In the above embodiment, although the flash memory storing the binary data in the memory unit is taken as an example, the present invention is not limited thereto. For example, the present invention is also applicable to the storage of multi-value data in the memory unit. Flash memory.

上述詳細說明了本發明的較佳實施例,但須注意的是,本發明並不限定於此特定的實施例。所屬技術領域具有通常知識者可在不背離如申請專利範圍所記載之本發明的精神與範圍下可做出各種改變、取代和交替。 The preferred embodiments of the present invention have been described in detail above, but it should be noted that the invention is not limited to the specific embodiments. A person skilled in the art can make various changes, substitutions and substitutions without departing from the spirit and scope of the invention as set forth in the appended claims.

1‧‧‧旗標檢查 1‧‧‧ Flag check

2‧‧‧讀出頁面位址M 2‧‧‧Read page address M

3‧‧‧傳送頁面位址M至位址暫存器 3‧‧‧Transfer page address M to address register

4‧‧‧執行讀出確認指令 4‧‧‧Execute read confirmation command

5‧‧‧傳送頁面位址M的資料至頁面緩衝器 5‧‧‧Transfer page address M data to page buffer

130‧‧‧位址暫存器 130‧‧‧ address register

170‧‧‧頁面緩衝器 170‧‧‧Page Buffer

240‧‧‧組態暫存器 240‧‧‧Configuration register

242‧‧‧位址儲存區域 242‧‧‧ Address storage area

244‧‧‧旗標區域 244‧‧‧ Flag area

Claims (11)

一種半導體記憶裝置,包括:一記憶體陣列,由非揮發性記憶體單元所構成;一設定單元,用以設定啟動時最初讀出之上述記憶體陣列的頁面位址;以及一控制單元,執行一內部程序,以在啟動時從上述設定單元讀出頁面位址,並根據所讀出之頁面位址將對應於所讀出之頁面位址的頁面資料從上述記憶體陣列傳送至一頁面緩衝器。 A semiconductor memory device comprising: a memory array composed of a non-volatile memory unit; a setting unit configured to set a page address of the memory array initially read at startup; and a control unit to execute An internal program for reading a page address from the setting unit at startup, and transferring page data corresponding to the read page address from the memory array to a page buffer according to the read page address Device. 如申請專利範圍第1項所述之半導體記憶裝置,其中上述設定單元更設定用以識別是否已儲存頁面位址的識別資訊,上述控制單元根據上述識別資訊決定是否執行上述內部程序。 The semiconductor memory device of claim 1, wherein the setting unit further sets identification information for identifying whether a page address has been stored, and the control unit determines whether to execute the internal program according to the identification information. 如申請專利範圍第1項所述之半導體記憶裝置,其中上述設定單元包括於啟動時上述控制單元所存取的一暫存器,上述暫存器將頁面位址儲存於一預定區域。 The semiconductor memory device of claim 1, wherein the setting unit comprises a temporary register accessed by the control unit at the time of startup, and the temporary storage device stores the page address in a predetermined area. 如申請專利範圍第3項所述之半導體記憶裝置,其中上述暫存器更儲存用以表示是否已儲存頁面位址的旗標資訊。 The semiconductor memory device of claim 3, wherein the register further stores flag information indicating whether a page address has been stored. 如申請專利範圍第1項所述之半導體記憶裝置,其中上述設定單元回應一主機裝置所執行之使用者指令而設定上述頁面位址。 The semiconductor memory device of claim 1, wherein the setting unit sets the page address in response to a user instruction executed by a host device. 如申請專利範圍第1項所述之半導體記憶裝置,其中上述內部程序為開啟上述半導體記憶裝置之電源時所執 行的一電源開啟程序,且上述內部程序包括讀出指令的執行。 The semiconductor memory device of claim 1, wherein the internal program is executed when the power of the semiconductor memory device is turned on. A power-on program of the line, and the above internal program includes execution of the read command. 如申請專利範圍第1項所述之半導體記憶裝置,其中上述半導體記憶裝置為一快閃記憶體。 The semiconductor memory device of claim 1, wherein the semiconductor memory device is a flash memory. 一種系統啟動方法,適用於包括一半導體記憶裝置以及一主機裝置的一系統,包括:將啟動時最初讀出之記憶體陣列的頁面位址設定至上述半導體記憶裝置;執行一內部程序,以在上述半導體記憶裝置啟動時讀出所設定之頁面位址,並根據所讀出之頁面位址將對應於所讀出之頁面位址的頁面資料從上述記憶體陣列傳送至一頁面緩衝器。 A system startup method for a system including a semiconductor memory device and a host device includes: setting a page address of a memory array initially read at startup to the semiconductor memory device; executing an internal program to The semiconductor memory device reads the set page address when starting, and transfers the page data corresponding to the read page address from the memory array to a page buffer according to the read page address. 如申請專利範圍第8項所述之系統啟動方法,其中上述將啟動時最初讀出之記憶體陣列的頁面位址設定至上述半導體記憶裝置的步驟包括根據上述主機裝置所執行之使用者指令將上述頁面位址程式化至一暫存器。 The system startup method of claim 8, wherein the step of setting a page address of the memory array initially read at the time of startup to the semiconductor memory device comprises: according to a user instruction executed by the host device The above page address is stylized into a scratchpad. 一種電腦程式產品,由一半導體記憶裝置執行以進行一啟動方法,上述啟動方法包括:執行一內部程序,從設定有啟動時最初讀出之頁面位址的一暫存器讀出上述頁面位址,並根據所讀出之頁面位址將對應於所讀出之頁面位址的頁面資料從一記憶體陣列傳送至一頁面緩衝器。 A computer program product is executed by a semiconductor memory device for performing a booting method, the booting method comprising: executing an internal program, reading the page address from a temporary register configured with a page address initially read when booting And transferring the page data corresponding to the read page address from a memory array to a page buffer according to the read page address. 如申請專利範圍第10項所述之電腦程式產品,其中上述啟動方法更包括: 根據用以識別是否已將上述頁面位址設定至上述暫存器的識別資訊執行上述內部程序。 The computer program product of claim 10, wherein the starting method further comprises: The above internal procedure is executed based on the identification information for identifying whether the above page address has been set to the above temporary register.
TW102144175A 2013-12-03 2013-12-03 Semiconductor memory device, system starting-up method and computer program product TWI515566B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102144175A TWI515566B (en) 2013-12-03 2013-12-03 Semiconductor memory device, system starting-up method and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102144175A TWI515566B (en) 2013-12-03 2013-12-03 Semiconductor memory device, system starting-up method and computer program product

Publications (2)

Publication Number Publication Date
TW201523252A true TW201523252A (en) 2015-06-16
TWI515566B TWI515566B (en) 2016-01-01

Family

ID=53935634

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102144175A TWI515566B (en) 2013-12-03 2013-12-03 Semiconductor memory device, system starting-up method and computer program product

Country Status (1)

Country Link
TW (1) TWI515566B (en)

Also Published As

Publication number Publication date
TWI515566B (en) 2016-01-01

Similar Documents

Publication Publication Date Title
US11915759B2 (en) Memory system for restraining threshold variation to improve data reading
JP2009026447A (en) Memory device for programming selection transistor, its programming method, and memory system using the same
US8605512B2 (en) Nonvolatile semiconductor memory device and method of operating a nonvolatile memory device
JP2009301616A (en) Nonvolatile semiconductor storage device
CN107766171B (en) NAND flash memory and reading method thereof
JP2005108273A (en) Nonvolatile semiconductor memory device
US20120051133A1 (en) Nonvolatile semiconductor storage device
US9514826B2 (en) Programming method for NAND-type flash memory
US8942048B2 (en) Semiconductor device and method of operating the same
JP5744118B2 (en) Semiconductor memory device
US9953170B2 (en) Semiconductor memory device, semiconductor system and reading method
JP2004095001A (en) Nonvolatile semiconductor storage device, system for incorporating nonvolatile semiconductor storage device and method for detecting defective block
US7660163B2 (en) Method and unit for verifying initial state of non-volatile memory device
JP2010218623A (en) Nonvolatile semiconductor storage device
TWI515566B (en) Semiconductor memory device, system starting-up method and computer program product
CN104750584B (en) Semiconductor storage and system start method
KR101614521B1 (en) Semiconductor memory device, system starting-up method and computer readable medium
KR101633442B1 (en) Semiconductor memory device, semiconductor system and reading method
KR20140005050A (en) Non volatile memory device and operating method thereof
JP3544222B2 (en) Nonvolatile semiconductor memory device
TWI537963B (en) Semiconductor memory device, semiconductor system and reading method
US9467050B2 (en) Semiconductor apparatus having transfer circuit transferring high voltage
JP2013157072A (en) Nand type flash memory