TW200540717A - Apparatus for reading/writing storage device - Google Patents
Apparatus for reading/writing storage device Download PDFInfo
- Publication number
- TW200540717A TW200540717A TW93115717A TW93115717A TW200540717A TW 200540717 A TW200540717 A TW 200540717A TW 93115717 A TW93115717 A TW 93115717A TW 93115717 A TW93115717 A TW 93115717A TW 200540717 A TW200540717 A TW 200540717A
- Authority
- TW
- Taiwan
- Prior art keywords
- memory card
- patent application
- storage element
- item
- scope
- Prior art date
Links
Abstract
Description
200540717 五、發明說明(1) 發明所屬之技術領域: 本發明係有關於一種儲存元件讀寫裝置,尤其是關於 一種無内建微處理器之儲存元件讀寫裝置。 先前技術: 傳統的記憶卡讀寫裝置(例如讀卡機)均内建微處理 器(microprocessor control unit, MCU),用以處理電 腦送出給記憶卡的指令。參考第一圖,顯示傳統記憶卡讀 寫裝置1 0與電腦及記憶卡6 0之間的連接關係。以寫入資料 至記憶卡6 0中為例,傳統記憶卡讀寫裝置1 〇與電腦及記憶 卡6 0之間的運作說明如下。電腦經由南橋晶片2 0傳送SCS I (Small Computer System Interface,小型電腦系統界 面)指令以及資料予通用序列連接埠介面(USB interface) 30。通用序列連接埠介面3 0將SCSI指令及資 料形成USB封包後送出,接著在微處理器40將USB封包解讀 成記憶卡控制指令及資料後,便將記憶卡控制指令及資料 傳送予記憶卡介面5 0 ’最後3己憶卡介面5 0依照記憶卡控制 指令將資料存入記憶卡6 0。 微處理器具有基本的微指令,而傳統記憶卡讀寫裝置 的驅動程式利用呼叫這些微指令的方法來處理電腦與記憶 卡讀寫裝置之間的溝通。微處理器主要的功能為USB指令200540717 V. Description of the invention (1) Technical field to which the invention belongs: The present invention relates to a storage device reading and writing device, and more particularly to a storage device reading and writing device without a built-in microprocessor. Prior technology: Traditional memory card reading and writing devices (such as card readers) have a built-in microprocessor control unit (MCU) to process instructions sent from the computer to the memory card. Referring to the first figure, a connection relationship between a conventional memory card reading and writing device 10 and a computer and a memory card 60 is shown. Taking writing data to the memory card 60 as an example, the operation between the conventional memory card reading and writing device 10 and the computer and the memory card 60 is described below. The computer sends SCS I (Small Computer System Interface) commands and data to the universal serial port interface (USB interface) 30 via the south bridge chip 20. The universal serial port interface 30 sends the SCSI command and data into a USB packet and sends it out. After the microprocessor 40 interprets the USB packet into a memory card control command and data, it sends the memory card control command and data to the memory card interface. 5 0 'Last 3 has a memory card interface 5 0 stores data into the memory card 60 according to the memory card control instruction. The microprocessor has basic micro instructions, and the driver of the conventional memory card reader / writer uses the method of calling these micro instructions to handle the communication between the computer and the memory card reader / writer. The main function of the microprocessor is USB instructions
200540717 發明說明(2) 及記憶卡指令間的編 (如·· SM卡、xD卡、 記憶卡容量之支援等 澤,亦提供無内建控制器的記憶卡 MS卡)之分區表(tabl〇之建立及 0 一般而言,微處理器 Electrically Erasable 而微指令便儲存於其内 等問題而需更新微指令時 的支援。此時,使用者將 傳輸線等方式與電腦連接 現有之電腦系統下進行韌 因此,廠商一般不會建 使用者經常無法利用韌體 加。 包含一電子抹除 &Programraabl e 。當記憶卡容量 ’就必須更改硬 必須使記憶卡讀 ’以進行韌體的 體更新,其失敗 議客戶自行進行 更新的方式,使 式唯讀記憶卡( ROM, EEPR0M) 產生支援性不足 體才可提昇硬體 寫裝置透過USB 更新。但在一般 的風險性相當高 韌體更新,使得 硬體的支援度增 因此, 的成本外 内建微處理器的記憶卡讀寫裝 其整體架構之彈性亦不足。 置除了微處理器 發明内容 上述之習立 4士〜丄 架構彈性不足,有^ Π己隐卡碩寫裝置成本過高及整體 種沒有内建微處理^之儲广本主要之目的便在提供一 件讀寫裝置之成本。·子^件頃寫裝置,以降低儲存元200540717 Description of the invention (2) and the partitioning table between the memory card instructions (such as SM card, xD card, memory card capacity support, etc., also provides a memory card MS card without a built-in controller) partition table (tabl〇 The establishment and 0 Generally speaking, the microprocessor is electrically Erasable and the microinstructions are stored in it, and the microinstructions need to be updated. At this time, the user connects the transmission line and the computer to the computer under the existing computer system. Therefore, manufacturers generally do not build firmware that users often fail to use. Includes an electronic erasure & Programraabl e. When the memory card capacity 'must be changed, the memory card must be read to perform firmware upgrades. If it fails, it is suggested that the client should update it by itself. If the read-only memory card (ROM, EEPR0M) has insufficient support, the hardware writing device can be upgraded through USB. However, the firmware update is generally high risk, which makes Increased hardware support. Therefore, the overall architecture of a memory card with a built-in microprocessor is not flexible enough to read, write, and install. Contents The above-mentioned Xi Li 4 scholars ~ 丄 The architecture is not flexible enough. The main purpose of the system is to provide the cost of a read-write device. · Sub-item writing device to reduce storage element
200540717200540717
五、發明說明(3) 本發明之另一目的乃為提供一種可藉由更新 之方式來增加儲存元件支援度之儲存元件讀寫裝耘式 加儲存元件讀寫裝置架構之彈性。 、 以増 根 此記憶 限狀態 輸出由 憶卡資 及輸出 而有限 卡狀態 以接收 記憶卡 至記憶 料至控 據前述之目 卡讀寫裝置 機以及一記 一主機傳來 料及一記憶 細部指令、 狀態機係用 訊號來輪出 流程步驟並 ,依記憶卡 卡,以及由 制暫存器。 的,本發明揭露 種記憶 一控制 憶卡控制介面。其中之傳 指令及一資料, 制暫存 及記憶 依此細 包含一傳輸介面 之一 卡狀 資料 以接 一流 依此 之狀 記憶 細部態訊 、記 收細 程步 流程 悲輸 卡接 號。此控 憶卡資料 部指令並 驟。上述 步驟輸出 出記憶卡 收記憶卡 記憶卡 一記憶狀態訊 資料並 卡讀寫 暫存器 輸介面 並且接 器係用 卡狀態 部指令 控制介 卡控制 號,輸 輸出記 裝置。、一有 係用以 收一記 以暫存 訊號, 及記憶 面係用 指令至 出資料 憶卡資 件讀元nr置。上述儲存元 w八二 得輸介面、一硬線電路以及一儲存元侔 控上i硬線= = :係用以傳輸-細部指令及-資料 指令輸出-流裎牛:t輸介面’並傳輸資料且依照細部 路,用以傳輸資&述儲存兀件控制介面耦合硬線電 j貝枓並依照流程步驟輸出一儲存元件指令至V. Description of the invention (3) Another object of the present invention is to provide a storage element read-write mounting type which can increase the support degree of the storage element by updating, and increase the flexibility of the storage element read-write device architecture. Based on the memory limit state, the output is from the memory card and output, and the limited card state is to receive the memory card to the memory material to the card reader device according to the aforementioned item, and a record of a host and a memory detail instruction. The state machine uses signals to rotate the process steps, and according to the memory card and the register. Yes, the present invention discloses a memory-control memory card control interface. Among them, the transmission instruction and a data, temporary storage and memorization. The details include a card-shaped data of a transmission interface to receive first-class information, memorize the detailed status information, and record the detailed steps. This memory card data department commands and steps. The above steps output a memory card, receive a memory card, a memory card, a memory status message, data and card reading and writing, a register input interface, and the connector uses a card status control command to control the card control number, and output to a recording device. One is used to receive a note to temporarily store the signal, and the memory is used to output the data to the memory card using the command nr. The storage element w 82 has an input interface, a hard-wired circuit, and a storage element. The hard-wired i = =: is used to transmit-detailed instructions and-data instruction output-streaming yak: t input interface 'and transmit The data is transmitted in accordance with the detailed path, and the storage element control interface is coupled to the hard-wired electrical cable and outputs a storage element instruction to the process steps.
第9頁 200540717Page 9 200540717
一儲存元件。 本發明更長:供了一種用於一儲存元件讀寫 電路。上述之儲存元件讀寫裝置之硬線電路包^一控^ 存器以及一有限狀態機。上述控制暫存器用以暫存^值= 一細部指令及一資料;而上述有限狀態機接收細部指八、、雨 依照細部指令來輸出一流程步驟。其中細部指令係藉:= 主機内之一驅動程式將一 scs^令拆解而成。 曰 實施方法: 本發明的較佳實施例將詳細描述如下。然而,除了下 述之實施例外,本發明更可廣泛地應用在其它的實施例中 ’且本發明之範圍並不受限於此,而以隨附之專利申請範 圍定義。 、 再者’為提供本發明更為清楚之描述,圖式内各部分 並未依照其相對尺寸繪圖,某些元件與其他部分之尺寸比 例已被誇張,且不重要之細節部分也未完全繪出,以求圖A storage element. The invention is longer: a read-write circuit for a storage element is provided. The hard-wired circuit package of the aforementioned storage element read-write device includes a control register and a finite state machine. The above-mentioned control register is used to temporarily store ^ value = a detailed instruction and a piece of data; and the above-mentioned finite state machine receives the detailed instruction VIII, and the rain outputs a process step according to the detailed instruction. The detailed instructions are obtained by disassembling a scs ^ command by a driver in the host. Implementation method: The preferred embodiment of the present invention will be described in detail as follows. However, with the exception of the following implementations, the present invention is more widely applicable in other embodiments' and the scope of the present invention is not limited thereto, but is defined by the scope of the attached patent application. "Furthermore, in order to provide a clearer description of the present invention, the various parts in the drawing have not been drawn according to their relative sizes, the proportions of some components and other parts have been exaggerated, and unimportant details have not been completely drawn. Out for map
本發明的精神在於使用軟體及硬體線路(Hardwire) 來取$傳統記憶卡讀寫裝置内建的微處理器。將原本由微 處理器處理之記憶卡容量支援及記憶卡分區表之建立交由The spirit of the present invention is to use software and hardware (Hardwire) to fetch the microprocessor built in the traditional memory card reading and writing device. Transfer the memory card capacity support and memory card partition table that were originally processed by the microprocessor
第10頁 i 200540717 五、發明說明(5) 軟體來處理,軟體同時亦處理電腦作業系 讀寫裝置之scs!指令,並將此%51指令編】=二二=卡 則::處:此細部指令,其將細部指令編=記 憶卡#曰令。如此-纟,原本微處理器的功用便可J f二己 體及硬體線路來取代,gp可省去微處理器 == :賣寫裝置之成本。再者,傳統記憶 】:== 服。 本發明可由驅動程式更新的方式來克 —參照第—ΒΙ,呈現本發明儲存元件 ;^ 1〇0^ ^ ^'Vl30^ ; : ί 11。(例如筆記型丄5:。而傳輸介面130與主機 ,以傳輸一細部指電二或一桌資上料型 13_合,f Λ 電路140與傳輸介面 程牛廠▲ 資料以及依照細部指令輸出-流 傳i資料及J = t控制介面I50與硬線電路140搞合,用以 料及依照流程步驟輸出一錯存元件指令至一儲存元 145。硬Λ電暫路Λ4。0可包含控制暫存11135以及有限狀態機 指人及工資料存益135用以暫存由傳輸介面I30傳來之細部 心7及貝科,且分別輸出細部指今月次蚪;古π业At秘 1 4 π辟六-Μ 1 4日7及貝枓予有限狀態機 4 5及錯存70件控制介面1 5 0。有限貼咔她·! ^⑽】^划4匕 入廿/六肪▲ ^, $ I民狀態機1 4 5接收細部指 ν並依照細部指令輸出流 · ^ ^ κ processing steps)給 200540717Page 10i 200540717 V. Description of the invention (5) Software for processing. The software also processes the scs! Instructions of the computer operating system for reading and writing devices, and edits the% 51 instructions.] = 二 二 = Cards :: where: this Detailed instruction, which edits the detailed instruction = Memory card # 说 令. In this way, 纟, the function of the original microprocessor can be replaced by J f dihedron and hardware circuit, gp can save the microprocessor ==: the cost of selling the writing device. Moreover, traditional memory]: == service. The present invention can be solved by the method of updating the driver program—refer to No. BII, presenting the storage element of the present invention; ^ 1000 ^ ^ 'Vl30 ^; ί 11. (For example, note type 5 :. And the transmission interface 130 and the host to transmit a detail refers to the electric two or a table of the material type 13_combination, f Λ circuit 140 and the transmission interface Cheng Niuchang ▲ data and output according to the detailed instructions -The data i and J = t control interface I50 are combined with the hard-wired circuit 140 to predict and output a misplaced component instruction to a storage element 145 in accordance with the process steps. The hard Λ electrical temporary circuit Λ 4. 0 may include control temporary storage 11135 and the finite state machine refer to the human and industrial data storage benefit 135 to temporarily store the details 7 and Beco from the transmission interface I30, and output the details to refer to the times of this month; the ancient π industry At secret 1 4 π Pi 6 -M 1 on the 4th and 7 months and the finite state machine 4 5 and staggered 70 pieces of the control interface 1 50. The limited stickers click on her! ^ ⑽] ^ 44 匕 入 廿 / 六 胖 ▲ ^, $ I 民The state machine 1 4 5 receives the detail pointer ν and outputs the stream according to the detail instruction (^ ^ κ processing steps) to 200540717
儲存元件控制介面150。儲存元件控制介面15〇接收流程步 驟並依照流程步驟輸出儲存元件控制指令至儲存元件i 6〇 ,並依照儲存元件16〇之狀態輸出儲存元件狀態訊號予有 限狀態機1 45,使有限狀態機i 45可依儲存元件1 6〇之狀態 來輸出流程步驟。 〜 上述的細部指令係由主機1 1 0内之一驅動程式將主機 傳送予儲存元件讀寫裝置100的SCSI指令拆解而成。這些 細部指令包含讀取、寫入、抹除、複製、掃瞄額外區域( Scan Extra area)、卡重設、卡格式化或其組合。而上 述的資料包含由主機傳至儲存元件之寫入資料及由儲存元 件傳至此主機之讀取資料。 上述之傳輸介面可為先進先出控制介面,例如··通用 序列(USB)介面或IEEE 1 394介面。因此儲存元件讀寫裝 置100透過通用序列(USB)連接埠或IEEE 1 394連接埠與^ 機相連,並接收由s C S I指令拆解成的細部指令以及欲储存 於儲存元件1 6 0之寫入資料。 本發明的儲存元件可為快閃記憶卡或微型硬碟( Micro Drive)。快閃記憶卡可分為具有控制器之快閃記 憶卡及不具有控制器之快閃記憶卡。具有控制器之快閃記 憶卡有 CF( Compact Flash)記憶卡、SD( Secure Digital)記憶卡、MS pro( Memory Stick PRO)記憶卡Storage element control interface 150. The storage element control interface 15 receives the flow steps and outputs the storage element control instructions to the storage element i 60 according to the flow steps, and outputs the storage element status signal to the finite state machine 1 45 according to the state of the storage element 160, so that the finite state machine i 45 can output the process steps according to the state of the storage element 160. ~ The above detailed instructions are obtained by disassembling the SCSI instructions transmitted from the host to the storage element read / write device 100 by a driver in the host 110. These detailed instructions include read, write, erase, copy, scan extra area, card reset, card format, or a combination thereof. The above-mentioned data includes write data transmitted from the host to the storage element and read data transmitted from the storage element to the host. The above-mentioned transmission interface may be a first-in-first-out control interface, such as a universal serial (USB) interface or an IEEE 1 394 interface. Therefore, the storage device reading and writing device 100 is connected to the computer through a universal serial (USB) port or an IEEE 1 394 port, and receives detailed instructions decomposed by the CSI command and writes to be stored in the storage device 1 60. data. The storage element of the present invention may be a flash memory card or a micro drive. Flash memory cards can be divided into flash memory cards with a controller and flash memory cards without a controller. Flash memory with controller: CF (Compact Flash) memory card, SD (Secure Digital) memory card, MS pro (Memory Stick PRO) memory card
200540717 五、發明說明(7) WMMC( Multimedia Card)記憶卡等等;而不具有控制器 |之儲存元件有含SM( Smart Media)記憶卡、xj)( xj)— ° Picture)記憶卡及MS( Memory Stick)記憶卡等等。 本發明的健存元件讀寫裝置1 00可以更包含複數個插 |槽’此複數個插槽與記憶卡控制介面耦合,用以放置上述 不同的記憶卡。複數個插槽包含SM記憶卡插槽、xD記憶卡 番,、MS記憶卡插槽、MS prQ記憶卡插槽、微型硬碟插槽 插槽、嶋憶卡插槽、微型 丨微處G上本發明之儲存元件讀寫裳置不需内建 藉由更:驅:::二儲;::=;置:成本。而且可 體支援度,以降低勃體更存元件讀寫裝置之硬 件讀寫裝置架構之彈性。再去的風險,進而增進儲存元 對不同礙商的儲存元件存習知之儲存元件讀寫裝置 由調整驅動程之時序Ct..有相容性的問題,本發明可藉 I性。 lming),而提高儲存元件之相容 本發明以較佳實絲也丨〜、 |:明所主張之專利權利範ί明Ϊ 土,然其並非用以限定本 申請專利範圍及i等同领3其專利保護範圍當視後附之 1,在不脫離本專利精神;定。凡熟悉此領域之技藝者 Γ所元成之等效改變或設計,皆應 200540717 五、發明說明(8) 包含在下述之申請專利範圍内。200540717 V. Description of the invention (7) WMMC (Multimedia Card) memory card, etc .; without the controller | The storage components include SM (Smart Media) memory card, xj) (xj) — ° Picture) memory card and MS (Memory Stick) memory card, etc. The read-write device 100 for a health storage device of the present invention may further include a plurality of slots | The slots are coupled to the control interface of the memory card for placing the above-mentioned different memory cards. Multiple slots include SM memory card slot, xD memory card fan, MS memory card slot, MS prQ memory card slot, micro hard drive slot slot, memory card slot, micro The storage element reading and writing device of the present invention does not need to be built-in by changing: drive ::: secondary storage; :: =; location: cost. Moreover, it can support the system to reduce the flexibility of the hardware read / write device architecture of the physical read / write device. The risk of going further will further increase the storage element read and write device of storage elements that are familiar with storage elements with different hurdles. By adjusting the timing Ct of the driver, there is a problem of compatibility. The present invention can take advantage of this. lming), and improve the compatibility of the storage element. The present invention is also based on better solid silk. The patent rights claimed by Mingming are clearly not limited to the scope of the patent and the scope of this patent. The scope of patent protection shall be regarded as appended to 1, without departing from the spirit of this patent; All equivalent changes or designs made by those skilled in the art of this field should be 200540717 V. Description of Invention (8) is included in the scope of patent application described below.
第14頁 200540717 圖式簡單說明 圖式簡單說明: 第一圖係為傳統記憶卡讀寫裝置之示意圖;以及 第二圖係為根據本發明之儲存元件讀寫裝置的較佳實 施例之示意圖。 圖示符號對照表: 10 記憶卡讀寫裝置 20 南橋晶片 30 通用序列連接埠介面 40 微處理器 50 記憶卡介面 60 記憶卡 100 儲存元件讀寫裝置 110 主機 120 南橋晶片 130 傳輸介面 135 控制暫存器 140 硬線電路 145 有限狀態機 150 儲存元件控制介面 160 儲存元件Page 14 200540717 Brief description of the drawings Brief description of the drawings: The first diagram is a schematic diagram of a conventional memory card read-write device; and the second diagram is a schematic diagram of a preferred embodiment of a storage element read-write device according to the present invention. Chart comparison table: 10 Memory card read / write device 20 South bridge chip 30 Universal serial port interface 40 Microprocessor 50 Memory card interface 60 Memory card 100 Storage element read / write device 110 Host 120 South bridge chip 130 Transmission interface 135 Control temporary storage 140 hard-wired circuit 145 finite state machine 150 storage element control interface 160 storage element
第15頁Page 15
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW93115717A TWI238360B (en) | 2004-06-01 | 2004-06-01 | Apparatus for reading/writing storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW93115717A TWI238360B (en) | 2004-06-01 | 2004-06-01 | Apparatus for reading/writing storage device |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI238360B TWI238360B (en) | 2005-08-21 |
TW200540717A true TW200540717A (en) | 2005-12-16 |
Family
ID=37000267
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW93115717A TWI238360B (en) | 2004-06-01 | 2004-06-01 | Apparatus for reading/writing storage device |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI238360B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8046506B2 (en) | 2006-03-21 | 2011-10-25 | Mediatek Inc. | FIFO system and operating method thereof |
-
2004
- 2004-06-01 TW TW93115717A patent/TWI238360B/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
TWI238360B (en) | 2005-08-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10976928B2 (en) | Remove-on-delete technologies for solid state drive optimization | |
US7299316B2 (en) | Memory flash card reader employing an indexing scheme | |
TW484057B (en) | External storage device using non-volatile semiconductor memory | |
US6886083B2 (en) | Apparatus and method for controlling a card device | |
US7131595B2 (en) | Automatic drive icon assignment by media type in single slot USB card readers | |
US7039754B2 (en) | Detachably mounted removable data storage device | |
US8402171B1 (en) | Host bus adapter that interfaces with host computer bus to multiple types of storage devices | |
US20050097263A1 (en) | Flash-memory card-reader to IDE bridge | |
TW200921385A (en) | Storage system for improving efficiency in accessing flash memory and method for the same | |
US20040049617A1 (en) | Method of firmware update by USB interface | |
JP2002073522A (en) | Memory card bridge | |
US7237714B2 (en) | Method of making computer booting from any one of card of multi-flash card reader | |
KR20100101517A (en) | System and method to respond to a data file deletion instruction | |
JP2003196613A (en) | Device and method for controlling memory card | |
US20060129713A1 (en) | Pipeline architecture for content creation for the portable media player from the internet | |
TW200540717A (en) | Apparatus for reading/writing storage device | |
JP3975598B2 (en) | Removable media writing device | |
KR20050086389A (en) | Mirror interfacing method for flash memory cards. | |
JP2006127401A (en) | Medium storage device, cache segment switch method for the same, and medium storage system | |
EP1560113B1 (en) | Method of booting a computer from any card of a multi-flash card reader | |
US20070119931A1 (en) | Apparatus for reading/writing storage devices | |
JPH11317068A (en) | Memory card | |
TWI284804B (en) | Method for executing backup and recovery process in memory to backup and recover hard disk data | |
JP4872547B2 (en) | Computer, peripheral device connection management method and program | |
JP3366922B2 (en) | Operation input processing device and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |