TWI421772B - Memory card complying with a plurality of standards - Google Patents

Memory card complying with a plurality of standards Download PDF

Info

Publication number
TWI421772B
TWI421772B TW96133138A TW96133138A TWI421772B TW I421772 B TWI421772 B TW I421772B TW 96133138 A TW96133138 A TW 96133138A TW 96133138 A TW96133138 A TW 96133138A TW I421772 B TWI421772 B TW I421772B
Authority
TW
Taiwan
Prior art keywords
memory card
card
memory
data
standard
Prior art date
Application number
TW96133138A
Other languages
Chinese (zh)
Other versions
TW200830192A (en
Inventor
Masaharu Adachi
Original Assignee
Ricoh 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
Priority claimed from JP2006240294A external-priority patent/JP2007280347A/en
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Publication of TW200830192A publication Critical patent/TW200830192A/en
Application granted granted Critical
Publication of TWI421772B publication Critical patent/TWI421772B/en

Links

Description

符合多種標準的記憶卡Memory card that meets multiple standards

本發明係關於符合多種標準的記憶卡,也關於切換標準的方法。The present invention relates to a memory card that conforms to various standards, and also to a method of switching standards.

例如SD卡(註冊商標)及MMC(多媒體卡:註冊商標)等非揮發性記憶卡被用在例如行動電話及數位相機等攜帶式數位設備與例如個人電腦和印表機等數位設備之間交換資訊。Non-volatile memory cards such as SD card (registered trademark) and MMC (multimedia card: registered trademark) are used for exchange between portable digital devices such as mobile phones and digital cameras and digital devices such as personal computers and printers. News.

上述中引用為非揮發性記憶卡的SD卡及MMC具有類似的電特徵及卡形狀。但是,以控制方法及通訊方法的觀點而言,這二種卡並非彼此完美地相容,且這些非揮發性記憶卡之一無法在用於其它非揮發性記憶卡的卡插座中。The SD card and MMC referenced above as non-volatile memory cards have similar electrical characteristics and card shapes. However, in terms of control methods and communication methods, the two cards are not perfectly compatible with each other, and one of these non-volatile memory cards cannot be used in card sockets for other non-volatile memory cards.

此外,傳統的非揮發性記憶卡僅設有單一非揮發性記憶卡控制器,其無法與符合不同標準的非揮發性記憶卡控制器完美地相容。首先,傳統的非揮發性記憶卡未配備有切換複數個非揮發性記憶卡控制器之開關或是用於切換內部程式的開關。In addition, conventional non-volatile memory cards have only a single non-volatile memory card controller that is not perfectly compatible with non-volatile memory card controllers that meet different standards. First, conventional non-volatile memory cards are not equipped with switches that switch a plurality of non-volatile memory card controllers or switches for switching internal programs.

在下述中,將使用SD卡及MMC作為分析的實施例。SD卡及MMC在形狀及電氣規格上具有高相容性,以致於在這二種卡中可以使用相同的控制器。因此,儘管這二種記憶上的控制指令與通信協定不同,但是,記憶卡中的控制程式的重寫可以使此記憶卡的規格符合其它記憶卡的規格。不幸地,記憶卡中控制程式的重寫是相當困難的工作。In the following, an SD card and an MMC will be used as an embodiment of the analysis. The SD card and MMC have high compatibility in shape and electrical specifications, so that the same controller can be used in both cards. Therefore, although the control commands on the two memories are different from the communication protocol, the rewriting of the control program in the memory card allows the specifications of the memory card to conform to the specifications of other memory cards. Unfortunately, the rewriting of control programs in memory cards is quite a difficult task.

某些主控制器(亦即,設在主電腦中的控制器)支援SD卡及MMC之一。在此情形中,二種記憶卡中僅有一者可以與給定的主電腦一起操作。Some host controllers (that is, controllers located in the host computer) support one of the SD card and the MMC. In this case, only one of the two memory cards can operate with a given host computer.

有某些主控制器支援SD卡及MMC等二者。當與主控制器所支援的記憶卡不同的記憶卡連接至其時,例如,當高速MMC連接至僅能支援正常速度的MMC之SD卡主控制器時,此控制器僅能以低於SD卡的傳輸速率傳輸正常速度MMC相容資料。即使在此情形中,假使MMC可以被製成當作SD卡操作,則資料傳輸可以以更高的傳輸速率執行。Some main controllers support both SD card and MMC. When a memory card different from the memory card supported by the main controller is connected to it, for example, when the high-speed MMC is connected to the SD card host controller that can only support the normal speed MMC, the controller can only be lower than SD. The card's transmission rate transmits normal speed MMC compatible data. Even in this case, if the MMC can be made to operate as an SD card, data transfer can be performed at a higher transfer rate.

如上所述的問題也發生於SD卡與SDHC記憶卡(註冊商標)之間,SDHC卡是涵蓋SD卡的通用標準卡,如上所述的問題也會發生於它們的主控制器之間。SDHC記憶卡的非揮發性記憶體的尺寸大於SD卡的非揮發性記憶體。在此情形中,儘管形狀及電氣特徵相同,但是,設計成支援SD卡的主控制器無法支援SDHC記憶卡。The problem as described above also occurs between the SD card and the SDHC memory card (registered trademark), which is a general-purpose standard card covering the SD card, and the problems as described above also occur between their main controllers. The non-volatile memory of the SDHC memory card is larger than the non-volatile memory of the SD card. In this case, although the shape and electrical characteristics are the same, the main controller designed to support the SD card cannot support the SDHC memory card.

即使在SDHC記憶卡中實施與SD卡相容的控制器,設計成支援SD卡的主控制器仍然無法辨認超過4GB的SDHC記憶卡的資料區,這是因為SD卡未支援超過2GB的資料區。Even if a controller compatible with the SD card is implemented in the SDHC memory card, the main controller designed to support the SD card cannot recognize the data area of the SDHC memory card exceeding 4 GB. This is because the SD card does not support the data area exceeding 2 GB. .

專利文獻1揭示用於主控制器以偵測及決定記憶卡的技術,但與記憶卡內的控制器切換無關。專利文獻2揭示SD、MMC、及SIM的整合。專利文獻3揭示用於提供形狀轉換以將迷你型MMC轉換成SD卡的配接器之技術。Patent Document 1 discloses a technique for a main controller to detect and determine a memory card, but is not related to controller switching in a memory card. Patent Document 2 discloses integration of SD, MMC, and SIM. Patent Document 3 discloses a technique for providing a shape conversion to convert a mini MMC into an adapter of an SD card.

當有多種型式具有類似的電特徵及形狀但符合不同標準的非揮發性記憶卡時,需要能與主電腦的主控制器操作的非揮發性記憶卡以及任何標準的卡插座。When there are multiple types of non-volatile memory cards that have similar electrical characteristics and shapes but meet different standards, a non-volatile memory card that can operate with the host computer's main controller and any standard card sockets are required.

〔專利文獻1〕日本專利號3655597〔專利文獻2〕國際公開號WO01/08449〔專利文獻3〕日本新型註冊號3114194[Patent Document 1] Japanese Patent No. 3655597 [Patent Document 2] International Publication No. WO01/08449 [Patent Document 3] Japanese New Registration No. 3114194

本發明的至少一實施例可以取得如上所述的一或更多目的。At least one embodiment of the present invention may achieve one or more of the objects set forth above.

根據本發明的記憶卡包含控制裝置、非揮發性記憶體、程式儲存記憶體,其中,該程式儲存記憶體配置成儲存複數個對應於個別標準的控制程式,用於控制非揮發性記憶體與外部裝置之間的資料存取。The memory card according to the present invention comprises a control device, a non-volatile memory, and a program storage memory, wherein the program storage memory is configured to store a plurality of control programs corresponding to individual standards for controlling non-volatile memory and Data access between external devices.

根據本發明的記憶卡包含多個控制裝置、非揮發性記憶體、及防寫開關,其中,控制裝置配置成根據個別記憶卡標準以控制非揮發性記憶體與外部裝置之間的資料存取,以及,防寫開關配置成切換開關以選取多個控制程式之一。A memory card according to the present invention includes a plurality of control devices, a non-volatile memory, and an anti-write switch, wherein the control device is configured to control data access between the non-volatile memory and the external device according to an individual memory card standard And, the anti-write switch is configured to switch the switch to select one of the plurality of control programs.

根據本發明的記憶卡包含控制裝置、非揮發性記憶體、程式儲存記憶體、及防寫開關,其中,該程式儲存記憶體配置成儲存複數個對應於個別標準的控制程式,用於控制非揮發性記憶體與外部裝置之間的資料存取,以及防寫開關配置成切換開關以選取多個控制裝置之一。A memory card according to the present invention includes a control device, a non-volatile memory, a program storage memory, and an anti-write switch, wherein the program storage memory is configured to store a plurality of control programs corresponding to individual standards for controlling non- Data access between the volatile memory and the external device, and the write-protect switch are configured to switch the switch to select one of the plurality of control devices.

根據本發明的記憶卡包含控制裝置、非揮發性記憶體、程式儲存記憶體、及開關,其中,程式儲存記憶體配置成儲存複數個對應於個別標準的控制程式,用於控制非揮發性記憶體與外部裝置之間的資料存取,控制裝置配置成監視開關供應的訊號狀態,執行用於選取的記憶卡之控制程式之一,以回應訊號狀態。A memory card according to the present invention includes a control device, a non-volatile memory, a program storage memory, and a switch, wherein the program storage memory is configured to store a plurality of control programs corresponding to individual standards for controlling non-volatile memory The data access between the body and the external device, the control device is configured to monitor the signal state supplied by the switch, and execute one of the control programs for the selected memory card to respond to the signal state.

根據本發明的記憶卡包含控制裝置、非揮發性記憶體、程式儲存記憶體、開關;及開關,其中,程式儲存記憶體配置成儲存複數個對應於個別標準的控制程式,用於控制非揮發性記憶體與外部裝置之間的資料存取,以及,控制裝置配置成藉由接收開關供應的訊號狀態,執行用於選取的記憶卡之控制程式之一,以回應訊號狀態,而回應擷取重設訊號的重設訊號擷取電路。A memory card according to the present invention includes a control device, a non-volatile memory, a program storage memory, a switch, and a switch, wherein the program storage memory is configured to store a plurality of control programs corresponding to individual standards for controlling non-volatile Data access between the memory and the external device, and the control device is configured to execute one of the control programs for the selected memory card by the signal state supplied by the receiving switch to respond to the signal state and respond to the capture Reset the signal reset circuit of the signal.

根據本發明的記憶卡包含控制裝置、非揮發性記憶體、程式儲存記憶體、開關;及開關,其中,程式儲存記憶體配置成儲存複數個對應於個別標準的控制程式,用於控制非揮發性記憶體與外部裝置之間的資料存取,以及,控制裝置配置成藉由接收開關供應的訊號狀態,執行用於選取的記憶卡之控制程式之一,以回應訊號狀態,而回應外部裝置供應的預定命令。A memory card according to the present invention includes a control device, a non-volatile memory, a program storage memory, a switch, and a switch, wherein the program storage memory is configured to store a plurality of control programs corresponding to individual standards for controlling non-volatile Data access between the memory and the external device, and the control device is configured to execute one of the control programs for the selected memory card by the signal state supplied by the receiving switch to respond to the signal state and respond to the external device Scheduled order for supply.

根據本發明的記憶卡包含控制裝置、非揮發性記憶體、程式儲存記憶體,其中,程式儲存記憶體配置成儲存複數個對應於個別標準的控制程式,用於控制非揮發性記憶體與外部裝置之間的資料存取,以及,控制裝置配置成監視來自外部裝置命令或是其產生的存取通信協定,以選取控制程式之一以回應受監視的命令或通信協定,以及執行用於選取的記憶卡之控制程式之一。The memory card according to the present invention comprises a control device, a non-volatile memory, and a program storage memory, wherein the program storage memory is configured to store a plurality of control programs corresponding to individual standards for controlling non-volatile memory and external Data access between devices, and the control device is configured to monitor an access protocol from an external device command or its generation to select one of the control programs in response to the monitored command or communication protocol, and to perform the selection One of the control programs for the memory card.

根據本發明的記憶卡包含控制裝置、非揮發性記憶體、及程式儲存記憶體,其中,程式儲存記憶體配置成儲存用於檢查外部裝置供應的命令之命令檢查程式、記憶卡共用部份控制程式、及複數個對應於個別標準的記憶卡專用控制程式,其中,記憶卡共用控制程式配置成藉由執行對應於個別標準的多個記憶卡共同的控制,以控制非揮發性記憶體與外部裝置之間的資料存取,其中,記憶卡專用控制程式配置成藉由特定對個別的記憶卡執行控制,以控制非揮發性記憶體與外部裝置之間的資料存取,以及,其中,控制裝置配置成使用命令檢查程式以檢查外部裝置供應的命令,以及,選取及執行記憶卡共用部份控制程式與記憶卡專用控制程式中至少之一,以回應被檢查的命令。The memory card according to the present invention comprises a control device, a non-volatile memory, and a program storage memory, wherein the program storage memory is configured to store a command check program for checking a command of the external device supply, and a memory card sharing portion control a program, and a plurality of memory card-specific control programs corresponding to individual standards, wherein the memory card sharing control program is configured to control non-volatile memory and external by performing control common to a plurality of memory cards corresponding to individual standards Data access between devices, wherein the memory card specific control program is configured to control data access between the non-volatile memory and the external device by performing control on a particular pair of memory cards, and wherein, The device is configured to use a command check program to check commands supplied by the external device, and to select and execute at least one of a memory card sharing portion control program and a memory card specific control program in response to the command to be checked.

根據本發明的記憶卡包含對應於第一記憶卡標準的資料儲存非揮發性記憶體以及配置成支援第一記憶卡標準及第二記憶卡標準的控制裝置,第一記憶卡標準提供第一資料量,第二記憶卡標準提供小於第一資料量之第二資料量,其中,資料儲存記憶體的一部份作為第二記憶卡標準的記憶卡之資料儲存區。A memory card according to the present invention includes a data storage non-volatile memory corresponding to a first memory card standard and a control device configured to support a first memory card standard and a second memory card standard, the first memory card standard providing the first data The second memory card standard provides a second amount of data smaller than the first amount of data, wherein a portion of the data storage memory serves as a data storage area for the memory card of the second memory card standard.

根據本發明的記憶卡包含對應於第一記憶卡標準的資料儲存非揮發性記憶體以及配置成支援第一記憶卡標準及第二記憶卡標準的控制裝置,第一記憶卡標準提供第一資料量,第二記憶卡標準提供小於第一資料量之第二資料量,其中,資料儲存記憶體的資料區部份作為第二記憶卡標準的記憶卡之資料儲存區。A memory card according to the present invention includes a data storage non-volatile memory corresponding to a first memory card standard and a control device configured to support a first memory card standard and a second memory card standard, the first memory card standard providing the first data The second memory card standard provides a second amount of data smaller than the first data amount, wherein the data area of the data storage memory serves as a data storage area of the memory card of the second memory card standard.

根據本發明的記憶卡包含對應於第一記憶卡標準的資料儲存非揮發性記憶體以及配置成支援第一記憶卡標準及第二記憶卡標準的控制裝置,第一記憶卡標準提供第一資料量,第二記憶卡標準提供小於第一資料量之第二資料量,其中,資料儲存記憶體分成多個區,其中之一當控制裝置在與第二記憶卡標準相容的模式中操作時,作為第二記憶卡標準的記憶卡之資料儲存區。A memory card according to the present invention includes a data storage non-volatile memory corresponding to a first memory card standard and a control device configured to support a first memory card standard and a second memory card standard, the first memory card standard providing the first data The second memory card standard provides a second amount of data smaller than the first amount of data, wherein the data storage memory is divided into a plurality of zones, one of which when the control device operates in a mode compatible with the second memory card standard As a data storage area of the memory card of the second memory card standard.

根據本發明的記憶卡包含對應於第一記憶卡標準的資料儲存非揮發性記憶體以及配置成支援第一記憶卡標準及第二記憶卡標準的控制裝置,第一記憶卡標準提供第一資料量,第二記憶卡標準提供小於第一資料量之第二資料量,其中,資料儲存記憶體的記憶區中的目錄被分配作為當控制裝置在與第二記憶卡標準相容的模式中操作時被使用的資料儲存區。A memory card according to the present invention includes a data storage non-volatile memory corresponding to a first memory card standard and a control device configured to support a first memory card standard and a second memory card standard, the first memory card standard providing the first data The second memory card standard provides a second amount of data smaller than the first amount of data, wherein the directory in the memory area of the data storage memory is allocated for operation when the control device is in a mode compatible with the second memory card standard The data storage area that is used at the time.

根據本發明的記憶卡包含對應於第一記憶卡標準的資料儲存非揮發性記憶體以及配置成支援第一記憶卡標準及第二記憶卡標準的控制裝置,第一記憶卡標準提供第一資料量,第二記憶卡標準提供小於第一資料量之第二資料量,其中,資料儲存記憶體的記憶區中的檔案被分配作為當控制裝置在與第二記憶卡標準相容的模式中操作時被使用的資料儲存區。A memory card according to the present invention includes a data storage non-volatile memory corresponding to a first memory card standard and a control device configured to support a first memory card standard and a second memory card standard, the first memory card standard providing the first data The second memory card standard provides a second amount of data smaller than the first amount of data, wherein the file in the memory area of the data storage memory is allocated for operation when the control device is in a mode compatible with the second memory card standard The data storage area that is used at the time.

根據本發明的記憶卡包含對應於第一記憶卡標準的資料儲存非揮發性記憶體以及配置成支援第一記憶卡標準及第二記憶卡標準的控制裝置,第一記憶卡標準提供第一資料量,第二記憶卡標準提供小於第一資料量之第二資料量,其中,資料儲存記憶體的記憶區中的壓縮檔案被分配作為當控制裝置在與第二記憶卡標準相容的模式中操作時被使用的資料儲存區。A memory card according to the present invention includes a data storage non-volatile memory corresponding to a first memory card standard and a control device configured to support a first memory card standard and a second memory card standard, the first memory card standard providing the first data The second memory card standard provides a second amount of data smaller than the first amount of data, wherein the compressed file in the memory area of the data storage memory is allocated as a mode in which the control device is compatible with the second memory card standard. The data storage area used during operation.

根據本發明的記憶卡包含非揮發性記憶體及控制裝置,非揮發性記憶體具有對應於第一記憶卡標準的第一資料儲存區及對應於第二記憶卡標準的第二資料儲存區,控制裝置配置成支援第一記憶卡標準及第二記憶卡標準的控制裝置,第一記憶卡標準提供第一資料量,第二記憶卡標準提供小於第一資料量之第二資料量,其中,藉由使用第一記憶卡標準及第二記憶卡標準均不支援的命令或通信協定可以存取第二資料儲存區。The memory card according to the present invention comprises a non-volatile memory and a control device, the non-volatile memory having a first data storage area corresponding to the first memory card standard and a second data storage area corresponding to the second memory card standard, The control device is configured to support the first memory card standard and the second memory card standard control device, the first memory card standard provides a first data amount, and the second memory card standard provides a second data amount smaller than the first data amount, wherein The second data storage area can be accessed by using a command or communication protocol that is not supported by the first memory card standard and the second memory card standard.

根據本發明的至少一實施例,單一記憶卡可以符合電氣特徵及卡插座上相容的多種標準。此外,可以利用防寫開關、切換開關、重設訊號、或來自主控制器的命令以選取對應於個別標準的複數個控制程式之一、以選取對應於個別標準的多個控制裝置之一、或選取多個記憶卡之一。此外,可以致動要被執行的控制處理以回應來自主控制器的命令。In accordance with at least one embodiment of the present invention, a single memory card can conform to a variety of standards that are compatible with electrical features and card sockets. In addition, an anti-write switch, a toggle switch, a reset signal, or a command from a host controller may be utilized to select one of a plurality of control programs corresponding to an individual standard to select one of a plurality of control devices corresponding to an individual standard, Or choose one of several memory cards. Additionally, control processing to be performed can be actuated in response to commands from the primary controller.

在下述中,將參考附圖,說明本發明的較佳實施例。In the following, preferred embodiments of the present invention will be described with reference to the accompanying drawings.

根據本發明,為了符合眾多標準,控制程式設於記憶卡中,以及,使用外部開關或內容控制程式以切換記憶卡內部的控制程式或控制裝置,藉以選取適用於主控制器的記憶卡標準。In accordance with the present invention, in order to comply with a number of standards, a control program is provided in the memory card, and an external switch or content control program is used to switch the control program or control device inside the memory card to select a memory card standard suitable for the main controller.

在本發明中,上述眾多標準被視為具有類似的形狀及類似的電特徵。In the present invention, many of the above criteria are considered to have similar shapes and similar electrical characteristics.

下述將說明的實施例(第一至第八實施例)係關於SD卡和MMC卡以及關於SD卡和SDHC記憶卡。本發明不限於這些特定卡。The embodiments (first to eighth embodiments) to be described below relate to an SD card and an MMC card, and to an SD card and an SDHC memory card. The invention is not limited to these particular cards.

〔第一實施例〕[First Embodiment]

圖1是方塊圖,顯示根據本發明的第一實施例之非揮發性記憶卡的內部配置。根據第一實施例之非揮發性記憶卡2包含控制裝置4、非揮發性記憶體6、及程式儲存記憶體8。1 is a block diagram showing the internal configuration of a non-volatile memory card according to a first embodiment of the present invention. The non-volatile memory card 2 according to the first embodiment includes a control device 4, a non-volatile memory 6, and a program storage memory 8.

非揮發性記憶卡2經由控制裝置4以執行非揮發性記憶體6與主控制器(未顯示)之間的資料傳輸。設置用於控制第一記憶卡的控制程式12a、用於控制第二記憶卡的控制程式12b、及初始化程式10作為控制程式。The non-volatile memory card 2 transmits data between the non-volatile memory 6 and the main controller (not shown) via the control device 4. A control program 12a for controlling the first memory card, a control program 12b for controlling the second memory card, and an initialization program 10 are provided as control programs.

在根據第一實施例之非揮發性記憶卡2中,在初始化程式10執行之後,可以執行用於第一記憶卡或第二記憶卡的控制程式12a或12b。舉例而言,執行用於SD卡的控制程式或用於MMC之控制程式,以致於非揮發性記憶卡2作為SD卡或MMC操作。將參考第三實施例及上述,說明用於選擇的方法及用於操作的機制。In the non-volatile memory card 2 according to the first embodiment, after the initialization program 10 is executed, the control program 12a or 12b for the first memory card or the second memory card can be executed. For example, a control program for the SD card or a control program for the MMC is executed so that the non-volatile memory card 2 operates as an SD card or MMC. The method for selection and the mechanism for operation will be explained with reference to the third embodiment and the above.

另一實施例是用於第一記憶卡的控制程式12a是用於SD卡的控制程式,用於第二記憶卡的控制程式12b是用於SDHC記憶卡的控制程式。Another embodiment is that the control program 12a for the first memory card is a control program for the SD card, and the control program 12b for the second memory card is a control program for the SDHC memory card.

〔第二實施例〕[Second embodiment]

圖2A及2B是方塊圖,顯示根據本發明的第二實施例之非揮發性記憶卡的內部配置。根據第二實施例之非揮發性記憶卡2包含第一控制裝置4a、第二控制裝置4b、非揮發性記憶體6、及防寫開關16。2A and 2B are block diagrams showing the internal configuration of a nonvolatile memory card in accordance with a second embodiment of the present invention. The non-volatile memory card 2 according to the second embodiment includes a first control device 4a, a second control device 4b, a non-volatile memory 6, and an anti-write switch 16.

非揮發性記憶卡2經由控制裝置4(亦即,第一控制裝置4a或第二控制裝置4b)以執行非揮發性記憶體6與主控制器(未顯示)之間的資料傳輸。控制裝置4a是用於控制第一記憶卡,控制裝置4b是用於控制第二記憶卡。控制裝置的數目可以更多。The non-volatile memory card 2 transmits data between the non-volatile memory 6 and the main controller (not shown) via the control device 4 (i.e., the first control device 4a or the second control device 4b). The control device 4a is for controlling the first memory card, and the control device 4b is for controlling the second memory card. The number of control devices can be more.

在根據第二實施例之非揮發性記憶卡2中,防寫開關16提供第一記憶卡防寫保護,但未提供第二記憶卡防寫保護。In the non-volatile memory card 2 according to the second embodiment, the anti-write switch 16 provides the first memory card write protection, but does not provide the second memory card write protection.

電路配置成當防寫開關16如圖2A所示般設定在寫入賦能位置時,控制裝置4a處於操作狀態。在此情形中,根據第一記憶卡的方法,主控制器可以與非揮發性記憶卡2交換資料。由於防寫開關16被設定在寫入賦能位置,所以,資料可以寫至作為第一記憶卡的記憶卡。The circuit is configured such that when the write-protect switch 16 is set to the write enable position as shown in FIG. 2A, the control device 4a is in an operational state. In this case, according to the method of the first memory card, the main controller can exchange data with the non-volatile memory card 2. Since the anti-write switch 16 is set at the write enable position, the material can be written to the memory card as the first memory card.

此外,電路配置成當防寫開關16如圖2B所示般設定在寫入失能位置時,控制裝置4b處於操作裝置。在此情形中,根據第二記憶卡的方法,主控制器可以與非揮發性記憶卡2交換資料。由於防寫開關16未提供第二記憶卡寫入保護,所以,儘管防寫開關被設定在寫入失能位置(亦即,開關設定被忽略),資料仍然可以寫至作為第二記憶卡的記憶卡。Further, the circuit is configured such that when the write-protect switch 16 is set at the write disable position as shown in Fig. 2B, the control device 4b is in the operating device. In this case, according to the method of the second memory card, the main controller can exchange data with the non-volatile memory card 2. Since the anti-write switch 16 does not provide the second memory card write protection, although the anti-write switch is set at the write disable position (ie, the switch setting is ignored), the data can be written to the second memory card. Memory card.

在下述中,將說明記記憶卡的實施例,其設有用於SD卡的控制裝置及用於MMC的控制裝置。SD卡對應於上述第一記憶卡,MMC對應於上述第二記憶卡。當需要作為SD卡的操作時,將防寫開關16設定在寫入賦能位置。在此情形中,根據SD卡的方法,主控制器可以與非揮發性記憶卡2交換資料。由於防寫開關16被設定在寫入賦能位置,所以,資料可以寫至非揮發性記憶卡2。In the following, an embodiment of a memory card will be described which is provided with a control device for the SD card and a control device for the MMC. The SD card corresponds to the first memory card described above, and the MMC corresponds to the second memory card. When it is required to operate as an SD card, the anti-write switch 16 is set at the write enable position. In this case, the main controller can exchange data with the non-volatile memory card 2 according to the method of the SD card. Since the anti-write switch 16 is set at the write enable position, the data can be written to the non-volatile memory card 2.

當需要作為MMC操作時,將防寫開關16設定在寫入失能位置。在此情形中,根據MMC的方法,主控制器可以與非揮發性記憶卡2交換資料。由於防寫開關16的設定被忽略,所以,資料可以寫至非揮發性記憶卡2。When it is required to operate as an MMC, the anti-write switch 16 is set at the write disable position. In this case, according to the MMC method, the main controller can exchange data with the non-volatile memory card 2. Since the setting of the anti-write switch 16 is ignored, the data can be written to the non-volatile memory card 2.

另一實施例是記憶卡設有用於SD卡的控制裝置及用於SDHC記憶卡的控制裝置。SD卡對應於第一記憶卡,SDHC記憶卡對應於第二記憶卡。在根據第二實施例之非揮發性記憶卡2中,使用防寫開關16之寫入賦能/寫入失能機制可以被用來切換用於記憶卡的控制裝置。這能夠加入切換功能卻不需增加其它實體開關。Another embodiment is that the memory card is provided with a control device for the SD card and a control device for the SDHC memory card. The SD card corresponds to the first memory card, and the SDHC memory card corresponds to the second memory card. In the non-volatile memory card 2 according to the second embodiment, the write enable/write disable mechanism using the write-protect switch 16 can be used to switch the control device for the memory card. This allows for the addition of switching functions without the need to add other physical switches.

〔第三實施例〕[Third embodiment]

圖3A及3B是方塊圖,顯示根據本發明的第三實施例之非揮發性記憶卡的內部配置。根據第三實施例之非揮發性記憶卡2包含控制裝置4、非揮發性記憶體6、程式儲存記憶體8、及寫入保護開關16。3A and 3B are block diagrams showing the internal configuration of a nonvolatile memory card in accordance with a third embodiment of the present invention. The non-volatile memory card 2 according to the third embodiment includes a control device 4, a non-volatile memory 6, a program storage memory 8, and a write protection switch 16.

非揮發性記憶卡2經由控制裝置4以執行非揮發性記憶體6與主控制器(未顯示)之間的資料傳輸。設置用於控制第一記憶卡的控制程式12a、用於控制第二記憶卡的控制程式12b、及初始化程式10作為控制程式。The non-volatile memory card 2 transmits data between the non-volatile memory 6 and the main controller (not shown) via the control device 4. A control program 12a for controlling the first memory card, a control program 12b for controlling the second memory card, and an initialization program 10 are provided as control programs.

在根據第二實施例之非揮發性記憶卡3中,防寫開關16提供第一記憶卡防寫保護,但未提供第二記憶卡防寫保護。In the non-volatile memory card 3 according to the second embodiment, the anti-write switch 16 provides the first memory card write protection, but does not provide the second memory card write protection.

設置成當防寫開關16如圖3A所示般設定於寫入賦能位置時,初始化程式10選取用於第一記憶卡的控制程式12a。在此情形中,根據第二記憶卡的方法,主控制器可以與非揮發性記憶卡1交換資料。由於防寫開關16被設定在寫入賦能位置,所以,資料可以寫至作為第一記憶卡的記憶卡。When the anti-write switch 16 is set to the write enable position as shown in FIG. 3A, the initialization program 10 selects the control program 12a for the first memory card. In this case, according to the method of the second memory card, the main controller can exchange data with the non-volatile memory card 1. Since the anti-write switch 16 is set at the write enable position, the material can be written to the memory card as the first memory card.

此外,配置成當防寫開關16如圖3B所示般設定在寫入失能位置時,初始化程式10選取用於第二記憶卡的控制程式12b。。在此情形中,根據第二記憶卡的方法,主控制器可以與非揮發性記憶卡2交換資料。由於防寫開關16未提供第二記憶卡寫入保護,所以,儘管防寫開關16被設定在寫入失能位置(亦即,開關設定被忽略),資料仍然可以寫至作為第二記憶卡的記憶卡。Further, when the write-protect switch 16 is set to the write disable position as shown in FIG. 3B, the initialization program 10 selects the control program 12b for the second memory card. . In this case, according to the method of the second memory card, the main controller can exchange data with the non-volatile memory card 2. Since the anti-write switch 16 does not provide the second memory card write protection, although the anti-write switch 16 is set at the write disable position (ie, the switch setting is ignored), the data can be written to the second memory card. Memory card.

在下述中,將說明記記憶卡的實施例,其設有用於SD卡的控制程式及用於MMC的控制程式。SD卡對應於上述第一記憶卡,MMC對應於上述第二記憶卡。當需要作為SD卡的操作時,將防寫開關16設定在寫入賦能位置。在此情形中,根據SD卡的方法,主控制器可以非揮發性記憶卡2交換資料。由於防寫開關16被設定在寫入賦能位置,所以,資料可以寫至非揮發性記憶卡2。In the following, an embodiment of a memory card will be described which is provided with a control program for the SD card and a control program for the MMC. The SD card corresponds to the first memory card described above, and the MMC corresponds to the second memory card. When it is required to operate as an SD card, the anti-write switch 16 is set at the write enable position. In this case, according to the method of the SD card, the main controller can exchange data with the non-volatile memory card 2. Since the anti-write switch 16 is set at the write enable position, the data can be written to the non-volatile memory card 2.

當需要作為MMC操作時,將防寫開關16設定在寫入失能位置。在此情形中,根據MMC的方法,主控制器可以與非揮發性記憶卡2交換資料。由於防寫開關16的設定被忽略,所以,資料可以寫至非揮發性記憶卡2。When it is required to operate as an MMC, the anti-write switch 16 is set at the write disable position. In this case, according to the MMC method, the main controller can exchange data with the non-volatile memory card 2. Since the setting of the anti-write switch 16 is ignored, the data can be written to the non-volatile memory card 2.

另一實施例是記憶卡設有用於SD卡的控制裝置及用於SDHC記憶卡的控制裝置。SD卡對應於第一記憶卡,SDHC記憶卡對應於第二記憶卡。Another embodiment is that the memory card is provided with a control device for the SD card and a control device for the SDHC memory card. The SD card corresponds to the first memory card, and the SDHC memory card corresponds to the second memory card.

如同在第二實施例中一般,根據第三實施例之非揮發性記憶卡2配置成使用防寫開關16之寫入賦能/寫入失能機制可以被用來切換用於記憶卡的控制裝置。這能夠加入切換功能卻不需增加其它實體開關。As in the second embodiment, the non-volatile memory card 2 according to the third embodiment is configured such that the write enable/write disable mechanism using the write-protect switch 16 can be used to switch the control for the memory card. Device. This allows for the addition of switching functions without the need to add other physical switches.

在根據第三實施例的非揮發性記憶卡2中,設置單一控制裝置。與設有多個控制裝置的第二實施例之記憶卡相比,如此,可以降低成本。In the non-volatile memory card 2 according to the third embodiment, a single control device is provided. Compared with the memory card of the second embodiment in which a plurality of control devices are provided, the cost can be reduced.

〔第四實施例〕[Fourth embodiment]

圖4A是方塊圖,顯示根據本發明的第四實施例之非揮發性記憶卡的內部配置。根據第四實施例之非揮發性記憶卡與根據第三實施例之非揮發性記憶卡實質上相同。與此實施例相同的元件以相同代號表示,並省略其說明。Figure 4A is a block diagram showing the internal configuration of a non-volatile memory card in accordance with a fourth embodiment of the present invention. The non-volatile memory card according to the fourth embodiment is substantially the same as the non-volatile memory card according to the third embodiment. The same elements as those of the embodiment are denoted by the same reference numerals, and the description thereof will be omitted.

在根據上述第三實施例之非揮發性記憶卡的情形中,切換控制程式的時序未被界定。根據第四實施例之非揮發性記憶卡2配置成開關17移至其它位置時的時間被作為切換控制程式的時機。根據第四實施例之非揮發性記憶卡2包含可以產生中斷訊號15的開關17。或者,可以使用防寫開關16作為開關17。In the case of the non-volatile memory card according to the third embodiment described above, the timing of the switching control program is not defined. The time when the non-volatile memory card 2 according to the fourth embodiment is configured such that the switch 17 is moved to another position is taken as the timing of switching the control program. The non-volatile memory card 2 according to the fourth embodiment includes a switch 17 that can generate an interrupt signal 15. Alternatively, the anti-write switch 16 can be used as the switch 17.

如圖4A所示,當需要使用非揮發性記憶卡2作為第一記憶卡時,開關17設定在開啟位置。在此情形中,在切換時會發生中斷,以致於儲存在程式儲存記憶體8中的中斷處理程式20被執行以選取用於第一記憶卡的控制程式。結果,根據第一記憶卡的方法,主控制器可以與非揮發性記憶卡2交換資料。As shown in FIG. 4A, when it is required to use the non-volatile memory card 2 as the first memory card, the switch 17 is set to the on position. In this case, an interruption occurs at the time of switching, so that the interrupt processing program 20 stored in the program storage memory 8 is executed to select a control program for the first memory card. As a result, according to the method of the first memory card, the main controller can exchange data with the non-volatile memory card 2.

另一方面,當需要使用非揮發性記憶卡2作為第二記憶卡時,開關17設定在閉接位置。在此情形中,也在切換時會發生中斷,以致於儲存在程式儲存記憶體8中的中斷處理程式20被執行以選取用於第二記憶卡的控制程式。結果,根據第二記憶卡的方法,主控制器可以與非揮發性記憶卡2交換資料。On the other hand, when it is necessary to use the non-volatile memory card 2 as the second memory card, the switch 17 is set at the closed position. In this case, an interruption occurs also at the time of switching, so that the interrupt processing program 20 stored in the program storage memory 8 is executed to select a control program for the second memory card. As a result, according to the method of the second memory card, the main controller can exchange data with the non-volatile memory card 2.

圖4B是流程圖,顯示中斷處理程式的程序,其選取開關17設定時用於記憶卡的控制程式。在程序開始時(例如在開關開啟時)(S02),中斷處理程式20決定開關17傳送的中斷訊號15的狀態(S04),以及,為回應此點,執行用於第一記憶卡的控制程式或是用於第二記憶卡的控制程式(SO6,S10)。在圖4B中,在SO4中「H」對應於開關17的開啟狀態,「L」對應於開關17的閉接狀態。Fig. 4B is a flow chart showing the program of the interrupt processing program which selects the control program for the memory card when the switch 17 is set. At the start of the program (for example, when the switch is turned on) (S02), the interrupt handler 20 determines the state of the interrupt signal 15 transmitted by the switch 17 (S04), and in response to this, executes the control program for the first memory card. Or the control program for the second memory card (SO6, S10). In FIG. 4B, "H" corresponds to the on state of the switch 17 in "SO4", and "L" corresponds to the closed state of the switch 17.

即使在用於第一記憶卡的控制程式12a執行期間或是在用於第二記憶卡的控制程式12b執行期間,開關17的狀態改變時(在S08為「是」,在S12為「否」),中斷處理程式20仍然會決定中斷訊號15的狀態(S04),以及,為回應此點,執行用於第一記憶卡的控制程式或用於第二記憶卡的控制程式(SO6,S10)。Even when the control program 12a for the first memory card is executed or during the execution of the control program 12b for the second memory card, the state of the switch 17 is changed (YES in S08, NO in S12). The interrupt handler 20 still determines the state of the interrupt signal 15 (S04), and in response to this, executes the control program for the first memory card or the control program for the second memory card (SO6, S10) .

在下述中,將說明設有用於SD卡的控制程式及用於MMC的控制程式之記憶卡的實施例。SD卡對應於上述第一記憶卡,MMC對應於上述第二記憶卡。當需要作為SD卡的操作時,將開關17設定在開啟位置。在此情形中,在切換時發生中斷,以致於中斷處理程式20選取用於SD卡的控制程式。根據SD卡的方法,主控制器可以與非揮發性記憶卡2交換資料。In the following, an embodiment in which a memory card for a control program for an SD card and a control program for an MMC is provided will be described. The SD card corresponds to the first memory card described above, and the MMC corresponds to the second memory card. When it is required to operate as an SD card, the switch 17 is set to the on position. In this case, an interruption occurs at the time of switching, so that the interrupt handler 20 selects a control program for the SD card. According to the method of the SD card, the main controller can exchange data with the non-volatile memory card 2.

當需要作為MMC操作時,將開關17設定在閉接位置。在此情形中,在切換時發生中斷,以致於中斷處理程式20選取用於MMC的控制程式。根據MMC的方法,主控制器可以與非揮發性記憶卡2交換資料。When it is required to operate as an MMC, the switch 17 is set to the closed position. In this case, an interruption occurs at the time of switching, so that the interrupt handler 20 selects a control program for the MMC. According to the MMC method, the main controller can exchange data with the non-volatile memory card 2.

另一實施例是記憶卡設有用於SD卡的控制裝置及用於SDHC記憶卡的控制裝置。SD卡對應於第一記憶卡,SDHC記憶卡對應於第二記憶卡。Another embodiment is that the memory card is provided with a control device for the SD card and a control device for the SDHC memory card. The SD card corresponds to the first memory card, and the SDHC memory card corresponds to the second memory card.

在根據第四實施例之非揮發性記憶卡2中,執行中斷處理以回應開關17的設定改變。因此,即使在不慎地或意外地改變開關17時,仍可切換至另一記憶卡型式,藉以防止誤操作。In the non-volatile memory card 2 according to the fourth embodiment, the interrupt processing is executed in response to the setting change of the switch 17. Therefore, even when the switch 17 is inadvertently or accidentally changed, it is possible to switch to another memory card type, thereby preventing erroneous operation.

〔第五實施例〕[Fifth Embodiment]

圖5A是方塊圖,顯示根據本發明的第五實施例之非揮發性記憶卡的內部配置。根據第五實施例之非揮發性記憶卡與根據第四實施例之非揮發性記憶卡實質上相同。與此實施例相同的元件以相同代號表示,並省略其說明。在根據第五實施例的非揮發性記憶卡2中,開關17產生切換訊號14。或者,可以使用防寫開關16作為開關17。Figure 5A is a block diagram showing the internal configuration of a non-volatile memory card in accordance with a fifth embodiment of the present invention. The non-volatile memory card according to the fifth embodiment is substantially the same as the non-volatile memory card according to the fourth embodiment. The same elements as those of the embodiment are denoted by the same reference numerals, and the description thereof will be omitted. In the non-volatile memory card 2 according to the fifth embodiment, the switch 17 generates the switching signal 14. Alternatively, the anti-write switch 16 can be used as the switch 17.

在根據第五實施例之非揮發性記憶卡2中,在開源開啟時執行的重設操作會使得控制程式被設定用於記憶卡。正反電路26設置於非揮發性記憶卡2的控制裝置4的內部或外部。正反電路26在其資料輸入接收開關17供應的切換訊號,以及,在其時脈輸入處接收重設訊號22。正反控制電路26的輸出由控制裝置4使用作為用於切換控制程式的切換訊號。重設訊號也可被用以重設控制裝置4。In the non-volatile memory card 2 according to the fifth embodiment, the reset operation performed at the time of open source opening causes the control program to be set for the memory card. The positive and negative circuits 26 are provided inside or outside the control device 4 of the non-volatile memory card 2. The positive and negative circuit 26 receives the switching signal supplied from the data receiving and receiving switch 17, and receives the reset signal 22 at its clock input. The output of the forward/reverse control circuit 26 is used by the control device 4 as a switching signal for switching the control program. The reset signal can also be used to reset the control device 4.

當需要使用非揮發性記憶卡2作為第一記憶卡時,將開關17設定在開啟位置。在此情形中,在回應非揮發性記憶卡的電源開啟之重設訊號22的「H」狀態時,初始化程式選取用於第一記憶卡的控制程式。結果,根據第二記憶卡的方法,主控制器可以與非揮發性記憶卡1交換資料。When it is necessary to use the non-volatile memory card 2 as the first memory card, the switch 17 is set to the on position. In this case, the initialization program selects the control program for the first memory card in response to the "H" state of the reset signal 22 of the power-on memory of the non-volatile memory card. As a result, according to the method of the second memory card, the main controller can exchange data with the non-volatile memory card 1.

另一方面,當需要使用非揮發性記憶卡2作為第二記憶卡時,將開關17設定在閉接位置。在此情形中,在回應非揮發性記憶卡的電源開啟之重設訊號22的「H」狀態時,初始化程式選取用於第二記憶卡的控制程式。結果,根據第二記憶卡的方法,主控制器可以與非揮發性記憶卡1交換資料。On the other hand, when it is necessary to use the non-volatile memory card 2 as the second memory card, the switch 17 is set at the closed position. In this case, the initialization program selects the control program for the second memory card in response to the "H" state of the reset signal 22 of the power-on memory of the non-volatile memory card. As a result, according to the method of the second memory card, the main controller can exchange data with the non-volatile memory card 1.

圖5B是流程圖,顯示初始化程式的程序,其於重設時,選取用於記憶卡的控制程式。初始化程式10在重設訊號變成「H」時(在S24為「是」)決定交換訊號14的狀態(S26),以及,為回應此點,執行用於第一記憶卡的控制程式或是用於第二記憶卡的控制程式(S28,S30)。據此,在發生重設操作時,選取要執行的控制程式以回應開關17的狀態。Fig. 5B is a flow chart showing a program for initializing a program for selecting a control program for a memory card at the time of resetting. The initialization program 10 determines the state of the exchange signal 14 when the reset signal becomes "H" (YES at S24) (S26), and in response to this, executes the control program for the first memory card or uses The control program of the second memory card (S28, S30). Accordingly, when a reset operation occurs, the control program to be executed is selected in response to the state of the switch 17.

在下述中,將說明設有用於SD卡的控制程式及用於MMC的控制程式之記憶卡的實施例。SD卡對應於上述第一記憶卡,MMC對應於上述第二記憶卡。當需要作為SD卡的操作時,將開關17設定在開啟位置。在此情形中,在回應記憶卡電源開啟之重設訊號22的「H」狀態時,初始化程式10選取用於SD卡的控制程式。根據SD卡的方法,主控制器可以與非揮發性記憶卡2交換資料。In the following, an embodiment in which a memory card for a control program for an SD card and a control program for an MMC is provided will be described. The SD card corresponds to the first memory card described above, and the MMC corresponds to the second memory card. When it is required to operate as an SD card, the switch 17 is set to the on position. In this case, the initialization program 10 selects a control program for the SD card in response to the "H" state of the reset signal 22 of the memory card power-on. According to the method of the SD card, the main controller can exchange data with the non-volatile memory card 2.

當需要作為MMC操作時,將開關17設定在閉接位置。在此情形中,在回應記憶卡電源開啟之重設訊號22的「H」狀態時,初始程式10選取用於MMC的控制程式。根據MMC的方法,主控制器可以與非揮發性記憶卡2交換資料。When it is required to operate as an MMC, the switch 17 is set to the closed position. In this case, the initial program 10 selects a control program for the MMC in response to the "H" state of the reset signal 22 of the memory card power-on. According to the MMC method, the main controller can exchange data with the non-volatile memory card 2.

另一實施例是記憶卡設有用於SD卡的控制裝置及用於SDHC記憶卡的控制裝置。SD卡對應於第一記憶卡,SDHC記憶卡對應於第二記憶卡。Another embodiment is that the memory card is provided with a control device for the SD card and a control device for the SDHC memory card. The SD card corresponds to the first memory card, and the SDHC memory card corresponds to the second memory card.

在根據第五實施例之非揮發性記憶卡2中,在記憶卡的電源開啟時產生的重設訊號被用以選取控制程式。因此,除非產生重設訊號,否則,控制程式的設定不會發生改變。即使開關因某些原因而移至其它位置時,記憶卡的選取標準仍然不會改變。In the non-volatile memory card 2 according to the fifth embodiment, the reset signal generated when the power of the memory card is turned on is used to select a control program. Therefore, the control program settings will not change unless a reset signal is generated. Even if the switch is moved to another location for some reason, the selection criteria for the memory card will not change.

〔第六實施例〕[Sixth embodiment]

圖6A是方塊圖,顯示根據本發明的第六實施例之非揮發性記憶卡的內部配置。根據第六實施例之非揮發性記憶卡與根據第五實施例之非揮發性記憶卡實質上相同。與此實施例相同的元件以相同代號表示,並省略其說明。Figure 6A is a block diagram showing the internal configuration of a non-volatile memory card in accordance with a sixth embodiment of the present invention. The non-volatile memory card according to the sixth embodiment is substantially the same as the non-volatile memory card according to the fifth embodiment. The same elements as those of the embodiment are denoted by the same reference numerals, and the description thereof will be omitted.

在根據第六實施例的非揮發性記憶卡2中,初始化程式10A及控制程式具有用於分析來自主控制器的重設命令之程式碼嵌入於其中。In the non-volatile memory card 2 according to the sixth embodiment, the initialization program 10A and the control program have a code for analyzing a reset command from the main controller embedded therein.

當需要使用非揮發性記憶卡2作為第一記憶卡時,將開關17設定在開啟位置。在此情形中,在由控制裝置4接收來自主控制器的重設命令時,初始化程式10A或控制程式選取用於第一記憶卡的控制程式。結果,根據第二記憶卡的方法,主控制器可以與非揮發性記憶卡1交換資料。When it is necessary to use the non-volatile memory card 2 as the first memory card, the switch 17 is set to the on position. In this case, when the reset command from the main controller is received by the control device 4, the initialization program 10A or the control program selects the control program for the first memory card. As a result, according to the method of the second memory card, the main controller can exchange data with the non-volatile memory card 1.

另一方面,當需要使用非揮發性記憶卡2作為第二記憶卡時,將開關17設定在閉接位置。在此情形中,在由控制裝置4接收來自主控制器的重設命令時,初始化程式10A或控制程式選取用於第二記憶卡的控制程式。結果,根據第二記憶卡的方法,主控制器可以與非揮發性記憶卡2交換資料。On the other hand, when it is necessary to use the non-volatile memory card 2 as the second memory card, the switch 17 is set at the closed position. In this case, when the reset command from the main controller is received by the control device 4, the initialization program 10A or the control program selects the control program for the second memory card. As a result, according to the method of the second memory card, the main controller can exchange data with the non-volatile memory card 2.

圖6B是流程圖,顯示控制裝置的操作,其於收到來自主控制器的重設命令時,選取用於記憶卡的控制程式。在由初始化程式10A收到重設命令時(在S44為「是」),檢查交換訊號的狀態(S46),以及,選取用於第一記憶卡的控制程式(S48)或是用於第二記憶卡(S52)的控制程式(S28,S30)。交換訊號的「H」狀態表示選取第一記憶卡,而交換訊號的「L」狀態表示選取第二記憶卡。Fig. 6B is a flow chart showing the operation of the control means for selecting a control program for the memory card upon receiving a reset command from the main controller. When the reset command is received by the initialization program 10A (YES in S44), the state of the exchange signal is checked (S46), and the control program for the first memory card (S48) is selected or used for the second The control program of the memory card (S52) (S28, S30). The "H" state of the exchange signal indicates that the first memory card is selected, and the "L" state of the exchange signal indicates that the second memory card is selected.

在由控制程式收到重設命令時(在S50為「是」,在S54為「是」),即使在控制程式執行期間仍然檢查交換訊號的狀態(S46),以及,新近地選取用於第一記憶卡的控制程式(S48)或是用於第二記憶卡的控制程式(S52)。When the reset command is received by the control program (YES in S50, YES in S54), the state of the exchange signal is checked even during execution of the control program (S46), and newly selected for the first A control program of the memory card (S48) or a control program for the second memory card (S52).

在下述中,將說明設有用於SD卡的控制程式及用於MMC的控制程式之記憶卡的實施例。SD卡對應於上述第一記憶卡,MMC對應於上述第二記憶卡。當需要作為SD卡的操作時,將開關17設定在開啟位置。在此情形中,在收到主控制器送出的重設命令「CMD0」時,初始化程式10A或控制程式選取用於SD卡的控制程式。根據SD卡的方法,主控制器可以與非揮發性記憶卡2交換資料。In the following, an embodiment in which a memory card for a control program for an SD card and a control program for an MMC is provided will be described. The SD card corresponds to the first memory card described above, and the MMC corresponds to the second memory card. When it is required to operate as an SD card, the switch 17 is set to the on position. In this case, upon receiving the reset command "CMD0" sent from the main controller, the initialization program 10A or the control program selects the control program for the SD card. According to the method of the SD card, the main controller can exchange data with the non-volatile memory card 2.

當需要作為MMC操作時,將開關17設定在閉接位置。在此情形中,在收到主控制器送出的重設命令「CMD0」時,初始化程式10A或控制程式選取用於MMC的控制程式。根據MMC的方法,主控制器可以與非揮發性記憶卡2交換資料。When it is required to operate as an MMC, the switch 17 is set to the closed position. In this case, upon receiving the reset command "CMD0" sent from the main controller, the initialization program 10A or the control program selects the control program for the MMC. According to the MMC method, the main controller can exchange data with the non-volatile memory card 2.

另一實施例是記憶卡設有用於SD卡的控制裝置及用於SDHC記憶卡的控制裝置。SD卡對應於第一記憶卡,SDHC記憶卡對應於第二記憶卡。Another embodiment is that the memory card is provided with a control device for the SD card and a control device for the SDHC memory card. The SD card corresponds to the first memory card, and the SDHC memory card corresponds to the second memory card.

在根據第六實施例之非揮發性記憶卡2中,由主控制器所使用以初始化記憶卡的重設命令會被用以選取控制程式。因此,除非產生重設命令,否則,控制程式的設定不會發生改變。即使開關因某些原因而移至其它位置時,記憶卡的選取標準仍然不會改變。In the non-volatile memory card 2 according to the sixth embodiment, a reset command used by the main controller to initialize the memory card is used to select a control program. Therefore, the control program settings will not change unless a reset command is generated. Even if the switch is moved to another location for some reason, the selection criteria for the memory card will not change.

〔第七實施例〕[Seventh embodiment]

圖7A是方塊圖,顯示根據本發明的第七實施例之非揮發性記憶卡的內部配置。根據第七實施例之非揮發性記憶卡與根據第六實施例之非揮發性記憶卡實質上相同。與此實施例相同的元件以相同代號表示,並省略其說明。Figure 7A is a block diagram showing the internal configuration of a non-volatile memory card in accordance with a seventh embodiment of the present invention. The non-volatile memory card according to the seventh embodiment is substantially the same as the non-volatile memory card according to the sixth embodiment. The same elements as those of the embodiment are denoted by the same reference numerals, and the description thereof will be omitted.

根據第七實施例的非揮發性記憶卡2未設置開關。在根據第七實施例的非揮發性記憶卡2中,由主控制器(未顯示)存取的通信協定會被分析以選取控制程式。The nonvolatile memory card 2 according to the seventh embodiment is not provided with a switch. In the non-volatile memory card 2 according to the seventh embodiment, a communication protocol accessed by a main controller (not shown) is analyzed to select a control program.

在根據第七實施例的非揮發性記憶卡2中,初始化程式10A及控制程式具有用於分析主控制器存取的通信協定以初始化記憶卡之程式碼嵌入於其中。In the non-volatile memory card 2 according to the seventh embodiment, the initialization program 10A and the control program have a code for analyzing the communication protocol of the host controller to initialize the memory card.

當初始化程式10A分析由主控制器存取的通信協定及判定通信協定是用於第一記憶卡時,初始化程式10A選取用於第一記憶卡的控制程式。根據第一記憶卡的方法,主控制器因此可以與非揮發性記憶卡2交換資料。When the initialization program 10A analyzes the communication protocol accessed by the main controller and determines that the communication protocol is for the first memory card, the initialization program 10A selects the control program for the first memory card. According to the method of the first memory card, the main controller can thus exchange data with the non-volatile memory card 2.

當初始化程式10A分析由主控制器存取的通信協定及判定通信協定是用於第二記憶卡時,初始化程式10A選取用於第二記憶卡的控制程式。根據第二記憶卡的方法,主控制器因此可以與非揮發性記憶卡2交換資料。為了回應通信協定既非用於第一記憶卡亦非用於第二記憶卡之判定,中斷程式會被執行,藉以繼續通信協定分析。When the initialization program 10A analyzes the communication protocol accessed by the main controller and determines that the communication protocol is for the second memory card, the initialization program 10A selects the control program for the second memory card. According to the method of the second memory card, the main controller can thus exchange data with the non-volatile memory card 2. In response to the communication protocol being neither for the first memory card nor for the second memory card, the interrupt routine is executed to continue the communication protocol analysis.

圖7B是流程圖,顯示控制裝置的操作,其藉由分析主控制器存取的通信協定以選取用於記憶卡的控制程式。在由初始化程式10A(或控制程式)收到重設命令(例如CMD0)時(在S64為「是」),檢查通信協定是否用於第一記憶卡。假使確認通信協定是用於第一記憶卡時(在S66為「是」),選取及執行用於第一記憶卡的控制程式(S68)。假使確認通信協定是用於第二記憶卡時(在S66為「否」,在S70為「是」),選取及執行用於第二記憶卡的控制程式(S72)。為了回應通信協定既非用於第一記憶卡亦非用於第二記憶卡之判定(在S70為「否」),中斷程式會被執行,藉以等待其它重設命令。Fig. 7B is a flow chart showing the operation of the control means for selecting a control program for the memory card by analyzing the communication protocol accessed by the main controller. When a reset command (for example, CMD0) is received by the initialization program 10A (or the control program) (YES in S64), it is checked whether the communication protocol is used for the first memory card. If the confirmation communication protocol is for the first memory card (YES in S66), the control program for the first memory card is selected and executed (S68). If the confirmation communication protocol is for the second memory card (NO in S66, YES in S70), the control program for the second memory card is selected and executed (S72). In response to the fact that the communication protocol is neither for the first memory card nor for the second memory card ("NO" at S70), the interrupt program is executed to wait for other reset commands.

在下述中,將說明設有用於SD卡的控制程式及用於MMC的控制程式之記憶卡的實施例。SD卡對應於上述第一記憶卡,MMC對應於上述第二記憶卡。在由初始化程式10A(或控制程式)連續收到CMDO及CMD55時,初始化程式10A(或控制程式)選取用於SD卡的控制程式。根據SD卡的方法,主控制器可以與非揮發性記憶卡2交換資料。In the following, an embodiment in which a memory card for a control program for an SD card and a control program for an MMC is provided will be described. The SD card corresponds to the first memory card described above, and the MMC corresponds to the second memory card. When the CMDO and CMD 55 are continuously received by the initialization program 10A (or the control program), the initialization program 10A (or the control program) selects the control program for the SD card. According to the method of the SD card, the main controller can exchange data with the non-volatile memory card 2.

在由初始化程式10A(或控制程式)連續收到CMDO及CMD1時,初始化程式10A(或控制程式)選取用於MMC的控制程式。根據MMD的方法,主控制器可以與非揮發性記憶卡2交換資料。When the CMDO and CMD1 are continuously received by the initialization program 10A (or the control program), the initialization program 10A (or the control program) selects the control program for the MMC. According to the MMD method, the main controller can exchange data with the non-volatile memory card 2.

另一實施例是記憶卡設有用於SD卡的控制裝置及用於SDHC記憶卡的控制裝置。SD卡對應於第一記憶卡,SDHC記憶卡對應於第二記憶卡。應注意,在這些記憶卡的情形中,在圖7B的S70的命令不同(亦即,CMD8應取代CMD1)。Another embodiment is that the memory card is provided with a control device for the SD card and a control device for the SDHC memory card. The SD card corresponds to the first memory card, and the SDHC memory card corresponds to the second memory card. It should be noted that in the case of these memory cards, the commands at S70 of Fig. 7B are different (i.e., CMD8 should replace CMD1).

在根據第七實施例之非揮發性記憶卡2中,初始化程式10A及控制程式分析主控制器執行的存取之通信協定,以選取控制程式。此配置因而不需要開關。In the non-volatile memory card 2 according to the seventh embodiment, the initialization program 10A and the control program analyze the communication protocol of the access performed by the main controller to select the control program. This configuration thus does not require a switch.

在上述實施例中使用的例子中,控制程式的數目為二個。替代地,可以提供多於二個的控制程式以用於記憶卡。即使在此情形中,與第一至第六實施例不同,仍然不需要設置增加的開關。In the example used in the above embodiment, the number of control programs is two. Alternatively, more than two control programs can be provided for the memory card. Even in this case, unlike the first to sixth embodiments, it is not necessary to provide an increased switch.

〔第八實施例〕[Eighth Embodiment]

圖8是方塊圖,顯示根據本發明的第八實施例之非揮發性記憶卡的內部配置。根據第八實施例之非揮發性記憶卡與根據第七實施例之非揮發性記憶卡實質上相同。與此實施例相同的元件以相同代號表示,並省略其說明。Figure 8 is a block diagram showing the internal configuration of a non-volatile memory card in accordance with an eighth embodiment of the present invention. The non-volatile memory card according to the eighth embodiment is substantially the same as the non-volatile memory card according to the seventh embodiment. The same elements as those of the embodiment are denoted by the same reference numerals, and the description thereof will be omitted.

根據第八實施例的非揮發性記憶卡2未設置開關。此外,未執行控制程式的切換。儘管如此配置,仍然能與具有不同規格的主控制器作資料傳輸。The non-volatile memory card 2 according to the eighth embodiment is not provided with a switch. In addition, the switching of the control program is not performed. Despite this configuration, data transfer can still be performed with host controllers with different specifications.

第八實施例的非揮發性記憶卡2經由控制裝置4以執行非揮發性記憶體6與主控制器(未顯示)之間的資料傳輸。程式儲存記憶體8於其中儲存命令檢查程式24、記憶卡共用部份控制程式26、第一記憶卡專用控制程式30a、及第二記憶卡專用控制程式30b。The non-volatile memory card 2 of the eighth embodiment performs data transfer between the non-volatile memory 6 and the main controller (not shown) via the control device 4. The program storage memory 8 stores therein a command check program 24, a memory card sharing portion control program 26, a first memory card dedicated control program 30a, and a second memory card dedicated control program 30b.

圖9是流程圖,顯示記憶卡的控制裝置4的操作。在收到來自主控制器的命令時,命令檢查程式24會檢查命令為何。假使命令是由所有記憶卡共用的命令(在S84為「是」),則命令會傳送給記憶卡共用部份控制程式26並由其處理(S86)。然後,程序返回至命令檢查程式24所執行的檢查處理。Figure 9 is a flow chart showing the operation of the control device 4 of the memory card. Upon receiving a command from the primary controller, the command checker 24 checks what the command is. If the command is a command shared by all the memory cards (YES in S84), the command is transmitted to and processed by the memory card sharing portion control program 26 (S86). Then, the program returns to the check processing executed by the command check program 24.

假使命令特定用於第一記憶卡(在S84為「否」,在S88為「是」),則命令會傳送給第一記憶卡專用控制程式30a並由其處理(S90)。然後,程序返回至命令檢查程式24所執行的檢查處理。If the command is specified for the first memory card (NO in S84, YES in S88), the command is transmitted to and processed by the first memory card dedicated control program 30a (S90). Then, the program returns to the check processing executed by the command check program 24.

假使命令特定用於第二記憶卡(在S84為「否」,在S88為「否」,在S92為「是」),則命令會傳送給第二記憶卡專用控制程式30b並由其處理(S94)。然後,程序返回至命令檢查程式24所執行的檢查處理。If the command is specifically used for the second memory card (NO in S84, NO in S88, YES in S92), the command is transmitted to and processed by the second memory card dedicated control program 30b ( S94). Then, the program returns to the check processing executed by the command check program 24.

為了回應命令均非這些型式中的任一型式之判定(在S84為「否」,在S88為「否」,在S92為「否」),執行中斷處理(S96)。然後,程序返回至命令檢查程式24所執行的檢查處理。In response to the determination that none of the patterns is a command (NO in S84, NO in S88, NO in S92), the interrupt processing is executed (S96). Then, the program returns to the check processing executed by the command check program 24.

在下述中,將說明記憶卡的實施例,其設有命令檢查程式、SD卡& MMC共用部份控制程式、SD卡專用控制程式、及MMC專用控制程式。In the following, an embodiment of a memory card will be described, which is provided with a command check program, an SD card & MMC shared partial control program, an SD card dedicated control program, and an MMC dedicated control program.

首先,說明非揮發性記憶卡2插入於主電腦(未顯示)的SD卡專用槽(未顯示)的情形。在收到來自SD卡主控制器的命令時,命令檢查程式檢查命令為何。假使命令是所有記憶卡共用的命令,則命令會傳送給記憶卡共用部份控制程式並由其處理。然後,程序返回至命令檢查程式所執行的檢查處理。First, a case where the non-volatile memory card 2 is inserted into an SD card dedicated slot (not shown) of a host computer (not shown) will be described. When receiving a command from the SD card host controller, the command check program checks the command. If the command is a command shared by all memory cards, the command is transferred to and processed by the memory card sharing part of the control program. The program then returns to the check processing performed by the command checker.

假使命令特定用於SD卡,則命令會傳送給SD卡專用控制程式並由其處理(S90)。然後,程序返回至命令檢查程式24所執行的檢查處理。在此情形中,由於本發明的記憶卡適當地回應SD卡支援的所有命令,所以,SD卡主控制器藉由將本發明的記憶卡視為SD卡以對其存取。此外,由於主控制器設計成用於SD卡,所以,控制器不會傳送特定用於MMC的命令。因此,無論如何,不會有命令交給MMC專用控制程式。If the command is specifically used for the SD card, the command is transmitted to and processed by the SD card dedicated control program (S90). Then, the program returns to the check processing executed by the command check program 24. In this case, since the memory card of the present invention appropriately responds to all commands supported by the SD card, the SD card master controller accesses the memory card of the present invention by treating it as an SD card. In addition, since the main controller is designed for use with an SD card, the controller does not transmit commands specific to the MMC. Therefore, no matter what, there will be no order to hand over to the MMC-specific control program.

在下述中,說明非揮發性記憶卡2插入於主電腦(未顯示)的MMC專用槽(未顯示)的情形。在收到來自MMC主控制器的命令時,命令檢查程式檢查命令為何。假使命令是所有記憶卡共用的命令,則命令會傳送給記憶卡共用部份控制程式並由其處理。然後,程序返回至命令檢查程式所執行的檢查處理。In the following, the case where the non-volatile memory card 2 is inserted into an MMC dedicated slot (not shown) of a host computer (not shown) will be described. When receiving a command from the MMC host controller, the command checks the program to check the command. If the command is a command shared by all memory cards, the command is transferred to and processed by the memory card sharing part of the control program. The program then returns to the check processing performed by the command checker.

假使命令特定用於MMC,則命令會傳送給MMC專用控制程式並由其處理。然後,程序返回至命令檢查程式24所執行的檢查處理。在此情形中,由於本發明的記憶卡適當地回應MMC支援的所有命令,所以,MMC主控制器藉由將本發明的記憶卡視為MMC以對其存取。此外,由於主控制器設計成用於MMC,所以,控制器不會傳送特定用於SD卡的命令。因此,無論如何,不會有命令交給SD專用控制程式。If the command is specific to the MMC, the command is passed to and processed by the MMC-specific control program. Then, the program returns to the check processing executed by the command check program 24. In this case, since the memory card of the present invention appropriately responds to all commands supported by the MMC, the MMC master controller accesses the memory card of the present invention by considering it as an MMC. In addition, since the main controller is designed for MMC, the controller does not transmit commands specific to the SD card. Therefore, no matter what, there will be no commands given to the SD dedicated control program.

將進一步說明記憶卡插入於SD卡& MMC相容槽的情形。在主控制器支援SD卡及MMC二者的情形中,主控制器需要檢查插入的記憶卡為SD卡或MMC。主控制器藉由傳送特別由SD卡支援的命令或特別由MMC卡支援的命令以及檢查對此傳送的命令之回應,以決定是什麼記憶卡。The case where the memory card is inserted into the SD card & MMC compatible slot will be further explained. In the case where the main controller supports both the SD card and the MMC, the main controller needs to check that the inserted memory card is an SD card or an MMC. The master controller determines what memory card is by transmitting a command specifically supported by the SD card or a command specifically supported by the MMC card and checking the response to the command transmitted.

舉例而言,假使有適當的回應被送回以回應連續傳送的CMDO及CMD1,則主控制器找到MMC,以及,假使有適當的回應被送回以回應連續傳送的CMDO及CMD55,則主控制器找到SD卡。For example, if an appropriate response is sent back in response to the continuously transmitted CMDO and CMD1, the primary controller finds the MMC and, if an appropriate response is sent back in response to the continuously transmitted CMDO and CMD55, then the primary control Find the SD card.

當主控制器連續地傳送特定用於SD卡之CMD0及CMD55時,本發明的記憶卡適當地回應命令。在此情形中,主控制器判定插入的記憶卡為SD卡,之後,藉由使用SD卡所支援命令以存取記憶卡。由於本發明的記憶卡適當地回應命令,所以,主控制器與本發明的記憶卡之間的資料傳輸將被適當地執行。When the main controller continuously transmits CMD0 and CMD55 specific for the SD card, the memory card of the present invention appropriately responds to the command. In this case, the main controller determines that the inserted memory card is an SD card, and then accesses the memory card by using a command supported by the SD card. Since the memory card of the present invention responds appropriately to the command, the data transfer between the main controller and the memory card of the present invention will be properly performed.

藉由相同的符記,當主控制器藉由使用特定用於MMC的命令以決定記憶卡時,本發明的記憶卡適當地作為MMC操作。With the same token, the memory card of the present invention operates properly as an MMC when the master controller determines the memory card by using a command specific to the MMC.

另一實施例係記憶卡設有命令檢查程式、SD卡& SDHC卡共用部份控制程式、SD卡專用控制程式、及SDHC記憶卡專用控制程式。此記憶卡具有與圖8及9中所示的非揮發性記憶卡2實質相同的配置及操作。In another embodiment, the memory card is provided with a command check program, an SD card & SDHC card sharing part control program, an SD card dedicated control program, and an SDHC memory card dedicated control program. This memory card has substantially the same configuration and operation as the non-volatile memory card 2 shown in Figs.

在根據第八實施例之非揮發性記憶卡2中,控制程式可以共用,但是特定用於個別標準的處理命令之控制程式除外。因此可以降低控制程式的全部大小。此外,由於不需要切換控制程式,所以,不需要開關。In the non-volatile memory card 2 according to the eighth embodiment, the control programs can be shared, except for the control program that is specific to the processing commands of the individual standards. Therefore, the overall size of the control program can be reduced. In addition, since there is no need to switch the control program, no switch is required.

在上述實施例中使用的實施例中,控制程式的數目為二個。替代地,可以設置二個以上的控制程式以用於記憶卡,以及,可以執行這些程式之間的切換。即使在此情形中,亦與第一至第六實施例不同,仍然不需要提供增加的開關。In the embodiment used in the above embodiment, the number of control programs is two. Alternatively, more than two control programs can be provided for the memory card, and switching between these programs can be performed. Even in this case, unlike the first to sixth embodiments, it is not necessary to provide an increased switch.

〔非揮發性記憶體的實施例〕[Example of non-volatile memory]

根據上述第一至第八實施例之非揮發性記憶卡2配置成控制裝置具有不同的配置。根據下述之第九至第十五實施例之非揮發性記憶卡2係配置成非揮發性記憶體不同的配置。The non-volatile memory card 2 according to the above first to eighth embodiments is configured such that the control device has a different configuration. The non-volatile memory card 2 according to the ninth to fifteenth embodiments described below is configured in a configuration in which non-volatile memories are different.

如同先前所述般,即使在SDHC記憶卡中實施與SD卡相容的控制器,由於SD卡未支援超過2GB的資料區,所以,設計成支援SD卡的主控制器仍然無法辨認超過4GB的SDHC記憶卡的資料區。根據第九至第十五實施例,非揮發性記憶卡特別用以克服此間題。但是,無需多言,本發明不限於這二種特定型式的卡。As described earlier, even if a controller compatible with an SD card is implemented in an SDHC memory card, since the SD card does not support a data area exceeding 2 GB, the main controller designed to support the SD card cannot recognize more than 4 GB. The data area of the SDHC memory card. According to the ninth to fifteenth embodiments, the non-volatile memory card is particularly useful for overcoming the problems. However, needless to say, the invention is not limited to these two specific types of cards.

在下述第九至第十五實施例中,控制裝置4與多種記憶卡相容。亦即,控制裝置4至少設有用於第一記憶卡的控制裝置之功能(亦即,第一記憶卡相容模式)及用於第二記憶卡的控制裝置之功能(亦即,第二記憶卡相容模式)。舉例而言,控制裝置4至少設有SD卡控制裝置之功能(亦即,SD卡相容模式)及SDHC記憶卡控制裝置之功能(亦即,SDHC記憶卡相容模式)。In the ninth to fifteenth embodiments described below, the control device 4 is compatible with a plurality of memory cards. That is, the control device 4 is provided with at least the function of the control device for the first memory card (ie, the first memory card compatibility mode) and the function of the control device for the second memory card (ie, the second memory) Card compatibility mode). For example, the control device 4 is provided with at least the functions of the SD card control device (ie, the SD card compatibility mode) and the functions of the SDHC memory card control device (ie, the SDHC memory card compatible mode).

〔第九實施例〕[Ninth Embodiment]

圖10是方塊圖,顯示根據本發明的第九實施例之非揮發性記憶卡的內部配置。顯示根據本發明的第九實施例之非揮發性記憶卡2包含控制裝置4及非揮發性記憶體6,非揮發性記憶體6被分成第一記憶卡資料區6a及第二記憶卡資料區6b。Figure 10 is a block diagram showing the internal configuration of a non-volatile memory card in accordance with a ninth embodiment of the present invention. The non-volatile memory card 2 according to the ninth embodiment of the present invention includes a control device 4 and a non-volatile memory 6, and the non-volatile memory 6 is divided into a first memory card data area 6a and a second memory card data area. 6b.

當控制裝置4在第一記憶卡相容模式下操作時,允許對第一記憶卡資料區存取。當控制裝置4在第二記憶卡相容模式下操作時,允許對第二記憶卡資料區存取。When the control device 4 operates in the first memory card compatibility mode, access to the first memory card data area is permitted. Access to the second memory card data area is permitted when the control device 4 is operating in the second memory card compatible mode.

當控制裝置4在第一記憶卡相容模式下操作時,允許對第一記憶卡資料區存取。當控制裝置4在第二記憶卡相容模式下操作時,允許對第二記憶卡資料區存取。When the control device 4 operates in the first memory card compatibility mode, access to the first memory card data area is permitted. Access to the second memory card data area is permitted when the control device 4 is operating in the second memory card compatible mode.

當控制裝置4在第一記憶卡相容模式下操作時,未允許對第二記憶卡資料區存取。當控制裝置4在第二記憶卡相容模式下操作時,未允許對第一記憶卡資料區存取。如此,無法對個別主控制器支援個別記憶卡的系統中的記憶卡之共同資料區存取。資料無法經由此記憶卡而在系統間共用。When the control device 4 operates in the first memory card compatible mode, access to the second memory card data area is not permitted. When the control device 4 operates in the second memory card compatible mode, access to the first memory card data area is not permitted. In this way, it is not possible to access the common data area of the memory card in the system in which the individual host controller supports the individual memory card. Data cannot be shared between systems via this memory card.

在下述中,將說明記憶卡的實施例,其設有用於SD卡的控制裝置之功能及用於SDHC記憶卡的控制裝置之功能。SD卡對應於上述的第一記憶卡,而SDHC卡對應於上述的第二記憶卡。記憶卡的非揮發性記憶體6被分成SD卡資料區6及SDHC記憶卡資料區。In the following, an embodiment of a memory card having a function of a control device for an SD card and a function of a control device for an SDHC memory card will be described. The SD card corresponds to the first memory card described above, and the SDHC card corresponds to the second memory card described above. The non-volatile memory 6 of the memory card is divided into an SD card data area 6 and an SDHC memory card data area.

在此情形中,SD卡主控制器在SD模式下操作,且可以存取小於2GB的SD卡資料區。SDHC記憶卡主控制器在SDHC記憶卡模式下操作,且能存取SDHC記憶卡資料區。In this case, the SD card master controller operates in SD mode and can access an SD card data area of less than 2 GB. The SDHC memory card master controller operates in the SDHC memory card mode and can access the SDHC memory card data area.

但是,如同根據上述第七及第八實施例之非揮發性記憶卡2的情形般,當控制程式自動地切換控制裝置4的功能時,SDHC記憶卡主控制器無法存取SD卡資枓區。因此,無法在具有SD卡主控制器的系統與具有SDHC記憶卡主控制器的系統之間執行資料交換及資料共用。因此,無法在具有SD卡主控制器的系統與具有SDHC記憶卡主控制器的系統之間執行資料交換及資料共用。假使非揮發性記憶卡配置成如同上述第二至第六實施例般,以致於控制裝置4或控制程式被人工地切換,藉由使控制裝置4在SD卡操作模式下操作,SDHC記憶卡主控制器可以使用相當於2GB尺寸的區域,以執行資料交換及資料共用。However, as in the case of the non-volatile memory card 2 according to the seventh and eighth embodiments described above, when the control program automatically switches the function of the control device 4, the SDHC memory card host controller cannot access the SD card asset area. . Therefore, data exchange and data sharing cannot be performed between a system having an SD card host controller and a system having an SDHC memory card host controller. Therefore, data exchange and data sharing cannot be performed between a system having an SD card host controller and a system having an SDHC memory card host controller. If the non-volatile memory card is configured as in the second to sixth embodiments described above, so that the control device 4 or the control program is manually switched, by operating the control device 4 in the SD card operation mode, the SDHC memory card master The controller can use an area equivalent to 2GB to perform data exchange and data sharing.

〔第十實施例〕[Tenth embodiment]

圖11是方塊圖,顯示根據本發明的第十實施例之非揮發性記憶卡的內部配置。根據第十實施例之非揮發性記憶卡與根據第九實施例之非揮發性記憶卡實質上相同。與此實施例相同的元件以相同代號表示,並省略其說明。Figure 11 is a block diagram showing the internal configuration of a non-volatile memory card in accordance with a tenth embodiment of the present invention. The non-volatile memory card according to the tenth embodiment is substantially the same as the non-volatile memory card according to the ninth embodiment. The same elements as those of the embodiment are denoted by the same reference numerals, and the description thereof will be omitted.

根據第十實施例之非揮發性記憶卡2在非揮發性記憶體6中具有單一檔案系統7,非揮發性記憶體6被分成第一記憶卡資料區6a及第二記憶卡資料區6b。The non-volatile memory card 2 according to the tenth embodiment has a single file system 7 in the non-volatile memory 6, and the non-volatile memory 6 is divided into a first memory card data area 6a and a second memory card data area 6b.

當控制裝置4在第一記憶卡相容模式下操作時,允許對第一記憶卡資料區存取。當控制裝置4在第二記憶卡相容模式下操作時,允許對第二記憶卡資料區存取。When the control device 4 operates in the first memory card compatibility mode, access to the first memory card data area is permitted. Access to the second memory card data area is permitted when the control device 4 is operating in the second memory card compatible mode.

當控制裝置4在第二記憶卡相容模式下操作時,由於第一記憶卡資料區6a在檔案系統中以單一碟影像檔存在,所以,要存取檔案系統7中的第一記憶卡資料會需要特別的軟體。因此,具有第二記憶卡主控制器的系統無法直接存取第一記憶卡資料區6a。亦即,由於無法對個別主控制器支援個別記憶上的系統中的記憶卡的共同資料區容易地存取,所以,不容易經由記憶卡以在系統之間共用資料。When the control device 4 operates in the second memory card compatibility mode, since the first memory card data area 6a exists in the file system as a single disk image file, the first memory card data in the file system 7 is accessed. Will need special software. Therefore, the system having the second memory card main controller cannot directly access the first memory card data area 6a. That is, since it is impossible to easily access the common data area of the memory card in the system in which the individual host controller supports the individual memory, it is not easy to share the data between the systems via the memory card.

在下述中,將說明記憶卡的實施例,其設有用於SD卡的控制裝置之功能及用於SDHC記憶卡的控制裝置之功能。SD卡對應於上述的第一記憶卡,而SDHC卡對應於上述的第二記憶卡。非揮發性記憶體在記憶卡的檔案系統中被分成SD卡資料區及SDHC記憶卡資料區。In the following, an embodiment of a memory card having a function of a control device for an SD card and a function of a control device for an SDHC memory card will be described. The SD card corresponds to the first memory card described above, and the SDHC card corresponds to the second memory card described above. Non-volatile memory is divided into SD card data area and SDHC memory card data area in the file system of the memory card.

在此情形中,SD卡主控制器在SD模式下操作,且可以存取小於2GB的SD卡資料區,SD卡資料區在檔案系統中係以碟影像檔存在。SDHC記憶卡主控制器在SDHC記憶卡模式下操作,且能存取SDHC記憶卡資料區。In this case, the SD card main controller operates in the SD mode and can access the SD card data area of less than 2 GB, and the SD card data area exists in the file system in the disc image file. The SDHC memory card master controller operates in the SDHC memory card mode and can access the SDHC memory card data area.

為了存取在SD卡相容模式下儲存的資料,如同根據上述第七及第八實施例之非揮發性記憶卡2的情形般,當控制程式自動地切換控制裝置4的功能時,SDHC記憶卡主控制器需要特別的軟體以存取SD卡資料區中的碟影像檔。因此,無法在具有SD卡主控制器的系統與具有SDHC記憶卡主控制器的系統之間容易地執行資料交換及資料共用。假使非揮發性記憶卡配置成如同上述第二至第六實施例般,以致於控制裝置4或控制程式被人工地切換,藉由使控制裝置4在SD卡操作模式下操作,SDHC記憶卡主控制器可以使用相當於2GB尺寸的區域,以執行資料交換及資料共用。In order to access the data stored in the SD card compatibility mode, as in the case of the non-volatile memory card 2 according to the seventh and eighth embodiments described above, when the control program automatically switches the function of the control device 4, the SDHC memory The card master controller requires special software to access the disc image files in the SD card data area. Therefore, data exchange and data sharing cannot be easily performed between a system having an SD card host controller and a system having an SDHC memory card host controller. If the non-volatile memory card is configured as in the second to sixth embodiments described above, so that the control device 4 or the control program is manually switched, by operating the control device 4 in the SD card operation mode, the SDHC memory card master The controller can use an area equivalent to 2GB to perform data exchange and data sharing.

〔第十一實施例〕[Eleventh Embodiment]

圖12是方塊圖,顯示根據本發明的第十一實施例之非揮發性記憶卡的內部配置。根據第十一實施例之非揮發性記憶卡與根據第十實施例之非揮發性記憶卡實質上相同。與此實施例相同的元件以相同代號表示,並省略其說明。Figure 12 is a block diagram showing the internal configuration of a non-volatile memory card in accordance with an eleventh embodiment of the present invention. The non-volatile memory card according to the eleventh embodiment is substantially the same as the non-volatile memory card according to the tenth embodiment. The same elements as those of the embodiment are denoted by the same reference numerals, and the description thereof will be omitted.

根據第十一實施例之非揮發性記憶卡2在非揮發性記憶體6中具有複數個檔案系統(第一檔案系統7a及第二檔案系統7b),這些檔案系統7a及7b分別設有第一記憶卡資料區6a及第二記憶卡資料區6b。The non-volatile memory card 2 according to the eleventh embodiment has a plurality of file systems (first file system 7a and second file system 7b) in the non-volatile memory 6, and these file systems 7a and 7b are respectively provided with A memory card data area 6a and a second memory card data area 6b.

當控制裝置4在第一記憶卡相容模式下操作時,能夠存取第一檔案系統7a的第一記憶卡資料區6a。當控制裝置4在第二記憶卡相容模式下操作時,假使個別檔案系統7a及7b可以被獨立地辨認,則控制裝置4能夠存取第一檔案系統7a的第一記憶卡資料區6a及第二檔案系統7b的第二記憶卡資料區6b。When the control device 4 operates in the first memory card compatible mode, the first memory card data area 6a of the first file system 7a can be accessed. When the control device 4 operates in the second memory card compatibility mode, if the individual file systems 7a and 7b can be independently recognized, the control device 4 can access the first memory card data area 6a of the first file system 7a and The second memory card data area 6b of the second file system 7b.

在此情形中,具有第一記憶卡主控制器的系統可以在第一記憶卡相容模式下存取單一檔案系統(亦即,第一檔案系統7a)。此外,具有第二記憶卡主控制器的系統可以在第二記憶卡相容模式下存取複數個檔案系統(亦即,第一檔案系統7a及第二檔案系統7b)。In this case, the system having the first memory card master can access the single file system (i.e., the first file system 7a) in the first memory card compatible mode. In addition, the system having the second memory card host controller can access a plurality of file systems (i.e., the first file system 7a and the second file system 7b) in the second memory card compatible mode.

此處將考慮記憶卡的實施例,如圖17所示,其設有用於SD卡的控制裝置之功能及用於SDHC記憶卡的控制裝置的功能。在圖17中所示的非揮發性記憶卡2A的非揮發性記憶體中,第一檔案系統7a’設有SD卡資料區6a’,第二檔案系統7b’設有SDHC記憶卡資料區6b’。An embodiment of the memory card will be considered here, as shown in Fig. 17, which is provided with the functions of the control means for the SD card and the functions of the control means for the SDHC memory card. In the non-volatile memory of the non-volatile memory card 2A shown in FIG. 17, the first file system 7a' is provided with an SD card data area 6a', and the second file system 7b' is provided with an SDHC memory card data area 6b. '.

在此情形中,具有SD卡主控制器的系統在SD模式下操作,且可以存取設於第一檔案系統7a’中且被偵測為某驅動器(例如Y驅動器)之小於2GB的SD卡資料區6a’。In this case, the system with the SD card master controller operates in the SD mode and can access an SD card of less than 2 GB that is located in the first file system 7a' and detected as a drive (eg, a Y drive). Data area 6a'.

此外,具有SDHC記憶卡主控制器的系統在SDHC記憶卡模式下操作,且可以存取設於第二檔案系統7b’中且被偵測為另一驅動器(例如X驅動器)之SDHC記憶卡資料區6b’。此外,設於第一檔案系統7a’中小於2GB的SD卡資料區6a’偵測為Y驅動器)且可存取。亦即,SD卡資料區6a’及SDHC記憶卡資料區6b’被偵測為二個分別的驅動器。In addition, the system with the SDHC memory card main controller operates in the SDHC memory card mode, and can access the SDHC memory card data set in the second file system 7b' and detected as another drive (for example, an X drive). District 6b'. Further, the SD card data area 6a' of less than 2 GB provided in the first file system 7a' is detected as a Y drive) and is accessible. That is, the SD card data area 6a' and the SDHC memory card data area 6b' are detected as two separate drivers.

因此,能夠在具有SD卡主控制器的系統與具有SDHC記憶卡主控制器的系統之間容易地執行資料交換,藉以經由單一記憶卡而提供資料共用。Therefore, data exchange can be easily performed between a system having an SD card host controller and a system having an SDHC memory card host controller, thereby providing data sharing via a single memory card.

在根據第十一實施例的非揮發性記憶卡2中,檔案系統分成複數件。SD卡資料區可以設置在單一檔案系統中(如第十實施例般)及此資料區被偵測為與SDHC記憶上資料區的驅動器不同的驅動器。根據此配置,取得與第十一實施例的非揮發性記憶卡2相同的功能及結果。In the non-volatile memory card 2 according to the eleventh embodiment, the file system is divided into a plurality of pieces. The SD card data area can be set in a single file system (as in the tenth embodiment) and the data area is detected as a different drive than the drive on the SDHC memory data area. According to this configuration, the same functions and results as those of the nonvolatile memory card 2 of the eleventh embodiment are obtained.

〔第十二實施例〕[Twelfth Embodiment]

圖13是方塊圖,顯示根據本發明的第十二實施例之非揮發性記憶卡的內部配置。根據第十二實施例之非揮發性記憶卡與根據第十一實施例之非揮發性記憶卡實質上相同。與此實施例相同的元件以相同代號表示,並省略其說明。Figure 13 is a block diagram showing the internal configuration of a non-volatile memory card in accordance with a twelfth embodiment of the present invention. The non-volatile memory card according to the twelfth embodiment is substantially the same as the non-volatile memory card according to the eleventh embodiment. The same elements as those of the embodiment are denoted by the same reference numerals, and the description thereof will be omitted.

根據第十二實施例之非揮發性記憶卡2具有非揮發性記憶體6,非揮發性記憶體6被分成複數個分區。這些分區設有個別的檔案系統(第一檔案系統7a及第二檔案系統7b),這些檔案系統7a及7b分別設有第一記憶卡資料區6a及第二記憶卡資料區6b。The non-volatile memory card 2 according to the twelfth embodiment has a non-volatile memory 6, and the non-volatile memory 6 is divided into a plurality of partitions. These partitions are provided with individual file systems (first file system 7a and second file system 7b). These file systems 7a and 7b are respectively provided with a first memory card data area 6a and a second memory card data area 6b.

當控制裝置4在第一記憶卡相容模式下操作時,能夠存取第一檔案系統7a的第一記憶卡資料區6a。當控制裝置4在第二記憶卡相容模式下操作時,能夠存取第二檔案系統的第二記憶卡資料區。此外,第一檔案系統7a的第一記憶卡資料區6a被分配給第二檔案系統7b中的特定目錄,因而能夠不直接地經由第二檔案系統7b而存取第一記憶卡資料區6a。When the control device 4 operates in the first memory card compatible mode, the first memory card data area 6a of the first file system 7a can be accessed. When the control device 4 operates in the second memory card compatible mode, the second memory card data area of the second file system can be accessed. Further, the first memory card data area 6a of the first file system 7a is assigned to a specific directory in the second file system 7b, so that the first memory card data area 6a can be accessed without directly via the second file system 7b.

在此情形中,具有第一記憶卡主控制器的系統可以在第一記憶卡相容模式下存取單一檔案系統(亦即,第一檔案系統7a)。此外,具有第二記憶卡主控制器的系統可以在第二記憶卡相容模式下經由單一檔案系統(亦即,第二檔案系統7b)存取這二個記憶卡資料區。In this case, the system having the first memory card master can access the single file system (i.e., the first file system 7a) in the first memory card compatible mode. In addition, the system having the second memory card master controller can access the two memory card data areas via the single file system (i.e., the second file system 7b) in the second memory card compatible mode.

此處將考慮記憶卡的實施例,如圖18所示,其設有用於SD卡的控制裝置之功能及用於SDHC記憶卡的控制裝置的功能。在圖18中所示的非揮發性記憶卡2A的非揮發性記憶體6A被分成複數個分區。這些分區包含個別的檔案系統(亦即,第一檔案系統7a’及第二檔案系統7b’)。第一檔案系統7a’設有SD卡資料區6a’,第二檔案系統7b’設有SDHC記憶卡資料區6b’。An embodiment of the memory card will be considered here, as shown in Fig. 18, which is provided with the functions of the control means for the SD card and the functions of the control means for the SDHC memory card. The non-volatile memory 6A of the non-volatile memory card 2A shown in Fig. 18 is divided into a plurality of partitions. These partitions contain individual file systems (i.e., first file system 7a' and second file system 7b'). The first file system 7a' is provided with an SD card data area 6a', and the second file system 7b' is provided with an SDHC memory card data area 6b'.

在此情形中,具有SD卡主控制器的系統在SD模式下操作,且可以存取設於第一檔案系統7a’中且被偵測為某驅動器(例如Y驅動器)之小於2GB的SD卡資料區6a’。In this case, the system with the SD card master controller operates in the SD mode and can access an SD card of less than 2 GB that is located in the first file system 7a' and detected as a drive (eg, a Y drive). Data area 6a'.

此外,具有SDHC記憶卡主控制器的系統在SDHC記憶卡模式下操作,且可以存取設於第二檔案系統7b’中且被偵測為另一驅動器(例如X驅動器)之SDHC記憶卡資料區6b’。小於2GB的SD卡資料區6a’分配給設有SDHC記憶卡資料區6b’的第二檔案系統7b’中的目錄SDFILES。根據此配置,具有SDHC記憶卡主控制器的系統可以存取SD卡資料區6a’。In addition, the system with the SDHC memory card main controller operates in the SDHC memory card mode, and can access the SDHC memory card data set in the second file system 7b' and detected as another drive (for example, an X drive). District 6b'. The SD card data area 6a' of less than 2 GB is allocated to the directory SDFILES in the second file system 7b' where the SDHC memory card data area 6b' is provided. According to this configuration, the system having the SDHC memory card main controller can access the SD card data area 6a'.

亦即,存取第二檔案系統7b’而能夠存取具有SD卡資料區的第一檔案系統。因此,能夠在具有SD卡主控制器的系統與具有SDHC記憶卡主控制器的系統之間容易地執行資料交換,藉以經由單一記憶卡而提供資料共用。That is, the second file system 7b' is accessed to access the first file system having the SD card data area. Therefore, data exchange can be easily performed between a system having an SD card host controller and a system having an SDHC memory card host controller, thereby providing data sharing via a single memory card.

在根據第十二實施例的非揮發性記憶卡2中,檔案系統分成複數件。SD卡資料區可以設置在單一檔案系統中(如第十實施例般)及此資料區被辨認為第二檔案系統中的目錄。根據此配置,取得與第十二實施例的非揮發性記憶卡2相同的功能及結果。In the non-volatile memory card 2 according to the twelfth embodiment, the file system is divided into a plurality of pieces. The SD card data area can be set in a single file system (as in the tenth embodiment) and the data area is identified as a directory in the second file system. According to this configuration, the same functions and results as those of the nonvolatile memory card 2 of the twelfth embodiment are obtained.

〔第十三實施例〕[Thirteenth Embodiment]

圖14是方塊圖,顯示根據本發明的第十三實施例之非揮發性記憶卡的內部配置。根據第十三實施例之非揮發性記憶卡與根據第十二實施例之非揮發性記憶卡實質上相同。與此實施例相同的元件以相同代號表示,並省略其說明。Figure 14 is a block diagram showing the internal configuration of a non-volatile memory card in accordance with a thirteenth embodiment of the present invention. The non-volatile memory card according to the thirteenth embodiment is substantially the same as the non-volatile memory card according to the twelfth embodiment. The same elements as those of the embodiment are denoted by the same reference numerals, and the description thereof will be omitted.

根據第十三實施例之非揮發性記憶卡2具有非揮發性記憶體6,非揮發性記憶體6被分成複數個分區。這些分區設有個別的檔案系統(第一檔案系統7a及第二檔案系統7b),這些檔案系統7a及7b分別設有第一記憶卡資料區6a及第二記憶卡資料區6b。The non-volatile memory card 2 according to the thirteenth embodiment has a non-volatile memory 6, and the non-volatile memory 6 is divided into a plurality of partitions. These partitions are provided with individual file systems (first file system 7a and second file system 7b). These file systems 7a and 7b are respectively provided with a first memory card data area 6a and a second memory card data area 6b.

當控制裝置4在第一記憶卡相容模式下操作時,能夠存取第一檔案系統7a的第一記憶卡資料區6a。當控制裝置4在第二記憶卡相容模式下操作時,能夠存取第二檔案系統的第二記憶卡資料區。此外,第一檔案系統7a的第一記憶卡資料區6a被分配給第二檔案系統7b中的特定目錄,因而能夠不直接地經由第二檔案系統7b而存取第一記憶卡資料區6a。When the control device 4 operates in the first memory card compatible mode, the first memory card data area 6a of the first file system 7a can be accessed. When the control device 4 operates in the second memory card compatible mode, the second memory card data area of the second file system can be accessed. Further, the first memory card data area 6a of the first file system 7a is assigned to a specific directory in the second file system 7b, so that the first memory card data area 6a can be accessed without directly via the second file system 7b.

在第二記憶卡相容模式下操作,舉例而言,第一記憶卡資料區6a作為單一碟影像檔案存在於第二檔案系統中。因此,需要特別的軟體以存取此影像檔的第一記憶卡資料(區),因而具有第二記憶卡主控制器的系統無法取得直接存取。亦即,由於具有個別主控制器的系統無法容易地存取非揮發性記憶體的共同資料區,所以,不容易經由此記憶卡而在系統之間共用資料。Operating in the second memory card compatible mode, for example, the first memory card data area 6a exists as a single disc image file in the second file system. Therefore, special software is required to access the first memory card data (area) of the image file, and thus the system having the second memory card main controller cannot obtain direct access. That is, since a system having an individual host controller cannot easily access a common data area of the non-volatile memory, it is not easy to share data between the systems via the memory card.

此處將考慮記憶卡的實施例,如圖19所示,其設有用於SD卡的控制裝置之功能及用於SDHC記憶卡的控制裝置的功能。在圖19中所示的非揮發性記憶卡2A的非揮發性記憶體6A被分成複數個分區,這些分區包含個別的檔案系統(亦即,第一檔案系統7a’及第二檔案系統7b’)。第一檔案系統7a’設有SD卡資料區6a’,第二檔案系統7b’設有SDHC記憶卡資料區6b’。An embodiment of the memory card will be considered here, as shown in Fig. 19, which is provided with the functions of the control means for the SD card and the functions of the control means for the SDHC memory card. The non-volatile memory 6A of the non-volatile memory card 2A shown in Fig. 19 is divided into a plurality of partitions including individual file systems (i.e., the first file system 7a' and the second file system 7b'. ). The first file system 7a' is provided with an SD card data area 6a', and the second file system 7b' is provided with an SDHC memory card data area 6b'.

在此情形中,具有SD卡主控制器的系統在SD模式下操作,且可以存取設於第一檔案系統7a’中且被偵測為某驅動器(例如Y驅動器)之小於2GB的SD卡資料區6a’。In this case, the system with the SD card master controller operates in the SD mode and can access an SD card of less than 2 GB that is located in the first file system 7a' and detected as a drive (eg, a Y drive). Data area 6a'.

此外,具有SDHC記憶卡主控制器的系統在SDHC記憶卡模式下操作,且可以存取設於第二檔案系統7b’中且被偵測為另一驅動器(例如X驅動器)之SDHC記憶卡資料區6b’。小於2GB的SD卡資料區6a’分配給設有SDHC記憶卡資料區6b’的第二檔案系統7b’中的檔案SD.IMG。根據此配置,具有SDHC記憶卡主控制器的系統可以存取SD卡資料區6a’。In addition, the system with the SDHC memory card main controller operates in the SDHC memory card mode, and can access the SDHC memory card data set in the second file system 7b' and detected as another drive (for example, an X drive). District 6b'. The SD card data area 6a' of less than 2 GB is allocated to the file SD.IMG in the second file system 7b' where the SDHC memory card data area 6b' is provided. According to this configuration, the system having the SDHC memory card main controller can access the SD card data area 6a'.

但是,應注意,由於檔案SD.IMG以碟影像檔案存在,所以,存取此影像檔案的SD卡資料(區)需要特別的軟體。亦即,具有SDHC記憶卡主控制器的系統無法直接存取SD卡資料(區)。換言之,由於具有個別主控制器的系統無法容易地存取非揮發性記憶體的共同資料區,所以,無法容易地經由此記憶卡而在系統之間共用資料。However, it should be noted that since the file SD.IMG exists as a disc image file, access to the SD card data (area) of this image file requires special software. That is, a system having an SDHC memory card host controller cannot directly access SD card data (area). In other words, since a system having an individual host controller cannot easily access the common data area of the non-volatile memory, it is not easy to share data between the systems via the memory card.

假使非揮發性記憶卡配置成如同上述第二至第六實施例般,以致於控制裝置4或控制程式被人工地切換,藉由使控制裝置4在SD卡操作模式下操作,SDHC記憶卡主控制器可以使用相當於2GB尺寸的區域,以執行資料交換及資料共用。If the non-volatile memory card is configured as in the second to sixth embodiments described above, so that the control device 4 or the control program is manually switched, by operating the control device 4 in the SD card operation mode, the SDHC memory card master The controller can use an area equivalent to 2GB to perform data exchange and data sharing.

〔第十四實施例〕[Fourteenth Embodiment]

圖15是方塊圖,顯示根據本發明的第十四實施例之非揮發性記憶卡的內部配置。根據第十四實施例之非揮發性記憶卡與根據第十三實施例之非揮發性記憶卡實質上相同。與此實施例相同的元件以相同代號表示,並省略其說明。Figure 15 is a block diagram showing the internal configuration of a non-volatile memory card in accordance with a fourteenth embodiment of the present invention. The nonvolatile memory card according to the fourteenth embodiment is substantially the same as the nonvolatile memory card according to the thirteenth embodiment. The same elements as those of the embodiment are denoted by the same reference numerals, and the description thereof will be omitted.

根據第十三實施例之非揮發性記憶卡2具有非揮發性記憶體6,非揮發性記憶體6被分成複數個分區。這些分區設有個別的檔案系統(第一檔案系統7a及第二檔案系統7b),這些檔案系統7a及7b分別設有第一記憶卡資料區6a及第二記憶卡資料區6b。The non-volatile memory card 2 according to the thirteenth embodiment has a non-volatile memory 6, and the non-volatile memory 6 is divided into a plurality of partitions. These partitions are provided with individual file systems (first file system 7a and second file system 7b). These file systems 7a and 7b are respectively provided with a first memory card data area 6a and a second memory card data area 6b.

當控制裝置4在第一記憶卡相容模式下操作時,能夠存取第一檔案系統7a的第一記憶卡資料區6a。當控制裝置4在第二記憶卡相容模式下操作時,能夠存取第二檔案系統的第二記憶卡資料區。此外,第一檔案系統7a的第一記憶卡資料區6a被分配給第二檔案系統7b中的特定一般用途壓縮檔案,因而能夠不直接地經由第二檔案系統7b而存取第一記憶卡資料區6a。When the control device 4 operates in the first memory card compatible mode, the first memory card data area 6a of the first file system 7a can be accessed. When the control device 4 operates in the second memory card compatible mode, the second memory card data area of the second file system can be accessed. In addition, the first memory card data area 6a of the first file system 7a is assigned to a specific general purpose compressed file in the second file system 7b, so that the first memory card data can be accessed without directly via the second file system 7b. District 6a.

在此情形中,當使用第二記憶卡相容模式時,第一記憶卡資料區6a作為壓縮檔案存在於第二檔案系統中。因此,需要操作壓縮檔案的特別軟體以存取此壓縮檔案的第一記憶卡資料(區),因此,具有第二記憶卡主控制器的系統無法取得直接存取。In this case, when the second memory card compatibility mode is used, the first memory card data area 6a exists as a compressed file in the second file system. Therefore, it is necessary to operate the special software of the compressed file to access the first memory card data (area) of the compressed file, and therefore, the system having the second memory card main controller cannot obtain direct access.

雖然檔案為一般用途的壓縮檔案,但是,無需界定檔案的格式。與第十實施例及第十一實施例相反,具有個別主控制器的系統相當容易存取非揮發性記憶體的共同資料區,所以,較容易經由此記憶卡而在系統之間共用資料。Although the file is a general purpose compressed file, there is no need to define the format of the file. In contrast to the tenth embodiment and the eleventh embodiment, a system having an individual host controller is relatively easy to access the common data area of the non-volatile memory, so that it is easier to share data between the systems via the memory card.

此處將考慮記憶卡的實施例,如圖20所示,其設有用於SD卡的控制裝置之功能及用於SDHC記憶卡的控制裝置的功能。在圖20中所示的非揮發性記憶卡2A的非揮發性記憶體6A被分成複數個分區,這些分區包含個別的檔案系統(亦即,第一檔案系統7a’及第二檔案系統7b’)。第一檔案系統7a’設有SD卡資料區6a’,第二檔案系統7b’設有SDHC記憶卡資料區6b’。An embodiment of the memory card will be considered here, as shown in Fig. 20, which is provided with the functions of the control means for the SD card and the functions of the control means for the SDHC memory card. The non-volatile memory 6A of the non-volatile memory card 2A shown in Fig. 20 is divided into a plurality of partitions including individual file systems (i.e., the first file system 7a' and the second file system 7b'. ). The first file system 7a' is provided with an SD card data area 6a', and the second file system 7b' is provided with an SDHC memory card data area 6b'.

在此情形中,具有SD卡主控制器的系統在SD模式下操作,且可以存取設於第一檔案系統7a’中且被偵測為某驅動器(例如Y驅動器)之小於2GB的SD卡資料區6a’。In this case, the system with the SD card master controller operates in the SD mode and can access an SD card of less than 2 GB that is located in the first file system 7a' and detected as a drive (eg, a Y drive). Data area 6a'.

此外,具有SDHC記憶卡主控制器的系統在SDHC記憶卡模式下操作,且可以存取設於第二檔案系統7b’中且被偵測為另一驅動器(例如X驅動器)之SDHC記憶卡資料區6b’。小於2GB的SD卡資料區6a’分配給設有SDHC記憶卡資料區6b’的第二檔案系統7b’中的檔案SD.ZIP。根據此配置,具有SDHC記憶卡主控制器的系統可以存取SD卡資料區6a’。In addition, the system with the SDHC memory card main controller operates in the SDHC memory card mode, and can access the SDHC memory card data set in the second file system 7b' and detected as another drive (for example, an X drive). District 6b'. The SD card data area 6a' of less than 2 GB is allocated to the file SD.ZIP in the second file system 7b' where the SDHC memory card data area 6b' is provided. According to this configuration, the system having the SDHC memory card main controller can access the SD card data area 6a'.

由於檔案SD.ZIP以壓縮檔案存在,所以,存取此壓縮檔案的SD卡資料(區)需要操作壓縮檔案的特別軟體。亦即,具有SDHC記憶卡主控制器的系統無法直接存取SD卡資料(區)。Since the file SD.ZIP exists as a compressed file, accessing the SD card data (area) of this compressed file requires special software for operating the compressed file. That is, a system having an SDHC memory card host controller cannot directly access SD card data (area).

由於ZIP檔案為一般用途的壓縮檔案,但是,無需界定檔案的格式。與第十實施例及第十一實施例相反,具有個別主控制器的系統相當容易存取非揮發性記憶體的共同資料區,所以,較容易經由此記憶卡而在系統之間共用資料。Since the ZIP file is a general-purpose compressed file, there is no need to define the format of the file. In contrast to the tenth embodiment and the eleventh embodiment, a system having an individual host controller is relatively easy to access the common data area of the non-volatile memory, so that it is easier to share data between the systems via the memory card.

在根據第十四實施例的非揮發性記憶卡2中,檔案系統分成複數件。SD卡資料區可以設置在單一檔案系統中(如第十實施例般)及此資料區被辨認為例如AIP等第二檔案系統中的壓縮檔。根據此配置,取得與第十四實施例的非揮發性記憶卡2相同的功能及結果。In the non-volatile memory card 2 according to the fourteenth embodiment, the file system is divided into a plurality of pieces. The SD card data area can be set in a single file system (as in the tenth embodiment) and the data area is identified as a compressed file in a second file system such as AIP. According to this configuration, the same functions and results as those of the nonvolatile memory card 2 of the fourteenth embodiment are obtained.

〔第十五實施例〕[Fifteenth Embodiment]

圖16是方塊圖,顯示根據本發明的第十五實施例之非揮發性記憶卡的內部配置。根據第十五實施例之非揮發性記憶卡與根據第十四實施例之非揮發性記憶卡實質上相同。與此實施例相同的元件以相同代號表示,並省略其說明。Figure 16 is a block diagram showing the internal configuration of a non-volatile memory card in accordance with a fifteenth embodiment of the present invention. The nonvolatile memory card according to the fifteenth embodiment is substantially the same as the nonvolatile memory card according to the fourteenth embodiment. The same elements as those of the embodiment are denoted by the same reference numerals, and the description thereof will be omitted.

根據第十四實施例之非揮發性記憶卡2在非揮發性記憶體中具有複數個檔案系統(第一檔案系統7a及第二檔案系統7b),這些檔案系統7a及7b分別設有第一記憶卡資料區6a及第二記憶卡資料區6b。The non-volatile memory card 2 according to the fourteenth embodiment has a plurality of file systems (first file system 7a and second file system 7b) in the non-volatile memory, and the file systems 7a and 7b are respectively provided with the first The memory card data area 6a and the second memory card data area 6b.

當控制裝置4在第一記憶卡相容模式下操作時,能夠存取第一檔案系統7a的第一記憶卡資料區6a。當控制裝置4在第二記憶卡相容模式下操作時,能夠存取第二檔案系統的第二記憶卡資料區。此外,當控制裝置4在第二記憶卡相容模式下操作時,藉由使用既不是第一記憶卡也不是第二記憶卡所使用的命令,能夠存取第一檔案系統7a的第一記憶卡資料區6a。When the control device 4 operates in the first memory card compatible mode, the first memory card data area 6a of the first file system 7a can be accessed. When the control device 4 operates in the second memory card compatible mode, the second memory card data area of the second file system can be accessed. In addition, when the control device 4 operates in the second memory card compatibility mode, the first memory of the first file system 7a can be accessed by using a command that is neither the first memory card nor the second memory card. Card data area 6a.

在此情形中,具有第一記憶卡主控制器的系統可以在第一記憶卡相容模式下存取單一檔案系統(亦即,第一檔案系統7a)。具有第二記憶卡主控制器的系統可以在第二記憶卡相容模式下存取複數個檔案系統。但是,當使用第一記憶卡與第二記憶卡均不支援的命令時,與這二個記憶卡的相容性無法再維持。In this case, the system having the first memory card master can access the single file system (i.e., the first file system 7a) in the first memory card compatible mode. A system having a second memory card master can access a plurality of file systems in a second memory card compatible mode. However, when a command that is not supported by both the first memory card and the second memory card is used, the compatibility with the two memory cards cannot be maintained.

此處將考慮記憶卡的實施例,如圖21所示,其設有用於SD卡的控制裝置之功能及用於SDHC記憶卡的控制裝置的功能。在圖21中所示的非揮發性記憶卡2A的非揮發性記憶體6A包含複數個檔案系統(亦即,第一檔案系統7a’及第二檔案系統7b’)。第一檔案系統7a’設有SD卡資料區6a’,第二檔案系統7b’設有SDHC記憶卡資料區6b’。An embodiment of the memory card will be considered here, as shown in Fig. 21, which is provided with the functions of the control means for the SD card and the functions of the control means for the SDHC memory card. The non-volatile memory 6A of the non-volatile memory card 2A shown in Fig. 21 includes a plurality of file systems (i.e., the first file system 7a' and the second file system 7b'). The first file system 7a' is provided with an SD card data area 6a', and the second file system 7b' is provided with an SDHC memory card data area 6b'.

在此情形中,具有SD卡主控制器的系統在SD模式下操作,且可以存取設於第一檔案系統7a’中且被偵測為某驅動器(例如Y驅動器)之小於2GB的SD卡資料區6a’。In this case, the system with the SD card master controller operates in the SD mode and can access an SD card of less than 2 GB that is located in the first file system 7a' and detected as a drive (eg, a Y drive). Data area 6a'.

此外,具有SDHC記憶卡主控制器的系統在SDHC記憶卡模式下操作,且可以存取設於第二檔案系統7b’中且被偵測為另一驅動器(例如X驅動器)之SDHC記憶卡資料區6b’。此外,當使用SD卡與SDHC記憶卡均不支援的命令以存取SDHC記憶卡時,設在第一檔案系統7a’中小於2GB的SD卡資料區6a’被偵測為Y驅動器並被存取。亦即,SD卡資料區及SDHC記憶卡資料區被偵測(辨認)為二個個別的驅動器。In addition, the system with the SDHC memory card main controller operates in the SDHC memory card mode, and can access the SDHC memory card data set in the second file system 7b' and detected as another drive (for example, an X drive). District 6b'. In addition, when a command that is not supported by the SD card and the SDHC memory card is used to access the SDHC memory card, the SD card data area 6a' of less than 2 GB set in the first file system 7a' is detected as the Y drive and is stored. take. That is, the SD card data area and the SDHC memory card data area are detected (identified) as two individual drives.

因此,能夠在具有SD卡主控制器的系統與具有SDHC記憶卡主控制器的系統之間容易地執行資料交換,藉以經由單一記憶卡而提供資料共用。但是,應注意,由於使用SD卡與SDHC記憶卡均不支援的命令,所以需要使用不符合SDHC主控制器中的SDHC記憶卡的控制程式。Therefore, data exchange can be easily performed between a system having an SD card host controller and a system having an SDHC memory card host controller, thereby providing data sharing via a single memory card. However, it should be noted that since the commands that are not supported by the SD card and the SDHC memory card are used, it is necessary to use a control program that does not conform to the SDHC memory card in the SDHC main controller.

在根據第十五實施例的非揮發性記憶卡2中,檔案系統分成複數件。SD卡資料區可以設置在單一檔案系統中(如第十實施例般)及此資料區被偵測為與用於第二檔案系統7b的驅動器不同的驅動器,以回應SD卡與SDHC記憶卡均不支援的命令。根據此配置,取得與第十五實施例的非揮發性記憶卡2相同的功能及結果。In the non-volatile memory card 2 according to the fifteenth embodiment, the file system is divided into a plurality of pieces. The SD card data area can be set in a single file system (as in the tenth embodiment) and the data area is detected as a different drive than the one used for the second file system 7b in response to both the SD card and the SDHC memory card. Unsupported command. According to this configuration, the same functions and results as those of the nonvolatile memory card 2 of the fifteenth embodiment are obtained.

此外,如同第十二、第十三、或第十四實施例中般,可以被分配目錄或檔案以取代驅動器。Further, as in the twelfth, thirteenth, or fourteenth embodiment, a directory or file may be assigned instead of the drive.

雖然已參考實施例來說明本發明,但是,本發明不限於這些實施例,在不悖離後附的申請專利範圍中的發明範圍之下,可以產生不同的變化及修改。While the present invention has been described with reference to the embodiments, the present invention is not limited thereto, and various changes and modifications may be made without departing from the scope of the invention.

本申請案是根據2006年9月5日向日本專利局申請的日本優先權申請號2006-240294,於此一併列入參考。The present application is based on Japanese Priority Application No. 2006-240294 filed on Sep.

2...非揮發性記憶卡2. . . Non-volatile memory card

2A...非揮發性記憶卡2A. . . Non-volatile memory card

4...控制裝置4. . . Control device

4a...第一控制裝置4a. . . First control device

4b...第二控制裝置4b. . . Second control device

6...非揮發性記憶體6. . . Non-volatile memory

6a...第一記憶卡資料區6a. . . First memory card data area

6b...第二記憶卡資料區6b. . . Second memory card data area

6a’...SD卡資料區6a’. . . SD card data area

6b’...SDHC卡資料區6b’. . . SDHC card data area

7...檔案系統7. . . File system

7a...第一檔案系統7a. . . First file system

7b...第二檔案系統7b. . . Second file system

7a’...第一檔案系統7a’. . . First file system

7b’...第二檔案系統7b’. . . Second file system

8...程式儲存記憶體8. . . Program storage memory

10...初始化程式10. . . Initializer

10A...初始化程式10A. . . Initializer

12a...第一記憶卡控制程式12a. . . First memory card control program

12b...第二記憶卡控制程式12b. . . Second memory card control program

17...開關17. . . switch

20...中斷處理程式20. . . Interrupt handler

24...命令檢查程式twenty four. . . Command checker

26...記憶卡共用部份控制程式26. . . Memory card sharing part control program

30a...第一記憶卡專用控制程式30a. . . First memory card dedicated control program

30b...第二記憶卡專用控制程式30b. . . Second memory card dedicated control program

圖1是方塊圖,顯示根據本發明的第一實施例之非揮發性記憶卡的內部配置。1 is a block diagram showing the internal configuration of a non-volatile memory card according to a first embodiment of the present invention.

圖2A及2B是方塊圖,顯示根據本發明的第二實施例之非揮發性記憶卡的內部配置。2A and 2B are block diagrams showing the internal configuration of a nonvolatile memory card in accordance with a second embodiment of the present invention.

圖3A及3B是方塊圖,顯示根據本發明的第三實施例之非揮發性記憶卡的內部配置。3A and 3B are block diagrams showing the internal configuration of a nonvolatile memory card in accordance with a third embodiment of the present invention.

圖4A是方塊圖,顯示根據本發明的第四實施例之非揮發性記憶卡的內部配置。Figure 4A is a block diagram showing the internal configuration of a non-volatile memory card in accordance with a fourth embodiment of the present invention.

圖4B是流程圖,顯示中斷處理程式的程序,其選取開關17設定時用於記憶卡的控制程式。Fig. 4B is a flow chart showing the program of the interrupt processing program which selects the control program for the memory card when the switch 17 is set.

圖5A是方塊圖,顯示根據本發明的第五實施例之非揮發性記憶卡的內部配置。Figure 5A is a block diagram showing the internal configuration of a non-volatile memory card in accordance with a fifth embodiment of the present invention.

圖5B是流程圖,顯示初始化程式的程序,其在重設時選取用於記憶卡的控制程式;圖6A是方塊圖,顯示根據本發明的第六實施例之非揮發性記憶卡的內部配置。5B is a flowchart showing a program of an initialization program for selecting a control program for a memory card at the time of resetting; FIG. 6A is a block diagram showing the internal configuration of the non-volatile memory card according to the sixth embodiment of the present invention. .

圖6B是流程圖,顯示控制裝置的操作,其在接收來自主控制器的重設命令時選取用於記憶卡的控制程式;圖7A是方塊圖,顯示根據本發明的第七實施例之非揮發性記憶卡的內部配置。6B is a flowchart showing the operation of the control device which selects a control program for the memory card upon receiving the reset command from the main controller; FIG. 7A is a block diagram showing the seventh embodiment according to the present invention. Internal configuration of the volatile memory card.

圖7B是流程圖,顯示控制裝置的操作,其藉由分析主控制器的存取通信協定,選取用於記憶卡的控制程式。Fig. 7B is a flow chart showing the operation of the control means for selecting a control program for the memory card by analyzing the access communication protocol of the main controller.

圖8是方塊圖,顯示根據本發明的第八實施例之非揮發性記憶卡的內部配置。Figure 8 is a block diagram showing the internal configuration of a non-volatile memory card in accordance with an eighth embodiment of the present invention.

圖9是流程圖,顯示記憶卡的控制裝置4的操作。Figure 9 is a flow chart showing the operation of the control device 4 of the memory card.

圖10是方塊圖,顯示根據本發明的第九實施例之非揮發性記憶卡的內部配置。Figure 10 is a block diagram showing the internal configuration of a non-volatile memory card in accordance with a ninth embodiment of the present invention.

圖11是方塊圖,顯示根據本發明的第十實施例之非揮發性記憶卡的內部配置。Figure 11 is a block diagram showing the internal configuration of a non-volatile memory card in accordance with a tenth embodiment of the present invention.

圖12是方塊圖,顯示根據本發明的第十一實施例之非揮發性記憶卡的內部配置。Figure 12 is a block diagram showing the internal configuration of a non-volatile memory card in accordance with an eleventh embodiment of the present invention.

圖13是方塊圖,顯示根據本發明的第十二實施例之非揮發性記憶卡的內部配置。Figure 13 is a block diagram showing the internal configuration of a non-volatile memory card in accordance with a twelfth embodiment of the present invention.

圖14是方塊圖,顯示根據本發明的第十三實施例之非揮發性記憶卡的內部配置。Figure 14 is a block diagram showing the internal configuration of a non-volatile memory card in accordance with a thirteenth embodiment of the present invention.

圖15是方塊圖,顯示根據本發明的第十四實施例之非揮發性記憶卡的內部配置。Figure 15 is a block diagram showing the internal configuration of a non-volatile memory card in accordance with a fourteenth embodiment of the present invention.

圖16是方塊圖,顯示根據本發明的第十五實施例之非揮發性記憶卡的內部配置。Figure 16 is a block diagram showing the internal configuration of a non-volatile memory card in accordance with a fifteenth embodiment of the present invention.

圖17顯示記憶卡,其具有用於SD卡的控制裝置之功能及用於SDHC記憶卡的控制裝置的功能。Figure 17 shows a memory card having the functions of a control device for the SD card and the functions of the control device for the SDHC memory card.

圖18顯示記憶卡,其具有用於SD卡的控制裝置之功能及用於SDHC記憶卡的控制裝置的功能。Figure 18 shows a memory card having the functions of a control device for the SD card and the functions of the control device for the SDHC memory card.

圖19顯示記憶卡,其具有用於SD卡的控制裝置之功能及用於SDHC記憶卡的控制裝置的功能。Figure 19 shows a memory card having the functions of a control device for the SD card and the functions of the control device for the SDHC memory card.

圖20顯示記憶卡,其具有用於SD卡的控制裝置之功能及用於SDHC記憶卡的控制裝置的功能。Figure 20 shows a memory card having the functions of a control device for the SD card and the functions of the control device for the SDHC memory card.

圖21顯示記憶卡,其具有用於SD卡的控制裝置之功能及用於SDHC記憶卡的控制裝置的功能。Figure 21 shows a memory card having the functions of a control device for the SD card and the functions of the control device for the SDHC memory card.

2...非揮發性記憶卡2. . . Non-volatile memory card

4...控制裝置4. . . Control device

6...非揮發性記憶體6. . . Non-volatile memory

8...程式儲存記憶體8. . . Program storage memory

10...初始化程式10. . . Initializer

12a...第一記憶卡控制程式12a. . . First memory card control program

12b...第二記憶卡控制程式12b. . . Second memory card control program

Claims (26)

一種記憶卡,包含:控制裝置;非揮發性記憶體;及程式儲存記憶體,其中,該程式儲存記憶體配置成儲存複數個對應於個別標準的控制程式,用於控制該非揮發性記憶體與外部裝置之間的資料存取,以及,該控制裝置配置成監視來自外部裝置命令或是該外部裝置產生的存取通信協定,以選取該複數個控制程式之一以回應受監視的命令或通信協定,以及執行用於選取的記憶卡之該複數個控制程式之一,以及,其中,該控制程式在偵測到該受監視的通信協定是用於第一標準的存取的通信協定之際,或是在偵測到該受監視的通信協定對該第一標準是特定的之際,選取對應該第一標準的控制程式,以及該控制裝置在偵測到該受監視的通信協定是用於第二標準的存取的通信協定之際,或是在偵測到該受監視的通信協定對該第二標準是特定的之際,選取對應該第二標準的控制程式。 A memory card comprising: a control device; a non-volatile memory; and a program storage memory, wherein the program storage memory is configured to store a plurality of control programs corresponding to individual standards for controlling the non-volatile memory and Data access between external devices, and the control device is configured to monitor an access protocol from the external device command or the external device to select one of the plurality of control programs in response to the monitored command or communication a protocol, and one of the plurality of control programs for executing the selected memory card, and wherein the control program detects the communication protocol for which the monitored communication protocol is used for access by the first standard Or, when detecting that the monitored communication protocol is specific to the first standard, selecting a control program corresponding to the first standard, and the control device is detecting the monitored communication protocol Corresponding to the second standard access protocol, or when it is detected that the monitored communication protocol is specific to the second standard, The second standard control program. 一種記憶卡,包含:控制裝置;非揮發性記憶體;及程式儲存記憶體,其中,該程式儲存記憶體配置成儲存用於檢查外部裝置供應的命令之命令檢查程式、記憶卡共用部份控制程 式、及複數個對應於個別標準的記憶卡專用控制程式,其中,該記憶卡共用控制程式配置成藉由執行對應於個別標準的多個記憶卡共同的控制,以控制該非揮發性記憶體與外部裝置之間的資料存取,其中,該記憶卡專用控制程式配置成藉由執行特定用於個別的記憶卡之控制,以控制該非揮發性記憶體與外部裝置之間的資料存取,以及,其中,該控制裝置配置成使用該命令檢查程式以檢查外部裝置供應的命令,以及,選取及執行該記憶卡共用部份控制程式與該記憶卡專用控制程式中至少之一,以回應被檢查的命令,以及,其中,該控制程式在偵測到該被檢查的命令被所有該等標準共用際選取該記憶卡共用部份控制程式,在偵測到該被檢查的命令對第一標準是特定的之際選取對應該第一標準的記憶卡專用控制程式,以及在偵測到該被檢查的命令對第二標準是特定的之際選取對應該第二標準的記憶卡專用控制程式。 A memory card comprising: a control device; a non-volatile memory; and a program storage memory, wherein the program storage memory is configured to store a command check program for checking commands supplied by the external device, and a memory card sharing portion control Cheng And a plurality of memory card-specific control programs corresponding to the individual standards, wherein the memory card sharing control program is configured to control the non-volatile memory and the control by performing a common control of a plurality of memory cards corresponding to the individual standards Data access between external devices, wherein the memory card specific control program is configured to control data access between the non-volatile memory and the external device by performing control specific to the individual memory card, and The control device is configured to use the command to check the program to check the command supplied by the external device, and to select and execute at least one of the memory card sharing portion control program and the memory card dedicated control program in response to being checked And the command, wherein the control program selects the memory card sharing part control program by detecting all the standard sharing commands, and detects that the checked command is for the first criterion Selecting a dedicated memory card control program corresponding to the first standard at a specific time, and detecting the detected command pair second It must have a specific occasion should be chosen for the second standard memory card dedicated control program. 一種記憶卡,包含:控制裝置;非揮發性記憶體;及程式儲存記憶體,其中,該程式儲存記憶體配置成儲存用於檢查外部裝置供應的命令之命令檢查程式、記憶卡共用部份控制程式、SD記憶卡專用控制程式、MMC專用控制程式, 其中,該記憶卡共用控制程式配置成藉由執行SD卡及MMC共同的控制,以控制該非揮發性記憶體與外部裝置之間的資料存取,其中,該SD卡專用控制程式配置成藉由執行特定用於SD卡之控制,以控制該非揮發性記憶體與外部裝置之間的資料存取,其中,該MMC專用控制程式配置成藉由執行特定用於MMC之控制,以控制該非揮發性記憶體與外部裝置之間的資料存取,以及,其中,該控制裝置配置成使用該命令檢查程式以檢查外部裝置供應的命令,以及,選取及執行該記憶卡共用部份控制程式、SD卡專用控制程式、MMC專用控制程式中至少之一,以回應被檢查的命令,以及,其中,該控制裝置在偵測到該被檢查的命令被該SD卡及該MMC共用之際選取該記憶卡共用部份控制程式,在偵測到該被檢查的命令對該SD卡是特定的之際選取該SD卡專用控制程式,以及在偵測到該被檢查的命令對該MMC是特定的之際選取該MMC專用控制程式。 A memory card comprising: a control device; a non-volatile memory; and a program storage memory, wherein the program storage memory is configured to store a command check program for checking commands supplied by the external device, and a memory card sharing portion control Program, SD memory card dedicated control program, MMC dedicated control program, The memory card sharing control program is configured to control data access between the non-volatile memory and the external device by performing common control of the SD card and the MMC, wherein the SD card dedicated control program is configured to be configured by Performing control specific to the SD card to control data access between the non-volatile memory and an external device, wherein the MMC-specific control program is configured to control the non-volatile by performing control specific to the MMC Data access between the memory and the external device, and wherein the control device is configured to use the command to check the program to check the command supplied by the external device, and to select and execute the memory card sharing part control program, SD card At least one of a dedicated control program and an MMC-specific control program to respond to the checked command, and wherein the control device selects the memory card when detecting that the checked command is shared by the SD card and the MMC The shared part control program selects the dedicated control program of the SD card when detecting that the checked command is specific to the SD card, and detects the Check command to the MMC is specific occasion select the control program dedicated to the MMC. 一種切換記憶卡中的記憶卡控制之方法,該記憶卡包含複數個控制裝置及防寫開關,該方法包含使用該防寫開關作為切換開關以選取該複數個控制裝置之一的步驟。 A method for switching memory card control in a memory card, the memory card comprising a plurality of control devices and an anti-write switch, the method comprising the step of using the anti-write switch as a switch to select one of the plurality of control devices. 一種切換記憶卡中的記憶卡控制之方法,該記憶卡包含控制裝置、非揮發性記憶體、程式儲存記憶體、及 防寫開關,其中,該程式儲存記憶體配置成儲存複數個對應於個別標準的控制程式,用於控制該非揮發性記憶體與外部裝置之間的資料存取,該方法包含使用該防寫開關作為切換開關以選取該複數個控制程式之一的步驟。 A method for switching memory card control in a memory card, the memory card comprising a control device, a non-volatile memory, a program storage memory, and An anti-write switch, wherein the program storage memory is configured to store a plurality of control programs corresponding to individual standards for controlling data access between the non-volatile memory and an external device, the method comprising using the anti-write switch As a switch to select one of the plurality of control programs. 一種記憶卡,包括:對應於第一記憶卡標準的資料儲存非揮發性記憶體;及控制裝置,配置成支援提供第一資料量的第一記憶卡標準及提供第二資料量的第二記憶卡標準,該第二資料量小於該第一資料量,其中,該資料儲存非揮發性記憶體的記憶區中的目錄被分配作為該控制裝置在符合第二記憶卡標準的模式下操作時所使用的資料儲存區。 A memory card comprising: a data storage non-volatile memory corresponding to a first memory card standard; and a control device configured to support a first memory card standard providing a first amount of data and a second memory providing a second amount of data a card standard, wherein the second amount of data is smaller than the first amount of data, wherein a directory in the memory area of the data storage non-volatile memory is allocated as the control device operates in a mode conforming to the second memory card standard The data storage area used. 一種記憶卡,包括:對應於第一記憶卡標準的資料儲存非揮發性記憶體;及控制裝置,配置成支援提供第一資料量的第一記憶卡標準及提供第二資料量的第二記憶卡標準,該第二資料量小於該第一資料量,其中,該資料儲存非揮發性記憶體的記憶區中的檔案被分配作為該控制裝置在符合第二記憶卡標準的模式下操作時所使用的資料儲存區。 A memory card comprising: a data storage non-volatile memory corresponding to a first memory card standard; and a control device configured to support a first memory card standard providing a first amount of data and a second memory providing a second amount of data a card standard, wherein the second amount of data is smaller than the first amount of data, wherein the file in the memory area of the data storage non-volatile memory is allocated as the control device operates in a mode conforming to the second memory card standard The data storage area used. 一種記憶卡,包括:對應於第一記憶卡標準的資料儲存非揮發性記憶體; 及控制裝置,配置成支援提供第一資料量的第一記憶卡標準及提供第二資料量的第二記憶卡標準,該第二資料量小於該第一資料量,其中,該資料儲存非揮發性記憶體的記憶區中的壓縮檔案被分配作為該控制裝置在與該第二記憶卡標準相容的模式下操作時所使用的資料儲存區。 A memory card comprising: a data storage non-volatile memory corresponding to a first memory card standard; And a control device configured to support a first memory card standard providing a first amount of data and a second memory card standard providing a second amount of data, wherein the second amount of data is less than the first amount of data, wherein the data is stored non-volatile The compressed file in the memory area of the memory is assigned as the data storage area used by the control device to operate in a mode compatible with the second memory card standard. 一種記憶卡,包括:非揮發性記憶體,具有對應於第一記憶卡標準的資料儲存區及對應於第二記憶卡標準的資料儲存區;及控制裝置,配置成支援提供第一資料量的第一記憶卡標準及提供第二資料量的第二記憶卡標準,該第二資料量小於該第一資料量,其中,藉由使用第一記憶卡標準及第二記憶卡標準均不支援的命令或通信協定,可以存取第二資料儲存區。 A memory card comprising: a non-volatile memory having a data storage area corresponding to a first memory card standard and a data storage area corresponding to a second memory card standard; and a control device configured to support providing the first amount of data a first memory card standard and a second memory card standard providing a second amount of data, the second amount of data being less than the first amount of data, wherein the first memory card standard and the second memory card standard are not supported A second data storage area can be accessed by a command or communication protocol. 一種使用第一記憶卡標準的記憶卡之方法,該記憶卡包括對應於第一記憶卡標準的資料儲存非揮發性記憶體以及控制裝置,該控制裝置配置成支援提供第一資料量的第一記憶卡標準及提供第二資料量的第二記憶卡標準,該第二資料量小於該第一資料量;其中,該資料儲存非揮發性記憶體分成複數個區域,當該控制裝置在符合第二記憶卡標準的模式下操作時,該複數個區域中之一作為第二記憶卡標準的記憶卡之資料儲存區,該方法包括下述步驟: 將作為第二記憶卡標準的記憶卡之資料儲存區的該複數個區域之一分配給第一驅動器;及將該複數個區域中至少另一區域分配給不同於第一驅動器之第二驅動器。 A method of using a memory card of a first memory card standard, the memory card comprising a data storage non-volatile memory corresponding to a first memory card standard and a control device configured to support providing a first amount of data a memory card standard and a second memory card standard providing a second amount of data, wherein the second amount of data is less than the first amount of data; wherein the data storage non-volatile memory is divided into a plurality of regions, when the control device is in compliance with the When operating in the mode of the memory card standard, one of the plurality of areas is used as a data storage area of the memory card of the second memory card standard, and the method includes the following steps: Assigning one of the plurality of regions of the data storage area of the memory card as the second memory card standard to the first driver; and assigning at least another of the plurality of regions to the second driver different from the first driver. 一種使用如申請專利範圍第6項之記憶卡作為第一記憶卡標準的記憶卡之方法,包括下述步驟:將該控制裝置在與第二記憶卡標準相容的模式下操作時儲存於該資料儲存非揮發性記憶體中的資料分配給預定目錄。 A method of using a memory card according to claim 6 of the patent application as a first memory card standard memory card, comprising the steps of: storing the control device in a mode compatible with a second memory card standard; The data stored in the non-volatile memory is allocated to a predetermined directory. 一種使用如申請專利範圍第7項之記憶卡作為第一記憶卡標準的記憶卡之方法,包括下述步驟:將該控制裝置在與第二記憶卡標準相容的模式下操作時所使用的該資料儲存區分配給預定檔案。 A method of using a memory card as claimed in claim 7 as a first memory card standard, comprising the steps of: operating the control device in a mode compatible with the second memory card standard The data storage area is assigned to a predetermined file. 一種使用如申請專利範圍第8項之記憶卡作為第一記憶卡標準的記憶卡之方法,包括下述步驟:將該控制裝置在與第二記憶卡標準相容的模式下操作時所使用的該資料儲存區分配給預定壓縮檔案。 A method of using a memory card as claimed in claim 8 as a first memory card standard, comprising the steps of: operating the control device in a mode compatible with the second memory card standard The data storage area is assigned to a predetermined compressed file. 一種使用如申請專利範圍第9項之記憶卡作為第一記憶卡標準的記憶卡之方法,包括下述步驟:藉由使用該第一記憶卡標準及該第二記憶卡標準均不支援的命令或通信協定,存取該第二資料儲存區。 A method of using a memory card as claimed in claim 9 as a first memory card standard, comprising the steps of: using a command not supported by the first memory card standard and the second memory card standard Or a communication agreement to access the second data storage area. 一種SDHC記憶卡,包括資料儲存非揮發性記憶體,該資料儲存非揮發性記憶體中的部份作為SD卡相容模式下的SD卡之資料儲存區。 An SDHC memory card includes a data storage non-volatile memory, and the data is stored in a non-volatile memory as a data storage area of an SD card in an SD card compatible mode. 一種SDHC記憶卡,包括資料儲存非揮發性記憶 體,該資料儲存非揮發性記憶體中的資料區部份作為SD卡相容模式下的SD卡之資料儲存區。 An SDHC memory card, including data storage non-volatile memory The data storage part of the non-volatile memory is used as the data storage area of the SD card in the SD card compatibility mode. 一種SDHC記憶卡,包括資料儲存非揮發性記憶體,該資料儲存非揮發性記憶體分成複數個區域,該複數個區域中至少之一作為SD卡相容模式下的SD卡之資料儲存區。 An SDHC memory card includes a data storage non-volatile memory, the data storage non-volatile memory is divided into a plurality of regions, and at least one of the plurality of regions is used as a data storage region of an SD card in an SD card compatibility mode. 一種SDHC記憶卡,包括資料儲存非揮發性記憶體,其中,該資料儲存非揮發性記憶體的記憶區中的目錄被分配作為SD卡相容模式下的SD卡之資料儲存區。 An SDHC memory card includes a data storage non-volatile memory, wherein a directory in a memory area of the data storage non-volatile memory is allocated as a data storage area of an SD card in an SD card compatible mode. 一種SDHC記憶卡,包括資料儲存非揮發性記憶體,其中,該資料儲存非揮發性記憶體的記憶區中的檔案被分配作為SD卡相容模式下的SD卡之資料儲存區。 An SDHC memory card includes a data storage non-volatile memory, wherein the file in the memory area of the data storage non-volatile memory is allocated as a data storage area of the SD card in the SD card compatibility mode. 一種SDHC記憶卡,包括資料儲存非揮發性記憶體,其中,該資料儲存非揮發性記憶體的記憶區中的壓縮檔案被分配作為SD卡相容模式下的SD卡之資料儲存區。 An SDHC memory card includes a data storage non-volatile memory, wherein the compressed file in the memory area of the data storage non-volatile memory is allocated as a data storage area of the SD card in the SD card compatibility mode. 一種SDHC記憶卡,包括:非揮發性記憶體,具有對應於SDHC記憶卡標準的第一資料儲存區及對應於SD卡標準的第二資料儲存區;及控制裝置,配置成支援SDHC記憶卡標準及SD卡標準,其中,藉由使用SDHC記憶卡標準及SD卡標準均不支援的命令或通信協定,在與SDHC記憶卡標準相容的操作模式下,可存取第二資料儲存區。 An SDHC memory card comprising: a non-volatile memory having a first data storage area corresponding to an SDHC memory card standard and a second data storage area corresponding to an SD card standard; and a control device configured to support an SDHC memory card standard And the SD card standard, wherein the second data storage area can be accessed in an operation mode compatible with the SDHC memory card standard by using a command or communication protocol that is not supported by the SDHC memory card standard and the SD card standard. 一種在SDHC記憶卡模式下使用如申請專利範圍第17項之SDHC記憶卡的方法,包括下述步驟:將作為SD卡相容模式下的SD卡的資料儲存區的該複數個區域之一分配給第一驅動器;及將該複數個區域中至少另一區域分配給不同於第一驅動器之第二驅動器。 A method for using an SDHC memory card according to claim 17 in the SDHC memory card mode, comprising the steps of: assigning one of the plurality of regions of the data storage area of the SD card in the SD card compatibility mode Giving the first driver; and assigning at least another of the plurality of regions to the second driver different from the first driver. 一種在SDHC記憶卡模式下使用如申請專利範圍第18項之SDHC記憶卡的方法,包括下述步驟:將SD卡相容模式使用的區域分配給預定目錄。 A method of using an SDHC memory card according to claim 18 in the SDHC memory card mode, comprising the steps of: assigning an area used by the SD card compatibility mode to a predetermined directory. 一種在SDHC記憶卡模式下使用如申請專利範圍第19項之SDHC記憶卡的方法,包括下述步驟:將SD卡相容模式中使用的區域分配給預定檔案。 A method of using an SDHC memory card according to claim 19 in the SDHC memory card mode, comprising the steps of: assigning an area used in the SD card compatibility mode to a predetermined file. 一種在SDHC記憶卡模式下使用如申請專利範圍第20項之SDHC記憶卡的方法,包括下述步驟:將SD卡相容模式中使用的區域分配給預定壓縮檔案。 A method of using an SDHC memory card according to claim 20 in the SDHC memory card mode, comprising the steps of: assigning an area used in the SD card compatibility mode to a predetermined compressed file. 一種在SDHC記憶卡模式下使用如申請專利範圍第21項之SDHC記憶卡的方法,包括下述步驟:藉由使用SDHC記憶卡標準及SD卡標準均不支援的命令或通信協定,存取SD卡相容模式中使用的區域。 A method for using an SDHC memory card according to claim 21 in the SDHC memory card mode, comprising the steps of: accessing SD by using a command or communication protocol not supported by the SDHC memory card standard and the SD card standard The area used in card compatibility mode.
TW96133138A 2006-03-14 2007-09-05 Memory card complying with a plurality of standards TWI421772B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2006069405 2006-03-14
JP2006240294A JP2007280347A (en) 2006-03-14 2006-09-05 Memory card and memory card control changeover method

Publications (2)

Publication Number Publication Date
TW200830192A TW200830192A (en) 2008-07-16
TWI421772B true TWI421772B (en) 2014-01-01

Family

ID=44818244

Family Applications (1)

Application Number Title Priority Date Filing Date
TW96133138A TWI421772B (en) 2006-03-14 2007-09-05 Memory card complying with a plurality of standards

Country Status (1)

Country Link
TW (1) TWI421772B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW409425B (en) * 1997-12-15 2000-10-21 Sony Corp Nonvolatile semiconductor memory device and IC memory card using same
US20040164170A1 (en) * 2003-02-25 2004-08-26 Marcelo Krygier Multi-protocol memory card
US20050197017A1 (en) * 2004-02-12 2005-09-08 Super Talent Electronics Inc. Extended secure-digital (SD) devices and hosts

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW409425B (en) * 1997-12-15 2000-10-21 Sony Corp Nonvolatile semiconductor memory device and IC memory card using same
US20040164170A1 (en) * 2003-02-25 2004-08-26 Marcelo Krygier Multi-protocol memory card
US20050197017A1 (en) * 2004-02-12 2005-09-08 Super Talent Electronics Inc. Extended secure-digital (SD) devices and hosts

Also Published As

Publication number Publication date
TW200830192A (en) 2008-07-16

Similar Documents

Publication Publication Date Title
KR100993885B1 (en) Memory card complying with a plurality of standards
JP6602823B2 (en) Extended usage range for memory devices
TWI512459B (en) Cooperative memory management and method thereof
US7721046B2 (en) Memory card authentication system, capacity switching-type memory card host device, capacity switching-type memory card, storage capacity setting method, and storage capacity setting program
RU2445676C2 (en) Method of communication with multifunctional memory card
US20070045425A1 (en) Memory card
US20080195816A1 (en) Memory card authentication system, memory card host device, memory card, storage area switching method, and storage area switching program
JP2006302255A (en) Data storage device with nonvolatile memory of different kind and method for driving thereof
JP2008257506A (en) Semiconductor device
US7793004B2 (en) Computer peripheral device implemented as optic storage device or/and removable disk by software emulation and implementing method thereof
JPH1131102A (en) Data storage system and access control method applied to the system
US8914587B2 (en) Multi-threaded memory operation using block write interruption after a number or threshold of pages have been written in order to service another request
KR101542878B1 (en) Nonvolatile memory device having a buffer ram and boot code management method thereof
US20010027032A1 (en) Mode-switchable PC card and PC card input/output control device
TWI338246B (en) Memory card and memory card control changeover method
TWI421772B (en) Memory card complying with a plurality of standards
KR101620349B1 (en) Bootable volatile memory appratus, memory module having it, and processing system, and method for booting processing system using it
JP2009129402A (en) Semiconductor device for ic card, ic card and terminal for ic card
JP2006127407A (en) Semiconductor integrated circuit
JP7284796B2 (en) Secure memory card and its control method
JP2007122241A (en) Memory card controller and memory card
JP3997505B2 (en) System program rewriting method for programmable controller
US20050204089A1 (en) Method and related system for accessing lpc memory or firmware memory in a computer system
JP2006301882A (en) Memory card
KR100864815B1 (en) Computer peripheral device implemented as removable disk by software emulation and method thereof

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees