TW201525866A - Method of enabling sleep mode, memory control circuit unit and storage apparatus - Google Patents

Method of enabling sleep mode, memory control circuit unit and storage apparatus Download PDF

Info

Publication number
TW201525866A
TW201525866A TW102148530A TW102148530A TW201525866A TW 201525866 A TW201525866 A TW 201525866A TW 102148530 A TW102148530 A TW 102148530A TW 102148530 A TW102148530 A TW 102148530A TW 201525866 A TW201525866 A TW 201525866A
Authority
TW
Taiwan
Prior art keywords
memory
potential
sleep
logic potential
storage device
Prior art date
Application number
TW102148530A
Other languages
Chinese (zh)
Other versions
TWI512623B (en
Inventor
Ming-Jen Liang
Original Assignee
Phison 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 Phison Electronics Corp filed Critical Phison Electronics Corp
Priority to TW102148530A priority Critical patent/TWI512623B/en
Publication of TW201525866A publication Critical patent/TW201525866A/en
Application granted granted Critical
Publication of TWI512623B publication Critical patent/TWI512623B/en

Links

Abstract

A sleep mode enabling method for a memory storage apparatus is provided. The method includes determining a device sleep signal pin in the memory storage apparatus is at a second logic level opposite to a first logic level, wherein the memory storage apparatus entries a sleep mode in response the device sleep signal pin being at the first logic level. The method also includes, if yes, enabling a device sleep function of the memory storage apparatus.

Description

休眠模式啟動方法、記憶體控制電路單元及儲存裝置 Sleep mode starting method, memory control circuit unit and storage device

本發明是有關於一種作動記憶體儲存裝置進入休眠模式的方法以及使用此方法的記憶體控制電路單元以及記憶體儲存裝置。 The present invention relates to a method of operating a memory storage device into a sleep mode, and a memory control circuit unit and a memory storage device using the same.

由於可複寫式非揮發性記憶體(rewritable non-volatile memory)具有資料非揮發性、省電、體積小、無機械結構、讀寫速度快等特性,因此,近年可複寫式非揮發性記憶體產業成為電子產業中相當熱門的一環。例如,以快閃記憶體作為儲存媒體的固態硬碟(Solid-state drive)已廣泛應用作為電腦主機的硬碟,以提升電腦的存取效能。此外,由於環保意識的抬頭,綠色科技成為電子製造商魯力的目標。為了避免磁碟機在使用者未使用下還持續耗電,固態硬碟已被設計支援裝置休眠訊號(Device Sleep Signal)協定。然而,由於裝置休眠訊號是透過電源連接介面的其中一個接腳來傳遞,因此,在主機系統的電源供應介面未支援裝置休眠 訊號協定的例子中,當主機系統一開機時,固態硬碟會因為電源供應介面上的訊號而誤動作地直接進入休眠模式,而無法運作。 Because rewritable non-volatile memory has the characteristics of non-volatile data, power saving, small size, no mechanical structure, fast reading and writing speed, etc., in recent years, rewritable non-volatile memory Industry has become a very popular part of the electronics industry. For example, a solid-state drive using flash memory as a storage medium has been widely used as a hard disk for a computer to improve the accessibility of a computer. In addition, due to the rise of environmental awareness, green technology has become the goal of electronics manufacturer Lu Li. In order to prevent the drive from continuing to consume power when the user is not using it, the solid state drive has been designed to support the Device Sleep Signal protocol. However, since the device sleep signal is transmitted through one of the pins of the power connection interface, the power supply interface of the host system does not support device sleep. In the example of the signal protocol, when the host system is powered on, the solid state hard disk may go into sleep mode by mistake due to the signal on the power supply interface, and cannot operate.

本發明提供一種偵測可複寫式非揮發性記憶體模組的方 法、記憶體控制電路單元及記憶體儲存裝置,其能夠有效地避免誤進入休眠模式。 The invention provides a method for detecting a rewritable non-volatile memory module The method, the memory control circuit unit and the memory storage device are capable of effectively avoiding accidentally entering the sleep mode.

據此,本發明一範例實施例提出一種用於記憶體儲存裝置的休眠模式啟動方法。本休眠模式啟動方法包括:(a)當從主機系統接收到啟用裝置休眠功能指令時,判斷記憶體儲存裝置的裝置休眠訊號接腳上之電位訊號是否處於與第一邏輯電位不同的第二邏輯電位;以及(b)倘若在步驟(a)中判斷記憶體儲存裝置的裝置休眠訊號接腳上之電位訊號處於第二邏輯電位時,開啟記憶體儲存裝置的裝置休眠功能。此外,上述休眠模式啟動方法更包括:(c)在開啟記憶體儲存裝置的裝置休眠功能之後,偵測記憶體儲存裝置的裝置休眠訊號接腳上之電位訊號是否從第二邏輯電位改變為第一邏輯電位;以及(d)倘若在步驟(c)中偵測到記憶體儲存裝置的裝置休眠訊號接腳上之電位訊號從第二邏輯電位改變為第一邏輯電位時,啟動記憶體儲存裝置進入休眠模式。 Accordingly, an exemplary embodiment of the present invention provides a sleep mode activation method for a memory storage device. The sleep mode starting method comprises: (a) determining, when receiving an enable device sleep function command from the host system, whether the potential signal on the device sleep signal pin of the memory storage device is in a second logic different from the first logic potential And (b) if it is determined in step (a) that the potential signal on the device sleep signal pin of the memory storage device is at the second logic potential, the device sleep function of the memory storage device is turned on. In addition, the sleep mode starting method further includes: (c) detecting whether the potential signal on the device sleep signal pin of the memory storage device changes from the second logic potential to the first after the device sleep function of the memory storage device is turned on. a logic potential; and (d) if the potential signal on the device sleep signal pin of the memory storage device is detected in step (c) to change from the second logic potential to the first logic potential, the memory storage device is activated Enter sleep mode.

在本發明之一範例實施例中,上述休眠模式啟動方法更包括:倘若在步驟(a)中判斷記憶體儲存裝置的裝置休眠訊號接腳上之電位訊號不處於第二邏輯電位時,不開啟記憶體儲存裝置的 裝置休眠功能。 In an exemplary embodiment of the present invention, the sleep mode starting method further includes: if it is determined in step (a) that the potential signal on the device sleep signal pin of the memory storage device is not at the second logic potential, the method does not turn on. Memory storage device Device sleep function.

在本發明之一範例實施例中,上述第一邏輯電位為一高邏輯電位且第二邏輯電位為一低邏輯電位。 In an exemplary embodiment of the invention, the first logic potential is a high logic potential and the second logic potential is a low logic potential.

在本發明之一範例實施例中,上述休眠模式啟動方法更包括:在記憶體儲存裝置進入休眠模式後,偵測記憶體儲存裝置的裝置休眠訊號接腳上之電位訊號是否從第一邏輯電位改變為第二邏輯電位;以及倘若偵測到記憶體儲存裝置的裝置休眠訊號接腳上之電位訊號從第一邏輯電位改變為第二邏輯電位時,使記憶體儲存裝置從休眠模式回復至運作模式。 In an exemplary embodiment of the present invention, the sleep mode activation method further includes: after the memory storage device enters the sleep mode, detecting whether the potential signal on the device sleep signal pin of the memory storage device is from the first logic potential Changing to the second logic potential; and returning the memory storage device from the sleep mode to the operation if the potential signal on the device sleep signal pin of the memory storage device is detected to change from the first logic potential to the second logic potential mode.

在本發明之一範例實施例中,上述裝置休眠訊號接腳配置於記憶體儲存裝置的電源連接介面上。 In an exemplary embodiment of the present invention, the device sleep signal pin is disposed on a power connection interface of the memory storage device.

本發明一範例實施例提出一種記憶體控制電路單元,其包括主機介面、記憶體介面與記憶體管理電路。主機介面用以電連接至主機系統。上述記憶體介面用以耦接至可複寫式非揮發性記憶體模組。上述記憶體管理電路耦接至記憶體介面與主機介面,並用以透過主機介面從主機系統接收到啟用裝置休眠功能指令。當透過主機介面從主機系統接收到啟用裝置休眠功能指令時,上述記憶體管理電路判斷記憶體儲存裝置的裝置休眠訊號接腳上之電位訊號是否處於與第一邏輯電位不同的第二邏輯電位。倘若判斷此裝置休眠訊號接腳上之電位訊號處於第二邏輯電位時,上述記憶體管理電路開啟記憶體儲存裝置的裝置休眠功能。此外,在開啟記憶體儲存裝置的裝置休眠功能之後,上述記憶體 管理電路更用以偵測此裝置休眠訊號接腳上之電位訊號是否從第二邏輯電位改變為第一邏輯電位。倘若偵測到電源連接介面上的裝置休眠訊號接腳上之電位訊號從第二邏輯電位改變為第一邏輯電位時,上述記憶體管理電路開始進入休眠模式。 An exemplary embodiment of the present invention provides a memory control circuit unit including a host interface, a memory interface, and a memory management circuit. The host interface is used to electrically connect to the host system. The memory interface is coupled to the rewritable non-volatile memory module. The memory management circuit is coupled to the memory interface and the host interface, and is configured to receive an enable device sleep function command from the host system through the host interface. When receiving the enable device sleep function command from the host system through the host interface, the memory management circuit determines whether the potential signal on the device sleep signal pin of the memory storage device is at a second logic potential different from the first logic potential. The memory management circuit turns on the device sleep function of the memory storage device if it is determined that the potential signal on the sleep signal pin of the device is at the second logic potential. In addition, after turning on the device sleep function of the memory storage device, the above memory The management circuit is further configured to detect whether the potential signal on the sleep signal pin of the device changes from the second logic potential to the first logic potential. The memory management circuit begins to enter the sleep mode if it is detected that the potential signal on the device sleep signal pin on the power connection interface changes from the second logic potential to the first logic potential.

在本發明之一範例實施例中,倘若在透過資料連接介面 從主機系統接收到啟用裝置休眠功能指令後判斷此裝置休眠訊號接腳上之電位訊號不處於第二邏輯電位時,上述記憶體管理電路不開啟記憶體儲存裝置的裝置休眠功能。 In an exemplary embodiment of the present invention, if the data connection interface is When the host system determines that the potential signal on the sleep signal pin of the device is not at the second logic potential after receiving the enable device sleep function command, the memory management circuit does not turn on the device sleep function of the memory storage device.

在本發明之一範例實施例中,上述電源連接介面為一序 列先進附件電源連接介面且上述資料連接介面為一序列先進附件連接介面。 In an exemplary embodiment of the present invention, the power connection interface is a sequence The advanced accessory power connection interface and the above data connection interface are a series of advanced accessory connection interfaces.

在本發明之一範例實施例中,上述訊號輸出接腳配置於 主機系統的一電源供應連接介面中,且訊號輸出接腳輸出一3.3伏特電壓。 In an exemplary embodiment of the present invention, the signal output pin is configured on A power supply connection interface of the host system, and the signal output pin outputs a 3.3 volt voltage.

在本發明之一範例實施例中,上述記憶體管理電路更用以在進入休眠模式後,偵測記憶體儲存裝置的裝置休眠訊號接腳上之電位訊號是否從第一邏輯電位改變為第二邏輯電位。倘若偵測到記憶體儲存裝置的裝置休眠訊號接腳上之電位訊號從第一邏輯電位改變為第二邏輯電位時,上述記憶體管理電路更用以從休眠模式回復至運作模式。 In an exemplary embodiment of the present invention, the memory management circuit is further configured to detect whether the potential signal on the device sleep signal pin of the memory storage device changes from the first logic potential to the second after entering the sleep mode. Logic potential. The memory management circuit is further configured to return from the sleep mode to the operational mode if the potential signal on the device sleep signal pin of the memory storage device is detected to change from the first logic potential to the second logic potential.

本發明一範例實施例提出一種記憶體儲存裝置,其包括連接介面單元、可複寫式非揮發性記憶體模組與記憶體控制電路 單元。連接介面單元用以耦接至主機系統。可複寫式非揮發性記憶體模組具有多個實體抹除單元。記憶體控制電路單元耦接至連接介面單元與可複寫式非揮發性記憶體模組。記憶體控制電路單元用以透過資料連接介面從主機系統接收到啟用裝置休眠功能指令。當透過資料連接介面從主機系統接收到啟用裝置休眠功能指令時,記憶體控制電路單元判斷裝置休眠訊號接腳上之電位訊號是否處於與第一邏輯電位不同的第二邏輯電位。倘若判斷裝置休眠訊號接腳上之電位訊號處於第二邏輯電位時,記憶體控制電路單元開啟記憶體儲存裝置的裝置休眠功能。此外,在開啟記憶體儲存裝置的裝置休眠功能之後,上述記憶體控制電路單元更用以偵測裝置休眠訊號接腳上之電位訊號是否從第二邏輯電位改變為第一邏輯電位。倘若偵測到電源連接介面上的裝置休眠訊號接腳上之電位訊號從第二邏輯電位改變為第一邏輯電位時,上述記憶體控制電路單元開始進入休眠模式。 An exemplary embodiment of the present invention provides a memory storage device including a connection interface unit, a rewritable non-volatile memory module, and a memory control circuit. unit. The connection interface unit is coupled to the host system. The rewritable non-volatile memory module has a plurality of physical erasing units. The memory control circuit unit is coupled to the connection interface unit and the rewritable non-volatile memory module. The memory control circuit unit is configured to receive an enable device sleep function instruction from the host system through the data connection interface. When receiving the enable device sleep function command from the host system through the data connection interface, the memory control circuit unit determines whether the potential signal on the device sleep signal pin is at a second logic potential different from the first logic potential. If it is determined that the potential signal on the sleep signal pin of the device is at the second logic potential, the memory control circuit unit turns on the device sleep function of the memory storage device. In addition, after the device sleep function of the memory storage device is turned on, the memory control circuit unit is further configured to detect whether the potential signal on the device sleep signal pin changes from the second logic potential to the first logic potential. The memory control circuit unit begins to enter the sleep mode if it is detected that the potential signal on the sleep signal pin of the device on the power connection interface changes from the second logic potential to the first logic potential.

在本發明之一範例實施例中,倘若在透過資料連接介面從主機系統接收到啟用裝置休眠功能指令後判斷裝置休眠訊號接腳上之電位訊號不處於第二邏輯電位時,上述記憶體控制電路單元不開啟記憶體儲存裝置的裝置休眠功能。 In an exemplary embodiment of the present invention, if the potential signal on the sleep signal pin of the device is not at the second logic potential after receiving the enable device sleep function command from the host system through the data connection interface, the memory control circuit The unit does not turn on the device sleep function of the memory storage device.

在本發明之一範例實施例中,上述記憶體控制電路單元更用以在進入休眠模式後,偵測裝置休眠訊號接腳上之電位訊號是否從第一邏輯電位改變為第二邏輯電位。倘若偵測到電源連接介面上的裝置休眠訊號接腳上之電位訊號從第一邏輯電位改變為 第二邏輯電位時,上述記憶體控制電路單元更用以從休眠模式回復至運作模式。 In an exemplary embodiment of the present invention, the memory control circuit unit is further configured to detect whether the potential signal on the sleep signal pin of the device changes from the first logic potential to the second logic potential after entering the sleep mode. If it is detected that the potential signal on the device sleep signal pin on the power connection interface is changed from the first logic potential to When the second logic potential is used, the memory control circuit unit is further configured to return from the sleep mode to the operation mode.

在本發明之一範例實施例中,上述連接介面單元更包括電源連接介面並且上述裝置休眠訊號接腳配置於電源連接介面上。 In an exemplary embodiment of the present invention, the connection interface unit further includes a power connection interface, and the device sleep signal pin is disposed on the power connection interface.

本發明一範例實施例提出一種記憶體控制電路單元,其包括主機介面、記憶體介面與記憶體管理電路。主機介面用以電連接至主機系統。上述記憶體介面用以耦接至可複寫式非揮發性記憶體模組。上述記憶體管理電路耦接至記憶體介面與主機介面,並用以透過主機介面從主機系統接收到啟用裝置休眠功能指令。此外,主機介面具有資料連接介面及電源連接介面,資料連接介面用以接收由第一傳輸線傳送之至少一組差分訊號,電源連接介面用以接收由第二傳輸線傳送之至少一輸入電源,第一傳輸線與第二傳輸線彼此獨立。再者,當透過主機介面從該主機系統接收到啟用裝置休眠功能指令時,記憶體管理電路判斷該電源連接介面的第一接腳上之電位訊號是否處於預定邏輯電位。倘若判斷第一接腳上之電位訊號處於預定邏輯電位時,記憶體管理電路開啟此記憶體儲存裝置的裝置休眠功能。另外,在開啟記憶體儲存裝置的裝置休眠功能之後,記憶體管理電路更用以偵測裝置休眠訊號接腳上之電位訊號是否為第一邏輯電位。倘若偵測到裝置休眠訊號接腳上之電位訊號為第一邏輯電位時,記憶體管理電路開始進入休眠模式。 An exemplary embodiment of the present invention provides a memory control circuit unit including a host interface, a memory interface, and a memory management circuit. The host interface is used to electrically connect to the host system. The memory interface is coupled to the rewritable non-volatile memory module. The memory management circuit is coupled to the memory interface and the host interface, and is configured to receive an enable device sleep function command from the host system through the host interface. In addition, the host interface has a data connection interface and a power connection interface, and the data connection interface is configured to receive at least one set of differential signals transmitted by the first transmission line, and the power connection interface is configured to receive at least one input power transmitted by the second transmission line, first The transmission line and the second transmission line are independent of each other. Moreover, when receiving the enable device sleep function command from the host system through the host interface, the memory management circuit determines whether the potential signal on the first pin of the power connection interface is at a predetermined logic potential. If it is determined that the potential signal on the first pin is at a predetermined logic potential, the memory management circuit turns on the device sleep function of the memory storage device. In addition, after the device sleep function of the memory storage device is turned on, the memory management circuit is further configured to detect whether the potential signal on the sleep signal pin of the device is the first logic potential. If the potential signal on the device sleep signal pin is detected as the first logic potential, the memory management circuit begins to enter the sleep mode.

在本發明之一範例實施例中,上述第一接腳不同於電源連接介面的裝置休眠訊號接腳。 In an exemplary embodiment of the present invention, the first pin is different from the device sleep signal pin of the power connection interface.

在本發明之一範例實施例中,倘若第一接腳上之電位為3.3伏特時,則記憶體管理電路不開啟記憶體儲存裝置的裝置休眠功能。 In an exemplary embodiment of the present invention, if the potential on the first pin is 3.3 volts, the memory management circuit does not turn on the device sleep function of the memory storage device.

在本發明之一範例實施例中,上述預定邏輯電位不同於第一邏輯電位。 In an exemplary embodiment of the invention, the predetermined logic potential is different from the first logic potential.

基於上述,上述範例實施例的偵測可複寫式非揮發性記憶體模組的方法、記憶體控制電路單元及記憶體儲存裝置藉由在接收到啟用裝置休眠功能指令時確認記憶體儲存裝置的裝置休眠訊號接腳是否正確地電連接至有支援裝置休眠訊號協定的接腳,由此有效地避免誤進入休眠模式。 Based on the above, the method for detecting a rewritable non-volatile memory module, the memory control circuit unit, and the memory storage device of the above exemplary embodiment confirm the memory storage device by receiving an enable device sleep function command. Whether the device sleep signal pin is correctly electrically connected to the pin having the support device sleep signal protocol, thereby effectively avoiding accidentally entering the sleep mode.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the invention will be apparent from the following description.

1000‧‧‧主機系統 1000‧‧‧Host system

1100‧‧‧電腦 1100‧‧‧ computer

1102‧‧‧微處理器 1102‧‧‧Microprocessor

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

1106‧‧‧輸入/輸出裝置 1106‧‧‧Input/output devices

1108‧‧‧系統匯流排 1108‧‧‧System Bus

1110‧‧‧資料傳輸介面 1110‧‧‧Data transmission interface

1202‧‧‧滑鼠 1202‧‧‧ Mouse

1204‧‧‧鍵盤 1204‧‧‧ keyboard

1206‧‧‧顯示器 1206‧‧‧ display

1208‧‧‧印表機 1208‧‧‧Printer

1212‧‧‧隨身碟 1212‧‧‧USB flash drive

1214‧‧‧記憶卡 1214‧‧‧ memory card

1216‧‧‧固態硬碟 1216‧‧‧ Solid State Drive

1310‧‧‧數位相機 1310‧‧‧ digital camera

1312‧‧‧SD卡 1312‧‧‧SD card

1314‧‧‧MMC卡 1314‧‧‧MMC card

1316‧‧‧記憶棒 1316‧‧‧ Memory Stick

1318‧‧‧CF卡 1318‧‧‧CF card

1320‧‧‧嵌入式儲存裝置 1320‧‧‧Embedded storage device

100‧‧‧記憶體儲存裝置 100‧‧‧ memory storage device

102‧‧‧連接介面單元 102‧‧‧Connecting interface unit

102a‧‧‧資料連接介面 102a‧‧‧Data Connection Interface

102b‧‧‧電源連接介面 102b‧‧‧Power connection interface

104‧‧‧記憶體控制電路單元 104‧‧‧Memory Control Circuit Unit

106‧‧‧可複寫式非揮發性記憶體模組 106‧‧‧Reusable non-volatile memory module

202‧‧‧記憶體管理電路 202‧‧‧Memory Management Circuit

204‧‧‧主機介面 204‧‧‧Host interface

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

208‧‧‧緩衝記憶體 208‧‧‧buffer memory

210‧‧‧電源管理電路 210‧‧‧Power Management Circuit

212‧‧‧錯誤檢查與校正電路 212‧‧‧Error checking and correction circuit

410(0)~410(N)‧‧‧實體抹除單元 410(0)~410(N)‧‧‧ physical erasing unit

602‧‧‧匯流排連接介面 602‧‧‧ Busbar connection interface

604‧‧‧電源供應連接介面 604‧‧‧Power supply connection interface

612‧‧‧裝置休眠訊號接腳 612‧‧‧Device sleep signal pin

622‧‧‧訊號輸出接腳 622‧‧‧Signal output pin

S701、S703、S705、S707、S709、S711、S713、S715‧‧‧休眠模式啟動方法的步驟 S701, S703, S705, S707, S709, S711, S713, S715‧‧‧ steps of the sleep mode starting method

圖1是根據一範例實施例所繪示的主機系統與記憶體儲存裝置。 FIG. 1 illustrates a host system and a memory storage device according to an exemplary embodiment.

圖2是根據本發明範例實施例所繪示的電腦、輸入/輸出裝置與記憶體儲存裝置的示意圖。 2 is a schematic diagram of a computer, an input/output device, and a memory storage device according to an exemplary embodiment of the invention.

圖3是根據本發明範例實施例所繪示的主機系統與記憶體儲 存裝置的示意圖。 FIG. 3 is a diagram of a host system and a memory bank according to an exemplary embodiment of the invention. Schematic diagram of the storage device.

圖4是繪示圖1所示的記憶體儲存裝置的概要方塊圖。 4 is a schematic block diagram showing the memory storage device shown in FIG. 1.

圖5是根據一範例實施例所繪示之記憶體控制電路單元的概要方塊圖。 FIG. 5 is a schematic block diagram of a memory control circuit unit according to an exemplary embodiment.

圖6是根據本發明一範例實施例所繪示之用於以連接記憶體儲存裝置與主機系統之匯流排連接介面與電源供應連接介面的範例示意圖。 FIG. 6 is a schematic diagram showing an example of connecting a bus and a power supply connection interface between a memory storage device and a host system according to an exemplary embodiment of the invention.

圖7是根據一範例實施例所繪示的休眠模式啟動方法的流程圖。 FIG. 7 is a flowchart of a sleep mode startup method according to an exemplary embodiment.

一般而言,記憶體儲存裝置(亦稱,記憶體儲存系統)包括可複寫式非揮發性記憶體模組與控制器(亦稱,控制電路)。通常記憶體儲存裝置是與主機系統一起使用,以使主機系統可將資料寫入至記憶體儲存裝置或從記憶體儲存裝置中讀取資料。 In general, a memory storage device (also referred to as a memory storage system) includes a rewritable non-volatile memory module and controller (also referred to as a control circuit). Typically, the memory storage device is used with a host system to enable the host system to write data to or read data from the memory storage device.

圖1是根據一範例實施例所繪示的主機系統與記憶體儲存裝置。 FIG. 1 illustrates a host system and a memory storage device according to an exemplary embodiment.

請參照圖1,主機系統1000一般包括電腦1100與輸入/輸出(input/output,I/O)裝置1106。電腦1100包括微處理器1102、隨機存取記憶體(random access memory,RAM)1104、系統匯流排1108與資料傳輸介面1110。輸入/輸出裝置1106包括如圖2的滑鼠1202、鍵盤1204、顯示器1206與印表機1208。必須瞭解的是, 圖2所示的裝置非限制輸入/輸出裝置1106,輸入/輸出裝置1106可更包括其他裝置。 Referring to FIG. 1, the host system 1000 generally includes a computer 1100 and an input/output (I/O) device 1106. The computer 1100 includes a microprocessor 1102, a random access memory (RAM) 1104, a system bus 1108, and a data transmission interface 1110. The input/output device 1106 includes a mouse 1202, a keyboard 1204, a display 1206, and a printer 1208 as shown in FIG. It must be understood that The device shown in FIG. 2 is a non-limiting input/output device 1106, and the input/output device 1106 may further include other devices.

在本發明實施例中,記憶體儲存裝置100是透過資料傳輸介面1110與主機系統1000的其他元件耦接。藉由微處理器1102、隨機存取記憶體1104與輸入/輸出裝置1106的運作可將資料寫入至記憶體儲存裝置100或從記憶體儲存裝置100中讀取資料。例如,記憶體儲存裝置100可以是如圖2所示的隨身碟1212、記憶卡1214或固態硬碟(Solid State Drive,SSD)1216等的可複寫式非揮發性記憶體儲存裝置。 In the embodiment of the present invention, the memory storage device 100 is coupled to other components of the host system 1000 through the data transmission interface 1110. The data can be written to or read from the memory storage device 100 by the operation of the microprocessor 1102, the random access memory 1104, and the input/output device 1106. For example, the memory storage device 100 may be a rewritable non-volatile memory storage device such as a flash drive 1212, a memory card 1214, or a solid state drive (SSD) 1216 as shown in FIG. 2.

一般而言,主機系統1000為可實質地與記憶體儲存裝置100配合以儲存資料的任意系統。雖然在本範例實施例中,主機系統1000是以電腦系統來作說明,然而,在本發明另一範例實施例中主機系統1000可以是數位相機、攝影機、通信裝置、音訊播放器或視訊播放器等系統。例如,在主機系統為數位相機(攝影機)1310時,可複寫式非揮發性記憶體儲存裝置則為其所使用的SD卡1312、MMC卡1314、記憶棒(memory stick)1316、CF卡1318或嵌入式儲存裝置1320(如圖3所示)。嵌入式儲存裝置1320包括嵌入式多媒體卡(Embedded MMC,eMMC)。值得一提的是,嵌入式多媒體卡是直接耦接於主機系統的基板上。 In general, host system 1000 is any system that can substantially cooperate with memory storage device 100 to store data. Although in the present exemplary embodiment, the host system 1000 is illustrated by a computer system, in another exemplary embodiment of the present invention, the host system 1000 may be a digital camera, a video camera, a communication device, an audio player, or a video player. And other systems. For example, when the host system is a digital camera (camera) 1310, the rewritable non-volatile memory storage device uses the SD card 1312, the MMC card 1314, the memory stick 1316, the CF card 1318 or Embedded storage device 1320 (shown in Figure 3). The embedded storage device 1320 includes an embedded multimedia card (Embedded MMC, eMMC). It is worth mentioning that the embedded multimedia card is directly coupled to the substrate of the host system.

圖4是繪示圖1所示的記憶體儲存裝置的概要方塊圖。 4 is a schematic block diagram showing the memory storage device shown in FIG. 1.

請參照圖4,記憶體儲存裝置100包括連接介面單元102、記憶體控制電路單元104與可複寫式非揮發性記憶體模組 106。 Referring to FIG. 4, the memory storage device 100 includes a connection interface unit 102, a memory control circuit unit 104, and a rewritable non-volatile memory module. 106.

連接介面單元102包括資料連接介面102a與電源連接介 面102b,資料連接介面102a用以連接主機系統1000的匯流排連接介面,並且電源連接介面102b用以連接主機系統1000的電源供應連接介面。特別是,在本範例實施例中,資料連接介面102a可例如用以接收至少一組差分訊號,且電源連接介面102b具有一裝置休眠訊號(device sleep signal)接腳,以支援裝置休眠訊號(device sleep signal)協定。在另一範例實施例中,電源連接介面102b用以接收至多兩種不同的輸入電源,例如5伏特及12伏特。 在另一範例實施例中,電源連接介面102b無用以接收3.3伏特的輸入電源。具體來說,支援具有裝置休眠之協定的主機系統1000可控制電源供應連接介面中耦接至裝置休眠訊號接腳的訊號輸出接腳來指示記憶體儲存裝置100開始進入休眠模式。例如,倘若主機系統1000控制電源供應連接介面中耦接至裝置休眠訊號接腳的訊號輸出接腳上之電位訊號處於第一邏輯電位時,則電源連接介面102b的裝置休眠訊號接腳上之電位訊號亦會處於第一邏輯電位以致於記憶體儲存裝置100會據此開始進入休眠模式;並且倘若主機系統1000控制電源供應連接介面中耦接至裝置休眠訊號接腳的訊號輸出接腳上之電位訊號處於第二邏輯電位時,則電源連接介面102b的裝置休眠訊號接腳上之電位訊號亦會處於第二邏輯電位以致於記憶體儲存裝置100會據此正常運作。在此,第一邏輯電位與第二邏輯電位可根據不同的設計來設定,例如,在本範 例實施例中,第一邏輯電位為高邏輯電位並且第二邏輯電位為相反於第一邏輯電位的低邏輯電位,而在本範例實施例中,高邏輯電位是為電壓準位高於一預定值時,可被判定為高邏輯電位,而相反地,低邏輯電位是為電壓準位低於一預定值時,可被判定為低邏輯電位。 The connection interface unit 102 includes a data connection interface 102a and a power connection interface. The data connection interface 102a is used to connect to the bus connection interface of the host system 1000, and the power connection interface 102b is used to connect to the power supply connection interface of the host system 1000. In particular, in the exemplary embodiment, the data connection interface 102a can be used to receive at least one set of differential signals, and the power connection interface 102b has a device sleep signal pin to support the device sleep signal (device). Sleep signal) agreement. In another exemplary embodiment, the power connection interface 102b is configured to receive up to two different input power sources, such as 5 volts and 12 volts. In another exemplary embodiment, the power connection interface 102b is not used to receive an input power of 3.3 volts. Specifically, the host system 1000 supporting the protocol for device hibernation can control the signal output pin of the power supply connection interface coupled to the device sleep signal pin to indicate that the memory storage device 100 begins to enter the sleep mode. For example, if the host system 1000 controls the potential signal on the signal output pin of the power supply connection interface coupled to the device sleep signal pin to be at the first logic potential, the potential of the device sleep signal pin of the power connection interface 102b The signal will also be at the first logic potential so that the memory storage device 100 will begin to enter the sleep mode accordingly; and if the host system 1000 controls the potential on the signal output pin of the power supply connection interface coupled to the device sleep signal pin When the signal is at the second logic potential, the potential signal on the device sleep signal pin of the power connection interface 102b is also at the second logic potential so that the memory storage device 100 operates normally. Here, the first logic potential and the second logic potential can be set according to different designs, for example, in this model In an embodiment, the first logic potential is a high logic potential and the second logic potential is a low logic potential opposite to the first logic potential, and in the exemplary embodiment, the high logic potential is a voltage level higher than a predetermined In the case of a value, it can be judged as a high logic potential, and conversely, when the low logic potential is a voltage level lower than a predetermined value, it can be determined as a low logic potential.

在本範例實施例中,連接介面單元102是相容於序列先進附件(Serial Advanced Technology Attachment,SATA)標準。然而,必須瞭解的是,本發明不限於此,連接介面單元102亦可以是符合並列先進附件(Parellel Advanced Technology Attachment,PATA)標準、電氣和電子工程師協會(Institute of Electrical and Electronic Engineers,IEEE)1394標準、高速周邊零件連接介面(Peripheral Component Interconnect Express,PCI Express)標準、通用序列匯流排(Universal Serial Bus,USB)標準、超高速一代(Ultra High Speed-I,UHS-I)介面標準、超高速二代(Ultra High Speed-II,UHS-II)介面標準、安全數位(Secure Digital,SD)介面標準、記憶棒(Memory Stick,MS)介面標準、多媒體儲存卡(Multi Media Card,MMC)介面標準、小型快閃(Compact Flash,CF)介面標準、整合式驅動電子介面(Integrated Device Electronics,IDE)標準或其他適合的標準。在本範例實施例中,連接介面單元可與記憶體控制電路單元封裝在一個晶片中,或佈設於一包含記憶體控制電路單元之晶片外。 In the present exemplary embodiment, the connection interface unit 102 is compatible with the Serial Advanced Technology Attachment (SATA) standard. However, it must be understood that the present invention is not limited thereto, and the connection interface unit 102 may also be a Parallel Advanced Technology Attachment (PATA) standard, Institute of Electrical and Electronic Engineers (IEEE) 1394. Standard, high-speed Peripheral Component Interconnect Express (PCI Express) standard, Universal Serial Bus (USB) standard, Ultra High Speed-I (UHS-I) interface standard, ultra-high speed Second generation (Ultra High Speed-II, UHS-II) interface standard, Secure Digital (SD) interface standard, Memory Stick (MS) interface standard, Multimedia Memory Card (MMC) interface standard , Compact Flash (CF) interface standard, Integrated Device Electronics (IDE) standard or other suitable standards. In this exemplary embodiment, the connection interface unit may be packaged in a chip with the memory control circuit unit or disposed outside a wafer including the memory control circuit unit.

記憶體控制電路單元104用以執行以硬體型式或韌體型 式實作的多個邏輯閘或控制指令,並且根據主機系統1000的指令在可複寫式非揮發性記憶體模組106中進行資料的寫入、讀取與抹除等運作。 The memory control circuit unit 104 is configured to perform a hard type or a firmware type The plurality of logic gates or control commands are implemented, and the writing, reading and erasing of data are performed in the rewritable non-volatile memory module 106 according to the instructions of the host system 1000.

可複寫式非揮發性記憶體模組106是耦接至記憶體控制電路單元104,並且用以儲存主機系統1000所寫入之資料。可複寫式非揮發性記憶體模組106具有實體抹除單元410(0)~410(N)。例如,實體抹除單元410(0)~410(N)可屬於同一個記憶體晶粒(die)或者屬於不同的記憶體晶粒。每一實體抹除單元分別具有複數個實體程式化單元,其中屬於同一個實體抹除單元之實體程式化單元可被獨立地寫入且被同時地抹除。然而,必須瞭解的是,本發明不限於此,每一實體抹除單元是可由64個實體程式化單元、256個實體程式化單元或其他任意個實體程式化單元所組成。 The rewritable non-volatile memory module 106 is coupled to the memory control circuit unit 104 and is used to store data written by the host system 1000. The rewritable non-volatile memory module 106 has physical erase units 410(0)-410(N). For example, the physical erase units 410(0)-410(N) may belong to the same memory die or belong to different memory dies. Each physical erasing unit has a plurality of physical stylized units, wherein the physical stylized units belonging to the same physical erasing unit can be independently written and erased simultaneously. However, it must be understood that the present invention is not limited thereto, and each physical erasing unit may be composed of 64 physical stylized units, 256 physical stylized units, or any other physical stylized units.

更詳細來說,實體抹除單元為抹除之最小單位。亦即,每一實體抹除單元含有最小數目之一併被抹除之記憶胞。實體程式化單元為程式化的最小單元。即,實體程式化單元為寫入資料的最小單元。每一實體程式化單元通常包括資料位元區與冗餘位元區。資料位元區包含多個實體存取位址用以儲存使用者的資料,而冗餘位元區用以儲存系統的資料(例如,控制資訊與錯誤更正碼)。在本範例實施例中,每一個實體程式化單元的資料位元區中會包含4個實體存取位址,且一個實體存取位址的大小為512位元組(byte)。然而,在其他範例實施例中,資料位元區中也可包含數目更多或更少的實體存取位址,本發明並不限制實體存取位 址的大小以及個數。例如,在一範例實施例中,實體抹除單元為實體區塊,並且實體程式化單元為實體頁面或實體扇區,但本發明不以此為限。 In more detail, the physical erase unit is the smallest unit of erase. That is, each physical erase unit contains one of the smallest number of erased memory cells. The entity stylized unit is the smallest unit that is stylized. That is, the entity stylized unit is the smallest unit that writes data. Each entity stylized unit typically includes a data bit area and a redundant bit area. The data bit area includes a plurality of physical access addresses for storing user data, and the redundant bit area is used to store system data (eg, control information and error correction codes). In this exemplary embodiment, each physical stylized unit has four physical access addresses in the data bit area, and one physical access address has a size of 512 bytes. However, in other exemplary embodiments, the data bit area may also contain a greater or lesser number of physical access addresses, and the present invention does not limit the physical access bits. The size and number of addresses. For example, in an exemplary embodiment, the physical erasing unit is a physical block, and the physical stylized unit is a physical page or a physical sector, but the invention is not limited thereto.

在本範例實施例中,可複寫式非揮發性記憶體模組106為多階記憶胞(Multi Level Cell,MLC)NAND型快閃記憶體模組(即,一個記憶胞中可儲存2個位元資料的快閃記憶體模組)。然而,本發明不限於此,可複寫式非揮發性記憶體模組106亦可是單階記憶胞(Single Level Cell,SLC)NAND型快閃記憶體模組(即,一個記憶胞中可儲存1個位元資料的快閃記憶體模組)、複數階記憶胞(Trinary Level Cell,TLC)NAND型快閃記憶體模組(即,一個記憶胞中可儲存3個位元資料的快閃記憶體模組)、其他快閃記憶體模組或其他具有相同特性的記憶體模組。 In the present exemplary embodiment, the rewritable non-volatile memory module 106 is a multi-level cell (MLC) NAND-type flash memory module (ie, two bits can be stored in one memory cell). Metadata flash memory module). However, the present invention is not limited thereto, and the rewritable non-volatile memory module 106 may also be a single-level memory cell (SLC) NAND-type flash memory module (ie, one memory cell can be stored in 1). a flash memory module with bit data, a Trinary Level Cell (TLC) NAND flash memory module (ie, a flash memory that can store 3 bits of data in a memory cell) Body module), other flash memory modules or other memory modules with the same characteristics.

圖5是根據一範例實施例所繪示之記憶體控制電路單元的概要方塊圖。 FIG. 5 is a schematic block diagram of a memory control circuit unit according to an exemplary embodiment.

請參照圖5,記憶體控制電路單元104包括記憶體管理電路202、主機介面204與記憶體介面206。 Referring to FIG. 5, the memory control circuit unit 104 includes a memory management circuit 202, a host interface 204, and a memory interface 206.

記憶體管理電路202用以控制記憶體控制電路單元104的整體運作。具體來說,記憶體管理電路202具有多個控制指令,並且在記憶體儲存裝置100運作時,此些控制指令會被執行以進行資料的寫入、讀取與抹除等運作。 The memory management circuit 202 is used to control the overall operation of the memory control circuit unit 104. Specifically, the memory management circuit 202 has a plurality of control commands, and when the memory storage device 100 operates, such control commands are executed to perform operations such as writing, reading, and erasing data.

在本範例實施例中,記憶體管理電路202的控制指令是以韌體型式來實作。例如,記憶體管理電路202具有微處理器單 元(未繪示)與唯讀記憶體(未繪示),並且此些控制指令是被燒錄至此唯讀記憶體中。當記憶體儲存裝置100運作時,此些控制指令會由微處理器單元來執行以進行資料的寫入、讀取與抹除等運作。 In the present exemplary embodiment, the control instructions of the memory management circuit 202 are implemented in a firmware version. For example, the memory management circuit 202 has a microprocessor list Meta (not shown) and read-only memory (not shown), and such control instructions are burned into the read-only memory. When the memory storage device 100 is in operation, such control commands are executed by the microprocessor unit to perform operations such as writing, reading, and erasing data.

在本發明另一範例實施例中,記憶體管理電路202的控 制指令亦可以程式碼型式儲存於可複寫式非揮發性記憶體模組106的特定區域(例如,記憶體模組中專用於存放系統資料的系統區)中。此外,記憶體管理電路202具有微處理器單元(未繪示)、唯讀記憶體(未繪示)及隨機存取記憶體(未繪示)。特別是,此唯讀記憶體具有驅動碼,並且當記憶體控制電路單元104被致能時,微處理器單元會先執行此驅動碼段來將儲存於可複寫式非揮發性記憶體模組106中之控制指令載入至記憶體管理電路202的隨機存取記憶體中。之後,微處理器單元會運轉此些控制指令以進行資料的寫入、讀取與抹除等運作。 In another exemplary embodiment of the present invention, the memory management circuit 202 controls The programming instructions may also be stored in a particular area of the rewritable non-volatile memory module 106 (eg, a system area dedicated to storing system data in the memory module). In addition, the memory management circuit 202 has a microprocessor unit (not shown), a read-only memory (not shown), and a random access memory (not shown). In particular, the read-only memory has a drive code, and when the memory control circuit unit 104 is enabled, the microprocessor unit first executes the drive code segment to be stored in the rewritable non-volatile memory module. The control command in 106 is loaded into the random access memory of the memory management circuit 202. After that, the microprocessor unit will run these control commands to perform data writing, reading and erasing operations.

此外,在本發明另一範例實施例中,記憶體管理電路202的控制指令亦可以一硬體型式來實作。例如,記憶體管理電路202包括微控制器、記憶胞管理電路、記憶體寫入電路、記憶體讀取電路、記憶體抹除電路與資料處理電路。記憶胞管理電路、記憶體寫入電路、記憶體讀取電路、記憶體抹除電路與資料處理電路是耦接至微控制器。其中,記憶胞管理電路用以管理可複寫式非揮發性記憶體模組106的實體抹除單元;記憶體寫入電路用以對可複寫式非揮發性記憶體模組106下達寫入指令以將資料寫入至可複寫式非揮發性記憶體模組106中;記憶體讀取電路用以對可 複寫式非揮發性記憶體模組106下達讀取指令以從可複寫式非揮發性記憶體模組106中讀取資料;記憶體抹除電路用以對可複寫式非揮發性記憶體模組106下達抹除指令以將資料從可複寫式非揮發性記憶體模組106中抹除;而資料處理電路用以處理欲寫入至可複寫式非揮發性記憶體模組106的資料以及從可複寫式非揮發性記憶體模組106中讀取的資料。 In addition, in another exemplary embodiment of the present invention, the control command of the memory management circuit 202 can also be implemented in a hardware format. For example, the memory management circuit 202 includes a microcontroller, a memory cell management circuit, a memory write circuit, a memory read circuit, a memory erase circuit, and a data processing circuit. The memory cell management circuit, the memory write circuit, the memory read circuit, the memory erase circuit and the data processing circuit are coupled to the microcontroller. The memory cell management circuit is configured to manage the physical erasing unit of the rewritable non-volatile memory module 106; the memory writing circuit is configured to issue a write command to the rewritable non-volatile memory module 106. Writing data to the rewritable non-volatile memory module 106; the memory reading circuit is used to The rewritable non-volatile memory module 106 issues a read command to read data from the rewritable non-volatile memory module 106; the memory erase circuit is used to rewritable non-volatile memory module 106, the erase command is issued to erase the data from the rewritable non-volatile memory module 106; and the data processing circuit is configured to process the data to be written to the rewritable non-volatile memory module 106 and The data read in the rewritable non-volatile memory module 106.

主機介面204是耦接至記憶體管理電路202並且用以耦接至連接介面單元102,以接收與識別主機系統1000所傳送的指令與資料。也就是說,主機系統1000所傳送的指令與資料會透過主機介面204來傳送至記憶體管理電路202。在本範例實施例中,主機介面204是相容於SATA標準。然而,必須瞭解的是本發明不限於此,主機介面204亦可以是相容於PATA標準、IEEE 1394標準、PCI Express標準、USB標準、UHS-I介面標準、UHS-II介面標準、SD標準、MS標準、MMC標準、CF標準、IDE標準或其他適合的資料傳輸標準。 The host interface 204 is coupled to the memory management circuit 202 and is coupled to the connection interface unit 102 for receiving and identifying the instructions and data transmitted by the host system 1000. That is to say, the instructions and data transmitted by the host system 1000 are transmitted to the memory management circuit 202 through the host interface 204. In the present exemplary embodiment, host interface 204 is compatible with the SATA standard. However, it must be understood that the present invention is not limited thereto, and the host interface 204 may also be compatible with the PATA standard, the IEEE 1394 standard, the PCI Express standard, the USB standard, the UHS-I interface standard, the UHS-II interface standard, the SD standard, MS standard, MMC standard, CF standard, IDE standard or other suitable data transmission standard.

記憶體介面206是耦接至記憶體管理電路202並且用以存取可複寫式非揮發性記憶體模組106。也就是說,欲寫入至可複寫式非揮發性記憶體模組106的資料會經由記憶體介面206轉換為可複寫式非揮發性記憶體模組106所能接受的格式。 The memory interface 206 is coupled to the memory management circuit 202 and is used to access the rewritable non-volatile memory module 106. That is, the data to be written to the rewritable non-volatile memory module 106 is converted to a format acceptable to the rewritable non-volatile memory module 106 via the memory interface 206.

在本發明一範例實施例中,記憶體控制電路單元104還包括緩衝記憶體208、電源管理電路210與錯誤檢查與校正電路212。 In an exemplary embodiment of the present invention, the memory control circuit unit 104 further includes a buffer memory 208, a power management circuit 210, and an error check and correction circuit 212.

緩衝記憶體208是耦接至記憶體管理電路202並且用以暫存來自於主機系統1000的資料與指令或來自於可複寫式非揮發性記憶體模組106的資料。 The buffer memory 208 is coupled to the memory management circuit 202 and is used to temporarily store data and instructions from the host system 1000 or data from the rewritable non-volatile memory module 106.

電源管理電路210是耦接至記憶體管理電路202並且用以控制記憶體儲存裝置100的電源。 The power management circuit 210 is coupled to the memory management circuit 202 and is used to control the power of the memory storage device 100.

錯誤檢查與校正電路212是耦接至記憶體管理電路202並且用以執行錯誤檢查與校正程序以確保資料的正確性。具體來說,當記憶體管理電路202從主機系統1000中接收到寫入指令時,錯誤檢查與校正電路212會為對應此寫入指令的資料產生對應的錯誤檢查與校正碼(Error Checking and Correcting Code,ECC Code),並且記憶體管理電路202會將對應此寫入指令的資料與對應的錯誤檢查與校正碼寫入至可複寫式非揮發性記憶體模組106中。之後,當記憶體管理電路202從可複寫式非揮發性記憶體模組106中讀取資料時會同時讀取此資料對應的錯誤檢查與校正碼,並且錯誤檢查與校正電路212會依據此錯誤檢查與校正碼對所讀取的資料執行錯誤檢查與校正程序。 The error checking and correction circuit 212 is coupled to the memory management circuit 202 and is used to perform error checking and correction procedures to ensure the correctness of the data. Specifically, when the memory management circuit 202 receives a write command from the host system 1000, the error check and correction circuit 212 generates a corresponding error check and correction code for the data corresponding to the write command (Error Checking and Correcting). Code, ECC Code), and the memory management circuit 202 writes the data corresponding to the write command and the corresponding error check and correction code into the rewritable non-volatile memory module 106. Thereafter, when the memory management circuit 202 reads the data from the rewritable non-volatile memory module 106, the error check and correction code corresponding to the data is simultaneously read, and the error check and correction circuit 212 is based on the error. Check and calibration code Perform error checking and calibration procedures on the data read.

圖6是根據本發明一範例實施例所繪示之用於以連接記憶體儲存裝置與主機系統之匯流排連接介面與電源供應連接介面的範例示意圖。 FIG. 6 is a schematic diagram showing an example of connecting a bus and a power supply connection interface between a memory storage device and a host system according to an exemplary embodiment of the invention.

請參照圖6,匯流排連接介面602是電連接至主機系統1000的控制晶片組(未繪示),並且用以與記憶體儲存裝置100的資料連接介面102a連接。電源供應連接介面604是電連接至主機 系統1000的電源供應器(未繪示),並且用以與記憶體儲存裝置100的電源連接介面102b連接。 Referring to FIG. 6, the busbar connection interface 602 is a control chipset (not shown) electrically connected to the host system 1000, and is connected to the data connection interface 102a of the memory storage device 100. The power supply connection interface 604 is electrically connected to the host The power supply (not shown) of the system 1000 is connected to the power connection interface 102b of the memory storage device 100.

如上所述,在本範例實施例中,電源連接介面102b具有裝置休眠訊號接腳612,其中當電源供應連接介面604電連接至電源連接介面102b時,電源供應連接介面604的訊號輸出接腳622會耦接至裝置休眠訊號接腳612。例如,當主機系統1000上電時,訊號輸出接腳622會輸出3.3伏特的電壓訊號,用以提供所耦接之裝置所需之電源。 As described above, in the present exemplary embodiment, the power connection interface 102b has a device sleep signal pin 612. When the power supply connection interface 604 is electrically connected to the power connection interface 102b, the signal output pin 622 of the power supply connection interface 604 is provided. It is coupled to the device sleep signal pin 612. For example, when the host system 1000 is powered up, the signal output pin 622 outputs a 3.3 volt voltage signal to provide the power required by the coupled device.

特別是,如上所述,倘若裝置休眠訊號接腳612所電連接之訊號輸出接腳622是用以支援裝置休眠訊號協定時,在記憶體儲存裝置100正常運作的狀態下,主機系統100是控制訊號輸出接腳622上之電位訊號處於第二邏輯電位(即不致能記憶體儲存裝置100進入裝置休眠模式),以使得裝置休眠訊號接腳612上之電位訊號亦處於第二邏輯電位。基此,記憶體控制電路單元104(或記憶體管理電路202)會依據裝置休眠訊號接腳612的狀態而正常運作。倘若,訊號輸出接腳622不是被用以支援裝置休眠訊號協定時,主機系統1000不會利用訊號輸出接腳622輸出裝置休眠控制訊號,因此,在主機系統1000上電後,若訊號輸出接腳622上之電位訊號處於第一邏輯電位則可能會導致記憶體儲存裝置100誤動作而直接進入裝置休眠模式。 In particular, as described above, if the signal output pin 622 electrically connected to the device sleep signal pin 612 is used to support the device sleep signal protocol, the host system 100 is controlled in a state where the memory storage device 100 is normally operated. The potential signal on the signal output pin 622 is at the second logic potential (ie, the memory storage device 100 is not allowed to enter the device sleep mode), so that the potential signal on the device sleep signal pin 612 is also at the second logic potential. Accordingly, the memory control circuit unit 104 (or the memory management circuit 202) operates normally in accordance with the state of the device sleep signal pin 612. If the signal output pin 622 is not used to support the device sleep signal protocol, the host system 1000 does not use the signal output pin 622 to output the device sleep control signal. Therefore, after the host system 1000 is powered on, if the signal output pin is powered The potential signal at 622 is at the first logic potential, which may cause the memory storage device 100 to malfunction and directly enter the device sleep mode.

基此,倘若主機系統1000支援裝置休眠訊號協定時,在一特定規範中,用以連接裝置休眠訊號接腳612的訊號輸出接腳 622應會被正確地電連接至主機系統1000之晶片組(未繪示)中對應的接腳,以控制記憶體儲存裝置100進入休眠模式。在本範例實施例中,當主機系統1000透過匯流排連接介面602傳送啟用裝置休眠功能指令給記憶體儲存裝置100時,記憶體控制電路單元104(或記憶體管理電路202)會判斷裝置休眠訊號接腳612上之電位訊號是否處於第二邏輯電位。倘若裝置休眠訊號接腳612上之電位訊號處於第二邏輯電位時,則記憶體控制電路單元104會判斷裝置休眠訊號接腳612已被正確地連接到支援裝置休眠訊號協定的訊號輸出接腳。反之,若裝置休眠訊號接腳612上之電位訊號處於第一邏輯電位時,則記憶體控制電路單元104會判斷裝置休眠訊號接腳612未被連接到支援裝置休眠訊號協定的訊號輸出接腳。 Therefore, if the host system 1000 supports the device sleep signal protocol, in a specific specification, the signal output pin for connecting the device sleep signal pin 612 is connected. The 622 should be properly electrically connected to the corresponding pin in the chipset (not shown) of the host system 1000 to control the memory storage device 100 to enter the sleep mode. In the present exemplary embodiment, when the host system 1000 transmits the enable device sleep function command to the memory storage device 100 through the bus bar connection interface 602, the memory control circuit unit 104 (or the memory management circuit 202) determines the device sleep signal. Whether the potential signal on pin 612 is at the second logic potential. If the potential signal on the device sleep signal pin 612 is at the second logic potential, the memory control circuit unit 104 determines that the device sleep signal pin 612 has been correctly connected to the signal output pin of the support device sleep signal protocol. On the other hand, if the potential signal on the sleep signal pin 612 of the device is at the first logic potential, the memory control circuit unit 104 determines that the device sleep signal pin 612 is not connected to the signal output pin of the support device sleep signal protocol.

特別是,倘若裝置休眠訊號接腳612已被正確地連接到支援裝置休眠訊號協定的訊號輸出接腳時,記憶體控制電路單元104(或記憶體管理電路202)會開啟裝置休眠功能,並且在主機系統1000透過與裝置休眠訊號接腳612的訊號輸出接腳622指示開始進入休眠模式(例如,控制訊號輸出接腳622的電位從第二邏輯電位改變為第一邏輯電位)時,記憶體控制電路單元104(或記憶體管理電路202)會啟動休眠模式,以致於記憶體儲存裝置100停止運作並處於低耗電的狀態。 In particular, if the device sleep signal pin 612 is properly connected to the signal output pin of the support device sleep signal protocol, the memory control circuit unit 104 (or the memory management circuit 202) turns on the device sleep function, and The host system 1000 instructs to start entering the sleep mode by the signal output pin 622 of the device sleep signal pin 612 (for example, when the potential of the control signal output pin 622 is changed from the second logic potential to the first logic potential), the memory control Circuit unit 104 (or memory management circuit 202) initiates a sleep mode such that memory storage device 100 ceases to operate and is in a low power state.

圖7是根據一範例實施例所繪示的休眠模式啟動方法的流程圖。 FIG. 7 is a flowchart of a sleep mode startup method according to an exemplary embodiment.

請參照圖7,在步驟S701中,記憶體控制電路單元104(或記憶體管理電路202)會透過資料連接介面102a接收啟用裝置休眠功能指令,並且在步驟S703中,記憶體控制電路單元104(或記憶體管理電路202)會判斷電源連接介面102b上的裝置休眠訊號接腳612上之電位訊號是否處於與第一邏輯電位相反的第二邏輯電位。 Referring to FIG. 7, in step S701, the memory control circuit unit 104 (or the memory management circuit 202) receives the enable device sleep function instruction through the data connection interface 102a, and in step S703, the memory control circuit unit 104 ( Or the memory management circuit 202) determines whether the potential signal on the device sleep signal pin 612 on the power connection interface 102b is at a second logic potential opposite to the first logic potential.

倘若記憶體儲存裝置100的電源連接介面102b上的裝置休眠訊號接腳612上之電位訊號處於第二邏輯電位時,在步驟S705中,記憶體控制電路單元104(或記憶體管理電路202)會開啟裝置休眠功能。 If the potential signal on the device sleep signal pin 612 on the power connection interface 102b of the memory storage device 100 is at the second logic potential, the memory control circuit unit 104 (or the memory management circuit 202) will Turn on the device sleep function.

接著,在步驟S707中,記憶體控制電路單元104(或記憶體管理電路202)會偵測電源連接介面102b上的裝置休眠訊號接腳612的狀態是否從第二邏輯電位改變為第一邏輯電位。 Next, in step S707, the memory control circuit unit 104 (or the memory management circuit 202) detects whether the state of the device sleep signal pin 612 on the power connection interface 102b is changed from the second logic potential to the first logic potential. .

倘若在步驟S707中偵測到電源連接介面102b上的裝置休眠訊號接腳612的狀態從第二邏輯電位改變為第一邏輯電位時,在步驟S709中,記憶體控制電路單元104(或記憶體管理電路202)會開始進入休眠模式。 If it is detected in step S707 that the state of the device sleep signal pin 612 on the power connection interface 102b is changed from the second logic potential to the first logic potential, in step S709, the memory control circuit unit 104 (or memory) Management circuit 202) will begin to enter sleep mode.

倘若在步驟S707中未偵測到電源連接介面102b上的裝置休眠訊號接腳612的狀態從第二邏輯電位改變為第一邏輯電位時,步驟S707會被重複執行。 If it is not detected in step S707 that the state of the device sleep signal pin 612 on the power connection interface 102b is changed from the second logic potential to the first logic potential, step S707 is repeatedly performed.

在步驟S709之後,在步驟S711,記憶體控制電路單元104(或記憶體管理電路202)會偵測電源連接介面102b上的裝置休眠訊號接腳612的狀態是否從第一邏輯電位改變為第二邏輯電位。 After step S709, in step S711, the memory control circuit unit 104 (or the memory management circuit 202) detects whether the state of the device sleep signal pin 612 on the power connection interface 102b changes from the first logic potential to the second. Logic potential.

倘若在步驟S711中偵測到電源連接介面102b上的裝置 休眠訊號接腳612的狀態從第一邏輯電位改變為第二邏輯電位時,在步驟S713中,記憶體控制電路單元104(或記憶體管理電路202)會從休眠模式中恢復為運作模式,並且之後步驟S707會被執行。 If the device on the power connection interface 102b is detected in step S711 When the state of the sleep signal pin 612 is changed from the first logic potential to the second logic potential, the memory control circuit unit 104 (or the memory management circuit 202) returns to the operation mode from the sleep mode in step S713, and Then step S707 will be executed.

倘若在步驟S711中未偵測到電源連接介面102b上的裝置休眠訊號接腳612的狀態從第一邏輯電位改變為第二邏輯電位時,步驟S711會被重複執行。 If it is not detected in step S711 that the state of the device sleep signal pin 612 on the power connection interface 102b is changed from the first logic potential to the second logic potential, step S711 is repeatedly performed.

倘若在步驟S703中判斷記憶體儲存裝置100的電源連接介面102b上的裝置休眠訊號接腳612上之電位訊號非處於第二邏輯電位時,在步驟S715中,記憶體控制電路單元104(或記憶體管理電路202)不開啟裝置休眠功能。 If it is determined in step S703 that the potential signal on the device sleep signal pin 612 on the power connection interface 102b of the memory storage device 100 is not at the second logic potential, in step S715, the memory control circuit unit 104 (or memory) The body management circuit 202) does not turn on the device sleep function.

值得一提的是,在本範例實施例中,記憶體控制電路單元104(或記憶體管理電路202)是根據電源連接介面102b上的裝置休眠訊號接腳612上之電位訊號來決定是否開啟裝置休眠功能。 然而,本發明不限於此,在本發明另一範例實施例中,記憶體控制電路單元104(或記憶體管理電路202)亦可根據電源連接介面102b上的其他接腳來決定是否開啟裝置休眠功能。例如,當透過主機介面204從主機系統1000接收到啟用裝置休眠功能指令時,記憶體控制電路單元104(或記憶體管理電路202)判斷電源連接介面102b的保留未使用之接腳(以下稱為第一接腳)上之電位訊號是否處於預定邏輯電位。倘若判斷第一接腳上之電位訊號處於預定 邏輯電位時,記憶體控制電路單元104(或記憶體管理電路202)會開啟記憶體儲存裝置100的裝置休眠功能,並且在開啟裝置休眠功能後若偵測到電源連接介面102b的裝置休眠訊號接腳上之電位處於第一邏輯電位時,則開始進入休眠模式。特別是,倘若此第一接腳上之電位為3.3伏特時,記憶體控制電路單元104(或記憶體管理電路202)不會開啟該記憶體儲存裝置100的裝置休眠功能。 It should be noted that, in the exemplary embodiment, the memory control circuit unit 104 (or the memory management circuit 202) determines whether to turn on the device according to the potential signal on the device sleep signal pin 612 on the power connection interface 102b. Sleep function. However, the present invention is not limited thereto. In another exemplary embodiment of the present invention, the memory control circuit unit 104 (or the memory management circuit 202) may also determine whether to turn on the device sleep according to other pins on the power connection interface 102b. Features. For example, when the enable device sleep function command is received from the host system 1000 through the host interface 204, the memory control circuit unit 104 (or the memory management circuit 202) determines the reserved unused pin of the power connection interface 102b (hereinafter referred to as Whether the potential signal on the first pin is at a predetermined logic potential. If it is judged that the potential signal on the first pin is in the predetermined At the logic potential, the memory control circuit unit 104 (or the memory management circuit 202) turns on the device sleep function of the memory storage device 100, and detects the device sleep signal connection of the power connection interface 102b after the device sleep function is turned on. When the potential on the pin is at the first logic potential, it begins to enter sleep mode. In particular, if the potential on the first pin is 3.3 volts, the memory control circuit unit 104 (or the memory management circuit 202) does not turn on the device sleep function of the memory storage device 100.

綜上所述,本發明範例實施例的偵測可複寫式非揮發性記憶體模組的方法、記憶體控制電路單元及記憶體儲存裝置是藉由在接收到啟用裝置休眠功能指令時識別電源連接介面上的裝置休眠訊號接腳的邏輯電位狀態以判斷與裝置休眠訊號接腳連接的訊號輸出接腳是否支援裝置休眠訊號協定,由此避免誤判而進入休眠模式。 In summary, the method for detecting a rewritable non-volatile memory module, the memory control circuit unit, and the memory storage device according to an exemplary embodiment of the present invention recognize power by receiving an enable device sleep function command. The logic potential state of the device sleep signal pin on the connection interface determines whether the signal output pin connected to the device sleep signal pin supports the device sleep signal protocol, thereby avoiding false positives and entering the sleep mode.

S701、S703、S705、S707、S709、S711、S713、S715‧‧‧休眠模式啟動方法的步驟 S701, S703, S705, S707, S709, S711, S713, S715‧‧‧ steps of the sleep mode starting method

Claims (23)

一種休眠模式啟動方法,用於一記憶體儲存裝置,該休眠模式啟動方法包括:(a)當從一主機系統接收到一啟用裝置休眠功能指令時,判斷該記憶體儲存裝置的一裝置休眠訊號接腳上之電位訊號是否處於與一第一邏輯電位不同的一第二邏輯電位(b)倘若在步驟(a)中判斷該記憶體儲存裝置的該電源連接介面上的該裝置休眠訊號接腳上之電位訊號處於該第二邏輯電位時,開啟該記憶體儲存裝置的一裝置休眠功能;(c)在開啟該記憶體儲存裝置的該裝置休眠功能之後,偵測該記憶體儲存裝置的該裝置休眠訊號接腳上之電位訊號是否從該第二邏輯電位改變為該第一邏輯電位;以及(d)倘若在步驟(c)中偵測到該記憶體儲存裝置的該裝置休眠訊號接腳上之電位訊號從該第二邏輯電位改變為該第一邏輯電位時,啟動該記憶體儲存裝置進入該休眠模式。 A sleep mode starting method for a memory storage device, the sleep mode starting method comprising: (a) determining a device sleep signal of the memory storage device when receiving an enable device sleep function command from a host system Whether the potential signal on the pin is at a second logic potential different from a first logic potential (b), if in step (a), determining the device sleep signal pin on the power connection interface of the memory storage device When the upper potential signal is at the second logic potential, turning on a device sleep function of the memory storage device; (c) detecting the memory storage device after the sleep function of the device is turned on Whether the potential signal on the device sleep signal pin changes from the second logic potential to the first logic potential; and (d) if the device sleep signal pin of the memory storage device is detected in step (c) When the upper potential signal changes from the second logic potential to the first logic potential, the memory storage device is activated to enter the sleep mode. 如申請專利範圍第1項所述的休眠模式啟動方法,更包括:倘若在步驟(a)中判斷該記憶體儲存裝置的該裝置休眠訊號接腳不處於該第二邏輯電位時,不開啟該記憶體儲存裝置的該裝置休眠功能。 The method for starting a sleep mode according to claim 1, further comprising: if it is determined in step (a) that the device sleep signal pin of the memory storage device is not at the second logic potential, The device sleep function of the memory storage device. 如申請專利範圍第1項所述的休眠模式啟動方法,其中該第一邏輯電位為一高邏輯電位且該第二邏輯電位為一低邏輯電位。 The sleep mode starting method of claim 1, wherein the first logic potential is a high logic potential and the second logic potential is a low logic potential. 如申請專利範圍第1項所述的休眠模式啟動方法,更包括:在該記憶體儲存裝置進入該休眠模式後,偵測該記憶體儲存裝置的該裝置休眠訊號接腳上之電位訊號是否從該第一邏輯電位改變為該第二邏輯電位;以及倘若偵測到該記憶體儲存裝置的該裝置休眠訊號接腳上之電位訊號從該第一邏輯電位改變為該第二邏輯電位時,使該記憶體儲存裝置從該休眠模式回復至一運作模式。 The sleep mode activation method of claim 1, further comprising: detecting whether the potential signal on the sleep signal pin of the memory storage device is from the memory storage device after entering the sleep mode Changing the first logic potential to the second logic potential; and if the potential signal on the sleep signal pin of the device of the memory storage device is detected to change from the first logic potential to the second logic potential, The memory storage device returns from the sleep mode to an operational mode. 如申請專利範圍第1項所述的休眠模式啟動方法,其中該裝置休眠訊號接腳配置於該記憶體儲存裝置的一電源連接介面上。 The sleep mode activation method of claim 1, wherein the device sleep signal pin is disposed on a power connection interface of the memory storage device. 一種記憶體控制電路單元,用於控制一記憶體儲存裝置,包括:一主機介面,用以電連接至一主機系統;一記憶體介面,用以耦接至一可複寫式非揮發性記憶體模組;以及一記憶體管理電路,耦接至該記憶體介面與該主機介面,並用以透過該主機介面從該主機系統接收到一啟用裝置休眠功能指令,其中當透過該主機介面從該主機系統接收到該啟用裝置休眠功能指令時,該記憶體管理電路判斷該記憶體儲存裝置的一裝置休眠訊號接腳上之電位訊號是否處於與一第一邏輯電位不同的一第二邏輯電位, 倘若判斷該裝置休眠訊號接腳處於該第二邏輯電位時,該記憶體管理電路開啟該記憶體儲存裝置的一裝置休眠功能,其中在開啟該記憶體儲存裝置的該裝置休眠功能之後,該記憶體管理電路更用以偵測該裝置休眠訊號接腳上之電位訊號是否從該第二邏輯電位改變為一第一邏輯電位,倘若偵測到該裝置休眠訊號接腳上之電位訊號從該第二邏輯電位改變為該第一邏輯電位時,該記憶體管理電路開始進入該休眠模式。 A memory control circuit unit for controlling a memory storage device includes: a host interface for electrically connecting to a host system; and a memory interface for coupling to a rewritable non-volatile memory And a memory management circuit coupled to the memory interface and the host interface, and configured to receive an enable device sleep function command from the host system through the host interface, wherein the host device is accessed from the host through the host interface When the system receives the enable device sleep function command, the memory management circuit determines whether the potential signal on a device sleep signal pin of the memory storage device is at a second logic potential different from a first logic potential. If it is determined that the device sleep signal pin is at the second logic potential, the memory management circuit turns on a device sleep function of the memory storage device, wherein the memory is turned on after the device sleep function of the memory storage device is turned on. The body management circuit is further configured to detect whether the potential signal on the sleep signal pin of the device changes from the second logic potential to a first logic potential, and if the potential signal on the sleep signal pin of the device is detected from the first When the two logic potentials change to the first logic potential, the memory management circuit begins to enter the sleep mode. 如申請專利範圍第6項所述的記憶體控制電路單元,其中倘若在透過該資料連接介面從該主機系統接收到該啟用裝置休眠功能指令後判斷該裝置休眠訊號接腳上之電位訊號不處於該第二邏輯電位時,該記憶體管理電路不開啟該記憶體儲存裝置的該裝置休眠功能。 The memory control circuit unit of claim 6, wherein the potential signal on the sleep signal pin of the device is not in a state after receiving the enable device sleep function command from the host system through the data connection interface. At the second logic potential, the memory management circuit does not turn on the device sleep function of the memory storage device. 如申請專利範圍第6項所述的記憶體控制電路單元,其中該第一邏輯電位為一高邏輯電位且該第二邏輯電位為一低邏輯電位。 The memory control circuit unit of claim 6, wherein the first logic potential is a high logic potential and the second logic potential is a low logic potential. 如申請專利範圍第6項所述的記憶體控制電路單元,其中該電源連接介面為一序列先進附件電源連接介面且該資料連接介面為一序列先進附件連接介面。 The memory control circuit unit of claim 6, wherein the power connection interface is a serial advanced accessory power connection interface and the data connection interface is a serial advanced accessory connection interface. 如申請專利範圍第6項所述的記憶體控制電路單元,其中該訊號輸出接腳配置於該主機系統的一電源供應連接介面中,且該訊號輸出接腳輸出一3.3伏特電壓。 The memory control circuit unit of claim 6, wherein the signal output pin is disposed in a power supply connection interface of the host system, and the signal output pin outputs a 3.3 volt voltage. 如申請專利範圍第6項所述的記憶體控制電路單元,其中該記憶體管理電路更用以在進入該休眠模式後,偵測該記憶體儲存裝置的該裝置休眠訊號接腳上之電位訊號是否從該第一邏輯電位改變為該第二邏輯電位,其中倘若偵測到該記憶體儲存裝置的該裝置休眠訊號接腳上之電位訊號從該第一邏輯電位改變為該第二邏輯電位時,該記憶體管理電路更用以從該休眠模式回復至一運作模式。 The memory control circuit unit of claim 6, wherein the memory management circuit is further configured to detect a potential signal on the sleep signal pin of the memory storage device after entering the sleep mode. Whether to change from the first logic potential to the second logic potential, wherein if the potential signal on the sleep signal pin of the device of the memory storage device is detected to change from the first logic potential to the second logic potential The memory management circuit is further configured to return from the sleep mode to an operation mode. 如申請專利範圍第6項所述的記憶體控制電路單元,其中該裝置休眠訊號接腳配置於該記憶體儲存裝置的一電源連接介面上。 The memory control circuit unit of claim 6, wherein the device sleep signal pin is disposed on a power connection interface of the memory storage device. 一種記憶體儲存裝置,包括:一連接介面單元,用以耦接至一主機系統,該連接介面單元包括一資料連接介面;一可複寫式非揮發性記憶體模組,具有多個實體抹除單元;以及一記憶體控制電路單元,耦接至該連接介面單元與該可複寫式非揮發性記憶體模組,其中該記憶體控制電路單元用以透過該資料連接介面從該主機系統接收到一啟用裝置休眠功能指令,其中當透過該資料連接介面從該主機系統接收到該啟用裝置休眠功能指令時,該記憶體控制電路單元判斷一裝置休眠訊號接腳上之電位訊號是否處於與一第一邏輯電位相反的一第二邏輯電 位,倘若判斷該裝置休眠訊號接腳上之電位訊號處於該第二邏輯電位時,該記憶體控制電路單元開啟一裝置休眠功能,其中在開啟該裝置休眠功能之後,該記憶體控制電路單元更用以偵測該裝置休眠訊號接腳上之電位訊號是否從該第二邏輯電位改變為一第一邏輯電位,倘若偵測到該裝置休眠訊號接腳上之電位訊號從該第二邏輯電位改變為該第一邏輯電位時,該記憶體控制電路單元開始進入該休眠模式。 A memory storage device includes: a connection interface unit for coupling to a host system, the connection interface unit includes a data connection interface; and a rewritable non-volatile memory module having multiple physical erases And a memory control circuit unit coupled to the connection interface unit and the rewritable non-volatile memory module, wherein the memory control circuit unit is configured to receive from the host system through the data connection interface An enable device sleep function command, wherein when the enable device sleep function command is received from the host system through the data connection interface, the memory control circuit unit determines whether a potential signal on a device sleep signal pin is in a a second logic power with a logic potential opposite Bit, if it is determined that the potential signal on the sleep signal pin of the device is at the second logic potential, the memory control circuit unit turns on a device sleep function, wherein after the device sleep function is turned on, the memory control circuit unit is further The device detects whether the potential signal on the sleep signal pin of the device changes from the second logic potential to a first logic potential, and if the potential signal on the sleep signal pin of the device is detected to be changed from the second logic potential When the first logic potential is reached, the memory control circuit unit begins to enter the sleep mode. 如申請專利範圍第13項所述的記憶體儲存裝置,其中倘若在透過該資料連接介面從該主機系統接收到該啟用裝置休眠功能指令後判斷該裝置休眠訊號接腳上之電位訊號不處於該第二邏輯電位時,該記憶體控制電路單元不開啟該記憶體儲存裝置的該裝置休眠功能。 The memory storage device of claim 13, wherein the potential signal on the sleep signal pin of the device is not in the state after receiving the enable device sleep function command from the host system through the data connection interface. At the second logic potential, the memory control circuit unit does not turn on the device sleep function of the memory storage device. 如申請專利範圍第13項所述的記憶體儲存裝置,其中該第一邏輯電位為一高邏輯電位且該第二邏輯電位為一低邏輯電位。 The memory storage device of claim 13, wherein the first logic potential is a high logic potential and the second logic potential is a low logic potential. 如申請專利範圍第13項所述的記憶體儲存裝置,其中該電源連接介面為一序列先進附件電源連接介面且該資料連接介面為一序列先進附件連接介面。 The memory storage device of claim 13, wherein the power connection interface is a serial advanced accessory power connection interface and the data connection interface is a serial advanced accessory connection interface. 如申請專利範圍第13項所述的記憶體儲存裝置,其中該訊號輸出接腳配置於該主機系統的一電源供應連接介面中,且該 訊號輸出接腳輸出一3.3伏特電壓。 The memory storage device of claim 13, wherein the signal output pin is disposed in a power supply connection interface of the host system, and the The signal output pin outputs a 3.3 volt voltage. 如申請專利範圍第13項所述的記憶體儲存裝置,其中該記憶體控制電路單元更用以在進入該休眠模式後,偵測該裝置休眠訊號接腳上之電位訊號是否從該第一邏輯電位改變為該第二邏輯電位,其中倘若偵測到該裝置休眠訊號接腳上之電位訊號從該第一邏輯電位改變為該第二邏輯電位時,該記憶體控制電路單元更用以從該休眠模式回復至一運作模式。 The memory storage device of claim 13, wherein the memory control circuit unit is further configured to detect, after entering the sleep mode, whether the potential signal on the sleep signal pin of the device is from the first logic The potential is changed to the second logic potential, wherein the memory control circuit unit is further used to detect if the potential signal on the sleep signal pin of the device is changed from the first logic potential to the second logic potential The sleep mode returns to an operational mode. 如申請專利範圍第13項所述的記憶體儲存裝置,其中該連接介面單元更包括一電源連接介面並且該裝置休眠訊號接腳配置於該電源連接介面上。 The memory storage device of claim 13, wherein the connection interface unit further comprises a power connection interface and the device sleep signal pin is disposed on the power connection interface. 一種記憶體控制電路單元,用於控制一記憶體儲存裝置,包括:一主機介面,用以電連接至一主機系統;一記憶體介面,用以耦接至一可複寫式非揮發性記憶體模組;以及一記憶體管理電路,耦接至該記憶體介面與該主機介面,並用以透過該主機介面從該主機系統接收到一啟用裝置休眠功能指令,其中該主機介面具有一資料連接介面及一電源連接介面,該資料連接介面用以接收由一第一傳輸線傳送之至少一組差分訊號,該電源連接介面用以接收由一第二傳輸線傳送之至少一輸入 電源,該第一傳輸線與該第二傳輸線彼此獨立,其中該當透過該主機介面從該主機系統接收到該啟用裝置休眠功能指令時,該記憶體管理電路判斷該電源連接介面的一第一接腳上之電位訊號是否處於一預定邏輯電位,倘若判斷該第一接腳上之電位訊號處於該預定邏輯電位時,該記憶體管理電路開啟該記憶體儲存裝置的一裝置休眠功能,其中在開啟該記憶體儲存裝置的該裝置休眠功能之後,該記憶體管理電路更用以偵測該裝置休眠訊號接腳上之電位訊號是否為一第一邏輯電位,倘若偵測到該裝置休眠訊號接腳上之電位訊號為該第一邏輯電位時,該記憶體管理電路開始進入該休眠模式。 A memory control circuit unit for controlling a memory storage device includes: a host interface for electrically connecting to a host system; and a memory interface for coupling to a rewritable non-volatile memory And a memory management circuit coupled to the memory interface and the host interface, and configured to receive an enable device sleep function command from the host system through the host interface, wherein the host media mask has a data connection interface And a power connection interface for receiving at least one set of differential signals transmitted by a first transmission line, the power connection interface for receiving at least one input transmitted by a second transmission line The first transmission line and the second transmission line are independent of each other, wherein the memory management circuit determines a first pin of the power connection interface when receiving the enable device sleep function command from the host system through the host interface Whether the upper potential signal is at a predetermined logic potential, and if it is determined that the potential signal on the first pin is at the predetermined logic potential, the memory management circuit turns on a device sleep function of the memory storage device, wherein the After the device is in the memory function, the memory management circuit is further configured to detect whether the potential signal on the sleep signal pin of the device is a first logic potential, if the device is detected on the sleep signal pin. When the potential signal is the first logic potential, the memory management circuit begins to enter the sleep mode. 如申請專利範圍第20項所述的記憶體控制電路單元,該第一接腳不同於該電源連接介面的該裝置休眠訊號接腳。 The memory control circuit unit of claim 20, wherein the first pin is different from the device sleep signal pin of the power connection interface. 如申請專利範圍第20項所述的記憶體控制電路單元,其中倘若該第一接腳上之電位為3.3伏特時,則該記憶體管理電路不開啟該記憶體儲存裝置的該裝置休眠功能。 The memory control circuit unit of claim 20, wherein the memory management circuit does not turn on the device sleep function of the memory storage device if the potential on the first pin is 3.3 volts. 如申請專利範圍第20項所述的記憶體控制電路單元,其中該預定邏輯電位不同於該第一邏輯電位。 The memory control circuit unit of claim 20, wherein the predetermined logic potential is different from the first logic potential.
TW102148530A 2013-12-26 2013-12-26 Method of enabling sleep mode, memory control circuit unit and storage apparatus TWI512623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102148530A TWI512623B (en) 2013-12-26 2013-12-26 Method of enabling sleep mode, memory control circuit unit and storage apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102148530A TWI512623B (en) 2013-12-26 2013-12-26 Method of enabling sleep mode, memory control circuit unit and storage apparatus

Publications (2)

Publication Number Publication Date
TW201525866A true TW201525866A (en) 2015-07-01
TWI512623B TWI512623B (en) 2015-12-11

Family

ID=54197699

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102148530A TWI512623B (en) 2013-12-26 2013-12-26 Method of enabling sleep mode, memory control circuit unit and storage apparatus

Country Status (1)

Country Link
TW (1) TWI512623B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535616A (en) * 2020-04-13 2021-10-22 慧荣科技股份有限公司 Computer readable storage medium, method and device for controlling access of flash memory device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11385906B2 (en) 2020-04-13 2022-07-12 Silicon Motion, Inc. Computer program product and method and apparatus for controlling access to flash storage

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6230274B1 (en) * 1998-11-03 2001-05-08 Intel Corporation Method and apparatus for restoring a memory device channel when exiting a low power state
DE10124923B4 (en) * 2001-05-21 2014-02-06 Qimonda Ag Test method for testing a data memory and data memory with integrated test data compression circuit
TWI283367B (en) * 2005-03-15 2007-07-01 Uli Electronics Inc Method for transmitting a power-saving command between computer system and system chips
US20080082763A1 (en) * 2006-10-02 2008-04-03 Metaram, Inc. Apparatus and method for power management of memory circuits by a system or component thereof
TWI361381B (en) * 2007-05-11 2012-04-01 Asustek Comp Inc Management device for basic input/output system and management method thereof
KR101448169B1 (en) * 2008-01-02 2014-10-13 삼성전자주식회사 Tree dimentional memory device of multi-pln achitechure
US8887171B2 (en) * 2009-12-28 2014-11-11 Intel Corporation Mechanisms to avoid inefficient core hopping and provide hardware assisted low-power state selection
TWI459400B (en) * 2012-04-17 2014-11-01 Phison Electronics Corp Memory stroage apparatus, and memolry controller and power control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535616A (en) * 2020-04-13 2021-10-22 慧荣科技股份有限公司 Computer readable storage medium, method and device for controlling access of flash memory device
CN113535616B (en) * 2020-04-13 2023-09-22 慧荣科技股份有限公司 Computer readable storage medium, method and device for controlling access of flash memory device

Also Published As

Publication number Publication date
TWI512623B (en) 2015-12-11

Similar Documents

Publication Publication Date Title
US9317418B2 (en) Non-volatile memory storage apparatus, memory controller and data storing method
US9268687B2 (en) Data writing method, memory control circuit unit and memory storage apparatus
US9280460B2 (en) Data writing method, memory control circuit unit and memory storage apparatus
US8837217B2 (en) Memory storage apparatus, and memory controller and power control method
US9176865B2 (en) Data writing method, memory controller, and memory storage device
US8897092B2 (en) Memory storage device, memory controller and controlling method
US9460004B2 (en) Memory erasing method, memory controller, and memory storage apparatus
US8423838B2 (en) Block management method, memory controller, and memory storage apparatus
US9552287B2 (en) Data management method, memory controller and embedded memory storage apparatus using the same
US9063888B2 (en) Program code loading and accessing method, memory controller, and memory storage apparatus
TWI486765B (en) Memory management method, memory controller and memory storage device using the same
TWI607309B (en) Memory management method, memory control circuit unit and memory storage device
TWI526818B (en) Method of enabling sleep mode, memory control circuit unit and storage appartus
CN107045890B (en) Data protection method, memory control circuit unit and memory storage device
TWI494944B (en) Method of detecting memory modules, memory control circuit unit and storage appartus
CN104765625A (en) Sleep mode starting method, memory control circuit unit and storing equipment
TWI512623B (en) Method of enabling sleep mode, memory control circuit unit and storage apparatus
TWI536392B (en) Non-volatile memory storage apparatus, memory controller and data storage method
TWI521538B (en) Non-volatile memory storage apparatus, memory controller and data storage method
CN107229413B (en) Memory management method, memory control circuit unit and memory storage device
US9268554B2 (en) Controlling method, memory controller, and data transmission system
US10169224B2 (en) Data protecting method for preventing received data from losing, memory storage apparatus and memory control circuit unit
CN104615554A (en) Memory module detecting method, memory control circuit unit and storing device