TW201623987A - Dynamic memory testing apparatus and testing method thereof - Google Patents

Dynamic memory testing apparatus and testing method thereof Download PDF

Info

Publication number
TW201623987A
TW201623987A TW103145223A TW103145223A TW201623987A TW 201623987 A TW201623987 A TW 201623987A TW 103145223 A TW103145223 A TW 103145223A TW 103145223 A TW103145223 A TW 103145223A TW 201623987 A TW201623987 A TW 201623987A
Authority
TW
Taiwan
Prior art keywords
memory
dynamic memory
test
dynamic
test code
Prior art date
Application number
TW103145223A
Other languages
Chinese (zh)
Other versions
TWI559009B (en
Inventor
蕭啟維
Original Assignee
力晶科技股份有限公司
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 力晶科技股份有限公司 filed Critical 力晶科技股份有限公司
Priority to TW103145223A priority Critical patent/TWI559009B/en
Priority to CN201510007984.0A priority patent/CN105825898B/en
Publication of TW201623987A publication Critical patent/TW201623987A/en
Application granted granted Critical
Publication of TWI559009B publication Critical patent/TWI559009B/en

Links

Abstract

A dynamic memory test apparatus and method are provided. The dynamic memory test apparatus includes a SOC (system on chip), and the SOC is coupled to the dynamic memory. The SOC includes a control unit and an embedded memory apparatus. The control unit is coupled to the dynamic memory. The embedded memory apparatus stores a memory testing program code, and the control unit reads the memory testing program code and tests the dynamic memory by executing the memory testing program code.

Description

動態記憶體測試裝置及其測試方法 Dynamic memory test device and test method thereof

本發明是有關於一種動態記憶體測試裝置及測試方法,且特別是有關於一種利用系統整合式晶片進行外部動態記憶體測試的試裝置及測試方法。 The invention relates to a dynamic memory testing device and a testing method, and in particular to a testing device and a testing method for external dynamic memory testing using a system integrated chip.

請參見圖1,圖1繪示習知技術的動態記憶體測試裝置的方塊。在圖1中,控制器110耦接至動態記憶體120,並針對動態記憶體120執行測試動作。控制器110為系統整合式晶片。在此架構下,當控制器110針對外部的動態記憶體進行測試時,控制器110會由動態記憶體120來讀取測試程式碼121,並透過執行測試程式碼121來對動態記憶體120進行測試動作。 Please refer to FIG. 1. FIG. 1 is a block diagram of a prior art dynamic memory testing device. In FIG. 1, the controller 110 is coupled to the dynamic memory 120 and performs a test action for the dynamic memory 120. Controller 110 is a system integrated wafer. In this architecture, when the controller 110 tests the external dynamic memory, the controller 110 reads the test code 121 from the dynamic memory 120 and executes the test code 121 to perform the dynamic memory 120. Test action.

由上述的說明可以得知,圖1繪示的習知技術的動態記憶體測試裝置中,由於測試程式碼121被儲存在動態記憶體裝置120,因此,動態記憶體120中用來儲存測試程式碼121的記憶區塊的內容不可以被破壞,也因此,要針對儲存測試程式碼121的 記憶區塊進行測試是不可能的。也就是說,這樣的架構並無法針對動態記憶體120進行完整的測試動作。 As can be seen from the above description, in the dynamic memory test device of the prior art shown in FIG. 1, since the test code 121 is stored in the dynamic memory device 120, the dynamic memory 120 is used to store the test program. The content of the memory block of the code 121 cannot be destroyed, and therefore, it is necessary to store the test code 121. It is impossible to test the memory block. That is to say, such an architecture cannot perform a complete test action on the dynamic memory 120.

再者,在動態記憶體裝置120儲存測試程式碼121的記憶區塊無法並測試的前提下,一旦儲存測試程式碼121的記憶區塊有損壞的現象發生時,所儲存的測試程式碼121也必然是不正確的資料。當控制器110執行錯誤的測試程式碼121時,將無法有效執行測試動作,嚴重的還可能會造成系統當機或是重新開機的可能。 Furthermore, if the memory block storing the test code 121 of the dynamic memory device 120 cannot be tested and tested, if the memory block storing the test code 121 is damaged, the stored test code 121 is also stored. It must be incorrect information. When the controller 110 executes the wrong test code 121, the test action will not be performed effectively, and the system may be down or restarted.

本發明提供一種動態記憶體測試裝置及測試方法,可提升動態記憶體的測試效能。 The invention provides a dynamic memory testing device and a testing method, which can improve the testing performance of the dynamic memory.

本發明的動態記憶體測試裝置包括系統整合式晶片,用以耦接至動態記憶體。系統整合式晶片包括控制單元以及內嵌式記憶體裝置。控制單元耦接至動態記憶體。內嵌式記憶體裝置儲存記憶體測試程式碼,其中,控制單元讀取記憶體測試程式碼並藉由執行記憶體測試程式碼以對動態記憶體執行測試動作。 The dynamic memory testing device of the present invention includes a system integrated chip for coupling to a dynamic memory. The system integrated chip includes a control unit and an embedded memory device. The control unit is coupled to the dynamic memory. The embedded memory device stores the memory test code, wherein the control unit reads the memory test code and performs a test action on the dynamic memory by executing the memory test code.

在本發明的一實施例中,動態記憶體測試裝置更包括連接介面。連接介面耦接至內嵌式記憶體裝置,其中,內嵌式記憶體裝置藉由連接介面耦接外部儲存單元,並由外部儲存單元讀取記憶體測試程式碼。 In an embodiment of the invention, the dynamic memory testing device further includes a connection interface. The connection interface is coupled to the embedded memory device, wherein the embedded memory device is coupled to the external storage unit through the connection interface, and the memory test code is read by the external storage unit.

在本發明的一實施例中,上述的連接介面包括內部系統 匯流排介面及通用序列匯流排介面的至少其中之一。 In an embodiment of the invention, the connection interface includes an internal system At least one of a bus interface and a universal serial bus interface.

在本發明的一實施例中,上述的控制單元包括中央處理單元以及動態記憶體控制器。動態記憶體控制器耦接中央處理單元,其中,中央處理單元執行記憶體測試程式碼以透過動態記憶體控制器對動態記憶體執行測試動作。 In an embodiment of the invention, the control unit includes a central processing unit and a dynamic memory controller. The dynamic memory controller is coupled to the central processing unit, wherein the central processing unit executes the memory test code to perform a test action on the dynamic memory through the dynamic memory controller.

在本發明的一實施例中,上述的內嵌式記憶體裝置包括靜態記憶體以及靜態記憶體控制器。靜態記憶體用以儲存記憶體測試程式碼。靜態記憶體控制器耦接靜態記憶體,靜態記憶體控制器接收記憶體測試程式碼,並將記憶體測試程式碼儲存於靜態記憶體中,並由靜態記憶體讀取記憶體測試程式碼以提供記憶體測試程式碼至中央處理單元。 In an embodiment of the invention, the embedded memory device includes a static memory and a static memory controller. Static memory is used to store the memory test code. The static memory controller is coupled to the static memory, the static memory controller receives the memory test code, and stores the memory test code in the static memory, and reads the memory test code from the static memory. Provide memory test code to the central processing unit.

在本發明的一實施例中,上述的靜態記憶體更包括儲存動態記憶體的初始化資訊以及動態記憶體的測試模式啟動資訊。 In an embodiment of the invention, the static memory further includes initialization information for storing the dynamic memory and test mode startup information of the dynamic memory.

本發明提出的動態記憶體的測試方法,包括:提供系統整合式晶片,並使記憶體測試程式碼儲存於系統整合式晶片的內嵌式記憶體裝置中;由內嵌式記憶體裝置讀取記憶體測試程式;以及,執行記憶體測試程式以對動態記憶體執行測試動作。 The method for testing a dynamic memory provided by the present invention comprises: providing a system integrated chip, and storing the memory test code in an embedded memory device of the system integrated chip; reading by the embedded memory device a memory test program; and executing a memory test program to perform test actions on dynamic memory.

基於上述,本發明將測試程式碼放置在受測的動態記憶體的外部,如此一來,動態記憶體可以完整的被測試,且系統整合式晶片所執行的測試程式碼也不會有可能發生錯誤的狀態,使動態記憶體的測試動作,可以無風險的有效被執行。 Based on the above, the present invention places the test code on the outside of the dynamic memory to be tested, so that the dynamic memory can be completely tested, and the test code executed by the system integrated chip is not likely to occur. The wrong state allows the dynamic memory test action to be performed without risk.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉 實施例,並配合所附圖式作詳細說明如下。 In order to make the above features and advantages of the present invention more apparent, the following is a special The embodiments are described in detail below in conjunction with the drawings.

110‧‧‧控制器 110‧‧‧ Controller

120‧‧‧動態記憶體 120‧‧‧Dynamic memory

121‧‧‧測試程式碼 121‧‧‧Test code

200‧‧‧動態記憶體測試裝置 200‧‧‧Dynamic memory test device

300‧‧‧動態記憶體測試裝置 300‧‧‧Dynamic memory test device

210‧‧‧系統整合式晶片 210‧‧‧System Integrated Chip

310‧‧‧系統整合式晶片 310‧‧‧System Integrated Chip

400‧‧‧系統整合式晶片 400‧‧‧System Integrated Chip

220、320‧‧‧動態記憶體 220, 320‧‧‧ dynamic memory

211、311、410‧‧‧控制單元 211, 311, 410‧‧‧ control unit

TCODE‧‧‧記憶體測試程式碼 TCODE‧‧‧ memory test code

D3‧‧‧記憶體測試程式碼 D3‧‧‧ memory test code

212‧‧‧內嵌式記憶體裝置 212‧‧‧Inline memory device

312‧‧‧內嵌式記憶體裝置 312‧‧‧Inline memory device

313‧‧‧連接介面 313‧‧‧Connection interface

330‧‧‧外部儲存單元 330‧‧‧External storage unit

411‧‧‧中央處理單元 411‧‧‧Central Processing Unit

412‧‧‧動態記憶體控制器 412‧‧‧Dynamic Memory Controller

420‧‧‧內嵌式記憶體裝置 420‧‧‧Inline memory device

422‧‧‧靜態記憶體 422‧‧‧ Static memory

D1‧‧‧初始化資訊 D1‧‧‧Initial Information

D2‧‧‧測試模式啟動資訊 D2‧‧‧ test mode start information

S710~S730‧‧‧記憶體測試步驟 S710~S730‧‧‧ memory test procedure

圖1繪示的習知技術的動態記憶體測試裝置。 FIG. 1 illustrates a prior art dynamic memory testing device.

圖2繪示本發明一實施例的動態記憶體測試裝置的示意圖。 2 is a schematic diagram of a dynamic memory testing device according to an embodiment of the invention.

圖3繪示本發明另一實施例的動態記憶體測試裝置的示意圖。 3 is a schematic diagram of a dynamic memory testing device according to another embodiment of the present invention.

圖4繪示本發明實施例的系統式整合晶片400的一實施方式。 FIG. 4 illustrates an embodiment of a system-integrated wafer 400 in accordance with an embodiment of the present invention.

圖5繪示本發明實施例中靜態記憶體的儲存內容的示意圖。 FIG. 5 is a schematic diagram showing the stored content of the static memory in the embodiment of the present invention.

圖6繪示本發明實施例的動態記憶體測試裝置的邏輯位址配置的示意圖。 6 is a schematic diagram showing a logical address configuration of a dynamic memory testing device according to an embodiment of the present invention.

圖7繪示本發明一實施例的動態記憶體測試的流程圖。 FIG. 7 is a flow chart of a dynamic memory test according to an embodiment of the invention.

請參照圖2,圖2繪示本發明一實施例的動態記憶體測試裝置的示意圖。動態記憶體測試裝置200包括系統整合式晶片210。其中,系統整合式晶片210耦接動態記憶體220並可對動態記憶體220進行測試動作。動態記憶體220可以是動態隨機存取記憶體(Dynamic Random Access Memory,DRAM)。 Please refer to FIG. 2. FIG. 2 is a schematic diagram of a dynamic memory testing device according to an embodiment of the present invention. The dynamic memory testing device 200 includes a system integrated wafer 210. The system integrated chip 210 is coupled to the dynamic memory 220 and can perform a test operation on the dynamic memory 220. The dynamic memory 220 may be a Dynamic Random Access Memory (DRAM).

系統整合式晶片210包括控制單元211以及內嵌式記憶體裝置212。控制單元211耦接至動態記憶體220,內嵌式記憶體 裝置212則耦接至控制單元211。其中,關於動態記憶體220的測試方面,內嵌式記憶體裝置212可儲存記憶體測試程式碼TCODE,而當動態記憶體220的測試動作要進行時,控制單元211可由內嵌式記憶體裝置212讀取其所儲存的記憶體測試程式碼TCODE,並透過執行記憶體測試程式碼TCODE來進行對動態記憶體220的測試動作。 The system integrated wafer 210 includes a control unit 211 and an embedded memory device 212. The control unit 211 is coupled to the dynamic memory 220, and the embedded memory The device 212 is coupled to the control unit 211. In the test aspect of the dynamic memory 220, the embedded memory device 212 can store the memory test code TCODE, and when the test operation of the dynamic memory 220 is to be performed, the control unit 211 can be embedded in the memory device. 212 reads the memory test code TCODE stored therein, and performs a test operation on the dynamic memory 220 by executing the memory test code TCODE.

在本實施例中,記憶體測試程式碼TCODE可以由系統整合式晶片210外部的元件來提供,其中,內嵌式記憶體裝置212可以由外部元件來接收記憶體測試程式碼TCODE,並將之儲存在內嵌式記憶體裝置212中。當控制單元211要執行動態記憶體220的測試動作時,內嵌式記憶體裝置212則可提供其所儲存的記憶體測試程式碼TCODE至控制單元211以供控制單元211執行相對應的動態記憶體220的測試動作。 In this embodiment, the memory test code TCODE can be provided by an external component of the system integrated chip 210, wherein the embedded memory device 212 can receive the memory test code TCODE by an external component and Stored in the embedded memory device 212. When the control unit 211 is to perform the test operation of the dynamic memory 220, the embedded memory device 212 can provide the stored memory test code TCODE to the control unit 211 for the control unit 211 to perform the corresponding dynamic memory. Test action of body 220.

值得注意的是,本發明實施例記憶體測試程式碼TCODE並非由受測的動態記憶體220所提供。也就是說,記憶體測試程式碼TCODE並不會占去動態記憶體220的部分記憶區域。當控制單元211對動態記憶體220進行測試動作時,可以完整的對動態記憶體220的所有的記憶區域進行測試。另外,本發明實施例記憶體測試程式碼TCODE可以由可靠的(測試過的)外部元件來提供,因此,記憶體測試程式碼TCODE可以確定是正確無誤的測試程式碼。控制單元211執行記憶體測試程式碼TCODE可正確的執行動態記憶體220的測試動作,系統整合式晶片210不致於會有 發生當機會重新開機的可能。 It should be noted that the memory test code TCODE of the embodiment of the present invention is not provided by the measured dynamic memory 220. That is to say, the memory test code TCODE does not occupy part of the memory area of the dynamic memory 220. When the control unit 211 performs a test operation on the dynamic memory 220, all the memory areas of the dynamic memory 220 can be completely tested. In addition, the memory test code TCODE of the embodiment of the present invention can be provided by a reliable (tested) external component, and therefore, the memory test code TCODE can determine the correct test code. The control unit 211 executes the memory test code TCODE to correctly perform the test operation of the dynamic memory 220, and the system integrated chip 210 does not have a The possibility of a reboot when the opportunity occurs.

請參照圖3,圖3繪示本發明另一實施例的動態記憶體測試裝置的示意圖。動態記憶體測試裝置300包括系統整合式晶片310。其中,系統整合式晶片310耦接動態記憶體320並可對動態記憶體320進行測試動作。 Please refer to FIG. 3. FIG. 3 is a schematic diagram of a dynamic memory testing device according to another embodiment of the present invention. The dynamic memory testing device 300 includes a system integrated wafer 310. The system integrated chip 310 is coupled to the dynamic memory 320 and can perform a test action on the dynamic memory 320.

系統整合式晶片310包括控制單元311、內嵌式記憶體裝置312以及連接介面313。與前述實施例不相同的,本實施例的內嵌式記憶體裝置312並耦接至連接介面313,且透過連接介面313連接至外部儲存單元330。外部儲存單元330是不同於動態記憶體320的另一個儲存元件。外部儲存單元330中預先存有記憶體測試程式碼,並透過連接介面313將記憶體測試程式碼提供給內嵌式記憶體裝置312。 The system integrated chip 310 includes a control unit 311, an embedded memory device 312, and a connection interface 313. The in-cell memory device 312 of the present embodiment is coupled to the connection interface 313 and is connected to the external storage unit 330 through the connection interface 313. External storage unit 330 is another storage element than dynamic memory 320. The memory test code is pre-stored in the external storage unit 330, and the memory test code is provided to the embedded memory device 312 through the connection interface 313.

附帶一提的,連接介面313可以是內部系統匯流排(Internal System Bus)或通用序列匯流排(Universal Serial Bus,USB)介面,而外部儲存單元330可以是例如是快閃記憶體。此外,在本實施例中,系統整合式晶片310與動態記憶體320可以與外部儲存單元330架構在相同或不同的電路板上。 Incidentally, the connection interface 313 may be an internal system bus (Universal System Bus) or a Universal Serial Bus (USB) interface, and the external storage unit 330 may be, for example, a flash memory. In addition, in this embodiment, the system integrated chip 310 and the dynamic memory 320 may be on the same or different circuit boards as the external storage unit 330.

連接介面313可以是系統式整合晶片310的內部系統匯流排介面形式,外部儲存單元330(可以是NAND或是NOR型式的快閃記憶體所建構)中的記憶體測試程式碼直接讀取並存放於系統式整合晶片310的內嵌式記憶體裝置312,並提供控制單元311執行。在這樣的架構下,在本實施例的系統整合式晶片310、 動態記憶體320以及外部儲存單元330都可以架構在相同的電路板上。 The connection interface 313 can be in the form of an internal system bus interface of the system-integrated chip 310. The memory test code in the external storage unit 330 (which can be constructed by a NAND or a NOR type flash memory) can be directly read and stored. The embedded memory device 312 of the wafer 310 is systematically integrated and provided by the control unit 311. Under such an architecture, the system integrated wafer 310 of the present embodiment, Both the dynamic memory 320 and the external storage unit 330 can be constructed on the same circuit board.

另外,連接介面313也可以是耦接至外部USB介面形式,透過USB OTG(On-The-Go)介面將記憶體測試程式碼傳輸至系統式整合晶片310之內嵌式記憶體裝置312中,並提供控制器311來執行。值得一提的是,在這樣的架構下,外部的USB形式的連接介面313可連接至不設置在同一電路板上的外部儲存單元330。 In addition, the connection interface 313 can also be coupled to the external USB interface form, and the memory test code is transmitted to the embedded memory device 312 of the system integrated chip 310 through the USB OTG (On-The-Go) interface. A controller 311 is provided to perform. It is worth mentioning that under such an architecture, an external USB-type connection interface 313 can be connected to an external storage unit 330 that is not disposed on the same circuit board.

當然,連接介面313也可以同時包括內部系統匯流排介面以及外部USB介面,使用者可以依據需求來選擇所需的介面進行連接。 Of course, the connection interface 313 can also include an internal system bus interface and an external USB interface, and the user can select a desired interface to connect according to requirements.

以下請參照圖4,圖4繪示本發明實施例的系統式整合晶片400的一實施方式。系統式整合晶片400包括控制單元410以及內嵌式記憶體裝置420。控制單元410包括中央處理單元411以及動態記憶體控制器412。內嵌式記憶體裝置420則包括靜態記憶體控制器421以及靜態記憶體422。 Please refer to FIG. 4, which illustrates an embodiment of a system-integrated wafer 400 in accordance with an embodiment of the present invention. The system-integrated wafer 400 includes a control unit 410 and an embedded memory device 420. The control unit 410 includes a central processing unit 411 and a dynamic memory controller 412. The embedded memory device 420 includes a static memory controller 421 and static memory 422.

靜態記憶體控制器421可由外部讀取記憶體測試程式碼TCODE,並將記憶體測試程式碼TCODE儲存在靜態記憶體422中。當中央處理單元411要進行外部的動態記憶體進行測試時,中央處理單元411可透過靜態記憶體控制器421由靜態記憶體422中讀出記憶體測試程式碼TCODE,中央處理單元411並可藉由執行記憶體測試程式碼TCODE來對外部的動態記憶體進行測試。 The static memory controller 421 can externally read the memory test code TCODE and store the memory test code TCODE in the static memory 422. When the central processing unit 411 is to perform external dynamic memory testing, the central processing unit 411 can read the memory test code TCODE from the static memory 422 through the static memory controller 421, and the central processing unit 411 can borrow The external dynamic memory is tested by executing the memory test code TCODE.

另外,當動態記憶體測試時,動態記憶體控制器412可依據記憶體測試程式碼TCODE的執行動作來對受測的動態記憶體進行測試動作,例如對受測的動態記憶體執行位址設定、資料寫入以及資料讀出等相關動作。 In addition, when the dynamic memory is tested, the dynamic memory controller 412 can perform a test operation on the measured dynamic memory according to the execution action of the memory test code TCODE, for example, performing address setting on the measured dynamic memory. , data writing and data reading and other related actions.

值得注意的是,本實施例中對應記憶體測試程式碼TCODE的記憶體測試動作可以為本領域具通常知識者所熟知的動態記憶體測試動作,沒有特定的限制。 It should be noted that the memory test action corresponding to the memory test code TCODE in this embodiment may be a dynamic memory test action well known to those skilled in the art without particular limitation.

此外,請參照圖5,圖5繪示本發明實施例中靜態記憶體的儲存內容的示意圖。其中,靜態記憶體422除可儲存記憶體測試程式D3外,尚可儲存關於動態記憶體的初始化資訊D1以及關於動態記憶體的測試模式啟動資訊D2等。 In addition, please refer to FIG. 5. FIG. 5 is a schematic diagram showing the storage content of the static memory in the embodiment of the present invention. The static memory 422 can store the initialization information D1 about the dynamic memory and the test mode startup information D2 about the dynamic memory, in addition to the memory test program D3.

由圖5可以得知,當中央處理單元411要進行動態記憶體的測試動作時,可以先由靜態記憶體422中讀取初始化資訊D1,藉此,中央處理單元411可先對受測的動態記憶體進行初始化的動作。接著,中央處理單元411再讀取靜態記憶體422中的動態記憶體的測試模式啟動資訊D2,並藉由測試模式啟動資訊D2來啟動受測的動態記憶體的測試動作。最後,中央處理單元411讀取記憶體測試程式D3,並藉以對受測的動態記憶體進行測試動作。 As can be seen from FIG. 5, when the central processing unit 411 is to perform a dynamic memory test operation, the initialization information D1 can be read from the static memory 422, whereby the central processing unit 411 can first measure the dynamics. The action of initializing the memory. Then, the central processing unit 411 reads the test mode start information D2 of the dynamic memory in the static memory 422, and starts the test operation of the measured dynamic memory by the test mode start information D2. Finally, the central processing unit 411 reads the memory test program D3 and performs a test action on the measured dynamic memory.

值得一提的,本發明實施例中,除可以對受測的動態記憶體進行資料寫入以及資料讀出的驗證動作以測試動態記憶體外,還可以透過初始化資訊D1來改變受測的動態記憶體內部的存 取的時間資訊(例如改變位元線等化延遲時間(BLEQ Delay Time(Bit line equalization Delay Time)),及/或變化動態記憶體的核心電壓(core voltage)來進行測試。如此一來,動態記憶體的測試時間可以縮短,另外,還可利用不同電壓進行動態記憶體的測試動作。 It is worth mentioning that, in the embodiment of the present invention, in addition to performing the data writing and the data reading verification action on the measured dynamic memory to test the dynamic memory, the dynamic memory to be tested can also be changed by initializing the information D1. Internal storage Take time information (such as changing the BITQ Delay Time (Bit line equalization Delay Time)) and/or change the core voltage of the dynamic memory to test. The test time of the memory can be shortened, and the test operation of the dynamic memory can be performed using different voltages.

接著請參照圖6,圖6繪示本發明實施例的動態記憶體測試裝置的邏輯位址配置的示意圖。在圖6中,邏輯位址0x4000_0000以上的區域可以配置為其中的輸入輸出裝置(I/O)所使用的記憶位址,介於邏輯位址0x4000_0000至0x3000_0000間則可對應至受測的動態記憶體的實體位址;介於邏輯位址0x3000_0000至0x1000_0000間則配置給輸入輸出裝置(I/O)以及介於邏輯位址0x1000_0000至0x0001_0000間配置為唯獨記憶體所使用的記憶位址。另外,介於邏輯位址0x0001_0000至0x0000_0000間則配置為內嵌記憶裝置中的靜態記憶體所使用的位址。 Please refer to FIG. 6. FIG. 6 is a schematic diagram showing the logical address configuration of the dynamic memory testing device according to the embodiment of the present invention. In Figure 6, the area above the logical address 0x4000_0000 can be configured as the memory address used by the input/output device (I/O), and the logical address between 0x4000_0000 and 0x3000_0000 can correspond to the measured dynamic memory. The physical address of the body; between the logical addresses 0x3000_0000 to 0x1000_0000, the memory address used for the input/output device (I/O) and the logical address between 0x1000_0000 and 0x0001_0000 configured as the only memory. In addition, between logical addresses 0x0001_0000 to 0x0000_0000 is configured as an address used by the static memory in the embedded memory device.

在圖6的位址配置方式中,邏輯位址0x0001_0000至0x0000_0000間可用於對應靜態記憶體中儲存記憶體測試程式碼的實體位址。在當要對外部的動態記憶體進行測試時,可依據記憶體測試程式碼來將邏輯位址設定在邏輯位址0x4000_0000至0x3000_0000間,並藉以對應至受測的動態記憶體的實體位址,並藉此對受測的動態記憶體進行測試動作。 In the address configuration mode of FIG. 6, the logical address 0x0001_0000 to 0x0000_0000 can be used to correspond to the physical address of the memory test code stored in the static memory. When the external dynamic memory is to be tested, the logical address can be set according to the memory test code between logical addresses 0x4000_0000 to 0x3000_0000, and corresponding to the physical address of the dynamic memory to be tested. And by this, the test dynamic memory is tested.

請參照圖7,圖7繪示本發明一實施例的動態記憶體測試 的流程圖。首先,在步驟S710中,提供系統整合式晶片,並使記憶體測試程式碼儲存於系統整合式晶片的內嵌式記憶體裝置中,並且,當要對待測的動態記憶體進行測試時,在步驟S720中由內嵌式記憶體裝置讀取記憶體測試程式,並在步驟S730中,依據執行記憶體測試程式來對動態記憶體進行測試動作。 Please refer to FIG. 7. FIG. 7 illustrates a dynamic memory test according to an embodiment of the present invention. Flow chart. First, in step S710, a system integrated chip is provided, and the memory test code is stored in the embedded memory device of the system integrated chip, and when the dynamic memory to be tested is tested, In step S720, the memory test program is read by the embedded memory device, and in step S730, the dynamic memory is tested in accordance with the execution of the memory test program.

關於本發明實施例中的實施細節,在前述的實施例及實施方式中有以有詳盡的說明,以下恕不多贅述。 The implementation details in the embodiments of the present invention are described in detail in the foregoing embodiments and embodiments, and are not described in detail below.

值得一提的,透過上述實施例所說明的動態記憶體的測試方式,這種系統端的測試裝置及測試方法,在當發現動態記憶體有錯誤的情況發生時,可以即時的透過動態記憶體中的電子熔絲(e-Fuse)進行動態記憶體的修復動作,提升動態記憶體的妥善率。 It is worth mentioning that, through the test method of the dynamic memory described in the above embodiments, the test device and the test method of the system end can immediately pass through the dynamic memory when a situation in which the dynamic memory is found to be wrong occurs. The electronic fuse (e-Fuse) performs dynamic memory repairing actions to improve the proper rate of dynamic memory.

綜上所述,本發明藉由非受測動態記憶體作為儲存媒介來提供記憶體測試程式碼,並將記憶體測試程式碼儲存在系統整合式晶片中的內嵌式記憶體裝置中。在要進行外部的動態記憶體的測試動作時,則使系統整合式晶片中的控制單元執行記憶體測試程式碼,就可對受測的動態記憶體進行完整的測試動作。重點在於,受測的動態記憶體不需要提供部分的儲存區域來儲存記憶體測試程式碼,所有的動態記憶體的儲存區域都可以在測試過程中被測試到。另外,記憶體測試程式碼來自於可靠的儲存媒介,系統整合式晶片不會有因為執行不可靠的記憶體測試程式碼而發生當機或重新啟動的風險。 In summary, the present invention provides a memory test code by using a non-measurement dynamic memory as a storage medium, and stores the memory test code in an embedded memory device in the system integrated chip. When the external dynamic memory test operation is to be performed, the control unit in the system integrated chip executes the memory test code to perform a complete test operation on the measured dynamic memory. The important point is that the measured dynamic memory does not need to provide part of the storage area to store the memory test code, and all the dynamic memory storage areas can be tested during the test. In addition, the memory test code comes from a reliable storage medium, and the system integrated chip does not run the risk of crashing or restarting due to the execution of unreliable memory test code.

200‧‧‧動態記憶體測試裝置 200‧‧‧Dynamic memory test device

210‧‧‧系統整合式晶片 210‧‧‧System Integrated Chip

220‧‧‧動態記憶體 220‧‧‧ Dynamic Memory

211‧‧‧控制單元 211‧‧‧Control unit

TCODE‧‧‧記憶體測試程式碼 TCODE‧‧‧ memory test code

212‧‧‧內嵌式記憶體裝置 212‧‧‧Inline memory device

Claims (8)

一種動態記憶體測試裝置,包括:一系統整合式晶片,耦接至該動態記憶體,包括:一控制單元,耦接至該動態記憶體;以及一內嵌式記憶體裝置,儲存一記憶體測試程式碼,其中,該控制單元讀取該記憶體測試程式碼並藉由執行該記憶體測試程式碼以對該動態記憶體執行測試動作。 A dynamic memory testing device includes: a system integrated chip coupled to the dynamic memory, comprising: a control unit coupled to the dynamic memory; and an embedded memory device for storing a memory The test code, wherein the control unit reads the memory test code and performs a test action on the dynamic memory by executing the memory test code. 如申請專利範圍第1項所述的動態記憶體測試裝置,更包括:一連接介面,耦接至該內嵌式記憶體裝置,其中,該內嵌式記憶體裝置藉由該連接介面耦接一外部儲存單元,並由該外部儲存單元讀取該記憶體測試程式碼。 The dynamic memory test device of claim 1, further comprising: a connection interface coupled to the embedded memory device, wherein the embedded memory device is coupled by the connection interface An external storage unit, and the memory test code is read by the external storage unit. 如申請專利範圍第2項所述的動態記憶體測試裝置,其中該連接介面包括內部系統匯流排介面及通用序列匯流排介面的至少其中之一。 The dynamic memory testing device of claim 2, wherein the connection interface comprises at least one of an internal system bus interface and a universal serial bus interface. 如申請專利範圍第1項所述的動態記憶體測試裝置,其中該控制單元包括:一中央處理單元;以及一動態記憶體控制器,耦接該中央處理單元,其中,該中央處理單元執行該記憶體測試程式碼以透過該動態記憶體控制器對該動態記憶體執行測試動作。 The dynamic memory testing device of claim 1, wherein the control unit comprises: a central processing unit; and a dynamic memory controller coupled to the central processing unit, wherein the central processing unit executes the The memory test code performs a test action on the dynamic memory through the dynamic memory controller. 如申請專利範圍第1項所述的動態記憶體測試裝置,其中 該內嵌式記憶體裝置包括:一靜態記憶體,用以儲存該記憶體測試程式碼;以及一靜態記憶體控制器,耦接該靜態記憶體,該靜態記憶體控制器接收該記憶體測試程式碼,並將該記憶體測試程式碼儲存於該靜態記憶體中,該靜態記憶體控制器並由該靜態記憶體讀取該記憶體測試程式碼以提供該記憶體測試程式碼至該中央處理單元。 The dynamic memory testing device according to claim 1, wherein The embedded memory device includes: a static memory for storing the memory test code; and a static memory controller coupled to the static memory, the static memory controller receiving the memory test a code, and storing the memory test code in the static memory, the static memory controller reads the memory test code from the static memory to provide the memory test code to the central memory Processing unit. 如申請專利範圍第5項所述的動態記憶體測試裝置,其中該靜態記憶體更包括儲存該動態記憶體的初始化資訊以及該動態記憶體的測試模式啟動資訊。 The dynamic memory testing device of claim 5, wherein the static memory further comprises initialization information for storing the dynamic memory and test mode startup information of the dynamic memory. 一種動態記憶體的測試方法,包括:提供一系統整合式晶片,並使一記憶體測試程式碼儲存於該系統整合式晶片的一內嵌式記憶體裝置中;由該內嵌式記憶體裝置讀取該記憶體測試程式;以及執行該記憶體測試程式以對該動態記憶體執行測試動作。 A method for testing a dynamic memory, comprising: providing a system integrated chip, and storing a memory test code in an embedded memory device of the system integrated chip; the embedded memory device Reading the memory test program; and executing the memory test program to perform a test action on the dynamic memory. 如申請專利範圍第7項所述的動態記憶體的測試方法,其中使該記憶體測試程式碼儲存於該系統整合式晶片的該內嵌式記憶體裝置中的步驟包括:將該記憶體測試程式碼儲存於該系統整合式晶片外的一外部儲存單元中;透過該系統整合式晶片由該外部儲存單元讀取該記憶體測試程式碼,並將該記憶體測試程式碼儲存於該內嵌式記憶體裝置中。 The method for testing a dynamic memory according to claim 7, wherein the step of storing the memory test code in the embedded memory device of the system integrated chip comprises: testing the memory The code is stored in an external storage unit outside the integrated chip of the system; the memory test code is read by the external storage unit through the integrated chip of the system, and the memory test code is stored in the embedded In a memory device.
TW103145223A 2014-12-24 2014-12-24 Dynamic memory testing apparatus and testing method thereof TWI559009B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW103145223A TWI559009B (en) 2014-12-24 2014-12-24 Dynamic memory testing apparatus and testing method thereof
CN201510007984.0A CN105825898B (en) 2014-12-24 2015-01-08 Dynamic memory testing device and testing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103145223A TWI559009B (en) 2014-12-24 2014-12-24 Dynamic memory testing apparatus and testing method thereof

Publications (2)

Publication Number Publication Date
TW201623987A true TW201623987A (en) 2016-07-01
TWI559009B TWI559009B (en) 2016-11-21

Family

ID=56514022

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103145223A TWI559009B (en) 2014-12-24 2014-12-24 Dynamic memory testing apparatus and testing method thereof

Country Status (2)

Country Link
CN (1) CN105825898B (en)
TW (1) TWI559009B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI792288B (en) * 2021-04-28 2023-02-11 森富科技股份有限公司 memory testing device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107680633B (en) * 2017-08-29 2022-05-27 深圳市江波龙电子股份有限公司 DRAM testing device and method
CN111627475B (en) * 2019-04-04 2022-12-13 深圳市晶凯电子技术有限公司 Memory, electronic device thereof, test system, test method and application method thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6230290B1 (en) * 1997-07-02 2001-05-08 International Business Machines Corporation Method of self programmed built in self test
CN1186809C (en) * 2002-09-02 2005-01-26 威盛电子股份有限公司 Embedded internal storage test platform device and testing method
US20080209294A1 (en) * 2007-02-26 2008-08-28 Hakan Brink Built-in self testing of a flash memory
TWI384236B (en) * 2008-06-27 2013-02-01 Teco Image Sys Co Ltd Tested machine capable of reloading test programs, machine testing system and testing method
CN101763298A (en) * 2008-12-23 2010-06-30 慧帝科技(深圳)有限公司 Data storage device, data storagde controller and relevant automatic test method
CN102231286B (en) * 2009-10-08 2014-03-26 鸿富锦精密工业(深圳)有限公司 Test method of DRAM (dynamic random access memory)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI792288B (en) * 2021-04-28 2023-02-11 森富科技股份有限公司 memory testing device

Also Published As

Publication number Publication date
CN105825898A (en) 2016-08-03
CN105825898B (en) 2019-04-16
TWI559009B (en) 2016-11-21

Similar Documents

Publication Publication Date Title
TWI566253B (en) Method for managing a memory apparatus, and associated memory apparatus thereof and associated controller thereof
JP4173297B2 (en) Memory card
TWI470420B (en) Dubugging method and computer system using the smae
KR101986355B1 (en) A embedded Multimedia Card(eMMC), eMMC system including the eMMC, and a method for operating the eMMC
WO2018118837A1 (en) Method to dynamically inject errors in a repairable memory on silicon and a method to validate built-in-self-repair logic
US20120096255A1 (en) Server and method for managing i2c bus of the server
TWI559009B (en) Dynamic memory testing apparatus and testing method thereof
US20140129206A1 (en) Simulator and simulating method for flash memory background
US20170103797A1 (en) Calibration method and device for dynamic random access memory
US10276259B2 (en) Memory testing method and memory apparatus therefor
US20230059620A1 (en) eFUSE ONE-TIME PROGRAMMABLE MEMORY WITH INTER INTEGRATED CIRCUIT (I2C) COMMUNICATION AND OPERATION METHOD THEREOF
TWI525415B (en) Reference frequency setting method, memory controller and flash memory storage apparatus
KR20150006167A (en) Semiconductor system and repair memthod of the same
TW201500911A (en) Debug device and debug method
US9632805B2 (en) Data storage device and error correction method thereof
US10002673B2 (en) Flash memory data storage device and programming method thereof
KR101001143B1 (en) Non volatile memory device and operating method of the same
EP3557422A1 (en) Method for accessing code sram, and electronic device
KR101948152B1 (en) Apparatus and method for testing memory module
TWI789137B (en) Data processing system and method for reading instruction data of instruction from memory
JP2008186481A (en) Memory card
JP4324149B2 (en) Emulator and development support system using it
JP4656063B2 (en) How to identify the memory card
JP2008293468A (en) Method for manufacturing motherboard
KR20170051124A (en) Test method of volatile memory device embedded electronic device