TWM305380U - Multi-partition memory device - Google Patents

Multi-partition memory device Download PDF

Info

Publication number
TWM305380U
TWM305380U TW95205592U TW95205592U TWM305380U TW M305380 U TWM305380 U TW M305380U TW 95205592 U TW95205592 U TW 95205592U TW 95205592 U TW95205592 U TW 95205592U TW M305380 U TWM305380 U TW M305380U
Authority
TW
Taiwan
Prior art keywords
memory device
command
partition
memory
partitions
Prior art date
Application number
TW95205592U
Other languages
Chinese (zh)
Inventor
Meng-Hu Chen
Chun-Cheng Lu
Kun-Wang Liu
Feng-Shin Lin
Original Assignee
Incomm Technologies Co Ltd
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 Incomm Technologies Co Ltd filed Critical Incomm Technologies Co Ltd
Priority to TW95205592U priority Critical patent/TWM305380U/en
Publication of TWM305380U publication Critical patent/TWM305380U/en

Links

Description

M305380 八、新型說明: 【新型所屬之技術領域】 本創作係有關於記憶裝置,尤指一種具多重分區 (multi_partition)之記憶裝置。 【先前技術】 隨著資訊科技的突舰進,人懷於各類資訊的需求 更是呈現爆炸性的成長。近年來,眾多小型可攜式記憶裳 置(Portable Memory Device)的普及化,例如以快閃記 憶體(Flash Memory)為主要記憶媒介之的USB隨身碟 (USB Flash Disk,俗稱矽碟機或拇指哥)、以及包括小 尺寸快閃記憶體(CompactFlash,CF)、記憶棒(Mem〇ry Stick,MS)、安全數位(Secure Digital,SD)、多媒體卡 (Multi Media Card, MMC)專等各種規格廠牌之各式快 閃圮憶卡(Flash Memory Card)、使用CF或USB介面 之微型硬碟(Micro Hard Disk)、或者甚至是採用usb 或PCMCIA介面且裝置於外接盒中之薄型2·5英吋硬碟機 (HardDisk)等等’更是滿足了人們對於r資訊可攜性」 與曰遽增的渴望。 習知的可攜式記憶裝置,其内部包括有一非揮發性記 憶陣列(Non·Volatile Memory Array )、一 控制器 (Controller)以及一傳輸介面(I/O interface)。該記憶 M305380 陣列係用於儲存使用者所想射轉之資料,且其必須具有 在不需外界電源的情況下仍能保存所儲存資料之特性,因 此經常是以快閃記憶體來作為該記憶陣列,當然,其亦可 以疋硬碟者。於控制n巾’則包括有用以驅動(Drive) 與存取(Access)該記憶陣列所需之相關電路、介面與驅 動機制。這驅動機制可以是以硬體(Hardware)之控制程 序(Command Sequencer)電路形式存在以執行一連串之 微碼(Micro-Code)程式、或亦可以是以硬體(Hardware) 之微控制器/微處理器(MiCr〇-Controller/Mic❿Pr〇cess〇r) 電路形式存在以執行一連串韌體(Firmware)程式的方 式,存在於此可攜式記憶裝置的控制器中。而該傳輸介面 則決疋該可攜式§己憶裝置是以何種通訊協定(Pr〇t〇c〇l ) 與外界裝置(或主機(host))結合與溝通。 而於各種規格之記憶卡中,内含的快閃記憶陣列通常 分成二個區域,一為使用者區域,係儲存使用者資料。另 一為保密區域(Secure Area),係儲存記憶卡特定保密協 定(如SD卡的CPRM協定)所需資料的區域。再一者為 系統區域(System Area),係儲存控制器所需韌體及相關所 需資料。在這三個區域中,外界裝置用規格所規範之一般 的讀寫指令只能針對使用者區域讀寫。在此區域的資料, 使用者具有完整權限來使用,應用程式所儲存的資料槽案 M305380 若儲存於此區域中,無法確保資料不被刪除及拷貝。雖缺 如SD記憶卡具有CPRM等保護機制,可以提供應用程 式存放保密#料,但是使用cpRM時,内容必須先加密, 使用時必鑛密,躲謂絲置_縣力有相當^ 擔。此外,對於不支援CPRM的可攜式裝置亦無:直接 使用。 圖一係為習用技術之快閃記憶陣列1〇的區域配置示 意圖。如圖-所示係具有包括:系統區域u、使用者區 域12及保密區域13。系統區域n 一般存放記憶卡控制 器(controller)所需的勤體及相關的記憶資料。使用者區 域I2為使用者經由外界裝置存取記憶卡所使用的區域, 使用者區域的大小為使用者可用的記憶卡大小。保密區域 13存放記,If卡保鶴定所產生的雜,此區域的資料只 能由相對的保龍絲存取,㈣者不能直接讀取此區域 的貢料。例如SD卡所採用的保密協定為CPRM,保密區 域只能用CPRM的指令並且符合奶控制器内存資料的 檢核後,才能存取保密區域。 圖二係為習用之記憶卡匯流排協定的示意圖。記憶卡 匯非分成命令CMD匯流排及資料DAT匯流排兩類。 CMD匯流排上係具有包括··命令封包2〇及回應封包%。 命令封包20内含外界裝置對記憶卡所下的命令 M3 053 80 ( 〇^and)〇Wt30 生的狀態回應。DAT匯流排上係具有包括資抱= 包所產 貧料封包4G係包括外界裝置寫人的資料或自二: 的資料。 、一 17己隱卡頃取 習狀記針料馳%訂辆朗 进區域的讀取或寫入動作。圖三係為圖二之入人封勺 7•方塊圖。如圖三所示,命令封包2。=: 始位以、傳送㈣22、命令索引23、命令·、= :冗費核_7及結一 位疋22及結束位元28為傳輪訊號識別使用。命令索^; 匕存放外界健對記憶卡的各種命令,例如讀取、寫入、 狀㈣知等指令。命令參數25為執行命令索引23 ^命八 所需之參數。循環冗贅核對27提供命令索引Μ及命令: 數的防止錯誤編碼,可以侧/更正_專輸時產生 錯誤。 =四A至四C係、為依細三,分別顯示讀取命令、 ^命令及其他命令之封包的示意圖。為求簡化,圖中僅 ' 種咋々封包之主要差異處。圖四A係為外界|置 ^讀取命令時,其命令封包賴化示意圖。如圖四、A =不係包括··命令㈣23為支援規格所規範之_般讀取 一卩5參數25為指定之讀取位址。例如,sd記憶卡M305380 VIII. New description: [New technical field] This creation is about memory devices, especially a memory device with multiple partitions (multi_partition). [Prior Art] With the advancement of information technology, the demand for various kinds of information is exploding. In recent years, many small portable memory devices have become popular, such as a USB flash disk with a flash memory as the main memory medium (USB Flash Disk, commonly known as a USB flash drive or thumb). Brother), and including small size flash memory (CompactFlash, CF), memory stick (Mem〇ry Stick, MS), Secure Digital (SD), multimedia card (Multimedia Card, MMC) special specifications All kinds of flash memory cards of the brand, Micro Hard Disk using CF or USB interface, or even thin type equipped with usb or PCMCIA interface and installed in the external box. Hard Disk, etc. 'satisfy people's desire for r information portability and growth. A conventional portable memory device includes a non-volatile memory array (Non-Volatile Memory Array), a controller (Controller), and an I/O interface. The memory M305380 array is used to store the information that the user wants to transmit, and it must have the characteristics of storing the stored data without external power supply, so the flash memory is often used as the memory. The array, of course, can also be used by hard drives. The control device includes the associated circuitry, interface and drive mechanism needed to drive and access the memory array. This driving mechanism may be in the form of a Hardware Command Sequencer circuit to execute a series of Micro-Code programs, or may be a hardware/micro device. The processor (MiCr〇-Controller/Mic❿Pr〇cess〇r) circuit form exists in the controller of the portable memory device in a manner of executing a series of firmware programs. The transmission interface is based on what kind of communication protocol (Pr〇t〇c〇l) is used to communicate and communicate with the external device (or host). In the memory cards of various specifications, the embedded flash memory array is usually divided into two areas, one is a user area, and the user data is stored. The other is the Secure Area, which is the area where the data required for the memory card specific security agreement (such as the CPRM agreement of the SD card) is stored. The other one is the System Area, which is the firmware required for the controller and related information. In these three areas, the external device can only read and write to the user area using the general read and write instructions specified by the specifications. The data in this area, the user has full access to use, the data slot M305380 stored in the application is stored in this area, there is no guarantee that the data will not be deleted and copied. Although the SD memory card has a protection mechanism such as CPRM, it can provide an application to store the secret # material, but when using cpRM, the content must be encrypted first, and the mine must be used when it is used, and the county has a considerable burden. In addition, there is no portable device that does not support CPRM: direct use. Figure 1 is a schematic illustration of a regional configuration of a flash memory array of the prior art. As shown in the figure, the system includes a system area u, a user area 12, and a secret area 13. The system area n generally stores the physical and related memory data required by the memory card controller. The user area I2 is an area used by the user to access the memory card via the external device, and the size of the user area is the size of the memory card available to the user. Confidential area 13 storage, if the card is generated by the crane, the data in this area can only be accessed by the relative Baolongsi, and (4) the tribute of this area cannot be directly read. For example, the confidentiality agreement adopted by the SD card is CPRM, and the secret area can only access the secret area after using the CPRM instruction and checking the milk controller memory data. Figure 2 is a schematic diagram of a conventional memory card bus arrangement. Memory Cards are not divided into two types: command CMD bus and data DAT bus. The CMD bus has a command envelope including 2 and response packets. The command packet 20 contains a response from the external device to the memory card M3 053 80 ( 〇^and) 〇 Wt30. The DAT busbar has the information of the 4G series including the external device writes or the data from the second device. , a 17 hidden card is taken to read the needle to capture the reading or writing action. Figure 3 is the block diagram of Figure 2. As shown in Figure 3, the command packet is 2. =: Start bit, transfer (4) 22, command index 23, command ·, =: redundancy core _7 and knot one 疋 22 and end bit 28 are used for the identification of the transmission signal. The command cable ^; 匕 store external commands to the memory card, such as read, write, shape (four) know and other instructions. Command parameter 25 is the parameter required to execute the command index 23^8. The loop redundancy check 27 provides command indexes and commands: Numbers prevent error coding, and can be side/corrected. = four A to four C, which is a schematic diagram showing the packets of the read command, the ^ command, and other commands. For the sake of simplicity, only the main differences between the packets are shown in the figure. Figure 4A is the external | set ^ read command, its command packet dependence. As shown in Figure 4, A = not included · Command (4) 23 is the standard specification of the support specification. A parameter 5 is the specified read address. For example, sd memory card

M305380 中,命令索引23為CMD17 _ ^ ^ 夂。命令參數25為 兀長又的項取位址。於$ 、⑷心丨思卡V1.01定址以位 兀組(Byte)為單位,s … 己^卡¥2·0疋址以512位元組 為早位。 ⑽料裝置發出寫入命令時’其命令封包 的簡化示賴。如_B所示係包括:命令索⑽為支 援規格所規範之―般寫人指令,命令參數25為-寫入位 址例如SD ,己憶卡中,命令索引23為c膽%及 ⑽25。命令參數25為一 32位元長度的寫入位址。 圖四C係為外界裳置發出其他命令時,其命令封包 的簡化示意w。命令料23所包含的細旨令係包括: 抹寫指令、狀_知指令及製稍㈣齡。命令參數 25係包括:訊息位元及填充位元,組成—固定長度的資 料棚位。 A而於各魏格之記憶卡巾,對於健系統雖有所規 範仁疋並未對於多重分區定義出一致的作法,使用者雖 然可以利用某外界裝置上之應用軟體切割出多重分區,但 是在其他不同的外界裝置上,可能無法存取這些多重分 區,而造成相各性問題。此外,某些規格會有無法回溯相 谷(backward compatible)的問題。例如,對於SD記憶卡 ν2·0的南容量(High Capacity)卡,僅支援先前SD版本 的外界裝置便無法讀取,而造成使用者使用上的限制及不 M305380 便0 【新型内容】 因此,本創作的目的之一,係提供一種具多重分區之 吕己憶裝置,以避免不同外接裝置存取時的相容性問題。 本創作的另一目的,係提供一種具多重分區之記憶裝 置’以避免不同規格版本間之回溯相容的問題。In M305380, command index 23 is CMD17 _ ^ ^ 夂. The command parameter 25 is the address of the item whose length is longer. In the $, (4) heart 丨 思 card V1.01 address in the 兀 group (Byte) as the unit, s ... has ^ card ¥ 2 · 0 疋 site with 512 bytes as the early position. (10) A simplified representation of the command packet when the device sends a write command. As indicated by _B, the command cable (10) is a general write command as specified in the support specification, and the command parameter 25 is - write address such as SD, in the memory card, command index 23 is c biliary % and (10) 25. Command parameter 25 is a 32-bit length write address. Figure 4C is a simplified illustration of the command packet for other commands issued by the outside world. The details of the command material 23 include: a smear command, a snippet command, and a system (four) age. The command parameter 25 includes: a message bit and a padding unit, which constitute a fixed length information booth. A. In the memory card of each Weige, although there are some rules for the health system, there is no consistent definition for multiple partitions. Although the user can use the application software on an external device to cut out multiple partitions, On other different external devices, these multiple partitions may not be accessible, causing various problems. In addition, some specifications may have problems with backward compatible. For example, for the High Capacity card of the SD memory card ν2·0, only the external device of the previous SD version can be read, and the user's use restriction and the M305380 are not available. [New content] Therefore, One of the purposes of this creation is to provide a device with multiple partitions to avoid compatibility problems when accessing different external devices. Another object of the present invention is to provide a memory device with multiple partitions to avoid backtracking compatibility between different specification versions.

在本創作之一實施例中,係提供一種具多重分區之記 憶裝置,其包括一非揮發性記憶體與一相耦接之控制器。 p亥非揮發性6己憶體包含· 一使用者區域,包含複數個分區 (partition),其巾之-倾奴為可見分n及—系統區 ^ ’儲存該可見分區之組態資訊,該組訊記錄該可見 为區之識別貧訊及支援通訊協定。該控制器依據一存取命 ^與该組態資訊,存取該可見分區,其巾鱗取命令係相 容於該支援通訊協定。 二丘在本創作之另一實施例中,係提供一種具多重分區之 心隐裳置,其支援-鮮通訊協定。該記憶裝置包括:一 ^揮發性記憶體,包含—使用者區域,該使用者區域包含 一客製分區與-非客製分區;—傳輸介面,用以從一外接 ^置接收⑽絲,韻證資訊具有_未規範於該標準 =協疋之客製格式;以及—控制器,輸至該傳輸介面 f該非揮發性記憶體,用錄據魏證資訊,決定是否允 卉该外接裝置存取該客製分區。 在本創作之再—實施例中,係提供一種具多重分區之 M305380 記憶裝置,其支援一標準通訊協定。該記憶裝置包括一非 揮發性記憶體與一相麵接之控制器。該非揮發性記情體包 含··一使用者區域,包含複數個分區;以及一系統區域, 儲存每一分區之位置資訊。該控制器係依據一存取命令與 每一分區之位置資訊,存取該些分區,其中該存取命令^ 相容於該標準通訊協定。 卜 【實施方式】 〈第一實施例〉 圖五係本創作之具多重分區之記憶裝置之第一實施 例方塊圖。如圖五所示,記憶裝置50包含非揮發性記憶 體51、傳輸介面52及控制器53。在一實施例中,記憶裝 置50係一可攜式裝置。 非揮發性記憶體51内包含一使用者區域511,以儲 存使用者資料。使用者區域511劃分為複數個分區(分區 數里並無限制,而圖五係以三個分區為例),其中,分區 5111係設定為可見分區。非揮發性記憶體51内還包含一 系統區域512,其不同於使用者區域511,可用以儲存該 可見分區之組態資訊,該組態資訊係記錄可見分區之識別 資訊及支援通訊協定。該識別資訊係用以辨識目前之可見 分區為哪一分區(如前述,為分區5111);該支援通訊協定 係下列業界習用之標準規格其中之一:USB、CF、MS、 MMC及SD。在一實施例中,非揮發性記憶體51為快閃 記憶體或硬碟。在另一實施例中,該可見分區之組態資訊 11 M305380 更記錄該支援通訊協定之版本。u SD規格為例,有 ν1·01、ν1·1 及 V2.0 等版本。 圖五亦顯示一外接裝置(或主機)54,其可發出相容於 该支援通訊協定之存取命令,經由傳輸介面52送入控制 态53,以嘗試存取可見分區。該存取命令係該支援通訊 協疋所規範之一般讀取或寫入命令,可執行一指定邏輯位 址(logical address)之讀取或寫入動作。例如,在沁規格 中 ’ CMD17、CMD18、CMD24 及 CMD25,即為其所規 範之一般讀寫命令。在整個使用者區域511内,外接裝置 54透過該存取命令僅能讀寫可見分區,其他非可見分區 則無法以該存取命令讀寫。亦即,在使用者區域511之多 重分區中,僅能’’看見,,可見分區。 控制器53係耦接至傳輸介面52及非揮發性記憶體 51,可依據可見分區之識別資訊與外接裝置54所發出之 存取命令,來存取可見分區。在一實施例中,該存取命令 之定址範圍係對應於可見分區之容量。例如,若可見分區 之容量為128M位元組,則該存取命令可指定之邏輯位址 範圍為0〜(128M-1)(假設每一邏輯位址代表一位元組大小 的記憶空間),亦即,該指定之邏輯位址代表在可見分區 内之相對位置。在此實施例中,控制器53會依據可見分 區之識別資訊找到可見分區(即分區5111),並將存取命令 所指定之邏輯位址,轉換為一物理位址(physical address),以對可見分區進行讀寫。 值得注意的是,使用該支援通訊協定所規範之一般讀 12 M305380 寫命令,並無法存取系統區域512。不過,若外接裝置54 可發出經過特殊設計且相容於該支援通訊協定之客製組 恶命令(其態樣於後文詳述),則可更新系統區域512所儲 存之資料。在一實施例中,控制器53依據外接裝置54 所發出之第一客製組態命令,更新可見分區之識別資訊, 以將可見分區切換為使用者區域5U之另一分區,例如從 勿區5111切換為分區5112。在另一實施例中,控制器53 • 依據外接裝置54所發出之第二客製組態命令,更新可見 分區之組態資訊,以調整該支援通訊協定之版本。例如, 將版本從SD vl.Ol調整為SD v.1.1。 在一實施例中,系統區域512包含複數個第一攔位, 用以儲存使用者區域511之每一分區的容量。系統區域 512還包含複數個第二攔位,用以記錄每一分區之支援通 汛協疋。控制态53依據外接裝置54所發出之第三客製組 悲〒令,更新該些第一攔位,以調整任一分區之容量。控 鲁 制器S3還依據外接裝置M所發出之第四客製組態命令二 更=該些第-欄位,以調整使用者區域511之多重分區的 ^里。例如,將某一分區之容量設為零,以移除該分區; 或者新增一容量記錄,作為新增分區的容量。控制器53 更依據外接裳置54所發出之第五客製組態命令,更新該 些第二欄位’以調整任—分區之支援通訊協定。 藉_五之第—實關,可贱前述制技術在不同 卜接裝置存取多重分區時的相容性問題。對於不同之習用 外接裝置而言,皆能存取可見分區;而對於可發出前述第 13 M305380 一客製組態命令之外接裝置而言,則可切換可見分區,達 到實質上可存取使用者區域511之多重分區的功效。另 外,藉由第一實施例,亦可避免前述習用技術在不同規格 版本間之回溯相容的問題。以一張使用者區域容量超過 2GB之SD ν2·0高容量卡為例,可將使用者區域劃分為多 重为區(可預先劃分或利用前述之第四客製組態命令重新 劃分)’母一分區容量不大於2GB,並將各分區所支援之 通訊協定調整為先前的版本(版本可預先設定或利用前述 第五客製組態命令調整),如此,僅支援先前SD版本的 外接裝置還是可存取可見分區(即習用外接裝置)或所有 分區(即可發出第一客製組態命令之外接裝置)。 在一實施例中,前述之第一至第五客製組態命令中, 每一客製組態命令可為下列態樣之一: ⑴客製組態命令為一製造商保留命令(Manufacture Reserved Command)。製造商保留命令係每一支援通 訊協定保留給製造商彈性運用的命令,製造商可用來 設計出符合各自需要的命令。製造商保留命令内含命 令索引欄位與命令參數攔位,命令索引之值係選自支 援通吼協定所允許之值,命令參數則包含各客製組態 命令所要更新之系統區域的資訊。例如,第一客製組 態命令之命令參數包含指定要切換至哪一分區。 (2)客製組態命令㈣支援軌協定所規範之一般寫入 命令,且指定一不屬於該可見分區之定址範圍的位 14 M305380 址。例如,若可見分區之定址範圍為, 則该指定位址可為不小於128M之位址。至於客製組 態命令所要更新之系統區域512的資訊,則與一般寫 入命令安排所要寫入資料的方式相同,例如,直接放 在一般寫入命令之後。 (3)客製組態命令為該支援通訊協定所規範之一般寫入 命令,且指定一最低位元(leastsigniflcantbit,LSB)不 為零之位址。在某些支援通訊協定裡,如SD與 MMC ’其資料傳輸的單位皆大於一個位元組,而每 一邏輯位址則代表一位元組大小的記憶空間,因此, 在對於可見分區進行存取之一般讀寫命令裡,所指定 之位址皆係可被2整除之數值,所以指定位址之最低 位元為零。在此態樣中,則利用前述特性,同樣是使 用一般寫入命令,但另外指定最低位元不為零之位 址’以代表要存取糸統區域512。而客製組態命令所 要更新之系統區域512的資訊,與一般寫入命令安排 所要寫入資料的方式相同。 在另一實施例中,前述之第一客製組態命令可為下列 態樣之一: (A)弟一客製組態命令為該支援通訊協定所規範之一般 碩取命令,且指定一超出該可見分區之定址範圍的位 址。例如,若可見分區之定址範圍為〇〜(128M_1;), 15 M305380 則該指定位址可為不小於128M之位址。 (B)第一客製組態命令為該支援通訊協定所規範之一般 ’取命令’且指定一最低位元不為零之位址。其理由 與前述之(3)相似。 ,在前述(A)、(B)兩種態樣下,控制器53於收到第一 客製、、且悲命令後,即依據一預設之切換順序,將可見分區 k目則之分區切換至下一分區。例如,該預設切換順序可 設為分區5111-分區5112—第三分區5113—第一分區 5111 〇 &lt;苐二實施例&gt; 圖六係本創作之具多重分區之記憶裝置之第二實施 例方塊圖。磁裝置60支援—標準通訊協定,且包含一 =揮發性記憶體61、-傳輸介面62及—控繼63,如圖 六所示。該標準通訊協定包含下列其中之一:聰、cf、 MS、MMC及SD。在一實施例中,記憶裝置6〇係一可 攜式裳置。 非禪發性雜體61 N包含一使用者區域611,其包 含-客製分區6112及-非客製分區6111。要存取客製分 區6112需先歸-認證動作(下謂述)’畴取非客製 ^區6111則不需要。在—實施例中,非揮發性記憶㈣ 為快閃記憶體或硬碟。 傳輸介面62侧峨—外接裝置64接收—認證 訊,該認證資訊具有-未規範於該鮮通訊協定之客製格 16 M305380 式控制器63係轉接於傳輸介面62及非揮發性記憶體 61間,用以依據該認證資訊,決定是否允許外接裝置料 存取客製分區6m。前賴認證資訊之客製格式,其強 调未規範於a標準通訊協定,係表示只要能相容於該標準 通訊協定,此格式可由製造商自訂,例如需要多少位元 數。若該認證資訊包含-客製識別碼,控制器63允許外 接裳置64存取客製分區6112。若該認證資訊未包含該客 φ t識別碼’控制11 63不允許外接裝置64存取客製分區 6112。換言之,在使用者區域611中,客製分區61丨2之 存取需經過認證,因此能提供資料保護的功能。而非客製 分區6111财直制該鮮軌齡所規範之—般讀寫 命令存取。 # 八f 一實ΐ例中,客製分區6112進一步細分為一唯讀 子分區、-單次覆寫子分區及一多次覆寫子分區㈤未顯 =)’以提供不同的儲存態樣。在客製分區6112本身具有 鲁多次覆寫功能的情況下(如使用快閃記憶體),藉由控制器 63,配合’對於外界裝置64來說,仍可達到等效的唯讀 或早次覆寫的功能。就唯讀子分區而言,其内含資料乃記 :時,即利用製具寫入’可儲存需特別保 摘^,例如記憶裝置之產品註冊序號。外接裝置^ 可於單人覆寫子分區内存放應用程式使用的歷程資料,例 女f人使用日期。對於需要網路啟動(Activati〇n)的應 用知式T以藉由單次覆寫子分區的配合, 動寬限期—〇d)的計算。多次覆寫子分^内可 17In one embodiment of the present invention, a memory device having multiple partitions is provided that includes a non-volatile memory coupled to a controller. The non-volatile 6 memory of phai includes a user area, including a plurality of partitions, and the towel-pour is visible and the system area ^' stores the configuration information of the visible partition. The group record can be seen as a zone identification and support communication agreement. The controller accesses the visible partition according to an access command and the configuration information, and the command of the towel is compatible with the support protocol. In another embodiment of the present creation, Erqiu provides a multi-partitioned heart-and-shoulder, which supports a fresh communication protocol. The memory device comprises: a volatile memory, comprising: a user area, the user area comprising a custom partition and a non-custom partition; a transmission interface for receiving (10) silk from an external device, rhyme The information has _ not standardized in the standard = the custom format of the agreement; and - the controller, the non-volatile memory is transferred to the transmission interface f, and the information is used to determine whether to allow the external device to access The custom partition. In a further embodiment of the present invention, an M305380 memory device with multiple partitions is provided that supports a standard communication protocol. The memory device includes a non-volatile memory and a face-to-face controller. The non-volatile quotation body includes a user area including a plurality of partitions, and a system area for storing location information of each partition. The controller accesses the partitions based on an access command and location information for each partition, wherein the access command is compatible with the standard protocol. [Embodiment] <First Embodiment> Fig. 5 is a block diagram showing a first embodiment of a memory device having multiple partitions of the present invention. As shown in FIG. 5, the memory device 50 includes a non-volatile memory 51, a transmission interface 52, and a controller 53. In one embodiment, memory device 50 is a portable device. The non-volatile memory 51 includes a user area 511 for storing user data. The user area 511 is divided into a plurality of partitions (there is no limitation in the number of partitions, and FIG. 5 is an example of three partitions), wherein the partition 5111 is set as a visible partition. The non-volatile memory 51 also includes a system area 512, which is different from the user area 511, and can be used to store configuration information of the visible partition, the configuration information recording the identification information of the visible partition and the supporting communication protocol. The identification information is used to identify which partition is currently visible (as described above, partition 5111); the support protocol is one of the following industry-standard specifications: USB, CF, MS, MMC, and SD. In one embodiment, the non-volatile memory 51 is a flash memory or a hard disk. In another embodiment, the configuration information of the visible partition 11 M305380 further records the version of the support protocol. u The SD specification is an example, and there are versions such as ν1·01, ν1·1, and V2.0. Figure 5 also shows an external device (or host) 54 that can issue an access command compatible with the support protocol and send control mode 53 via transmission interface 52 to attempt to access the visible partition. The access command is a general read or write command as specified by the support communication protocol, and can perform a read or write operation of a specified logical address. For example, in the 沁 specification, 'CMD17, CMD18, CMD24, and CMD25 are the general read and write commands for which they are regulated. Throughout the user area 511, the external device 54 can only read and write the visible partition through the access command, and other non-visible partitions cannot read and write with the access command. That is, in the multi-partition of the user area 511, only the partition can be seen by ''. The controller 53 is coupled to the transmission interface 52 and the non-volatile memory 51, and can access the visible partition according to the identification information of the visible partition and the access command issued by the external device 54. In one embodiment, the addressing range of the access command corresponds to the capacity of the visible partition. For example, if the visible partition has a capacity of 128M bytes, the access command can specify a logical address range of 0~(128M-1) (assuming each logical address represents a tuple-sized memory space) That is, the specified logical address represents the relative position within the visible partition. In this embodiment, the controller 53 finds the visible partition (ie, the partition 5111) according to the identification information of the visible partition, and converts the logical address specified by the access command into a physical address (physical address). The partition is visible for reading and writing. It is worth noting that the system area 512 cannot be accessed using the general read 12 M305380 write command as specified by the support protocol. However, if the external device 54 can issue a specially designed custom command that is compatible with the support protocol (as will be described later in detail), the data stored in the system area 512 can be updated. In an embodiment, the controller 53 updates the identification information of the visible partition according to the first customized configuration command issued by the external device 54, to switch the visible partition to another partition of the user area 5U, for example, from the area. 5111 switches to partition 5112. In another embodiment, the controller 53 updates the configuration information of the visible partition according to the second customized configuration command issued by the external device 54 to adjust the version of the support protocol. For example, adjust the version from SD vl.Ol to SD v.1.1. In one embodiment, system area 512 includes a plurality of first bays for storing the capacity of each partition of user area 511. The system area 512 also includes a plurality of second blocks for recording the support protocol for each partition. The control state 53 updates the first barriers according to the third custom group sentiment order issued by the external device 54 to adjust the capacity of any of the partitions. The control controller S3 also adjusts the multiple partitions of the user area 511 according to the fourth custom configuration command issued by the external device M. For example, set the capacity of a partition to zero to remove the partition; or add a capacity record as the capacity of the new partition. The controller 53 further updates the second fields in accordance with the fifth custom configuration command issued by the external server 54 to adjust the support protocol of the any-partition. By borrowing _ five-first--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- For different conventional external devices, the visible partition can be accessed; and for the external device that can issue the aforementioned 13th M305380 custom configuration command, the visible partition can be switched to reach the substantially accessible user. The power of multiple partitions of area 511. In addition, with the first embodiment, the problem of backward compatibility of the aforementioned conventional techniques between different specification versions can also be avoided. Taking an SD ν2·0 high-capacity card with a user area of more than 2 GB as an example, the user area can be divided into multiple zones (which can be pre-divided or re-divided by using the aforementioned fourth custom configuration command). The capacity of one partition is not more than 2GB, and the communication protocol supported by each partition is adjusted to the previous version (the version can be preset or adjusted by using the aforementioned fifth custom configuration command), so that only the external device of the previous SD version is supported. Accessible visible partitions (ie, custom external devices) or all partitions (ie, the first custom configuration command can be issued). In an embodiment, in the first to fifth custom configuration commands, each of the custom configuration commands may be one of the following: (1) The custom configuration command is a manufacturer reserved command (Manufacture Reserved Command). Manufacturer-reserved orders are commands that each support communication agreement retains for the manufacturer's flexible use, and the manufacturer can use it to design orders that meet their needs. The manufacturer's reserved command contains command index fields and command parameter blocks. The value of the command index is selected from the values allowed by the support agreement, and the command parameters contain information about the system area to be updated by each custom configuration command. For example, the command parameters of the first custom configuration command include specifying which partition to switch to. (2) Custom configuration commands (4) The general write command specified in the support rail agreement, and specify a bit 14 M305380 that does not belong to the address range of the visible partition. For example, if the address range of the visible partition is, the designated address may be an address of not less than 128M. As for the information of the system area 512 to be updated by the custom configuration command, it is the same as the general write command to arrange the data to be written, for example, directly after the general write command. (3) The custom configuration command is a general write command specified by the support protocol, and specifies a least bit (leastsigniflcantbit, LSB) address that is not zero. In some support protocols, such as SD and MMC's data transmission units are larger than one byte, and each logical address represents a tuple-sized memory space. Therefore, it is stored in the visible partition. In the general read and write command, the specified address is a value divisible by 2, so the lowest bit of the specified address is zero. In this aspect, the above-described characteristics are utilized, and the general write command is also used, but the address where the lowest bit is not zero is additionally specified to represent the access to the system area 512. The information of the system area 512 to be updated by the custom configuration command is the same as that of the general write command arrangement. In another embodiment, the first custom configuration command may be one of the following: (A) a custom configuration command is a general master command specified by the support protocol, and one is specified. An address that exceeds the addressing range of the visible partition. For example, if the address range of the visible partition is 〇~(128M_1;), 15 M305380, the specified address may be an address of not less than 128M. (B) The first custom configuration command is the general 'fetch command' specified by the support protocol and specifies an address where the lowest bit is not zero. The reason is similar to (3) above. In the foregoing two aspects (A) and (B), after receiving the first custom, and sorrow command, the controller 53 partitions the visible partition k according to a preset switching sequence. Switch to the next partition. For example, the preset switching sequence can be set as partition 5111 - partition 5112 - third partition 5113 - first partition 5111 〇 &lt; 苐 2 embodiment&gt; Figure 6 is a second implementation of the memory device with multiple partitions of the present creation Example block diagram. The magnetic device 60 supports a standard communication protocol and includes a = volatile memory 61, a transmission interface 62, and a control 63, as shown in FIG. The standard communication protocol includes one of the following: Cong, cf, MS, MMC, and SD. In one embodiment, the memory device 6 is a portable device. The non-Zenary hybrid 61 N includes a user area 611 that includes a -custom partition 6112 and a non-custom partition 6111. To access the custom partition 6112, the first-authentication-authentication action (below) is not required. In an embodiment, the non-volatile memory (four) is a flash memory or a hard disk. The interface of the transmission interface 62—the external device 64 receives the authentication message, the authentication information has a guest cell that is not standardized in the fresh communication protocol. The M305380 controller 63 is switched to the transmission interface 62 and the non-volatile memory 61. According to the authentication information, it is determined whether to allow the external device to access the custom partition 6m. The custom format of the pre-certification information, which is not regulated in the standard communication protocol, means that the format can be customized by the manufacturer, for example, as many bits as possible, as long as it is compatible with the standard protocol. If the authentication information includes a custom identification code, the controller 63 allows the external skirt 64 to access the custom partition 6112. If the authentication information does not include the guest φ t identification code, the control 11 63 does not allow the external device 64 to access the custom partition 6112. In other words, in the user area 611, the access of the custom partition 61丨2 is authenticated, so that the data protection function can be provided. Instead of the custom partition 6111, the standard read-and-write command access is standardized. #八f In a real example, the custom partition 6112 is further subdivided into a read-only sub-partition, a single overwrite sub-partition and a multiple overwrite sub-partition (5) not shown =) ' to provide different storage aspects . In the case where the custom partition 6112 itself has a multi-overwrite function (such as using flash memory), by the controller 63, in conjunction with the external device 64, the equivalent read-only or early can still be achieved. The function of overwriting. In the case of a read-only sub-partition, the information contained therein is: when it is written, it can be stored by using the tool to store a special guarantee, such as the product registration number of the memory device. The external device ^ can store the history data used by the application in the single-overwrite sub-partition, and the date used by the female f-person. For the application T which requires network startup (Activati〇n), the calculation of the dynamic grace period - 〇d) by overwriting the sub-partition. Repeat overwrite sub-sections within ^

M305380 者拷程式檔案峨檔’以具有不被使用 提供m:中’該認證資訊係内含於外接裝置64所 一商保留命令。該製造商保留命令係該鮮通 汛協疋保留給製造商彈性運用的人人t 位盥人a絲心的°卩令,其包含命令索引攔 二=2^立。命令索引之值係選自該標準通訊協定 之入^ ^辨識該製造商保留命令係提供認證資訊 =二;*令參數則包含該認證資訊,而認證資訊所需之 凡貝'JJ由製造商自訂’只要不超過命令參數欄位的長 二°控制器63在收_製造娜留命令後,即依據其内 =命令索引’判斷其命令參數内含認證資訊,接著進行 f績之認證動作。在另—實施例中,該認證資訊係經由該 標準通訊财所規範之—般寫人命顿提供,且該一般寫 入命令狀—不屬於非客製分區6ΐιι之敍範圍的位 址,如’若非客製分區6111之紐範圍為〇〜⑽Μ·!), 則該指定魏可林小於128M之健。該認證資訊則作 ,該-般寫人命令所要寫人之倾來提供,其格式亦可由 製造商自訂(即客製格式)。在另—實施例中,該認證資訊 係、、i由δ亥;準通訊協定所規範之一般寫入命令所提供,且 °亥般寫入命令指定一最低位元不為零的位址。該認證資 衹則作為該一般寫入命令所要寫入之資料來提供,其格式 亦可由製造商自訂。 &lt;第三實施例&gt; M305380 圖七係本創作之具多重分區之記憶裝置之第三實施 例方塊圖。記憶裝置70支援一標準通訊協定,且包含— 非揮發性記憶體71、一傳輸介面72及一控制器73,如圖 七所示。該標準通訊協定包含下列其中之一 ·· USB、CF、 MS、MMC及SD。在一實施例中,記憶裝置7〇係一可 攜式裝置。在另一實施例中,非揮發性記憶體71為快閃 記憶體或硬碟。The M305380 copy file file file 'has not been used to provide m: medium'. The authentication information is contained in the external device 64. The manufacturer retains the order that the 通 汛 疋 疋 疋 疋 疋 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性 弹性The value of the command index is selected from the standard communication protocol. ^ ^ The manufacturer retains the command to provide the authentication information = 2; * the parameter contains the authentication information, and the authentication information required by the van "JJ by the manufacturer Customize 'as long as the controller does not exceed the length of the command parameter field 63 after the receipt of the _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ . In another embodiment, the authentication information is provided by the standard communication standard of the standard communication accounting, and the general write command form--the address that does not belong to the non-customized partition 6ΐιι, such as ' If the range of the non-custom partition 6111 is 〇~(10)Μ·!), then the specified Wei Kelin is less than 128M. The certification information is made, and the general written order is provided by the person to write, and the format can also be customized by the manufacturer (ie, the custom format). In another embodiment, the authentication information, i is provided by a general write command as specified by the quasi-communication protocol, and the write command specifies an address where the lowest bit is not zero. This certification is only provided as information to be written by the general write order, and the format can also be customized by the manufacturer. &lt;Third Embodiment&gt; M305380 Fig. 7 is a block diagram showing a third embodiment of a memory device having multiple partitions. The memory device 70 supports a standard communication protocol and includes a non-volatile memory 71, a transmission interface 72 and a controller 73, as shown in FIG. The standard communication protocol includes one of the following: USB, CF, MS, MMC, and SD. In one embodiment, the memory device 7 is a portable device. In another embodiment, the non-volatile memory 71 is a flash memory or a hard disk.

非揮發性記憶體71内包含一使用者區域71丨及一系 統區域712。使用者區域711包含複數個分區(分區數量並 無限制,而圖七係以兩個分區7111、7112為例),其中分 區7111被設為預設分區(預設分區之意義後文詳述)。= 統區域712則儲存每一分區之位置資訊,供控制器73使 用,據以定址各分區。在-實_巾,每-分區之位置資 訊,,分區容量。依據分區容量,以進行纽,亦即,分 區谷1具有顯示分區位置之功效(後文會舉例)。在另一實 施例中,除分區容量外,每—分區之位置t訊還包含分= 起始位址。 别;丨面72可接收一外接裝置74所發出相容該標準 通訊齡之存取命令,送至控㈣73。控繼73則依據 該存取命^每—分區之位置資訊,來存取使用者區域 711。在第二實施例中,不同的外接裝置%所發出之存取 ίί:會有不_定址範圍。就制之支援該標準通訊協 ^而言’其發出之存取命令的定址範圍係限於 别述之倾分區。換言之,在使用輕域711巾,此種習 19 M305380 用外接裝置僅能,,看見,,職分區。然 :=:=r,_支援該;= 疋卜還了取传糸統區域712所存之各分區之位置資訊, 令時,即可依據這些位置_定位址,The non-volatile memory 71 includes a user area 71A and a system area 712. The user area 711 includes a plurality of partitions (the number of partitions is not limited, and FIG. 7 is based on two partitions 7111 and 7112), wherein the partition 7111 is set as a preset partition (the meaning of the preset partition is described later) . The system area 712 stores the location information for each partition for use by the controller 73 to address the partitions. In the - _ towel, per-partition location information, partition capacity. According to the partition capacity, the button is performed, that is, the partition valley 1 has the effect of displaying the partition location (which will be exemplified later). In another embodiment, in addition to the partition capacity, the location of each partition also includes a sub-start address. The face 72 can receive an access command issued by the external device 74 that is compatible with the standard communication age and sent to the control (four) 73. The control 73 accesses the user area 711 according to the location information of the access per partition. In the second embodiment, the access ίί issued by different external devices may have an unaddressed range. In terms of the support of the standard communication protocol, the address range of the access commands issued by it is limited to the sloping partitions. In other words, in the use of light domain 711 towel, this kind of Xi 19 M305380 can only use, see, and work. However: =:=r, _supports this; = 疋 还 取 取 取 取 取 取 712 712 712 712 712 712 712 712 712 712 712 712 712 712 712 712 712 712 712 712 712 712 712 712 712 712 712 712 712 712

定==!要存取的分區。換言之’此時存取命令的 疋址犯圍即包含使用者區域711之所有分區。例如,若各 分區之位蹄訊包含分區容量,賴七_,分區7111 與7U2之容量分別為麵B、256MB,且假設每—邏輯 位址代表-位元組大小的記憶空間,則客製外接裝置可 用〇〜(128M-1)的位址來定址分區7111,利用 1綱〜(12齡256Μ·1)的位址蚊址分區7112。再例如, 若各分區之位置資訊包含分區容量與分區起始位址,仍以 圖七為例,分區7111與7112之容量分別為128_、 256MB,分區起始位址分別為A1與Α2,則客製外接裝 置可利用Α1〜(Α1+128Μ-1)的位址來定址分區7111,利用 Α2〜(Α2+256Μ-1)的位址來定址分區7112,其中分 位址” α2之設定需使得ΑΗΑ1+:;;^ Α2〜(Α2+256Μ-1)兩個定址範圍不會重疊。控制器乃在收 到客製外接裝置所發出之存取命令後,即依據存取命令所 指定之邏輯位址及各分區之位置資訊,將指定邏輯位址轉 換為物理位址,以進行分區7111或分區7112之存取。 值得注意的是,使用該標準通訊協定所規範之一般讀 寫命令,並無法存取系統區域712。不過,若外接裝置74 可發出經過特殊設計且相容於該標準通訊協定之客製組 M305380 悲命令(其態樣於後文詳述),則可更新系統區域所儲 存之資料。在一實施例中,控制器73依據外接裝置% 所發出之第六組態命令,更新分區之位置資訊,以調整使 用者區域711之多重分區的數量。例如,在位置資在 分區容量時,將某一分區之容量設為零,以移=有 或者新增一容量記錄,作為新增分區的容量。在另一實施 例中,在位置資訊存有分區容量時,控制器73依據外接 裝置74所發出之第七組態命令,更新位置資訊,以調整 使用者區域711之任一分區之容量。在又一實施例中,在 位置資訊存有分區起始位址時,控制器73依據外接裝置 74所發出之第八組態命令,更新位置資訊,以調整使用 者區域711之任一分區之起始位址。 ^在一實施例中,前述之第六至第八客製組態命令中, 母一客製組態命令可為下列態樣之一 ·· (1)客製組態命令為一製造商保留命令。製造商保留命令 係該標準通訊協定保留給製造商彈性運用的命令,其 内含命令索引攔位與命令參數攔位,命令索引之值係 選自該標準通訊協定所允許之值,命令參數則包含各 客製組態命令對系統區域712所要更新的資訊。例 如,第七客製組態命令之命令參數包含指定哪一分區 進行調整以及調整後之容量值。 ()客版组恶命令為该標準通訊協定所規範之一般寫入 命令’且指定一不屬於使用者區域711之定址範圍的 21 M305380 位址。例如,若使用者區域之定址範圍為 0〜(512M_1),則該指定位址可為不小於512M之位 址。至於客製組態命令所要更新之系統區域712的資 Λ,則與一般寫入命令安排所要寫入資料的方式相 同,例如,直接放在一般寫入命令之後。 ⑶客製組態、命令為該鮮通訊蚊賴範之一般寫入 命令,且指定一最低位元(LSB)不為零之位址。如前 面第-實施例所述,在某些標準通訊協定裡,使用一 般寫入命令,但另外指定最低位元不為零之位址,可 代表要存取系統區域712而非使用者區域71卜至於 客製組態命令所要更新之系統區域712的資訊,則與 -般寫入命令安排所要寫人資料的方式相同。 藉由圖七之第三實_,可避免麵制技術在不同 外接裝置存取多重分區時的相容性問題。對於不同之習用 卜接咸置而。’皆此存取預設分區;而對於前述之客製外 ,裝置而β ’射依據各分區之位置資訊,存取使用者區 域711之所有分區。 以上所述係_較佳實施瓣細說明本創作,而非限 制本創作之細。大凡熟知此類技藝人士皆㈣瞭,· 而作些微的改變及調整’仍將不失本創作之要義所在,i 不脫離本創作之精神和範圍。 22 M305380 【圖式簡單說明】 圖一係為習用技術之快閃記憶陣列的區域配置示意 圖。 圖二係為習用之記憶卡匯流排協定。 圖三係為圖二之命令封包的詳細方塊圖。 圖四A至四C係為依據圖三,分別顯示讀取命令、 寫入命令及其他命令之封包的示意圖。 圖五係本創作之具多重分區之記憶裝置之第一實施 _ 例方塊圖。 圖六係本創作之具多重分區之記憶裝置之第二實施 例方塊圖。 圖七係本創作之具多重分區之記憶裝置之第三實施 例方塊圖。 【主要元件符號說明】Set ==! The partition to be accessed. In other words, the address of the access command at this time contains all the partitions of the user area 711. For example, if the location of each partition contains the partition capacity, Lai _, the capacity of partitions 7111 and 7U2 are face B, 256MB, respectively, and assuming that each logical address represents the memory space of the size of the byte, then the custom The external device can use the address of 〇~(128M-1) to address the partition 7111, and utilize the address of the mosquito site 1111 of the 1st ~ (12 256 Μ · 1). For example, if the location information of each partition includes the partition capacity and the partition start address, still take FIG. 7 as an example. The capacities of the partitions 7111 and 7112 are 128_ and 256 MB, respectively, and the partition start addresses are A1 and Α2, respectively. The custom external device can use the address of Α1~(Α1+128Μ-1) to address the partition 7111, and use the address of Α2~(Α2+256Μ-1) to address the partition 7112, wherein the setting of the sub-address "α2" is required. The two addressing ranges of ΑΗΑ1+:;;^ Α2~(Α2+256Μ-1) do not overlap. The controller receives the access command issued by the custom external device, that is, according to the logic specified by the access command. Address and location information of each partition, converting the specified logical address to a physical address for accessing the partition 7111 or partition 7112. It is worth noting that the general read and write commands specified by the standard communication protocol are used, and The system area 712 cannot be accessed. However, if the external device 74 can issue a custom designed M305380 sad command that is compatible with the standard communication protocol (the aspect of which is detailed later), the system area can be updated. Information stored In the example, the controller 73 updates the location information of the partition according to the sixth configuration command issued by the external device % to adjust the number of multiple partitions of the user area 711. For example, when the location is in the partition capacity, the controller 73 The capacity of the partition is set to zero to shift = the capacity record is added or added as the capacity of the new partition. In another embodiment, when the location information stores the partition capacity, the controller 73 is issued according to the external device 74. The seventh configuration command updates the location information to adjust the capacity of any of the user areas 711. In still another embodiment, the controller 73 is based on the external device 74 when the location information stores the partition start address. The eighth configuration command is issued, and the location information is updated to adjust the start address of any partition of the user area 711. In an embodiment, in the foregoing sixth to eighth custom configuration commands, The parent-custom configuration command can be one of the following: (1) The custom configuration command reserves a command for a manufacturer. The manufacturer retains the command that the standard communication protocol retains for the manufacturer to flexibly apply the command. The command index block and the command parameter block are included, the value of the command index is selected from the value allowed by the standard communication protocol, and the command parameter includes information to be updated by the system configuration area 712 by each custom configuration command. For example, The command parameters of the seven-custom configuration command include which partition is specified for adjustment and the adjusted capacity value. () The guest group evil command is the general write command specified by the standard communication protocol' and specifies that one does not belong to the user. The address of the address range of the region 711 is 21 M305380. For example, if the address range of the user area is 0 to (512 M_1), the designated address may be an address of not less than 512 M. As for the custom configuration command to be updated The resources of the system area 712 are the same as the way the general write command schedules the data to be written, for example, directly after the general write command. (3) The custom configuration and command are the general write commands of the fresh communication mosquito, and specify an address where the least significant bit (LSB) is not zero. As described in the previous embodiment, in some standard communication protocols, a general write command is used, but an address specifying that the lowest bit is not zero may be used to represent the system area 712 instead of the user area 71. The information of the system area 712 to be updated by the custom configuration command is the same as the way the general write command arranges the data to be written. With the third embodiment of Figure 7, it is possible to avoid the compatibility problem of the surface technology when accessing multiple partitions by different external devices. For different applications, it is easy to use. </ RTI> </ RTI> </ RTI> </ RTI> </ RTI> </ RTI> </ RTI> </ RTI> </ RTI> </ RTI> </ RTI> </ RTI> </ RTI> </ RTI> </ RTI> The above description is a preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Those who are familiar with such skills are all (4), and making minor changes and adjustments will remain without losing the essence of this creation. i does not deviate from the spirit and scope of this creation. 22 M305380 [Simple description of the diagram] Figure 1 is a schematic diagram of the regional configuration of the flash memory array of the conventional technology. Figure 2 is a conventional memory card bus arrangement agreement. Figure 3 is a detailed block diagram of the command packet of Figure 2. 4A to 4C are schematic diagrams showing the packets of the read command, the write command, and other commands, respectively, according to FIG. Figure 5 is a block diagram of the first implementation of the memory device with multiple partitions of this creation. Figure 6 is a block diagram of a second embodiment of a memory device having multiple partitions of the present invention. Figure 7 is a block diagram of a third embodiment of a memory device having multiple partitions of the present invention. [Main component symbol description]

10習用技術之快閃記憶陣列 11系統區域 12使用者區域 13保密區域 20命令封包 21開始位元 22傳送位元 23命令索引 25命令參數 27循環冗贅核對 28結束位元 30回應封包 40資料封包 50、 60、70具多重分區之記憶裝置 51、 6卜71非揮發性記憶體 23 M305380 5n、611、711使用者區域 5111、5112、5113、7111、7112使用者區域之分區 512、712系統區域 52、62、72傳輸介面 53、63、73控制器 54、64、74外接裝置 6111非客製分區 6112客製分區10 conventional flash memory array 11 system area 12 user area 13 secret area 20 command packet 21 start bit 22 transfer bit 23 command index 25 command parameter 27 loop redundancy check 28 end bit 30 response packet 40 data packet 50, 60, 70 multi-partition memory devices 51, 6 pp 71 non-volatile memory 23 M305380 5n, 611, 711 user area 5111, 5112, 5113, 7111, 7112 user area partition 512, 712 system area 52, 62, 72 transmission interface 53, 63, 73 controller 54, 64, 74 external device 6111 non-custom partition 6112 custom partition

24twenty four

Claims (1)

M305380 九、申請專利範圍: L 一種具多重分區(multi-partition)之記憶裝置,包含: 一非揮發性(non-volatile)記憶體,包含·· 一使用者區域,包含複數個分區,該些分區中之一第一 分區係設定為可見分區;以及 一系統區域,儲存該可見分區之組態資訊,該組態資訊 記錄該可見分區之識別資訊及支援通訊協定;以及 % 一控制器,接至該非揮發性記憶體,用以依據一存取 命令與該組態資訊,存取該可見分區,其中該存取命 令係相容於該支援通訊協定。 2·如申請專利範圍第1項所述之記憶裝置,其中該記憶裝 置係一可攜式裝置。 3·如申請專利範圍第1項所述之記憶裝置,其中該支援通 訊協定包含下列其中之一:通用序列匯流棑(USB)、小 尺寸快閃記憶體(CF)、記憶棒(MS)、多媒體卡(MMC) % 及安全數位(SD)。 4·如申請專利範圍第1項所述之記憶裝置,其中該非揮發 性5己憶體為一快閃記憶體。 5·如ΐ料纖㈣1酬叙記憶裝置,其巾該非揮發 性記憶體為一硬碟。 6. 如申請專利範圍第i項所述之記憶裝置,其中該存取命 令係该記憶裝置之一外接裝置所發出。 7. 如申請專利範圍第6項所述之記憶裝置,更包含: 一傳輸介面,用以從該外接裝置接收該存取命令,傳送 25 M305380 至該控制器。 8·如申請專利範圍第1項所述之記憶裝置,其中該存取命 令之定址範圍係對應於該可見分區之容量。 9·如申請專利範圍第1項所述之記憶裝置,其中該組態資 訊更記錄該支援通訊協定之版本。 10·如申請專利範圍第9項所述之記憶裝置,其中該控制 器依據一外接裝置所發出相容於該支援通訊協定之一 客製組態命令,更新該組態資訊,以調整該支援通訊 協定之版本。 11·如申請專利範圍第1項所述之記憶裝置,其中該控制 器依據一外接裝置所發出相容於該支援通訊協定之一 客製組態命令,更新該可見分區之識別資訊,以將該 可見分區切換為該些分區中之一第二分區。 12·如申請專利範圍第丨項所述之記憶裝置,其中該系統 區域包含複數個第一攔位,用以儲存每一該分區之容 量。 13·如申請專利範圍第12項所述之記憶裝置,其中該控制 器依據一外接裝置所發出相容於該支援通訊定之一客 製組悲命令,更新該些第一攔位,以調整任一該分區 之容量。 14·如申請專利範圍第12項所述之記憶裝置,其中該控制 器依據一外接裝置所發出相容於該支援通訊協定之一 客製組悲命令,更新該些第一攔位,以調整該些分區 之數量。 26 M305380 15·如申請專利範圍第1項所述之記憶裝置,其中該系統 區域包含複數個第二攔位,用以記錄每一該分區之支 援通訊協定。 16·如申請專利範圍第15項所述之記憶裝置,其中該控制 器依據一外接裝置所發出相容於該支援通訊協定之一 客製組態命令,更新該些第二攔位,以調整任一該分 區之支援通訊協定。 17.如申請專利範圍第1〇、11、π、14或16項所述之記 憶裝置,其中該客製組態命令為該支援通訊協定之一 製造商保留命令。 18.如申請專利範圍第10、η、13、14或16項所述之記 憶裝置,其中該客製組態命令為一寫入命令,該寫入 命令對應-不屬於該可見分區之定址範圍的位址。 19. 如申料利細第丨丨柄述之記,隨置,其中該客製 組態命令為-讀取命令,該讀取命令對應一不屬於該 可見分區之定址範圍的位址。 20. 如申請專利範圍第1〇、η、13、14^^_^ 其中該客製組態命令為一寫入命令,該寫入 ^對應-位址’該位址之最低位林為裳。 ^如^^概圍㈣嫩之晴置,射該客製 址=二令’該讀取命令對應-位址,該位 22.=:=:=,置’係支援- 27 M305380 一非揮發性(non-volatile)記憶體,包含一使用者區域, 該使用者區域包含一客製分區與一非客製分區; 一傳輸介面,用以從一外接裝置接收一認證資訊,該 遇證貧訊具有-未規範於該標準通訊協定之客製格 式;以及 -控制器至該傳輸介面及該非揮發性記憶體, 用以依據·證資訊,決定是否允許料接裝置存 取該客製分區。 23·如申請專利制第22顧述之記餘置,其中該記憶 裝置係一可攜式裝置。 24·如申請專·圍第22項所述之記練置,其中該鮮 通抑H下列其巾之—:顧序列匯流排(USB)、 J尺寸陕閃心[思體吻、記憶棒(Ms)、多媒體卡(觀C) 及安全數位(SD)。 25. 如申清專利乾圍第22項所述之記憶裝置,其中該非揮 發性§己憶體為一快閃記憶體。 26. 如申請專概_22項所叙記憶裝置 ’其中該非揮 發性記憶體為一硬碟。 27. 如申請專概_ 22韻述之記織置,射該客製 分區包含一唯讀子分區。 • 申明專她圍第&amp;項所述之記憶裝置,其中該客製 區域包含-單次覆寫子分區。 • ^申明專利圍第22項所述之記憶裝置,其中該客製 區域包含-多次覆寫子分區。 28 M305380 36. 如申請專利範圍帛35項所述之記憶裝置,其中該記憶 裝置係一可攜式裝置。 ’、 &quot; 37. 如申請專利範圍帛%項所述之記憶裝置,其中該鮮 通訊協找含下列其巾n顧相匯流排(usb)、 小尺寸快閃記憶體(π)、記憶、棒(MS)、多媒體卡(應〇 及安全數位(SD)。 38·如申睛專利||圍第35項所述之記憶裝置,其中該非揮 發性記憶體為一快閃記憶體。 ^ 说如申請專利範圍第%項所述之記憶裝置,其中該非揮 發性記憶體為一硬碟。 4〇.如申請專利範圍帛35項所述之記憶裝置,其中該存取 命令係該記憶裝置之一外接裝置所發出。 41·如申睛專利範圍第4〇項所述之記憶裝置,更包含: 一傳輸介面,用以從該外接裝置接收該存取命令,傳 送至該控制器。 42· ^申請專利範圍帛35項所述之記憶裝置,其中該控制 器依據一外接裝置所發出相容於該標準通訊協定之一 客製組悲命令,更新該位置資訊,以調整該些分區之 數量。 43.如申請專利範圍第35項所述之記憶裝置,其中每一該 分區之位置資訊包含分區容量。 44·如申請專利範圍第35項所述之記憶裝置,其中該控制 裔依據一外接裝置所發出相容於該標準通訊協定之一 客製組態命令,更新該位置資訊,以調整任一該分區 M305380 之容量。 5·如ψ叫專利範圍第43項所述之記憶裝置,其中每一該 分區之位置資訊更包含分區起始位址。八 46·=申請專利範圍第45項所述之記憶裝置,其中該控制 讀據-外接裝置所發出相容於該標準通訊協定之一 客製組態命令,更新該位置資訊,以調整任一該分區 之起始位址。 • 47.如申請專利範圍第C、44或46項所述之記憶裝置, 其中該客製組態命令係該標準通訊協定一製造商保留 命令。 48. 如申請專利範圍第42、44或46項所述之記惊裝置, f中該客製組態命令為-寫人命令m命令對應 不屬於使用者區域之定址範圍的位址。 49. ^申請專利範圍第42、44或46項所述之記憶裝置, 料該客製_命令為-寫人命令,該以命令對應 % 位址’該位址之最低位元不為零。 外如申請專利範圍第35項所述之記憶裝置,其中 命令之定址範圍包含該些分區。 &lt; 51.如申請專利範圍第50項所述之記憶裝置,其中 命令包含-第-位址’以定址於該些分區二一 =置J中該第一位址係一外接裝置依據該區 之位置資訊而產生。 2·如申睛專娜m第35項所述之記憶裝置, 區包含-預設分區,該存取命令之定址範圍限 31 M305380 設分區。M305380 IX. Patent application scope: L A multi-partition memory device, comprising: a non-volatile memory, including a user area, including a plurality of partitions, One of the partitions is configured as a visible partition; and a system area stores configuration information of the visible partition, the configuration information records identification information of the visible partition and a support communication protocol; and % controller The non-volatile memory is configured to access the visible partition according to an access command and the configuration information, wherein the access command is compatible with the support protocol. 2. The memory device of claim 1, wherein the memory device is a portable device. 3. The memory device of claim 1, wherein the support protocol comprises one of the following: a universal serial port (USB), a small size flash memory (CF), a memory stick (MS), Multimedia Card (MMC) % and Secure Digit (SD). 4. The memory device of claim 1, wherein the non-volatile 5 memory is a flash memory. 5. If the material fiber (4) is a memory device, the non-volatile memory is a hard disk. 6. The memory device of claim i, wherein the access command is issued by an external device of the memory device. 7. The memory device of claim 6, further comprising: a transmission interface for receiving the access command from the external device, transmitting 25 M305380 to the controller. 8. The memory device of claim 1, wherein the access command addressing range corresponds to a capacity of the visible partition. 9. The memory device of claim 1, wherein the configuration information further records a version of the support protocol. 10. The memory device of claim 9, wherein the controller updates the configuration information according to a custom configuration command issued by an external device that is compatible with one of the support communication protocols to adjust the support. The version of the protocol. 11. The memory device of claim 1, wherein the controller updates the identification information of the visible partition according to a custom configuration command issued by an external device that is compatible with the support communication protocol, so as to The visible partition is switched to one of the second partitions of the partitions. 12. The memory device of claim 2, wherein the system region includes a plurality of first barriers for storing the capacity of each of the partitions. 13. The memory device of claim 12, wherein the controller updates the first barriers according to a sorrow command issued by an external device that is compatible with the support communication, to adjust The capacity of the partition. 14. The memory device of claim 12, wherein the controller updates the first barriers according to a sorrow command issued by an external device that is compatible with one of the support communication protocols to adjust The number of these partitions. The memory device of claim 1, wherein the system area includes a plurality of second blocks for recording a support protocol for each of the partitions. The memory device of claim 15 , wherein the controller updates the second barriers according to a custom configuration command issued by the external device that is compatible with the one of the support communication protocols to adjust Support protocol for any of the partitions. 17. The memory device of claim 1, wherein the custom configuration command retains a command for one of the support communication protocols. 18. The memory device of claim 10, wherein the custom configuration command is a write command, the write command corresponding to - not belonging to the address range of the visible partition Address. 19. As stated in the claim, the custom configuration command is a read command, and the read command corresponds to an address that does not belong to the address range of the visible partition. 20. If the patent application scope is 1, 、, 13, 14^^_^ where the custom configuration command is a write command, the write ^ corresponds to the address - the lowest position of the address is the skirt . ^ 如^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-volatile memory, comprising a user area, the user area comprising a custom partition and a non-custom partition; a transmission interface for receiving an authentication information from an external device, the The message has a custom format that is not standardized in the standard protocol; and - the controller to the transmission interface and the non-volatile memory are used to determine whether to allow the device to access the guest zone based on the information. 23. If the patent application system is described in the 22nd note, the memory device is a portable device. 24·If you apply for the special description of the 22nd item, the fresh pass and H are the following: - Gu serial bus (USB), J size Shan flash heart [Skin kiss, memory stick ( Ms), multimedia card (view C) and secure digital (SD). 25. The memory device of claim 22, wherein the non-volatile memory is a flash memory. 26. If you apply for the memory device described in _22, the non-volatile memory is a hard disk. 27. If you apply for a special _ 22 rhyme, the custom partition contains a read-only sub-partition. • Declare a memory device as described in Sections &amp;, which includes a single-overwrite sub-partition. • The invention relates to the memory device of claim 22, wherein the custom region comprises - multiple overwriting sub-partitions. 28 M305380 36. The memory device of claim 35, wherein the memory device is a portable device. ', &quot; 37. As claimed in the patent scope 帛% of the memory device, wherein the fresh communication association finds the following towels, usb, small-sized flash memory (π), memory, Stick (MS), multimedia card (suggested and secure digital (SD). 38. The memory device described in claim 35, wherein the non-volatile memory is a flash memory. The memory device of claim 5, wherein the non-volatile memory is a hard disk. The memory device of claim 35, wherein the access command is the memory device. 41. The memory device of claim 4, wherein the memory device further comprises: a transmission interface for receiving the access command from the external device for transmission to the controller. ^ The invention relates to the memory device described in claim 35, wherein the controller updates the location information according to a custom command issued by an external device that is compatible with one of the standard communication protocols to adjust the number of the partitions. 43. If you apply for a patent 35. The memory device of claim 35, wherein the location information of each of the partitions comprises a partitioning capacity. 44. The memory device of claim 35, wherein the controlling person is compatible with the standard according to an external device. One of the communication protocol custom configuration commands, update the location information to adjust the capacity of any of the partitions M305380. 5. If the memory device described in item 43 of the patent is called, the location information of each of the partitions is more Including the partition start address. The memory device described in claim 45, wherein the control read data-external device issues a custom configuration command compatible with one of the standard communication protocols, and updates the Location information to adjust the starting address of any of the partitions. • 47. The memory device of claim C, 44 or 46, wherein the custom configuration command is a standard communication protocol manufacturer Retain the order 48. As claimed in claim 42, paragraph 44, paragraph 46 or 46, the custom configuration command in f is - the write command m command corresponds to the address range not belonging to the user area Address: 49. ^ The memory device described in claim 42, 44 or 46, the custom _ command is a write command, the command corresponds to the % address 'the lowest bit of the address is not The memory device of claim 35, wherein the address range of the command includes the partitions. [51] The memory device of claim 50, wherein the command includes - The address 'is addressed to the partitions. The first address is generated by an external device according to the location information of the area. 2. The memory device according to item 35 of the Shenjin. The zone contains a preset partition, and the access range of the access command is limited to 31 M305380.
TW95205592U 2005-07-20 2006-04-03 Multi-partition memory device TWM305380U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW95205592U TWM305380U (en) 2005-07-20 2006-04-03 Multi-partition memory device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
TW94124442 2005-07-20
TW95110488 2006-01-02
TW95205592U TWM305380U (en) 2005-07-20 2006-04-03 Multi-partition memory device

Publications (1)

Publication Number Publication Date
TWM305380U true TWM305380U (en) 2007-01-21

Family

ID=38435870

Family Applications (1)

Application Number Title Priority Date Filing Date
TW95205592U TWM305380U (en) 2005-07-20 2006-04-03 Multi-partition memory device

Country Status (1)

Country Link
TW (1) TWM305380U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI396090B (en) * 2009-02-18 2013-05-11 Silicon Motion Inc Flash memory apparatus, data storage system, and method for sending special instructions to a flash memory apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI396090B (en) * 2009-02-18 2013-05-11 Silicon Motion Inc Flash memory apparatus, data storage system, and method for sending special instructions to a flash memory apparatus

Similar Documents

Publication Publication Date Title
US7062602B1 (en) Method for reading data in a write-once memory device using a write-many file system
US7003619B1 (en) Memory device and method for storing and reading a file system structure in a write-once memory array
JP4807683B2 (en) Data storage
CN101789019B (en) Method for controlling removable disk under Windows
WO2009153982A1 (en) Plurally partitioned nonvolatile memory device and system
US7185146B2 (en) Memory card device, and memory card control method for controlling the device
KR100980905B1 (en) Data storing apparatus
US6996660B1 (en) Memory device and method for storing and reading data in a write-once memory array
JP4238514B2 (en) Data storage device
JP4469405B2 (en) Semiconductor memory card, program
JP2000047932A (en) Storage medium and electronic equipment system
TW200413916A (en) Method and apparatus for grouping pages within a block
EP2096546A1 (en) Write once recording device
CN101553790B (en) Protecting confidential information on portable storage media
TW200419345A (en) A flash file system
WO2007034706A1 (en) Information recording medium access apparatus, and data recording method
TW201003393A (en) Data accessing method, and storage system and controller using the same
TWI321279B (en) Memory device and associated method
CN100593213C (en) Memory device with multiple partitions
TWI376599B (en) Method and nonvolatile memory system of managing file allocation table information
TWM305380U (en) Multi-partition memory device
JP4279699B2 (en) Semiconductor memory card, control program.
TW201239620A (en) Memory configuring method, memory controller and memory storage apparatus
US7814291B2 (en) Flexible formatting for universal storage device
JP2004178535A (en) Storage controller, storage card, magnetic disk drive

Legal Events

Date Code Title Description
MM4K Annulment or lapse of a utility model due to non-payment of fees