KR19980058664A - Memory card formatting device and its method - Google Patents
Memory card formatting device and its method Download PDFInfo
- Publication number
- KR19980058664A KR19980058664A KR1019960077997A KR19960077997A KR19980058664A KR 19980058664 A KR19980058664 A KR 19980058664A KR 1019960077997 A KR1019960077997 A KR 1019960077997A KR 19960077997 A KR19960077997 A KR 19960077997A KR 19980058664 A KR19980058664 A KR 19980058664A
- Authority
- KR
- South Korea
- Prior art keywords
- memory card
- formatting
- format
- memory
- area
- Prior art date
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
이 발명은 메모리 카드 포맷 장치 및 그 방법에 관한 것으로, 메모리 카드를 PCMIA 규정에 따라 포맷시키는 동작을 수행하는 제어 수단과; 상기 제어 수단과 메모리 카드사이의 제어 신호 및 데이터 전송 동작을 인터페이스하는 메모리 인터페이스 수단을 포함하여 이루어지며, 메모리 카드가 장착되면 도슨 규격에 따라 메모리 카드를 포맷시킴으로써, 도스 파일 형태의 데이터를 메모리 카드에 기록할 수 있으며, 메모리 카드를 보다 효율적으로 이용할 수 있다.The present invention relates to a memory card formating apparatus and method thereof, comprising: control means for performing an operation of formatting a memory card in accordance with PCMIA regulations; And a memory interface means for interfacing control signals and data transfer operations between the control means and the memory card. When the memory card is mounted, the memory card is formatted according to the Dawson standard, thereby storing data in the form of a DOS file into the memory card. It can record, and the memory card can be used more efficiently.
Description
이 발명은 메모리 카드 포맷(memory card format) 장치 및 그 방법에 관한 것으로 더욱 상세하게 말하자면 PAMCIA(Personal Computer Memory Card Interface Association) 규격에 따라 메모리 카드를 초기화시키는 메모리 카드 포맷 장치 및 그 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory card format apparatus and a method thereof, and more particularly, to a memory card format apparatus and a method for initializing a memory card according to the Personal Computer Memory Card Interface Association (PAMCIA) standard.
일반적으로 메모리 카드는 메모리칩을 이용하여 만들어진 것으로, 테이다 기록속도가 빠르고 소형으로 구성되어 있어 휴대하기가 편리하며, PC(Personal Computer)나 다른 호스트(host)에 용이하게 장착가능하도록 되어 있다.In general, a memory card is made using a memory chip, and since the tape recording speed is fast and compact, it is convenient to carry and can be easily mounted on a personal computer (PC) or another host.
이러한 메모리 카드는 PC에 사용되고 있는 플로피 디스크(flopy disk)나 하드 디스크(hard disk)와 같이 데이터를 기록하거나 소거할 수 있는 기록 매체로서, PC이외에도 디지탈 스틸 카메라(DigaL Still Camera:DSC)나, 정지화상을 저장하는 장치나, 또는 랩탑(lap-top) 컴퓨터와 같은 휴대형 장치에 적용가능하다.Such a memory card is a recording medium capable of recording or erasing data, such as a floppy disk or a hard disk used in a PC. In addition to a PC, a digital still camera (DSC) or a still image can be used. It is applicable to a device for storing an image or a portable device such as a lap-top computer.
상기한 휴대형 장치에는 기본으로 PCMCIA 포트가 장착되어 있으므로, 메모리카드가 직접 데이터를 기록할 수 있으며, 메모리 카드의 착탈이 가능하게 되어 있어서 필요에 따라 용이하게 메모리 카드에 데이터를 기록할 수 있다.Since the portable device is basically equipped with a PCMCIA port, the memory card can directly record data, and the memory card can be attached or detached to easily record data on the memory card as needed.
상기와 같이 메모리 카드테 데이터를 기록하기 위해서는 일정한 포맷이 요구되는데, 이를 위하여 PC에서 사용하고 있는 도스(DOS : Disk Operating System) 포맷을 사용하는 규격이 제정되어 있다.In order to record the memory card data as described above, a certain format is required. For this purpose, a standard using the DOS (Disk: Operating System) format used in a PC has been enacted.
PCMCIA 규정에서는 메모리 카드에서 데이터 관리를 위한 도스 포맷이 규정되어 있으며, 디지탈 스틸 카메라에서 사용하는 정지 화상의 기록 방법과 음성 신호 및 관련 데이터의 기록 방법을 규정하고 있다.The PCMCIA regulations stipulate the DOS format for data management in memory cards, and specify how to record still images and audio signals and related data used in digital still cameras.
이 발명의 목적은 디지탈 스틸 카메라 등의 휴대용 장치에 있어서, 메모리 카드에 도스 파일(file) 형태로 데이터를 기록하기 위하여 메모리 카드를 포맷시키는 메모리 카드 포맷 장치 및 그 방법을 제공하기 위한 것이다.SUMMARY OF THE INVENTION An object of the present invention is to provide a memory card formating apparatus and method for formatting a memory card for recording data in the form of a DOS file on a memory card in a portable device such as a digital still camera.
상기의 목적을 달성하기 위한 이 발명의 구성은,The configuration of the present invention for achieving the above object,
메모리 카드를 PCMCIA 규정에 따라 포맷시키는 동작을 수행하는 제어 수단과;Control means for performing an operation of formatting the memory card in accordance with PCMCIA regulations;
상기 제어 수단과 메모리 카드사이의 제어 신호 및 데이터 전송 동작을 인터페이스하는 메모리 인터페이스 수단을 포함하여 이루어진다.Memory interface means for interfacing control signals and data transfer operations between the control means and the memory card.
상기의 목적을 달성하기 위한 이 발명의 다른 구성은,Another configuration of the present invention for achieving the above object,
메모리 카드가 장착되면, 제어 수단이 메모리 카드의 부트 섹터를 포맷시키는 단계와;If the memory card is mounted, the control means formatting the boot sector of the memory card;
메모리 카드의 팻 영역을 포맷시키는 단계와;Formatting a fat area of the memory card;
메모리 카드의 디렉토리 영역을 포맷시키는 단계와;Formatting a directory area of the memory card;
메모리 카드의 데이터 영역을 포맷시키는 단계를 포함하여 이루어진다.Formatting the data area of the memory card.
도1은 이 발명의 실시예에 따른 메모리 카드 포맷 장치의 구성 블록도이고,1 is a block diagram illustrating a memory card formatting apparatus according to an embodiment of the present invention;
도2는 이 발명의 실시예에 따른 메모리 카드의 맵도이고,2 is a map of a memory card according to an embodiment of this invention,
도3은 이 발명의 실시예에 따른 메모리 카드이 포맷 방법의 동작 순서도이고,3 is an operation flowchart of a method for formatting a memory card according to an embodiment of the present invention;
도 4는 이 발명의 실시예에 따른 메모리 카드의 디렉토리 영역 포맷 상태를 나타낸 도면이다.4 is a diagram showing a directory area format state of a memory card according to an embodiment of the present invention.
상기한 구성에 의하여, 이 발명이 속하는 기술분야에서 통상의 지식을 가진자가 이 발명을 용이하게 실시할 수 있는 가장 바람직한 실시예를 첨부된 도면을 참조로 하여 상세히 설명한다.With the above configuration, the most preferred embodiment which can be easily carried out by those skilled in the art with reference to the present invention will be described in detail with reference to the accompanying drawings.
도1은 이 발명의 실시예에 따른 메모리 카드 포맷 장치의 구성 블록도이고,1 is a block diagram illustrating a memory card formatting apparatus according to an embodiment of the present invention;
도2는 이 발명의 실시예에 따른 메모리 카드의 맵도이고,2 is a map of a memory card according to an embodiment of this invention,
도3은 이 발명의 실시예에 따른 메모리 카드 포맷 방법의 동작 순서도이고,3 is an operation flowchart of a memory card formatting method according to an embodiment of the present invention;
도4는 이 발명의 실시예에 따른 메모리 카드의 디렉토리의 영역 포맷 상태를 나타낸 도면이다.4 is a diagram showing an area format state of a directory of a memory card according to an embodiment of the present invention.
첨부한 도1은 도시되어 있듯이 이 발명의 실시예에 따른 메모리 카드 포맷 장치의 구성은, 메모리 카드(1)와, 메모리 인터페이스 장치인 PCMCIA(2)와, 상기 메모리 카드(1)의 포멧 동작을 제어하는 중앙 처리 장치(3)로 이루어진다.As shown in FIG. 1, a configuration of a memory card formatting apparatus according to an embodiment of the present invention is performed by a memory card 1, a PCMCIA 2 serving as a memory interface device, and a format operation of the memory card 1; It consists of the central processing unit 3 to control.
이 발명의 실시예에 따른 메모리 카드(1)의 용량은 2M byte로서, 이는 총메모리 용량이 32M byte 미만인 스몰 파티션(small partition) 방식에 해당한다.The capacity of the memory card 1 according to the embodiment of the present invention is 2M bytes, which corresponds to a small partition method having a total memory capacity of less than 32M bytes.
상기 구성에 의한 이 발명의 실시예에 따른 메모리 카드의 포맷 장치의 작용을 설명하면 다음과 같다.The operation of the memory card formating apparatus according to the embodiment of the present invention by the above configuration will be described.
이 발명에서는 2M byte의 메모리 카드를 포맷하며, PCMCIA 규정에 따라 부트 섹터(boot sector)와, 팻 영역(fat area)과, 디렉토리 영역(directory area)의 크기를 할당한다.In the present invention, a 2 Mbyte memory card is formatted, and the size of a boot sector, fat area, and directory area is allocated according to the PCMCIA standard.
전원이 인가되고 메모리 카드(1)가 휴대용 장치 예를 들면 휴대용 컴퓨터난 디지탈 스틸 카메라 등에 장착되면, 중앙 처리 장치(3)는 PCMCIA(2)를 통하여 메모리 카드(1)를 첨부한 도2에 도시되어 있는 바와 같이 각 영역을 해당 크기별로 나눈다.When power is applied and the memory card 1 is mounted on a portable device such as a portable computer or a digital still camera, the central processing unit 3 is shown in FIG. 2 with the memory card 1 attached via the PCMCIA 2. As shown, each area is divided by its size.
메모리 용량이 2M byte인 메모리 카드(1)는 어드레스 000000h부터 000200h까지는 부트 섹터 영역으로, 어드레스 000200h부터 001A00h까지는 팻 영역으로, 어드레스 001A00부터 002A00h 까지는 디렉토리 영역으로, 어드레스 002A00h로부터 200000h까지는 데이터 영역으로 각각 나뉘어진다.The memory card 1 having a memory capacity of 2M bytes is divided into a boot sector area from addresses 000000h to 000200h, a fat area from addresses 000200h to 001A00h, a directory area from addresses 001A00 to 002A00h, and a data area from addresses 002A00h to 200000h. Lose.
먼저 중앙 처리 장치(1)는 PCMCIA(2)를 통하여 메모리 카드(1)의 부트 섹터를 다음의 표1에 기재되어 있는 바와 같이 포맷한다(S110).First, the central processing unit 1 formats the boot sector of the memory card 1 via the PCMCIA 2 as described in Table 1 below (S110).
[표 1]TABLE 1
상기한 표1에 기재되어 있는 바와 같이 메모리 카드(1)의 어드레스 000000h 부터 000200h까지는 해당하는 부트 섹터를 포맷한 다음, 어드레스 000200h부터 001A00 h까지 해당하는 팻 영역을 포맷한다.As described in Table 1 above, a corresponding boot sector is formatted from addresses 000000h to 000200h of the memory card 1, and then a fat area corresponding to addresses 000200h to 001A00h is formatted.
PCMCIA 규정에서는 팻 영역을 전체 메모리 용량에 대하여 12bit 로 관리하고, 포맷시 00으로 초기화시킨다(S120).In PCMCIA regulations, the fat area is managed as 12 bits for the total memory capacity and initialized to 00 when formatting (S120).
다음에는 중앙 처리 장치(2)는 메모리 카드(1)의 어드레스 001A00h부터 002AOOh까지 해당하는 디렉토리 영역을 첨부한 도4에 도시되어 있는 바와 같이 포맷한다(S130).Next, the central processing unit 2 formats the directory area corresponding to the addresses 001A00h to 002AOOh of the memory card 1 as shown in Fig. 4 attached (S130).
파일명의 첫 번째 바이트는 '00'으로, 나머지는 'E5'로 포맷한다.The first byte of the file name is formatted as '00' and the rest as 'E5'.
상기와 같이 디렉토리 영역을 포맷한 다음, 어드레스 002A00h부터 200000h까지의 데이터 영역을 'F6'으로 포맷한다(S140).After formatting the directory area as above, the data area from addresses 002A00h to 200000h is formatted as 'F6' (S140).
(F6으로 포맷하는 동작의 의미를 설명해주시기 바랍니다).(Please explain the implications of formatting F6).
상기에서 데이터 영역을 포맷하기 시작한 다음, 중앙 처리 장치(1)는 메모리 카드(1)의 2M byte 영역이 모두 포맷되었는가를 판단하여(S), 전체 포맷 동작이 모두 이루어지지 않는 경우에는 계속하여 데이터 영역 포맷 동작을 수행하고, 전체 영역에 대한 포맷 동작이 이루어진 경우에는 포맷 동작을 종료하고 해당 루틴을 빠져 나온다.After starting to format the data area, the CPU 1 determines whether all 2M byte areas of the memory card 1 have been formatted (S), and if the entire format operation is not completed, the data continues. When the region format operation is performed and the format operation for the entire region is performed, the format operation is terminated and the corresponding routine is exited.
이상에서와 같이 이 발명의 실시예에 따라 메모리 카드를 이용하는 휴대용 장치에 있어서, 메모리 카드가 장착되면 도스 규격에 따라 메모리 카드를 포맷시킴으로써, 도스 패일 형태의 데이터를 메모리 카드에 기록할 수 있으며, 메모리 카드를 보다 효율적으로 이용할 수 있는 효과를 가지는 메모리 카드 포맷 장치 및 그 방법을 제공하기 위한 것이다.As described above, in the portable device using the memory card according to the embodiment of the present invention, when the memory card is mounted, by formatting the memory card according to the DOS standard, it is possible to record the data in the form of the dossail to the memory card, It is an object of the present invention to provide a memory card formating apparatus and method having the effect of using the card more efficiently.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019960077997A KR19980058664A (en) | 1996-12-30 | 1996-12-30 | Memory card formatting device and its method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019960077997A KR19980058664A (en) | 1996-12-30 | 1996-12-30 | Memory card formatting device and its method |
Publications (1)
Publication Number | Publication Date |
---|---|
KR19980058664A true KR19980058664A (en) | 1998-10-07 |
Family
ID=66396171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019960077997A KR19980058664A (en) | 1996-12-30 | 1996-12-30 | Memory card formatting device and its method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR19980058664A (en) |
-
1996
- 1996-12-30 KR KR1019960077997A patent/KR19980058664A/en not_active Application Discontinuation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6145046A (en) | Universal memory card interface apparatus | |
US7039754B2 (en) | Detachably mounted removable data storage device | |
US9558135B2 (en) | Flashcard reader and converter for reading serial and parallel flashcards | |
US7007127B2 (en) | Method and related apparatus for controlling transmission interface between an external device and a computer system | |
US6823417B2 (en) | Memory controller for memory card manages file allocation table | |
US20060218324A1 (en) | Systems and methods for flexible data transfers in SDIO and/or MMC | |
EP0658851A2 (en) | PCMCIA-format cable | |
US20030093606A1 (en) | Multimode controller for intelligent and "dumb" flash cards | |
US6378033B1 (en) | Electronic device, control method thereof and storage medium | |
US8024524B2 (en) | Method, system, and program for an adaptor to read and write to system memory | |
JPH09147545A (en) | Memory card and information processing device | |
US20030169733A1 (en) | Asynchronous input/output interface protocol | |
US7102671B1 (en) | Enhanced compact flash memory card | |
US7409477B2 (en) | Memory card having a processor coupled between host interface and second interface wherein internal storage code provides a generic interface between host interface and processor | |
EP0464848A2 (en) | Structure for enabling direct memory-to-memory transfer | |
US20060095660A1 (en) | Media storage apparatus, cache segment switching method of media storage apparatus, and media storage system | |
EP1770538B1 (en) | SCSI communication system, information processing device, peripheral device and communication method | |
US6393524B1 (en) | Method and driver for sequential operation caching | |
KR19980058664A (en) | Memory card formatting device and its method | |
EP0517509A1 (en) | A computer including a storage controller | |
US6523105B1 (en) | Recording medium control device and method | |
KR100280321B1 (en) | Device and method for formatting a memory card in digital still camera | |
US20020059305A1 (en) | Information recording apparatus and method, and information reproducing apparatus and method | |
JP2000235542A (en) | Data processor and recording medium | |
JPS5938930A (en) | Optical disk controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |