TWI379234B - Motherboard, storage device and controller thereof and booting method - Google Patents

Motherboard, storage device and controller thereof and booting method Download PDF

Info

Publication number
TWI379234B
TWI379234B TW097147874A TW97147874A TWI379234B TW I379234 B TWI379234 B TW I379234B TW 097147874 A TW097147874 A TW 097147874A TW 97147874 A TW97147874 A TW 97147874A TW I379234 B TWI379234 B TW I379234B
Authority
TW
Taiwan
Prior art keywords
processing unit
central processing
control unit
storage device
address
Prior art date
Application number
TW097147874A
Other languages
Chinese (zh)
Other versions
TW201023039A (en
Inventor
You Cheng Luo
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 TW097147874A priority Critical patent/TWI379234B/en
Priority to US12/372,123 priority patent/US8117427B2/en
Publication of TW201023039A publication Critical patent/TW201023039A/en
Application granted granted Critical
Publication of TWI379234B publication Critical patent/TWI379234B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4403Processor initialisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

A motherboard, a storage device and a controller thereof and a booting method are provided. In the present invention, when powered on, an unfetch signal is transmitted to a central processor unit (CPU) by a controller such that an operation of the CPU is suspended. Next, a system firmware in the storage device is loaded by the controller. After the system firmware is loaded, a fetch-done signal is transmitted to the CPU by the controller such that the CPU starts executing a booting procedure.

Description

1379234 PSPD-2008-0034 29393tw£doc/n 六、發明說明: 【發明所屬之技術領域】 本發明是有關於一種電腦系統,且特別是有關於—種 具有儲存裝置控制器的主機板、具有系統韌體的儲存装置 與開機方法。 【先前技術】 一般而言’在個人電腦(personal Computer,PC)啟 動的過程中,是由基本輸出輸入系統(Basic Input/Output System ’ BIOS)來負責初始化硬體、檢測硬體功能以及引 導作業系統的動作。BI〇s通常會儲存於一個斷電後内容 不會遺失的記憶體中,而此具有開機程式的記憶體一般稱 為系統勒體(System Firmwa];e)唯讀記憶體(Read 〇niy Memory ’ ROM)。當個人電腦系統過電或被重置(reset) ’ 中央處理單元(Central Processing Unit,CPU)所欲 執行之第一條指令的位址會被定位到系統韌體記憶體中, 由此讓開機程式開始執行。 目,系統動體唯讀記憶體是固定地配置在個人電腦的 主機板糸、、先上並且透過低腳位數(L〇w pin c〇unt)匯流 排或序列周邊介面(SefialPefiph⑽I—,〗)匯流 排連接至㈣晶片_南橋晶片巾。由於唯讀記憶體是固 定地配置在域板上’因此當其發纽_,在維修方面 則顯得相當不便。 3 1379234 PSPD-2008-0034 29393twf.doc/n 【發明内容】 本發明提供-種儲存裝置,其分割為兩大 與系統資料’並且配置-儲存裝置控制= 來讀板’透過物置控制器 此外,本發明提供一種開機方法,以 元讀取系、餘體所產生的讀取延遲問題。、央處理單 詳細地說,本發明提出—種儲存裝置押哭 /、中微㈣早痛接至主機板㈣央處理單心a 至儲存裝置控制器時,微控制單 田供电 ;至中央處理單元,執人= 福接至微控制單元、緩衝器=控制早 制單元是用來將儲存模組㈣_^ (Sy_ , 载入至緩衝ϋ。^介面控·組絲 wa^e 器财央處理單元。介面控制模組是用 其中,當微控制單元透過周邊裝置控制^元: 系統勤體载入至緩衝器之後,微控制單元會 := 央處理單元’以使t央處釋元透過介面押ς 買取缓衝器的系統勤體來執行開機程序。 卫、 另外,本發明提出—種主機板,包括中央 儲存裝置控㈣與儲械組。其f,上述畴裝置^器 4 1379234 PSPD-2008-0034 29393twf.doc/n 處?器’而儲存模組耦接至儲存裝置控制器, 當^電至主3 =利,存裝置控制器與儲存模組溝通。 = = ί存裝置控制器便會發送載入未完成 庠。^紗ί早几,以使中央處理單元暫停執行開機程 制时合二子裝置控制器载入系統勒體之後,儲存裝置控 ,:發运載入完成訊號至中央處理單元,以使 二 單7L讀取系統韌體來執行開機程序。 、 的儲=組置,包括具有系· 健存裝置控㈣便會發人未完成irm:單 儲存裝置控制器會 執行開ϋϊ早7^’以使中央處理單元讀取系統_來 控制衝之實人施例中’上述儲存裝置控制器包括微 其:,,制單核接至主機板的中^^; 未ί成訊號或載入完成訊號至中央處理單元: 微於=早70暫停或開始執^職程序。緩衝n勒接至 周邊裝置控制單元―至微控制單元、ίί 〜、儲存模組。周邊裝置控制單元是 緩衝 统,至緩衝器。而介面控制模 兀、緩衝器與中央處理單元。介面控制模組是用::: 5 PSPD-2〇〇8-〇〇34 29393twf.d ioc/n 衝器中的系統韌體。 偷ΐ本發明之一實施例中’上述微控制單元更包括—控 ’以利用控制針腳來傳送载入未完成訊號或載入完 拉其中’控制針腳與中央處理單元的重置(reset) 輯及門邏輯及閘(LogicANDGate)的輸入端,且邏 輯及閘的輸出端轉接至中央處理單元。 介面實施例中’上述介面控制模組包括勒體 =二體介面控制單元具_體位址暫存器 址暫存器是_時存放中 資料自緩衝器中讀取系咖。咖 μ來暫時存放依據上述位址所讀取到的系 存裝二實施=,上述介面控制模組更包括儲 制單元與中=====祕至微控 透過儲存裝置㈣理單元便可 過系、中;介面控制單元可透 面控制單元則可透過系統資料傳二rr裝置介 -。上述絲•體傳輸介面例如為接至中央處理单 Peripheral Interfaee,肥)匯流排 周邊"面(Serial ㈤一一 ’ ISA)匯流排以及 6 1379234 PSPD-2008*0034 29393twf.doc/n1379234 PSPD-2008-0034 29393tw£doc/n VI. Description of the Invention: [Technical Field] The present invention relates to a computer system, and more particularly to a motherboard having a storage device controller, having a system Firmware storage device and boot method. [Prior Art] Generally speaking, during the startup of a personal computer (PC), the basic input/output system (BIOS) is responsible for initializing hardware, detecting hardware functions, and guiding jobs. The action of the system. BI〇s are usually stored in a memory that will not be lost after power-off, and the memory with the boot program is generally called System Firmwa; e) Read-only memory (Read 〇niy Memory) 'ROM'. When the PC system is powered down or reset, the address of the first instruction to be executed by the Central Processing Unit (CPU) will be located in the firmware of the system firmware. The program starts executing. The system's dynamic read-only memory is fixedly configured on the motherboard of the personal computer, first and through the low-digit digits (L〇w pin c〇unt) bus or serial peripheral interface (SefialPefiph(10)I-,〗 The bus bar is connected to the (4) wafer_Southbridge wafer towel. Since the read-only memory is fixedly disposed on the domain board, it is quite inconvenient in terms of maintenance. 3 1379234 PSPD-2008-0034 29393twf.doc/n SUMMARY OF THE INVENTION The present invention provides a storage device that is divided into two major and system data 'and configuration-storage device control = to read the board' through the object controller. The invention provides a booting method, which is a reading delay problem caused by a meta-reading system and a residual body. In detail, the present invention proposes a storage device for crying, and a micro-four (4) early pain to the motherboard (four) central processing single heart a to the storage device controller, micro-control single field power supply; to central processing Unit, Personnel = Fu to Micro Control Unit, Buffer = Control Early Unit is used to store the storage module (4) _^ (Sy_, load to buffer ϋ. ^ interface control · group wa ^ e device financial processing The interface control module is used when the micro control unit controls the device through the peripheral device: after the system is loaded into the buffer, the micro control unit will: = the central processing unit 'to enable the t-port to pass through the interface The system of the buffer is purchased to perform the booting process. In addition, the present invention proposes a motherboard, including a central storage device control (four) and a storage group. The f, the domain device 4 1379234 PSPD- 2008-0034 29393twf.doc/n where the storage module is coupled to the storage device controller, when the power is connected to the main 3 = profit, the storage device controller communicates with the storage module. = = ί storage device controller Will send the load is not completed. ^ yarn ί early, so that After the central processing unit suspends the execution of the boot process, after the second sub-device controller loads the system, the storage device controls, and sends the completion signal to the central processing unit, so that the two single 7L read system firmware performs the booting. Program., storage = group, including with system · health device control (four) will send unfinished irm: single storage device controller will perform opening 7 ^ ' to enable the central processing unit to read the system _ to control In the case of the rushing person, the above storage device controller includes: micro-, and the single-core is connected to the motherboard; ^ is not signaled or loaded to the central processing unit: micro at = early 70 Suspend or start the service program. The buffer n is connected to the peripheral device control unit - to the micro control unit, ίί ~, the storage module. The peripheral device control unit is the buffer system, to the buffer. The interface control module, buffer And the central processing unit. The interface control module uses::: 5 PSPD-2〇〇8-〇〇34 29393twf.d ioc/n system firmware in the punch. Stealing one of the embodiments of the present invention The micro control unit further includes - control 'Eli Use the control pin to transfer the load unfinished signal or load the input of the 'control pin and the central processing unit's reset and gate logic and gate (LogicANDGate), and the output of the logic and gate is turned Connected to the central processing unit. In the interface embodiment, the above interface control module includes a lexical = two-body interface control unit _ body address temporary storage address register is _ when the data is stored in the buffer from the café The coffee is temporarily stored according to the address stored in the above address. The above interface control module further includes a storage unit and a medium===== secret to the micro control through the storage device (four) It can be passed through, and the interface control unit can pass through the system data transmission through the system. The above-mentioned wire-body transmission interface is, for example, connected to a central processing unit Peripheral Interfaee, fat) busbar peripheral "Serial (Serial) ISA) busbar and 6 1379234 PSPD-2008*0034 29393twf.doc/n

Count,LPC)匯流排其中之一。而系統資料傳輸介面例如 為周邊控制益介面(Peripheral Controller Interface,JPCI) 匯流排、PCI Express匯流排、平行高階附掛技術(ParalldCount, LPC) One of the bus bars. The system data transmission interface is, for example, a Peripheral Controller Interface (JPCI) bus, a PCI Express bus, and a parallel high-order attachment technology (Paralld).

Advanced Technology Attachment,PATA)匯流排以及串 列尚階附掛技術(Serial Advanced Technology Attachment,SATA)匯流排其中之一。 在本發明之一實施例中,上述系統韌體包括開機區塊 程式碼與運行區塊程式碼。而中央處理單元是透過韌體介 面控制單元讀取開機區塊程式碼,以至少初始化儲存裝置 介面控制單元、控制晶片組與主機板的主要記憶體。之後, 中央處理單元便可透過儲存裝置介面控制單元讀取運行區 塊程式碼,以執行後續的開機程序。 °° 從另一觀點來看,本發明提出一種開機方法,適用於 —電腦系統。此電腦系統具有中央處理單元、儲存妒 制器以及儲存模組,而儲存襞置控制器耦接在中央^理二 元與儲存模組之間。在此開機方法中,當供電至電 ^首紐由儲存裝置控制H傳送—載人未完成訊號至中 央處理單元,喊中央處理單元暫停執行開触序。中 猎由儲存肢控制轉配置在儲存模財的系統 入。在系助體載人之後,藉由儲存裝置控制器 = 入完成訊齡巾央處理單元,贱中奸载 開機程序。 執行 在本發明之一實施例中,上述系 區段(Code Segment) ’而在上述開機方法; 7 1379234 PSPD‘2008-0034 29393twf d0c/n = 配置在儲存模組中的系統韌體載入的步驟, 體載入至該儲存裝置控制器内之-緩衝 :址處理單元的第—讀取要求所載送的第-^址將上4程式區段其中之—第—程式區段載入至緩衝 後’ ^傳送載人完成訊號至中央處理單元的步驟之 取要Ϊ 儲錢置㈣^接收巾央處理單元的第二讀 =以觸第二讀取要求所載送的第二位址是否落在 健存=^中。當第二位址未落在^ —程式區段時,由 衝^裝置㈣器將第二位址對應的第二程式區段載入至緩 入之—實施例中,上述開機方法更可將上述载 用來控制中央處理單元的重置訊號進行邏輯 運异,據以控制♦央處理單元的運作與否。 中實闕中,上述在傳送—完成訊號至 基於上述,本發明將系統韌體與系統資人— 組中’據此’可節省主機板中原本用來:置i; 記憶體的空間’亦可節省額外製作系統韌體唯2 。此外,更實作—個介面控制模組,讓中ϊ 处理早^触由此介碰繼組魏儲存模財的 8 PSPD-2008-0034 29393twf.doc/n 韌體,並且解決了讀取延遲問題。 ,下文特 為讓本發明之上述特徵和優點能更明顯易懂 舉實施例’舰合所關式作詳細說明如下。 【實施方式】 同!Ιΐί照本發明一實施例所綠示之電腦系統的方塊 圖。s月參知圖!,電腦系統100包括中央處理單元(cpu) 110、控制“組120、财裝置13(Uxa主要記憶體(MainAdvanced Technology Attachment (PATA) bus and one of the serial Advanced Technology Attachment (SATA) bus bars. In an embodiment of the invention, the system firmware includes a boot block code and a run block code. The central processing unit reads the boot block code through the firmware interface control unit to initialize at least the storage device interface control unit, the main memory of the control chip set and the motherboard. Afterwards, the central processing unit can read the running block code through the storage device interface control unit to execute the subsequent booting process. °° From another point of view, the present invention proposes a booting method suitable for use in a computer system. The computer system has a central processing unit, a storage controller and a storage module, and the storage device controller is coupled between the central unit and the storage module. In this booting method, when the power supply to the first button is transmitted by the storage device control H, the manned unfinished signal is sent to the central processing unit, and the central processing unit is called to suspend the execution of the sequence. The middle hunting is transferred from the storage limb control system to the storage model. After the helper is loaded, the storage device controller = enters the completion of the server, and the boot program is loaded. In an embodiment of the present invention, the above-mentioned system segment (Code Segment) is in the above booting method; 7 1379234 PSPD'2008-0034 29393twf d0c/n = system firmware loaded in the storage module is loaded Step, the body is loaded into the storage device controller - the buffer: the address processing unit of the first read request is sent to the first address of the upper four program sections - the first program section is loaded to After buffering, the location of the step of transferring the completion signal to the central processing unit is stored. (4) The second reading of the receiving processing unit is the second address of the receiving processing unit. Fall in the health = ^. When the second address does not fall in the ^ program section, the second program section corresponding to the second address is loaded into the buffered by the device (4), and the booting method can be further The reset signal used to control the central processing unit is logically operated to control the operation of the central processing unit. In the real implementation, the above-mentioned transmission-completion signal is based on the above, and the present invention will be used in the system firmware and system personnel--in this group, the original space can be saved in the motherboard: i; memory space' Saves extra production system firmware only 2 . In addition, it is more practical - an interface control module that allows the lieutenant to deal with the 8 PSPD-2008-0034 29393twf.doc/n firmware that has been used to manage the model and solve the read latency. problem. The above features and advantages of the present invention will be more apparent from the following description. [Embodiment] A block diagram of a computer system shown in green form according to an embodiment of the present invention. s month to know the map! The computer system 100 includes a central processing unit (CPU) 110, and controls "group 120, financial device 13 (Uxa main memory (Main)

Memory )⑽。其中,中央處理單元i 1〇、控制晶片組i2〇 與主要記憶體16G配置於主機板17G中。控制日日日片組12〇 分_接至中央處理單元11G與主要記憶體_。在本實 施例中,.主要記憶ϋ 160例如為動態隨機存取記憶體 (Dynamic Random Access Memory,DRAM)。 中央處理單元110是用來執行在電腦系統1〇〇上的指 令,藉以控制電腦系統100的運作。 控制晶片組120是用以將中央處理單元11〇電性連接 至電細糸統1 〇〇上的其他元件’例如,儲存裝置13〇虚主 要δ己憶體160。在本實施例中,控制晶片組120為整合北 橋晶片(North Bridge Chip )與南橋晶片(s〇uth BridgeMemory ) (10). The central processing unit i 1 , the control chip group i2 , and the main memory 16G are disposed in the motherboard 17G. The control day and day group 12 is divided into the central processing unit 11G and the main memory _. In the present embodiment, the main memory ϋ 160 is, for example, a dynamic random access memory (DRAM). The central processing unit 110 is operative to execute instructions on the computer system 1 to control the operation of the computer system 100. The control chip set 120 is used to electrically connect the central processing unit 11 to other components on the electrical system 1', for example, the storage device 13 is a virtual main δ memory 160. In this embodiment, the control chip set 120 is an integrated North Bridge Chip and a South Bridge chip (s〇uth Bridge).

Chip)之功能的單一晶片所實作。而在其他實施例中,控 制晶片組120亦可包括北橋晶片與南橋晶片兩種獨立晶 片0 儲存裝置130包括儲存模組140與儲存裝置控制器 150。在本實施例中’儲存模組H〇是利用非揮發性記憶體 1379234 PSPD-2008-0034 29393twf.doc/n (Non-Volatile Memory ’ NVM)來實作,以同時儲存系統 韌體與系統資料。以下列舉一例來說明儲存模組14〇。 圖2疋依照本發明一實施例所繪示之儲存模組的方塊 圖。請參照圖2,儲存模組140包括韌體區域141與資料 區域143。韌體區域141是用來儲存一系統韌體145。在此, 系統韌體145例如為基本輸入輸出系統(Basic Input/〇utput System ’ BIOS),或者為統一可延伸韌體介面(UnifiedThe single chip of the function of Chip) is implemented. In other embodiments, the control chip set 120 can also include two independent wafers, a north bridge wafer and a south bridge wafer. The storage device 130 includes a storage module 140 and a storage device controller 150. In this embodiment, the 'storage module H〇 is implemented by using non-volatile memory 1379234 PSPD-2008-0034 29393twf.doc/n (Non-Volatile Memory 'NVM) to simultaneously store system firmware and system data. . The storage module 14A will be described below by way of an example. 2 is a block diagram of a memory module in accordance with an embodiment of the invention. Referring to FIG. 2, the storage module 140 includes a firmware region 141 and a data region 143. The firmware region 141 is used to store a system firmware 145. Here, the system firmware 145 is, for example, a basic input/output system (Basic Input/〇utput System ’ BIOS), or a unified extendable firmware interface (Unified).

Extensible Firmware Interface ’ UEFI)。而資料區域 143 則是用來儲存系統資料,例如:作業系統、驅動程式以及 播案系統等。 而上述系統韌體145更可區分為開機區塊程式碼 (Boot Block Code ) 147 與運行區塊程式碼(Runtime B1〇ckExtensible Firmware Interface ’ UEFI). The data area 143 is used to store system data, such as operating systems, drivers, and broadcast systems. The above system firmware 145 can be further divided into a Boot Block Code 147 and a running block code (Runtime B1〇ck).

Code) 149兩大區塊。開機區塊程式碼147是負責設定電 腦系統100開機的初始值、硬體的初始化設定。而運行區 塊程式碼149則是供電腦系統1〇〇運作來使用,用來控制 硬體設備的效能與其他功能。 一般而言,開機區塊程式碼丨47不需解壓縮即可直接 執订。而運行區塊程式碼149則需在解壓縮之後,方能執 灯。因而,在開機區塊程式碼147中至少具備將控制晶片 組120與主要記憶體16〇初始化的功能,以在開機區塊程 式碼147直接執行完畢之後,將運行區塊程式碼149傳送 至主要記憶體160且進行解壓縮,以加快系統韌體145的 執行速度。 返回圖丨’儲存裝置控制器150耦接在控制晶片組120 1379234 PSPD-2008-0034 29393twf.doc/n 與儲存模組刚之間,使得中央處理單元u =器15。來讀取儲存模組刚中的系統_ Μ: 下再舉-例來說明儲存裝置控制器15〇的内部構件。 圖3A是依照本發明一實施例所繪示之 器的方塊圖。請同時參照圖i及圖3A,儲存裝置=器 150包括介面控制模組3〇〇、微控制單元二: 以及周邊裝置控制單元33〇β 320 單元fit 單元31G祕至主機板17G的中央處理 早兀110’其負貝;丨面控制模組3〇〇、 ί置控制單U。,並且透過内部資料匯“38 ϊϊΐ 料交換的動作。 F δυ貞貝貝 舰320耦接至微控制單元310,其提供了介面控 m〇〇進行資料搬移時’暫時存放交換資料的空間。 5卜施例中,更可將緩衝器32G分成兩個部分, 暫時存放微控制單元310所搬移的系統勤體, 刀則是供微控制單元暫時存放所搬移的系統 考裝置控制單★ 330轉接至微控制單元310、緩衝 310 衝器·。在此,周==4=肋體載入至緩 而w面控制模組300搞接至微控制單元31〇、緩衝器 1379234 PSPD-2008-0034 29393twf.d〇c/n 與中央處理單元⑽,介面控制模組3⑽是用來讀取緩 衝為320中的系統韌體,以執行開機動作。 以下即以具有儲存裝置控制器ls〇的儲 說明儲存裝置控制器150。 衣直木序.,田 ㈣^二ίΪΐί發明一實施例所繪示之具有儲存裝置 控L之儲存裝置的方塊圖。請同時參照圖工及圖犯在 介面控制模組300包括勤體介面控制單元34〇 j及儲存裝“碰制單元H在其他實施例中, ,,面控制模& 300 $可僅為㈣介面控制單元34〇。 ,外’在本實施例中,周邊裝置控制單元%㈣更具 心二料位址映射暫存器(AddreSSMappingRegister)331 ㈣存^ 333 ’以分別記錄系統資料與系統 初體的邏㈣址與實體位址之_映射關係。 拿刀體介面控制單元34〇輕接至微控制單元31〇與緩衝 η; f ’並且經由控制晶月組12〇截接至中央處理單元 二=介面控制單元34〇包括勤體位址暫存器341無 Ϊ器343。勒體位址暫存器341是用來暫時存放 理早70 UG所發送之讀取要求所載送的位址,使得 ^ "面控制單元340依據此位址自緩衝器320中讀取系 =體。而拿刃體資料暫存器343則是用來暫時存放依據上 述位址所讀取到的系統韌體。 另外’切體介面控制單元34〇更可透過系統勃體傳輪 二,而經由控制晶片組120耦接至中央處理單元 也就是說’勒體介面控制單元3 40可用來將經由系統 12 1379234 PSPD-2008-〇〇34 29393twf.doc/n 136G傳送過來的讀取要求解碼,並依照此讀 取要未所載②植址,來進行彡絲體的存取 系統動體傳輸介面36〇例如為序列周邊介 _Code) 149 two major blocks. The boot block code 147 is responsible for setting the initial value of the booting of the computer system 100 and the initial setting of the hardware. The running block code 149 is used by the computer system to control the performance and other functions of the hardware device. In general, the boot block code 丨47 can be directly ordered without decompression. The running block code 149 needs to be decompressed before it can be executed. Therefore, at least the booting chip group 120 and the main memory 16 are initialized in the boot block code 147 to transfer the running block code 149 to the main after the boot block code 147 is directly executed. The memory 160 is decompressed to speed up the execution of the system firmware 145. The memory device controller 150 is coupled between the control chip set 120 1379234 PSPD-2008-0034 29393 twf.doc/n and the storage module, such that the central processing unit u = the device 15. To read the system in the storage module just _ Μ: Let's take another example to illustrate the internal components of the storage device controller 15〇. Figure 3A is a block diagram of a device in accordance with an embodiment of the present invention. Referring to FIG. 3 and FIG. 3A simultaneously, the storage device=150 includes an interface control module 3〇〇, a micro control unit 2: and a peripheral device control unit 33〇β 320 unit fit unit 31G secret to the central processing of the motherboard 17G.兀110' its negative shell; the kneading control module 3〇〇, ί control single U. And through the internal data sink "38 ϊϊΐ exchange action. F δ υ贞 babe ship 320 is coupled to the micro control unit 310, which provides a space for the temporary control of the exchange of data when the interface is controlled. In the embodiment, the buffer 32G can be further divided into two parts, temporarily storing the system body moved by the micro control unit 310, and the knife is a system test device control unit for temporarily storing the moved by the micro control unit. To the micro control unit 310, buffer 310 punch. Here, the cycle == 4 = rib loading to the slow w surface control module 300 to the micro control unit 31 缓冲器, buffer 1379234 PSPD-2008-0034 29393twf.d〇c/n and the central processing unit (10), the interface control module 3 (10) is used to read the system firmware in the buffer 320 to perform the booting operation. The following is a storage instruction with the storage device controller ls〇 The storage device controller 150. The clothing control device 300 is in the form of a storage device with a storage device control L as shown in the embodiment. Intensive interface control The unit 34 〇 j and the storage device "the collision unit H", in other embodiments, the surface control module & 300 $ may be only the (four) interface control unit 34 〇. In the present embodiment, the peripheral device control unit %(4) is more than two address mapping register (AddreSSMappingRegister) 331 (four) save ^ 333 ' to record the system data and the system's initial physical (four) address and entity The _ mapping relationship of the address. The tool body interface control unit 34 is lightly connected to the micro control unit 31 缓冲 and the buffer η; f ' and is intercepted to the central processing unit via the control crystal group 12 = = interface control unit 34 〇 includes the body address register 341 Ϊ 343. The address address register 341 is used to temporarily store the address carried by the read request sent by the UG 70 UG, so that the "face control unit 340 reads from the buffer 320 according to the address = body. The blade data buffer 343 is used to temporarily store the system firmware read according to the above address. In addition, the 'cut-body interface control unit 34 可 is permeable to the system Boolean wheel 2, and is coupled to the central processing unit via the control chip set 120, that is, the 'Left interface control unit 3 40 can be used to pass the system 12 1379234 PSPD -2008-〇〇34 29393twf.doc/n 136G transmitted read request decoding, and according to this read 2 unaddressed, to access the silkworm access system dynamic transmission interface 36, for example Sequence surrounding _

Wfaee ’ SPI) _排、工諸準架構(她吻 StandaniArchitecture ’ ISA)匯流排以及低腳位數(L〇wpin Count ’ LPC)匯流排其中之—。 儲存裝置介面控制單元350 至微控制單元31〇盘Wfaee's SPI) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Storage device interface control unit 350 to micro control unit 31

緩衝器32〇 ’並且經由控制晶片組⑽耗接至中央處理單 兀110。當中央處理單元110透過減介面控制單元34〇 讀取系軸體而將儲存裝置介面控制單元35〇初始化之 後’即可透過儲存裝置介面控制單元现來存取儲存模組 140 〇The buffer 32' is consuming and is consuming to the central processing unit 110 via the control chip set (10). After the central processing unit 110 reads the tidal body through the subtraction interface control unit 34 而 and initializes the storage device interface control unit 35 ’, the storage module 140 can be accessed through the storage device interface control unit.

儲存裝置介面控制單元350更包括任務暫存器351與 韌體載入介面353。任務暫存器351用來提供一組介面了 以供電知系統100的軟體對儲存模組14〇的資料區域做寫 入、頃取及控制的功能。而韌體載入介面353功能與任務 暫存裔351類似’是用以提供一組硬體組態控制介面,讓 軟體可以透過此-介面寫入或讀取存放在儲存模組刚内 的系統韌體。 另外,儲存裝置介面控制單元350亦可透過系統資料 傳輸介面3?0而經由控制晶片組12〇耦接至中央處理單元 110。系統資料傳輸介面370例如為周邊控制器介面 (Peripheral Controller Interface,PCI)匯流排 ' PCI Express 匯流排、平行高階附掛技術(paraUel Advanced Techn〇1〇gy 13 1379234 PSPD-2008-0034 29393twf.doc/nThe storage device interface control unit 350 further includes a task register 351 and a firmware loading interface 353. The task register 351 is used to provide a set of functions for writing, capturing, and controlling the data area of the storage module 14A by the software of the power supply system 100. The firmware loading interface 353 function is similar to the task temporary storage 351' is to provide a set of hardware configuration control interface, so that the software can write or read the system stored in the storage module just through this interface. firmware. In addition, the storage device interface control unit 350 can also be coupled to the central processing unit 110 via the control chipset 12 through the system data transmission interface 3-0. The system data transmission interface 370 is, for example, a Peripheral Controller Interface (PCI) bus bar 'PCI Express bus bar, parallel high-order attachment technology (paraUel Advanced Techn〇1〇gy 13 1379234 PSPD-2008-0034 29393twf.doc/ n

Attachment ’ PATA )匯流排以及串列高階附掛技術(SerialAttachment ’ PATA ) bus and serial high-end attachment technology (Serial

Advanced Technology Attachment,SATA)匯流排其中之 炅進一芡地說 田π书土电細糸統Ιϋϋ時,儲存裝置 130亦同8^被供電。此時’微控制單元便會發送載入 未完成訊號至中央處理單元11〇,以使中央處理單元ιι〇 暫?執行開機程序。而當微控制單元训透過周邊裝置控 制單元330將系統勤體載入至緩衝器32〇之後,微控制單 元310會發送载入完成訊號至中央處理單元u〇,二使中 央處理單元11〇透過勒體介面控制單元34〇讀取緩衝器 320的系統韌體來執行開機程序。 °° 由在此,可在微控解元·上設置—㈣卜 :用311來傳送載入未完成訊號或載入完成訊 ί與i 例來朗如何控射央處理單元110的暫 方塊發明—實施例所繪示之電腦系統的局部 万塊圖3月參照圖4,重詈斜腳4Λ1 ·& . 央處理單元110進行重置用〜、本用來與控制+ 的控制針腳3U與重置H用微控制單元310 AND Gate) 410的輪入端 接至邏輯及閘(L〇gic 接至中央處理單元1ω。#㉟及間41G的輸出端則麵 限於此。在本二;f:,必須瞭解的是,本發明不 透過系餘體傳輸介面36 311亦可 置針腳4_接至邏 2 ::科傳輸介面370與重 410的輸入端(未緣示)。據 1379234 pSPD-2008-0034 29393twf.doc/n 此’假没重置訊號為“1”,载入未完成訊號為“〇,,時,則進 . 行避輯及運异之後’邏輯及閘410會輸出一訊號‘‘〇,,並傳送 至中央處理單元110’以使中央處理單元11〇暫停。反之, 假設重置訊號為“1”,載入完成訊號為“i,,時,則進行邏輯 . 及運算之後,邏輯及閘410會輸出一訊號“1”並傳送至中央 處理單110’以啟動中央處理單元11〇<>然,在此僅為舉 例說明,並不以此限制本發明之實施態樣。 相對於前嘩的電腦系統100,本發明亦提供對應以開 • 機方法’以下則搭配上述電腦系統100中的各個構件,再 舉一實施例詳細說明之。 圖5是依照本發明—實施例所繪示之開機方法的流程 圖。請同時參照圖卜圖2、圖3B及圖5,首先,在步驟 S505中,當供電至電腦系統1〇〇時,微控制單元3丨〇會傳 迗一載入未完成訊號至中央處理單元11〇,以使中央處理 單元U0暫停執行開機程序。例#,載入未完成訊號會與 用來控制中央處理單元110的重置訊號進行邏輯及運算, • 而使中央處理單元110暫停運作。 接著,在步驟S510中,藉由微控制單元31〇將配置 在儲存模組140中的系統韌體145的第一個程式區段載入 至緩衝态320。微控制單元31〇會先設定周邊裝置控制單 兀330内的韌體位址映射暫存器333,而後將系統韌體145 搬矛夕到緩衝斋320。這是因為,透過系統韌體傳輸介面36〇 直接5買取儲存模組140中的系統韌體145,可能會產生讀 取延遲的問題。因此,便先將系統韌體145搬移至緩衝器 1379234 PSPD-2008-0034 29393twf.doc/n 320 中。 詳細地忒,系統韌體145可依據緩衝器32〇的容量而 區分為多個程式區段。當電源啟動後,儲存裝置13〇内部 的微控制單元310便開始從儲存模組14〇中讀取第一個程 式區段的程式碼到儲存裝置内部的緩衝器32〇内。而第一 個程式區段所指的是中央處理單元110開機時,第-個讀 取要求所發出之位址所在的區段。在此’假設一個程式區 _ 段大小A lOOOOh,並且假設第一個程式區段的位址為 FOOOOh-FFFFOh。 ,之後,當第一個程式區段全部載入至緩衝器320之 後,如步驟S515所示,微控制單元31〇會傳送載入完成 5孔旒至中央處理單元H0,以使中央處理單元11〇開始執 行開機程序。也就是說,當第一個程式區段的程式碼被讀 取到緩衝器320之後,微控制單元31〇利用控制針腳311 傳送載入完成訊號,以讓中央處理單元11〇開始動作。 然後,在步驟S520中,儲存裝置13〇透過系統韌體 • 傳輸介面36〇接收中央處理單元11〇所傳送的讀取要求。 當中央處理單元110發出讀取要求,而儲存裝置13〇經由 系統勃體傳輸介面360收到此一要求時,儲存裝置130内 部的韌體介面控制單元340會判斷此一讀取要求的位址是 否落在目前缓衝器320中所暫存的程式區段的位址内。若 成立,則執行步驟S530 ;若不成立,則執行步驟S535。 以緩衝器320目前所暫存之第一個程式區段為 F0000h-FFFF0h而言,當讀取要求的位址落在 1379234 PSPD-2008-0034 29393twf.doc/n FOOOOh-FFFFOh内時’如步驟μ%所*,拿刀體介面控制單 凡340便從缓衝器32〇讀取相關内容。也就是說透過韌 體介面控制單元340來讀取缓衝器32〇中的開機區塊程式 碼147,以開始進行初始化之動作。而開機區塊程式碼Μ? 例如須包含將儲存裝置介面控制單元35〇、控制晶片組12〇 及主要記憶體160初始化的最低要求。 韌體介面控制單元340利用此一讀取要求的位址,讀 φ 取原來預先载入放在缓衝器320中的開機區塊程式碼 的程式區段,並將其位址對應的資料,經由内部資料匯流 ,380,存放到韌體介面控制單元34〇内的韌體資料暫^ 器343。而轫體介面控制單元340再將存放在韌體資料暫 存裔343内的資料,經由系統韌體傳輸介面36〇回傳回去。 而,央處理單元110將不斷地經由系統韌體傳輪介面 360來讀取系統韌體145’以完成電腦系統1〇〇上其他硬體 的初始化動作。 另一方面,當讀取要求的位址(例如E2〇〇〇h)未落在 • F〇〇〇〇h-FFFFOh内時,如步驟S535所示,韌體介面控制單 元34〇可透過糸統韋刃體傳輸介面360回傳一筆錯誤資料至 中央處理單元110。 ' 然後,在步驟S540中,微控制單元31〇便依據讀取 要求所載送的位址,自儲存模組14〇中載入對應讀取要求 的程式區段。例如,微控制單元31〇將根據中央處理單元 110讀取要求的位址E2000h,自儲存模組140中將 E0000h-EFFF0h的程式區段載入至緩衝器320内。之後, 17 1379234 PSPD-2008-0034 29393twf.doc/n 返回步驟S520。 —值得注意的是,在上述步驟S535巾,當 元110接收到1 刃體介面控制單元340所回傳的錯誤資: 不會做任何纽,翻意在使微控鮮元去搬移下 =程式區段。以BI0S程式碼為例,t程式在執行當中需 區f的位址去執行另外一段程式碼時,可在 跳曰々(Jump)之前加入一個讀取區段起始位址的指令 φ 以及一個等待區段播移時間的指令。 7 的片是依照本發明—實施例崎示的励s 、。。以王式碼不意圖。請參照圖6,“farjumpe2㈨⑴, ^程式碼欲跳躍至另—個區段的指令。而“Read E0_” :址。“Wait 1Gms”是用來等待區段搬移的 你二在此,專待區段搬移的時間是依據微控制單元別 搬移-個程式區段到緩衝器32G的時間來決定。 鮮藉由重複執行上述步驟S5〇5_步驟S540以完成 _ Γ控制單元350、控制晶片組120及主要記憶 ==化的工作。之後,中央處理單元職可透過 ^存裝置面控制單元350來存取儲存模組M0中的資 料。以下再舉一例說明資料存取各步驟。 是依照本發明—實施例姆示之存取資料的方法 :程圖。請同時參照圖卜圖2、圖犯與圖7,首先在 ^驟咖中,中央處理單元11〇透過儲存裝置介面控制 =350來設定其内部的細體载入介面(腦咖 )353。其中’韋刃體載入介面扮包括系統勃體145欲傳 1379234 PSPD-2008-0034 29393twf.doc/n 送至主要記憶體160的目標位址(Target Address)、欲讀 取之糸統勒體145的韋刃體基底位址(R〇M Base Address) 以及欲讀取之系統韌體145的搬移範圍(Move Size)。之 後’儲存裝置介面控制單元350啟動一直接記憶體存取致 月匕訊號(DMA Enable ’ DMA^Direct Memory Access )以觸 發微控制單元310。Advanced Technology Attachment (SATA) is one of the bus bars. When the π 书 土 电 电 田 田 储存 储存 储存 储存 储存 储存 储存 储存 储存 储存 储存 储存 储存 储存 储存 储存 储存 储存 储存 储存 储存 储存 储存At this point, the micro control unit will send the load unfinished signal to the central processing unit 11〇, so that the central processing unit ιι〇 temporarily? Execute the boot process. After the micro control unit trains the system to load into the buffer 32 through the peripheral device control unit 330, the micro control unit 310 sends a load completion signal to the central processing unit u, and the central processing unit 11 transmits The body interface control unit 34 reads the system firmware of the buffer 320 to perform the boot process. °° Here, it can be set on the micro-control solution. (4) Bu: Use 311 to transmit the loading unfinished signal or the loading completion signal and the i example to control how to control the central processing unit 110. - Partial 10,000 block diagram of the computer system shown in the embodiment. Referring to FIG. 4 in March, the slanting foot 4 Λ 1 · & central processing unit 110 performs resetting, and the control pin 3U used for control + The turn-in terminal of the reset H-use micro-control unit 310 AND Gate 410 is connected to the logic gate (L〇gic is connected to the central processing unit 1ω. The output terminals of #35 and 41G are limited to this. In this second; f It should be understood that the present invention does not pass through the system transport interface 36 311 or pin 4_ to the input of the logical 2::me transmission interface 370 and the weight 410 (not shown). According to 1379234 pSPD- 2008-0034 29393twf.doc/n This 'false reset signal is "1", the load unfinished signal is "〇,, then, enter. After the line avoidance and the transport difference" logic and gate 410 will output a The signal ''〇, and is transmitted to the central processing unit 110' to cause the central processing unit 11 to pause. Otherwise, the reset signal is assumed to be "1" When the load completion signal is "i,", after the logic is performed, the logic and gate 410 outputs a signal "1" and transmits it to the central processing unit 110' to start the central processing unit 11 〇 <> However, this is merely an example and is not intended to limit the implementation of the present invention. The present invention also provides a corresponding method for opening the computer system 100 with the following method. FIG. 5 is a flow chart showing a booting method according to an embodiment of the present invention. Please refer to FIG. 2, FIG. 3B and FIG. 5 simultaneously. First, in the steps. In S505, when the power is supplied to the computer system, the micro control unit 3 transmits a load uncompleted signal to the central processing unit 11A, so that the central processing unit U0 suspends the execution of the boot process. Example #, The incomplete signal is logically ANDed with the reset signal used to control the central processing unit 110, and the central processing unit 110 is suspended. Next, in step S510, the micro control unit 31 is configured to be stored. The first program section of the system firmware 145 in the group 140 is loaded into the buffer state 320. The micro control unit 31 first sets the firmware address mapping register 333 in the peripheral device control unit 330, and then the system The firmware 145 moves to the buffer 320. This is because the system firmware 145 in the storage module 140 is directly purchased through the system firmware transmission interface 36, which may cause a problem of read delay. The system firmware 145 is moved to the buffer 1379234 PSPD-2008-0034 29393twf.doc/n 320. In detail, the system firmware 145 can be divided into a plurality of program sections depending on the capacity of the buffer 32A. When the power is turned on, the internal micro control unit 310 of the storage device 13 starts to read the code of the first program segment from the storage module 14A into the buffer 32 of the storage device. The first program section refers to the section where the address addressed by the first read request is located when the central processing unit 110 is powered on. Here, a scenario area _ segment size A lOOOOh is assumed, and the address of the first program section is assumed to be FOOOOh-FFFFOh. After that, after the first program section is all loaded into the buffer 320, as shown in step S515, the micro control unit 31 transmits the load completion 5 holes to the central processing unit H0, so that the central processing unit 11 〇 Start the boot process. That is, after the code of the first program section is read into the buffer 320, the micro control unit 31 transmits the load completion signal by using the control pin 311 to cause the central processing unit 11 to start the operation. Then, in step S520, the storage device 13 receives the read request transmitted by the central processing unit 11 through the system firmware/transport interface 36. When the central processing unit 110 issues a read request and the storage device 13 receives the request via the system transport interface 360, the firmware interface control unit 340 inside the storage device 130 determines the address of the read request. Whether it falls within the address of the program section temporarily stored in the buffer 320. If yes, step S530 is performed; if not, step S535 is performed. In the case that the first program section currently buffered by the buffer 320 is F0000h-FFFF0h, when the read request address falls within 1379234 PSPD-2008-0034 29393twf.doc/n FOOOOh-FFFFOh, the steps are as follows. μ%*, with the knife interface control unit 340 will read the relevant content from the buffer 32〇. That is to say, the boot block code 147 in the buffer 32 is read by the firmware interface control unit 340 to start the initialization operation. The boot block code, for example, must include the minimum requirements for initializing the storage device interface control unit 35, the control chip set 12A, and the primary memory 160. The firmware interface control unit 340 uses the address of the read request to read φ to obtain the program segment of the boot block code that is preloaded in the buffer 320, and the data corresponding to the address. The firmware data buffer 380 is stored in the firmware interface control unit 34 via the internal data sink 380. The body interface control unit 340 then transmits the data stored in the firmware data temporary 343 back through the system firmware transmission interface 36. However, the central processing unit 110 will continuously read the system firmware 145' via the system firmware transfer interface 360 to complete the initialization of other hardware on the computer system 1. On the other hand, when the address required for reading (for example, E2〇〇〇h) does not fall within • F〇〇〇〇h-FFFFOh, as shown in step S535, the firmware interface control unit 34 can pass through the UI. The Tongwei blade transmission interface 360 returns an error message to the central processing unit 110. Then, in step S540, the micro control unit 31 loads the program section corresponding to the read request from the storage module 14A according to the address carried by the read request. For example, the micro control unit 31 载入 loads the program segment of E0000h-EFFF0h from the storage module 140 into the buffer 320 according to the address E2000h of the central processing unit 110. Thereafter, 17 1379234 PSPD-2008-0034 29393twf.doc/n returns to step S520. - It should be noted that, in the above step S535, when the element 110 receives the error message returned by the 1-blade interface control unit 340: Nothing will be done, and the change is made to make the micro-control fresh element move down = program area segment. Taking the BI0S code as an example, when the program requires the address of the area f to execute another piece of code during execution, a command φ for reading the start address of the sector and a code can be added before the jump. An instruction to wait for the zone to play time. The slice of 7 is the excitation s, according to the embodiment of the present invention. . The king code is not intended. Please refer to Figure 6, "farjumpe2 (9) (1), ^ program code to jump to another section of the instruction. And "Read E0_": address. "Wait 1Gms" is used to wait for the section to move you here, the special area The time of the segment shift is determined according to the time when the micro control unit moves the program segment to the buffer 32G. The step S5〇5_step S540 is repeatedly performed to complete the _ Γ control unit 350, the control chip group 120, and The main memory == work. After that, the central processing unit can access the data in the storage module M0 through the memory device control unit 350. The following is an example of the data access steps. The method for accessing data according to the embodiment is shown in FIG. 2. Referring to FIG. 2 and FIG. 7, the central processing unit 11 first sets the medium through the storage device interface control=350. Internal fine-grained loading interface (brain coffee) 353. Among them, 'Wei blade body loading interface dressing including system Bo Bo 145 wants to pass 1379234 PSPD-2008-0034 29393twf.doc/n to the main memory 160 target address (Target Address), to read The R 〇 M Base Address of the 勒 勒 勒 145 and the Move Size of the system firmware 145 to be read. Then the storage device interface control unit 350 initiates a direct memory storage. The DMA Enable ' DMA^ Direct Memory Access is taken to trigger the micro control unit 310.

接著,在步驟S710中微控制單元310便可依據韌體 載入介面353而將儲存模組14〇中的系統韌體145的其他 程式區段載入至緩衝器32〇中。詳細地說,微控制單元31〇 會依據韌體基底位址所設定的起始位址,去設定周邊裝置 控制單兀330内的韌體位址映射暫存器333,然後將儲存 模組140内的系統韌體145的其他程式區段搬移至緩衝器 #、、, ^後,如步驟S715所示,透過系統資料傳輸介面370 人运缓衝器320内的資料至主要記憶體⑽中。儲存裝置Then, in step S710, the micro control unit 310 can load the other program sections of the system firmware 145 in the storage module 14 into the buffer 32 according to the firmware loading interface 353. In detail, the micro control unit 31 设定 sets the firmware address mapping register 333 in the peripheral device control unit 330 according to the starting address set by the firmware base address, and then stores the storage module 140. After the other program sections of the system firmware 145 are moved to the buffers #, , , ^, as shown in step S715, the data in the human transport buffer 320 is transmitted through the system data transmission interface 370 to the main memory (10). Storage device

70 35()會將載入至緩衝器320中的資料轉換成 ίί 介面Μ上的傳送封包,以傳送到目標位址 所才日疋的主要記憶體160的位址。 統二=述步驟_與步騾S715,直到所有的系 單上=載入至主要記憶體160。據此,中央處理 體⑷,而是直===:來讀取系統勤 =節省經由_料要傳 1379234 PSPD-2008-0034 29393twf.doc/n .f得-提的是’在上述儲存裝置控制器i5〇的竿構之 的寫^過儲存裝置介面控制單元亦能夠進行系統勤體 來說,中央處理單A m透過儲存裝置介面控制 早疋350 _體載入介面353,設歧寫人的系統滅 裝置)的長度、欲寫人的動體基底位址、 的貧料埠(DataPort),然後再啟動—寫入訊號。 _ Ϊ =说將會觸發微控制單元310 ,使得微控制單元 依據欲寫入的勤體基底位址設定的起始位址,去 周邊裝置控制單元330内的動體位址映射暫存哭333°。之 後,將欲寫入的資料搬到缓衝器32〇内。中央處理單元ιι〇 地寫入系統$刃體,而被寫入的系統拿刀體也會被不斷 也被搬到緩衝E 32〇内。待緩衝器32()的資料達到一個寫 二=區段大小之後’周邊裝置控制單幻輕會把緩 320内的系統動體其中一程式區段寫入儲存模組刚 。如此重複寫入,直到完整地寫入整個系統韌體。 在上述實施例中,儲存裝置控制器⑽是整合在儲存 裝置請中,然而,在其他實施例中,儲存裝置控制器15〇 亦可整合於主機板17G中。如圖8所示。圖8是依照本發 明另一實施例所繪示之電腦系統的方塊圖。電腦系統^ 包括中央處理單元810、控制晶片組82〇、儲存裝置控制器 830、儲存模組84〇以及主要記憶體85〇。其中,中央處理 ^元810、控制晶片組820、儲存裝置控制器83〇與主要記 憶體850配置於主機板860中。控制晶片組820分別麵接 20 1379234 PSPD-2008-0034 29393twf.doc/n 至中央處理單元810、儲存模植84〇與主要記憶體85〇。 在本實施射,儲存裝置控制器㈣{整合於控制晶 片組㈣卜而本實施例之中央處理單元810、控制晶片 組820、儲存裝置控制器83〇、儲存模組84〇以及主要記憶 能分別ΐ前述中央處理單元、控制晶片組 160之置控制a 150、儲存模組140以及主要記憶體 160之功/b相同或相似。故,在此不再贅述。 =板整合之外’亦可為單-裝置,在此並不== 整人=1述’在上述實施例中,將系統物體與系統資料 來:置模組中,據此,可節省主機板中原本用 制二?體的成本。此外’更實作-個儲存励 央處理單元能夠經由此 本發明,任以實施例揭露如上,然其並非甩以限定 太获明^所屬技術領域巾具有通常知識者,在不脫離 發^之範_ ’當可作些許之更動與潤飾,故本 保•,當視後㈣請專侧所界定;為準。 【圖式簡單說明】 圖 θ疋依知、本發明-貫施例所緣示之電腦系統的方塊 θ讀知、本發明-貫施例所綠示之儲存模組的方塊 21 1379234 PSPD-2008-0034 29393twf.doc/n 圖。 是依照本發明—實施例_示之储存裝置㈣ ,3Β π依照本發明一實施例所繪示之具有儲 控制器之儲存裝置的方塊圖。 、70 35() converts the data loaded into buffer 320 into a transport packet on the interface 以 to be transmitted to the address of the primary memory 160 that is only in the destination address. The second step = step 715 and step S715 until all the orders are loaded to the main memory 160. According to this, the central processing body (4), but the direct ===: to read the system diligence = saving via the material to be transmitted 1379234 PSPD-2008-0034 29393twf.doc / n. f - mention is 'in the above storage device The controller i5〇's 写 过 储存 储存 储存 储存 储存 储存 储存 亦 亦 亦 亦 亦 亦 亦 亦 亦 亦 亦 亦 亦 亦 亦 亦 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器The length of the system is off, the body base address of the person to be written, the DataPort, and then the start-write signal. _ Ϊ = said that the micro control unit 310 will be triggered, so that the micro control unit sets the start address of the mobile device base address to be written, and the mobile device address mapping in the peripheral device control unit 330 temporarily stores 333°. . Thereafter, the data to be written is transferred to the buffer 32. The central processing unit writes the system $blade, and the system to be written is also continuously moved to the buffer E 32〇. After the data of the buffer 32() reaches a write level=segment size, the peripheral device control single magic light will write one of the program segments of the system dynamics in the buffer 320 to the storage module. Writes are repeated this way until the entire system firmware is completely written. In the above embodiment, the storage device controller (10) is integrated in the storage device, however, in other embodiments, the storage device controller 15 can also be integrated in the motherboard 17G. As shown in Figure 8. FIG. 8 is a block diagram of a computer system in accordance with another embodiment of the present invention. The computer system ^ includes a central processing unit 810, a control chip set 82A, a storage device controller 830, a storage module 84A, and a main memory 85A. The central processing unit 810, the control chip group 820, the storage device controller 83A, and the main memory unit 850 are disposed in the motherboard 860. The control chip set 820 is respectively surfaced 20 1379234 PSPD-2008-0034 29393 twf.doc/n to the central processing unit 810, the storage module 84 〇 and the main memory 85 〇. In the present embodiment, the storage device controller (4) {integrated in the control chipset (4), and the central processing unit 810, the control chipset 820, the storage device controller 83, the storage module 84A, and the main memory energy of the present embodiment respectively The power/b of the central processing unit, the control chip set 160, the storage module 140, and the main memory 160 are the same or similar. Therefore, it will not be repeated here. In addition to the board integration, it can also be a single-device. Here, it is not == whole person=1. In the above embodiment, the system object and system data are used: in the module, according to which the host can be saved. The cost of using the two bodies in the board. In addition, the 'more practical-storage processing unit can be through the present invention, and the above embodiments are disclosed as above, but it is not intended to limit the knowledge of the technical field to the general knowledge, without leaving the hair. Fan _ 'When you can make some changes and retouching, so this insurance•, after the sight (four), please define the side; subject to. BRIEF DESCRIPTION OF THE DRAWINGS Figure θ 疋 、 、 、 、 、 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑-0034 29393twf.doc/n Figure. In accordance with an embodiment of the present invention, a storage device (4), a block diagram of a storage device having a memory controller, in accordance with an embodiment of the present invention. ,

方塊7是錢本發明—實施_繪示之電财、統的局部 圖。圖5是㈣本發明—實施例騎示之關方法的流程 式碼:ί恢照本發明—實施例所繪示的BI〇S的局部程 流程^是賴本糾—實麵翁枕存取資料的方法 塊圖 圖8疋依妝本發明另一實施例所繪示之電腦系统的方 φ 【主要元件符號說明】 100、800 :電腦系統 110、810 :中央處理單元 120、820 :控制晶片組 130 :儲存裝置 140、840 :儲存模組 150、830 :儲存装置控制器 160、850 :主要記憶體 170、860 :主機板 22 1379234 PSPD-2008-0034 29393twf.doc/n ' 141 :韌體區域 . 143 :資料區域 145 :系統韌體 147 :開機區塊程式碼 149 :運行區塊程式碼 300 :介面控制模組 310 :微控制單元 311 :控制針腳 φ 320:缓衝器 330 :周邊裝置控制單元 331 :資料位址映射暫存器 333 :韌體位址映射暫存器 340 :韌體介面控制單元 341 :韌體位址暫存器 343 :韌體資料暫存器 350 ··儲存裝置介面控制單元 351 :任務暫存器 • 353 ··韌體載入介面 360 :系統韌體傳輸介面 370 :系統資料傳輸介面 380:内部資料匯流排 401 :重置針腳 410 :邏輯及閘 S505〜S540 :本發明一實施例之開機方法各步驟 S705〜S715 :本發明一實施例之存取資料的方法各步 23Block 7 is a partial view of the invention of the present invention. FIG. 5 is a flow chart of the method for riding the display according to the present invention. FIG. 5 is a partial flow of the BI〇S according to the present invention. The method is a partial process of the BI〇S. Method block diagram of the data Figure 8 is a side view of a computer system according to another embodiment of the present invention. [Main component symbol description] 100, 800: computer system 110, 810: central processing unit 120, 820: control chip Group 130: storage device 140, 840: storage module 150, 830: storage device controller 160, 850: main memory 170, 860: motherboard 22 1379234 PSPD-2008-0034 29393twf.doc / n ' 141: firmware Area 143: Data Area 145: System Firmware 147: Boot Block Code 149: Run Block Code 300: Interface Control Module 310: Micro Control Unit 311: Control Pin φ 320: Buffer 330: Peripheral Device Control unit 331: data address mapping register 333: firmware address mapping register 340: firmware interface control unit 341: firmware address register 343: firmware data register 350 · · storage device interface control Unit 351: Task Register • 353 ·· Firmware Loading Interface 3 60: system firmware transmission interface 370: system data transmission interface 380: internal data bus 401: reset pin 410: logic and gate S505~S540: steps S705 to S715 of the booting method according to an embodiment of the present invention: Method for accessing data in an embodiment step 23

Claims (1)

1379234 101-6-26 叫年修正本 七、申請專利範圍: --- 1. 一種儲存裝置控制器,包括: 一微控制單元,耦接至一中央處理單元,當供電至該 儲存裝置控制器時,該微控制單元發送一載入未完'成訊= 至該中央處理單元,以使該中央處理單元暫停執行一開機ϋ 程序; 一緩衝器’耦接至該微控制單元; 一周邊裝置控制單元,耦接至該微控制單元與一儲存 模組,該周邊裝置控制單元是用來將該儲存模組的一系統 韌體載入至該緩衝器,·以及 一介面控制模組,耦接至該微控制單元與該中央處理 單7L,該介面控制模組是用來讀取該緩衝器中的該系 體; 其中,當該中央處理單元暫停執行該開機程序時,該 微控制,兀透過該周邊裝置控制單元將配置在該儲存模組 中的該系統韌體的一第一程式區段載入至該緩衝器,當該 第一程式區段全部載入至該緩衝器之後,該微控制單元發 送一載入完成訊號至該中央處理單元,以使該中央處理^ 兀透過該介面控制模組讀取該緩衝器的該系統韌體 該開機程序; 胃 ^中,當該介面控制模組接收到該中央處理單元發出 的-讀取要求時’判斷該讀取要求的位址是否落在該 器中所=存的該第-程式區段的位址内,倘若該讀取要求 的位址落在該緩衝器中所暫存的該第—程式區段的位址 24 1379234 j〇1-6-26 内 該 -’依據該讀取要求的位址,透祕介面㈣模組 緩衝器中的該系崎體的該第—程式區段的程式碼 傳給該t央處理單元;倘若該讀取要求的位址未落在該第 -程式區段,由賴控鮮元依據該讀取要麵位址^ 該健存模財將㈣肋體中對應的—第二 至該緩衝器。 权戰入 2.如_請專利顧第1項所述之儲存裝置控制器,发 ;中該微控制單元更包括—控制針腳,彻該控制針腳傳 該載入未完成喊賴載人絲訊號,其巾,該控制針腳 與該中央處理單元的—重置針_接至—邏輯及閘的輸入 端,且該邏輯及閘的輸出端耦接至該中央處理單元。 3·如申請專利範圍第〗項所述之儲存裝置控制器,其 中該介面控繼組包括—祕介面鋪單元,軸體介^ 控制單元包括: 二二勒體位址神H ’暫時存放該巾域理單元所發送 之該讀取要求職送的該位址’使得飾體介面控制單元 依據該位址自該緩衝器中讀取該系統韌體;以及 -物體資料暫存H,暫時械依據該健所讀取到的 該系統韌體。 4.如申請專利範圍第3項所述之儲存裝置控制器,其 中該韌體介©控制單元更包括一系統體傳輸介面,該系 統勃體傳输介面為序列周邊介面(Serial Peripheral Interface ’ SPI)匯流排、工業標準架構(Industiy Architecture,ISA)匯流排以及低腳位數(L〇wpinC〇unt, 25 1379234 101-6-26 LpC )匯流排其中之一。 5.如申請專利範圍第3項所述 ^該介面控制模組更包括: 砰裝置控制益’其 一儲存裝置介面控制單元,輕接至 中央處理單元,當該中央處理單元執行元與該 儲存裝置介面控制單元初始化之後,而= 該儲存裝置介面控制單元來存取該儲存模电。70 ^ 述之儲她咖,其 取及二吨賴__組進行寫入、讀 内_^=^面’肋寫人或讀取魏在該儲存模組 7. 如t請專概圍第5項所述謂存裝置控制器,其 21存^面㈣單元更包括—純資料傳齡面,、 η貝枓傳輸介面為周邊控制器介面(Pe離― Corner Interfaee,ρα)匯流排、ρα Εχρ卿匯流排、 平打南階附掛技術(Parallel Advanced Techn〇i〇gy Attachment ’ PATA)匯流排以及串列高階附掛技術(如以 Advanced Technology Attachment,SATA)匯流排其中之 —^ ο 8. —種主機板,包括: 一中央處理單元; -儲存裝置控伽,祕至該巾央處理單元;以及 26 1379234 101-6-26 -儲械組’接至簡存裝置控㈣,且該儲存模 組至少具有一糸統款體; 、 、其t二供?:至該主機板時,該儲存裝置控制器發送 7載^未巧訊號至該巾央處理單元,以使該中央處理單 =暫停執彳了-_程序’麵縣置控制㈣配置在該儲 存模組中的該系統勒體的一第一程式區段載入至該儲 置控制器的-緩衝器,當該第一程式區段全部載入至該緩 ^之後,賴聽置控織發送—載人完成訊號至該中 ^理單\’以使該中央處理單歧過該儲存裝置控制器 β貝取該系統初體來執行該開機程序; 其中,當該儲存褒置控制器接收到該中央處理單元發 出的一讀取要求時,判斷該讀取要求的位址是否落在該緩 ^器中所暫存的該第-程式區段的位址内,倘若該讀= 求的位址落在該緩衝器中所暫存的該第一程式區段的位址 内《亥儲存裝置控制器依據該讀取要求的位址,讀取該 衝器中的該系,體的該第一程式區段的程式碼,以回傳 $該中央處理單元;倘魏讀取要求的位址未落在該第一 私式區段’該儲雜置控制驗據該讀取要求的位址,自 該儲存模組中將該系、_體中對應的—第二程式區段載入 至該緩衝器。 9.如申請專利範圍第8項所述之主機板,其中 裝置控制器,包括: + 一微控制單元,耦接至該中央處理單元,當供電至該 主機板時,賴控料元發賴載人未完成_至該^ 27 1379234 101-6-26 處理單元,該緩衝器耦接至該微控制單元; 一周邊裝置控制單元,耦接至該微控制單元與該儲存 模組,該周邊裝置控制單元是用來將該儲存模組 韌體載入至該缓衝器;以及 一介面控制模組,耦接至該微控制單元與該中央處理 單7G ’該介面控制模組是用來讀取該緩衝器中的該 體, 其中’當該微控制單元透過該周邊裝置控制單元將該 系統勃體私至概衝化後,賴㈣單元發送該 完成訊號至該中央處理單元。 /0 =請專利範圍第9項所述之主機板,其 控制早7L更包括: ㈣=制針腳傳送該載人未完成訊號或職入完成訊 鍵理單元’其中’該㈣針腳無中央處理單 置針腳域至—邏輯關的輸人端,且該邏輯及 甲·輸出端搞接至該中央處理單元。 11.如申請專利範圍第9項所述之主機板,其 元=模組包括―勒體介面控制單元,_體介面控制單 之卜址暫存11,暫時存放該中央處理單元所發送 依攄二’所載送的該位址’使得該㈣介面控制單元 立址自該緩衝器中讀取該系統韌體;以及 該系料暫存器’暫時存放依據該位址所讀取到的 28 101-6-26 面控;;模利範圍第丨丨項所述之主機板,其中該介 單元’搞接至該微控制單元與該 蚀二 中央處理單元執行該⑽體而將談 兮二:2::凡初始化之後’該中央處理單元透i 雜存裝Ϊ 〃面㈣單絲存取顧存模植。 A如申請專利範圍第12項所述之主機板,更包括: -系統軔體傳輪介面’耦接在該中央 體介面控制單元之間;以及 H明 户坡2_料傳輪介面,減在該中央處理單元盘該儲 存裝置介面控制單元之間。 M.如申請專利範圍帛u項所述之主機板, =包括-開機區塊程式碼與一運行區塊程式竭,= 二t 2?透:該章刃體介面控制單元讀取該開機區塊程 式碼,以至少減化簡絲置介面_單元、_ =與:主要記憶體,並且該中央處理單元透過該;存; 制單元讀取該運行區塊程辆,以執行後 15. —種儲存裝置,包括: 一健存裝置㈣H,触至—中錢理料;以及 ,存敝,接至簡存裝置控㈣,且 組至少具有一系統韌體; 子棋 ,^中,當供電至謂絲料,_存裝置控制器發 迗-載人未元成峨至射央處理單元,錢該+央處理 29 101-6-26 單元,停執行一開機程序, 該儲存模組中的該系統& 4存裝置控•將配置在 存裝置控制器的-緩=體^一弟一程式區段載入至該儲 該緩衝器之後,該儲^ ^該第一程式區段全部載入至 該中央處理單开存裝置控制器發送一載入完成訊號至 制器=_==:透過該儲存裝置控 出的二讀取存裝置控制器接收到該中央處理單元發 衝器中所暫第===求的位址是否落在該緩 二據該讀取要求的位址’讀取該緩 . 體的該弟一程式區段的程式碼,以回傳 處理單元;倘若該讀取要求的位址未私該第- ^又’雜存裝置控㈣依據該讀取要求的位址,自 該儲存模將該系體中對應的—第二程式區段载入 至該緩衝器。 16.如令請專利範圍第15項所述之儲存裝置,其中該 j模組包括一_區域與一資料區域,其中_體區域 儲存§亥系統拿刀體。 17·如令请專利範圍第15項所述之儲存裝置,其中該 儲存裝置控制器包括: 一微控制單元,耦接至該中央處理單元,當供電至該 儲存裝,時,該微控制單元發送該載入未完成訊號至該中 Χ 央處理單元,該緩衝器耦接至該微控制單元; 30 1379234 101-6-26 ★ -周邊裝置控制單元,祕至該微控鮮元與該儲存 核組’該周邊裝置控制單元是用來將該系錄 緩衝器;以及 -介面控侧組’祕至該微控制單元與該中央處理 單兀’該介面控制模組是用來讀取該緩衝器中的該系統拿刃 體, /其中,當該微控制單元透過該周邊裝置控制單元將該 ί ΐϊϊ载入^'該緩_之後,該微控制單元發送該載人 兀成讯说至該中央處理單元。 微控侧第17項所述之儲存裝置,其中該 號至3::單入未完成訊號或該載入完成訊 - 处里早70,其中,該控制針腳與該中央處理單 二的輸入端’且該邏輯及 介面!專利範圍第17項所述之儲存裝置,其中該 單元3 i體介面控鮮元,抑體介面控制 勤體位址暫存^,暫時存放該巾央處理單元所發送 址’使得咖介面控制單元 一五目η亥緩衝1§中讀取該系統韌體;以及 該系統韌― 2〇.如_請專利範圍第I9項所述之儲存裝 二=資料暫存器’暫時存放依據該他所讀取到的 置,其中該 31 101-6-26 101-6-26 介面控制糢組更包括·· 中央處=置單1至該微控制單元與該 儲存裝置介面控制單元初始化之^ ^系統㈣而將該 該儲存裝置介而他土*丄- 落+央處理單 元透過 介面控制單元來存取該儲 f.如令請專利範圍第20項所述之 系._體包括1機區塊程式碼與— 置’其中該 該中央處理單元透過該餘體介面控式碼,而 碼’以至少初始化該儲存裝置介面控機區塊 ,的-控制晶片组及一主要記憶 -主機 執行後續的該開機程^讀亥運行區塊程式碼,以 1右開機方法,適用於—電腦系統,該電腦㈣ 組二=單置元二儲存裝置控制器以及-4: 存模組之間,而該開機 1=在該中央處理單元舆該儲 讀停執行1機程序; ㈣中央處理早 統勃S 置控制器將配置在該儲存模組中的一系 衝器;以程式區段載人至該儲存裝置控制器的一緩 在該第一程式區段全部入至該 ,裝置控制器傳送—載人完成訊號至該中央二=該 以4該中央處理單元開始執行關機程序; 32 當該儲存裝置控制器接收到該中央處理 讀取要求時’麟取要求的健h 所暫存的該m區段的位址内; 器中 倘若該讀取要求的位址落在該緩衝器中所 區段的位址内,該儲存裝置控制器依據該讀取以 的位址,t買取該緩衝器中的該系統韌體的該第一 求 的程式碼,以回傳給該中央處理單元;以及 x品奴 倘若該讀取要求的位址未落在該第—程趣段, 制器依據該讀取要求的位址,自該儲存模組‘將 該糸統初體中對應的—第二程式區段載人至該緩衝器。、 .23.如申請專利範圍第22項所述之開機方法\更包 將該载入完成訊號或該載入未完成訊號與用來控制該 中央處理單元的一重置訊號進行邏輯及運算。 μ 24. 如申請專利範圍第22項所述之開機方法,其中藉 由該儲存裝置控制H將配置在該儲存模組中的該系統^ 的該第一程式區段載入至該儲存裝置控制器的該緩衝器 步驟,包括: ° 透過該儲存裝置控制器的一周邊裝置控制單元,將該 儲存模組的該系統韌體的該第一程式區段載入至該 器。 25. 如申請專利範圍第22項所述之開機方法,其中在 藉由該儲存裝置控制器傳送該載入完成訊號至該中央處理 單元的步驟之後,更包括: 透過該儲存裝置控制器的一韌體介面控制單元,讀取 1379234 101-6-26 該緩衝n巾的該祕姆,讀行該職程序而 健存裝置控制n的-儲存裝置介面㈣單元與—控曰= 組及一主要記憶體初始化。 工曰曰 26.如申請專利範圍第24項所述之開機方法,i 將該儲存裝置控繼_儲躲置介面控制單元與該^ 晶片組及社要記憶體初始化的轉之後,更包括:二 以 劫存裝置介面控制單元’讀取該系統勤體 執订後縯的該開機程序。 34 13792341379234 101-6-26 Year of the Amendment This application area: --- 1. A storage device controller, comprising: a micro control unit coupled to a central processing unit, when powered to the storage device controller At the time, the micro control unit sends a load to the central processing unit to cause the central processing unit to suspend execution of a power-on sequence; a buffer is coupled to the micro-control unit; The unit is coupled to the micro control unit and a storage module, wherein the peripheral device control unit is configured to load a system firmware of the storage module into the buffer, and an interface control module, coupled Up to the micro control unit and the central processing unit 7L, the interface control module is configured to read the system in the buffer; wherein, when the central processing unit suspends executing the booting process, the micro control Loading, by the peripheral device control unit, a first program segment of the system firmware disposed in the storage module to the buffer, when the first program segment is all loaded into the buffer Thereafter, the micro control unit sends a load completion signal to the central processing unit, so that the central processing unit reads the firmware of the system firmware of the buffer through the interface control module; When the interface control module receives the read request from the central processing unit, it determines whether the address of the read request falls within the address of the first program segment stored in the device, if The address of the read request falls within the address of the first program segment temporarily stored in the buffer 24 1379234 j 〇 1-6-26 - the address according to the read request, the transparent interface (4) transmitting, in the module buffer, the code of the first program section of the sarcophagus to the t-processing unit; if the address required for the reading does not fall in the first-program section, The fresh element is based on the read address of the face. The health of the (4) rib is corresponding to the second to the buffer. In the case of the storage device controller described in the first item, the micro-control unit further includes a control pin, and the control pin transmits the unfinished shouting signal. And the control pin and the reset pin of the central processing unit are connected to the input end of the logic and the gate, and the output end of the logic and the gate is coupled to the central processing unit. 3. The storage device controller as claimed in claim 1, wherein the interface control group comprises a secret interface surface unit, and the shaft body control unit comprises: a second two-dimensional object address H' temporary storage of the towel The address requested by the domain management unit is such that the interface interface control unit reads the system firmware from the buffer according to the address; and - the object data temporarily stores H, the temporary mechanical basis The system firmware read by the health center. 4. The storage device controller of claim 3, wherein the firmware control unit further comprises a system body transmission interface, wherein the system transmission interface is a serial peripheral interface (SPI). One of the busbars, the Industiy Architecture (ISA) bus and the low pin count (L〇wpinC〇unt, 25 1379234 101-6-26 LpC) bus. 5. As described in claim 3, the interface control module further comprises: a device control device, which is connected to the central processing unit, when the central processing unit executes the element and the storage After the device interface control unit is initialized, the storage device interface control unit accesses the storage mode. 70 ^ The storage of her coffee, which takes two tons of _ _ group to write, read inside _ ^ = ^ face 'ribs write people or read Wei in the storage module 7. If t please please The five said memory device controllers, the 21 storage unit (4) unit further includes a pure data ageing surface, and the ηBei transmission interface is a peripheral controller interface (Pe away from - Corner Interfaee, ρα) bus bar, ρα Εχρ卿汇排排, Parallel Advanced Techn〇i〇gy Attachment 'PATA) bus and serial high-end attachment technology (such as Advanced Technology Attachment, SATA) bus - ο 8. a motherboard, comprising: a central processing unit; - a storage device control gamma, secret to the towel processing unit; and 26 1379234 101-6-26 - a storage group 'connected to the storage device control (four), and the storage The module has at least one system; and, t, two: When the motherboard is sent, the storage device controller sends 7 packets to the towel processing unit to make the central processing unit = pause Obsessed -_Program's county control (4) is configured in the storage module A first program section of the system is loaded into the buffer of the storage controller, and when the first program section is all loaded to the buffer, the remote control is sent to the carrier. Transmitting the central processing unit to enable the central processing unit to pass the storage device controller to perform the booting process; wherein, when the storage device controller receives the central processing unit When a read request is made, it is determined whether the address requested by the read falls within the address of the first program segment temporarily stored in the buffer, if the address of the read = request falls in the buffer In the address of the first program section temporarily stored in the device, the memory device controller reads the system in the buffer according to the address of the read request, and the first program section of the body a code to return the $ central processing unit; if the address requested by Wei reads does not fall within the first private section, the storage miscellaneous control verifies the address of the read request, from the storage mode The corresponding program in the group, the _ body, is loaded into the buffer. 9. The motherboard as claimed in claim 8, wherein the device controller comprises: a micro control unit coupled to the central processing unit, and when the power is supplied to the motherboard, the control unit is The loading unit is not completed _ to the ^ 27 1379234 101-6-26 processing unit, the buffer is coupled to the micro control unit; a peripheral device control unit is coupled to the micro control unit and the storage module, the periphery The device control unit is configured to load the storage module firmware into the buffer; and an interface control module coupled to the micro control unit and the central processing unit 7G. The interface control module is used The body in the buffer is read, wherein 'when the micro control unit transparently passes the system through the peripheral device control unit, the Lai unit sends the completion signal to the central processing unit. /0 = Please refer to the motherboard mentioned in item 9 of the patent scope. The control 7L further includes: (4) = the pin is transmitted to the manned unfinished signal or the job is completed. The key unit 'where' the (four) pin has no central processing The single pin field is connected to the input end of the logic switch, and the logic and the output terminal are connected to the central processing unit. 11. The motherboard according to claim 9 of the patent application, wherein the element=module comprises a “lein interface control unit”, and the _ body interface control list is temporarily stored in the temporary storage unit 11 for temporarily storing the reliance sent by the central processing unit. The 'send the address' causes the (four) interface control unit to read the system firmware from the buffer; and the system register temporarily stores the 28 read according to the address 101-6-26 face control; the motherboard of the model range, wherein the medium unit is connected to the micro control unit and the eccentric central processing unit to execute the (10) body :2:: After the initialization, the central processing unit is permeable to the 杂 ( ( (4) monofilament access. A motherboard as claimed in claim 12, further comprising: - a system carcass transfer interface is coupled between the central body interface control unit; and a H Mingpo 2_ material transfer wheel interface, minus Between the central processing unit disk and the storage device interface control unit. M. As claimed in the patent scope 帛u, = include - boot block code and a running block program, = two t 2? through: the chapter blade interface control unit reads the boot area Block code to at least reduce the simplification of the interface _ unit, _ = and: the main memory, and the central processing unit through the; storage; the unit reads the running block block to perform after 15. The storage device comprises: a health storage device (4) H, touches the medium money material; and, the storage device is connected to the storage device control device (4), and the group has at least one system firmware; the child chess, the ^, when the power supply To the silk material, _ storage device controller 迗 载 载 载 未 元 峨 峨 峨 射 射 射 射 射 射 射 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , The system & 4 memory device control - the configuration is stored in the storage device controller - slow = body ^ a program section is loaded into the buffer, the first program section of the storage Entering the central processing unit to open the device controller to send a load completion signal to the controller =_==: through the storage The second read memory device controller that receives the control receives the address of the current processing unit, and the address of the current address === is determined to fall in the address of the read request. The code of the program section of the body to return the processing unit; if the address requested by the read is not private, the - ^ and 'missing device control (4) according to the address of the read request, The storage module loads the corresponding second program segment in the system into the buffer. 16. The storage device of claim 15, wherein the j-module comprises a region and a data region, wherein the body region stores the body of the system. The storage device of claim 15, wherein the storage device controller comprises: a micro control unit coupled to the central processing unit, when powered to the storage device, the micro control unit Sending the load uncompleted signal to the central processing unit, the buffer is coupled to the micro control unit; 30 1379234 101-6-26 ★ - peripheral device control unit, secret to the micro control fresh element and the storage The core group 'the peripheral device control unit is used to read the buffer; and the interface control side group 'secrets to the micro control unit and the central processing unit'. The interface control module is used to read the buffer. The system in the device takes the blade body, / wherein, after the micro control unit loads the ί 该 through the peripheral device control unit, the micro control unit sends the manned message to the Central processing unit. The storage device of item 17 of the micro-control side, wherein the number to 3:: single-incomplete signal or the loading completion message is 70, wherein the control pin and the input of the central processing unit 2 'And the logic and interface! The storage device described in the 17th patent, wherein the unit 3 i body interface control fresh element, the suppression interface control body address temporary storage ^, temporarily store the address sent by the towel processing unit 'Let the coffee interface control unit read the system firmware in a five-figure η Haibu buffer 1 §; and the system is tough - 2 〇. Such as _ please patent scope I9 item storage 2 = data register ' The temporary storage is based on the position that he has read, wherein the 31 101-6-26 101-6-26 interface control module further includes a central unit = a single unit 1 to the micro control unit and the storage device interface control unit Initializing the ^^ system (4) and the storage device is referred to by the other device; the central processing unit accesses the storage device through the interface control unit. The system described in claim 20 is a body. Including 1 block code and - 'where the central processing unit Passing the remaining interface control code, and the code 'at least initializing the storage device interface control block, the control chip set and a primary memory host perform the subsequent boot process ^ reading the running block code, The 1 right boot method is applicable to the computer system, the computer (4) group 2 = single unit 2 storage device controller and -4: memory module, and the boot 1 = in the central processing unit Stop executing the 1 program; (4) central processing the early system, the controller will be configured in the storage module, and the program will be loaded into the storage device controller. The segment is all entered, the device controller transmits - the manned completion signal to the central two = the 4th central processing unit begins to perform the shutdown procedure; 32 when the storage device controller receives the central processing read request' The address of the m segment temporarily stored by the required health h is obtained; if the address requested by the read falls within the address of the segment in the buffer, the storage device controller Read the address, t buy the The first requested code of the system firmware in the buffer is returned to the central processing unit; and the x-sinus if the address requested by the read does not fall in the first-stage fun, the controller According to the address of the read request, the corresponding second program section of the first module is loaded from the storage module to the buffer. .23. The booting method as described in claim 22 of the patent application, further includes logically summing the load completion signal or the load uncompleted signal with a reset signal for controlling the central processing unit. The booting method of claim 22, wherein the first program section of the system configured in the storage module is loaded into the storage device control by the storage device control H The buffering step of the device includes: loading the first program segment of the system firmware of the storage module into the device through a peripheral device control unit of the storage device controller. 25. The booting method of claim 22, wherein after the step of transmitting the loading completion signal to the central processing unit by the storage device controller, the method further comprises: transmitting one through the storage device controller Firmware interface control unit, read 1379234 101-6-26 The secret of the buffer n towel, read the service program and the health device control n - storage device interface (4) unit and - control group = group and a main Memory initialization. [26] The method of booting according to claim 24, i after the storage device is controlled by the storage device control unit and the initialization of the chip group and the social memory, further comprising: Second, the boot device interface control unit 'reads the system to perform the boot process. 34 1379234
TW097147874A 2008-12-09 2008-12-09 Motherboard, storage device and controller thereof and booting method TWI379234B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW097147874A TWI379234B (en) 2008-12-09 2008-12-09 Motherboard, storage device and controller thereof and booting method
US12/372,123 US8117427B2 (en) 2008-12-09 2009-02-17 Motherboard, storage device and controller thereof, and booting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW097147874A TWI379234B (en) 2008-12-09 2008-12-09 Motherboard, storage device and controller thereof and booting method

Publications (2)

Publication Number Publication Date
TW201023039A TW201023039A (en) 2010-06-16
TWI379234B true TWI379234B (en) 2012-12-11

Family

ID=42232384

Family Applications (1)

Application Number Title Priority Date Filing Date
TW097147874A TWI379234B (en) 2008-12-09 2008-12-09 Motherboard, storage device and controller thereof and booting method

Country Status (2)

Country Link
US (1) US8117427B2 (en)
TW (1) TWI379234B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184122B (en) * 2011-05-16 2014-04-23 曙光信息产业股份有限公司 Interrupt realizing method for Loongson central processing unit (CPU) mainboard
US8490116B2 (en) * 2010-12-17 2013-07-16 Phoenix Technologies Ltd. Emulating legacy video using UEFI
US9152428B2 (en) 2012-09-28 2015-10-06 Intel Corporation Alternative boot path support for utilizing non-volatile memory devices

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7234052B2 (en) * 2002-03-08 2007-06-19 Samsung Electronics Co., Ltd System boot using NAND flash memory and method thereof
TWI220469B (en) * 2003-03-25 2004-08-21 Icp Electronics Inc Automatic booting system and method thereof
US7225277B2 (en) * 2003-09-04 2007-05-29 International Business Machines Corporation Proxy direct memory access
US7555678B2 (en) * 2006-03-23 2009-06-30 Mediatek Inc. System for booting from a non-XIP memory utilizing a boot engine that does not have ECC capabilities during booting
WO2009016832A1 (en) * 2007-07-31 2009-02-05 Panasonic Corporation Nonvolatile storage device and nonvolatile storage system
US8151101B2 (en) * 2008-11-06 2012-04-03 Lenovo (Singapore) Pte. Ltd. Method, apparatus, and system for quiescing a boot environment

Also Published As

Publication number Publication date
TW201023039A (en) 2010-06-16
US20100146255A1 (en) 2010-06-10
US8117427B2 (en) 2012-02-14

Similar Documents

Publication Publication Date Title
TWI493460B (en) Electronic device and booting method
US8464257B2 (en) Method and system for reducing power loss to backup IO start time of a storage device in a storage virtualization environment
WO2018119904A1 (en) System-on-chip and method for switching secure operating systems
US10007552B2 (en) System and method for dual OS memory switching
KR20160145791A (en) System on a chip with always-on processor
US7584374B2 (en) Driver/variable cache and batch reading system and method for fast resume
JP5972981B2 (en) A constrained boot method on multi-core platforms
US20110252225A1 (en) Computer system and bootup and shutdown method thereof
KR20160147954A (en) System on a chip with always-on processor which reconfigures soc and supports memory-only communication mode
JP2007206885A (en) Computer system and system starting method
TW201248389A (en) Reducing power consumption of uncore circuitry of a processor
TW201011524A (en) Method and controller for power management
JP2015156205A (en) Information processing device, and control method therein
WO2021233363A1 (en) Computing device and bios update method therefor, and medium
JP2004127040A (en) Information processor, control method, program and recording medium
JPWO2013125160A1 (en) Virtual computer control device and virtual computer control method
TW201329868A (en) Load boot data
KR20170013882A (en) A multi-host power controller (mhpc) of a flash-memory-based storage device
CN109308195A (en) Starting method, embedded device and the computer storage medium of embedded device
US11816220B2 (en) Phased boot process to dynamically initialize devices in a verified environment
TWI485623B (en) Method for fast resuming computer system and computer system
TWI379234B (en) Motherboard, storage device and controller thereof and booting method
KR20220070462A (en) secure buffer for bootloader
TW201142710A (en) Computer system, shutdown and boot method thereof
US10591980B2 (en) Power management with hardware virtualization