KR100234741B1 - Device for determining the drive type of a disc reproducer - Google Patents

Device for determining the drive type of a disc reproducer Download PDF

Info

Publication number
KR100234741B1
KR100234741B1 KR1019960061235A KR19960061235A KR100234741B1 KR 100234741 B1 KR100234741 B1 KR 100234741B1 KR 1019960061235 A KR1019960061235 A KR 1019960061235A KR 19960061235 A KR19960061235 A KR 19960061235A KR 100234741 B1 KR100234741 B1 KR 100234741B1
Authority
KR
South Korea
Prior art keywords
drive type
drive
atapi
recognition name
cable
Prior art date
Application number
KR1019960061235A
Other languages
Korean (ko)
Other versions
KR19980043389A (en
Inventor
박우종
Original Assignee
구자홍
엘지전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 구자홍, 엘지전자주식회사 filed Critical 구자홍
Priority to KR1019960061235A priority Critical patent/KR100234741B1/en
Priority to JP9328032A priority patent/JPH10187588A/en
Publication of KR19980043389A publication Critical patent/KR19980043389A/en
Application granted granted Critical
Publication of KR100234741B1 publication Critical patent/KR100234741B1/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10009Improvement or modification of read or write signals
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10009Improvement or modification of read or write signals
    • G11B20/10481Improvement or modification of read or write signals optimisation methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

본 발명은 디스크 재생기의 드라이브 타입 결정 장치에 관한 것으로 특히, 동일한 ATAPI 케이블에 접속된 복수개의 드라이브의 타입을 감지하여 중복되는 경우 자신의 드라이브 타입을 결정함으로써 원활한 데이타 송수신이 가능하도록 창안한 것이다. 이러한 본 발명은 호스트 피씨(200) 및 제 1, 제 2 드라이브(210)(220)를 동일한 ATAPI 케이블 상에 공통 접속하여 구성한 디스크 재생기에 있어서, 상기 제 1, 제 2 드라이브(210)(220)는 드라이브 타입을 세팅하는 인식명 선택부(211)와, 호스트 피씨(200)와 데이타 송수신을 수행하며 드라이브 타입을 저장하는 인터페이스부(213)와, 동작 초기에 임시 드라이브 타입과 동일한 드라이브 타입이 있는지 검사하는 인식명 점검부(214)와, 상기 인식명 선택부(211)에 설정된 드라이브 타입을 상기 인터페이스부(213)에 임시로 저장하며 상기 인식명 점검부(214)에서 동일한 드라이브 타입이 존재함을 검출하는 경우 상기 인터페이스부(213)에 임시 저장된 드라이브 타입을 변경하는 마이크로 컴퓨터(212)와, 인식명 점검의 경우 케이블을 인터페이스부(213)에서 상기 인식명 점검부(214)로 접속시키는 멀티플렉서(215)로 각기 구성한다.The present invention relates to an apparatus for determining a drive type of a disc player. In particular, the present invention has been made so as to enable smooth data transmission and reception by determining the type of a drive in case of overlapping by detecting a plurality of types of drives connected to the same ATAPI cable. The present invention relates to a disc player in which a host PC 200 and first and second drives 210 and 220 are commonly connected on the same ATAPI cable, and the first and second drives 210 and 220 are connected to each other. Is a recognition name selection unit 211 for setting a drive type, an interface unit 213 for performing data transmission / reception with the host PC 200 and storing a drive type, and whether there is a drive type identical to a temporary drive type at an initial operation. The recognition name checking unit 214 and the drive type set in the recognition name selecting unit 211 are temporarily stored in the interface unit 213, and the same drive type exists in the recognition name checking unit 214. In the case of detecting the microcomputer 212 to change the drive type temporarily stored in the interface unit 213, and in the case of the recognition name check, the cable from the interface unit 213 to the recognition name check unit 2 Each of the multiplexers 215 connected to each other 14 is configured.

Description

디스크 재생기의 드라이브 타입 결정 장치Determining drive type of disc player

본 발명은 디스크 재생기에 관한 것으로 특히, ATAPI 인터페이스를 사용하는 복수개의 기기에 대한 인식명이 중복되지 않도록 하여 원활한 데이타 송수신을 수행할 수 있도록 한 디스크 재생기의 드라이브 타입 결정 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disc player, and more particularly, to an apparatus for determining a drive type of a disc player to enable smooth data transmission and reception by avoiding duplication of recognition names for a plurality of devices using an ATAPI interface.

일반적으로 디스크 재생 장치는 오디오 데이타를 재생하는 씨디(CD)-플레이어, 피씨(PC)와 연계하여 사용하는 데이타 저장 매체로서의 씨디-롬(CD-ROM) 플레이어등이 있다.Generally, disc reproducing apparatuses include a CD-player for reproducing audio data, a CD-ROM player as a data storage medium used in conjunction with a PC.

또한, 최근에는 고밀도 재생 장치로서 DVD-플레이어가 출시되고 있으며 이에 부응하여 디브이디-롬(DVD-ROM), 기록 가능한 디브이디-알(DVD-R)등의 고밀도 기록/재생 장치가 연구되고 있다.Recently, DVD-players have been released as high-density reproducing apparatuses. In response, high-density recording / reproducing apparatuses such as DVD-ROMs and recordable DVD-Rs have been studied.

이중 씨디-롬(CD-ROM), 디브이디-롬(DVD-ROM)등은 SCSI 인터페이스 규격을 사용하여 피씨(PC)와 롬 드라이브간의 데이타를 송수신하는데, 별도의 카드를 사용한다. 또한, 최근에는 ATAPI(;Advanced Technology Attachment Packet I/F)라는 새로운 인터페이스 규격이 있는데, 이는 별도의 카드없이 피씨(PC)에 드라이브를 연결하여 사용할 수 있다.Dual CD-ROMs and DVD-ROMs use a separate SCSI interface to transfer data between the PC and ROM drive. In addition, there is a new interface specification called ATAPI (Advanced Technology Attachment Packet I / F), which can be used by connecting a drive to a PC without a separate card.

이러한 ATAPI 씨디-롬(CD-ROM) 드라이브는 하나의 ATAPI 케이블에 최대 2대까지의 드라이브를 연결할 수 있다. 이 경우 각각의 드라이브가 호스트 피씨와 데이타 충돌없이 인터페이스하기 위해서는 드라이브의 구분이 필요하다.These ATAPI CD-ROM drives can connect up to two drives to one ATAPI cable. In this case, each drive needs to be distinguished in order to interface with the host PC without data collision.

이를 위하여 한쪽을 마스터 드라이브라 하고 다른 쪽을 슬래드 드라이브라 하면 어느쪽의 드라이브가 마스터 드라이브인지는 사용자가 결정하는데, ATAPI 씨디-롬(CD-POM) 드라이브의 후면에 설치된 점퍼 블럭의 세팅에 따라 마스터 드라이브와 슬래브 드라이브의 2가지중 하나로 설정되어진다.For this purpose, one is called the master drive and the other is the slad drive. It is up to the user to determine which drive is the master drive, depending on the setting of the jumper block on the rear of the ATAPI CD-POM drive. It can be set to one of two types: master drive and slab drive.

이러한 ATAPI 인터페이스 규격을 적용한 종래 기술은 도1의 구성도에 도시된 바와 같이, 호스트 피씨(100) 및 제 1, 제 2 드라이브(110)(120)을 동일한 케이블상에 공통 접속하여 구성된다.In the prior art applying the ATAPI interface standard, the host PC 100 and the first and second drives 110 and 120 are commonly connected on the same cable as illustrated in the configuration diagram of FIG. 1.

상기 제 1, 제 2 드라이브(110)(120)는 드라이브 타입을 세팅하는 인식명 선택부(111)와, 호스트 피씨(100)와 데이타 송수신을 수행하며 설정된 드라이브 타입을 저장하는 인터페이스부(113)와, 전원이 온되면 상기 인식명 선택부(111)에 설정된 드라이브 타입을 상기 인터페이스부(113)에 저장하며 상기 인터페이스부(113)가 호스트 피씨(100)로부터의 설정 타입과 내부 레지스터에 세팅된 타입이 일치함을 판단하는 경우 상기 호스트 피씨(100)에서 전송되는 ATAPI 명령을 실행하는 마이크로 컴퓨터(112)로 각기 구성된다.The first and second drives 110 and 120 may include a recognition name selecting unit 111 for setting a drive type, an interface unit 113 for transmitting and receiving data with the host PC 100 and storing a set drive type. When the power is turned on, the drive type set in the recognition name selection unit 111 is stored in the interface unit 113, and the interface unit 113 is set in a setting type from the host PC 100 and an internal register. When it is determined that the types match, each of the microcomputer 112 executes an ATAPI command transmitted from the host PC 100.

상기 인터페이스부(113)는 ATAPI 인터페이스 회로로서 내부에 인식명(ID)인 드라이브 타입을 저장하기 위한 ID 레지스터를 포함하여 구성된다.The interface unit 113 includes an ID register for storing a drive type having an identification name (ID) therein as an ATAPI interface circuit.

이와 같은 종래 기술의 동작 과정을 설명하면 다음과 같다.Referring to the operation of the prior art as follows.

ATAPI 인터페이스 규격을 채용한 2대의 드라이브(110)(120)를 호스트 피씨(100)에 공통으로 접속하여 사용하려는 경우 사용자는 상기 드라이브(110)(120)의 후면에 설치된 점퍼 블럭을 세팅하여 각기 마스터와 슬래브로 설정하게 된다.When two drives 110 and 120 employing the ATAPI interface standard are commonly connected to the host PC 100, the user sets a jumper block installed at the rear of the drives 110 and 120, respectively. And slab.

여기서는 제 1 드라이브(110)를 마스터, 제 2 드라이브(120)를 슬래브로 설정하였다고 가정한다.Here, it is assumed that the first drive 110 is set as the master and the second drive 120 is set as the slab.

이 후, 전원이 온되면 제 1, 제 2 드라이브(110)(120)는 각기 마이크로 컴퓨터(112)가 인식명 선택부(111)의 점퍼 세팅을 읽어 사용자가 설정한 드라이브 타입을 인터페이스부(113) 내부의 ID 레지스터에 저장한다.After that, when the power is turned on, the first and second drives 110 and 120 respectively read the jumper setting of the recognition name selector 111 by the microcomputer 112 and display the drive type set by the user. ) To the internal ID register.

이 후, 호스트 피씨(100)에서 ATAPI 명령을 ATAPI 케이블에 전송하는데, ATAPI 명령을 전송할 때마다 그 명령을 수행할 드라이브 타입을 설정하여 전송하게 된다. 이때 제 1, 제 2 드라이브(110)(120)는 각기 인터페이스부(113)에서 ATAPI 명령과 함께 전송되는 드라이브 타입을 ID 레지스터에 세팅되어 있는 자신의 타입과 비교하게 된다.Thereafter, the host PC 100 transmits an ATAPI command to an ATAPI cable. Each time the ATAPI command is transmitted, a drive type for performing the command is set and transmitted. At this time, each of the first and second drives 110 and 120 compares the drive type transmitted from the interface unit 113 with the ATAPI command with its own type set in the ID register.

이에 따라, 제 1, 제 2 드라이브 (110)(120)는 각기 인터페이스부(113)에서 ATAPI 명령과 함께 전송되는 드라이브 타입과 ID 레지스터에 세팅되어 있는 자신의 타입이 일치한다고 판단하는 경우 마이크로 컴퓨터(112)가 호스트 피씨(100)에서 전송된 ATAPI 명령을 실행하게 된다.Accordingly, when the first and second drives 110 and 120 respectively determine that the drive type transmitted with the ATAPI command from the interface unit 113 matches their own type set in the ID register, the microcomputer ( 112 executes the ATAPI command sent from the host PC 100.

예를 들어, 호스트 피씨(100)에서 설정한 드라이브 타입이 마스터인 경우 제 1 드라이브(110)가 ATAPI 명령을 실행하고, 슬래브인 경우 제 2 드라이브(120)가 ATAPI 명령을 실행하게 된다.For example, when the drive type set in the host PC 100 is a master, the first drive 110 executes an ATAPI command, and in the case of a slab, the second drive 120 executes an ATAPI command.

그러나, 이러한 종래의 기술은 2대의 ATAPI 씨디-롬(CD-ROM) 드라이브의 타입 설정이 잘못되어 설정 타입이 일치하는 경우 호스트 피씨와 드라이브간의 인터페이스가 불가능하게 되는 문제점이 있다.However, this conventional technique has a problem in that the interface between the host PC and the drive becomes impossible when the type settings of two ATAPI CD-ROM drives are wrong and the setting types match.

또한, ATAPI 씨디-롬(CD-ROM) 드라이브와 부팅 하드 디스크의 타입이일치하는 경우에는 호스트 피씨가 부팅되지 않아 시스템이 동작하지 않는 문제점이 있다.In addition, if the types of the ATAPI CD-ROM drive and the boot hard disk match, there is a problem that the host PC does not boot and the system does not operate.

본 발명은 종래 기술의 단점을 개선하기 위하여 동일한 ATAPI 케이블에 접속된 복수개의 드라이브의 타입을 감지하여 중복되는 경우에도 드라이브 타입의 중복이 없도록 자신의 드라이브 타입을 결정함으로써 원활한 데이타 송수신이 가능하도록 창안한 디스크 재생기의 드라이브 타입 결정 장치를 제공함에 목적이 있다.In order to improve the disadvantages of the prior art, the present invention has been devised to enable smooth data transmission and reception by determining its own drive type so that there is no duplication of drive types in the case of overlapping by detecting the type of a plurality of drives connected to the same ATAPI cable. It is an object of the present invention to provide a drive type determination apparatus of a disc player.

제1도는 종래 기술의 구성도.1 is a block diagram of a prior art.

제2도는 본 발명에 따른 드라이브 타입 결정 장치의 구성도.2 is a configuration diagram of a drive type determination device according to the present invention.

제3도는 본 발명에서 드라이브 타입 결정을 위한 신호 흐름도.3 is a signal flow diagram for determining a drive type in the present invention.

〈도면의 주요부분에 대한 부호의 설명〉<Explanation of symbols for main parts of drawing>

200 : 호스트 피씨(PC) 210, 220 : 드라이브200: Host PC 210, 220: Drive

211 : 인식명 선택부 212 : 마이크로 컴퓨터211: recognition name selection unit 212: microcomputer

213 : 인터페이스부 214 : 인식명 점검부213: interface unit 214: recognition name check unit

215 : 멀티플렉서215: Multiplexer

본 발명은 상기의 목적을 달성하기 위하여 호스트 피씨(PC) 및 복수개의 드라이브를 동일한 ATAPI 케이블 상에 공통 접속하여 구성한 디스크 재생기에 있어서, 상기 복수개의 드라이브는 드라이브 타입을 세팅하는 인식명 선택 수단과, 상기 호스트 피씨와 데이타 송수신을 수행하며 설정된 드라이브 타입을 저장하는 인터페이스 수단과, 초기화되면 자신의 드라이브 타입과 동일한 드라이브 타입이 있는지 검사하는 인식명 점검 수단과, 초기화되면 상기 인식명 선택 수단에 설정된 드라이브 타입을 상기 인터페이스 수단에 임시로 저장하며 상기 인식명 점검 수단에서 동일한 드라이브 타입이 존재함을 검출하면 상기 인터페이스 수단에 임시 저장한 드라이브 타입을 변경하는 제어 수단과, 인식명 점검의 경우 ATAPI 케이블을 상기 인식명 점검 수단에 접속시키고 인식명 점검이 아닌 정상 동작의 경우에는 ATAPI 케이블을 상기 인터페이스 수단에 접속시키는 멀티플렉서로 각기 구성한다.The present invention provides a disc player in which a host PC (PC) and a plurality of drives are commonly connected on the same ATAPI cable in order to achieve the above object, wherein the plurality of drives include recognition name selection means for setting a drive type; Interface means for performing data transmission and reception with the host PC and storing the set drive type, recognition name checking means for checking whether there is the same drive type as its own drive type when initialized, and drive type set in the recognition name selecting means if initialized. Is temporarily stored in the interface means, and when the recognition name check means detects that the same drive type exists, the control means for changing the drive type temporarily stored in the interface means, and in the case of the recognition name check, recognizes the ATAPI cable. Personnel check means contact And if the normal operation check, a non-recognized names each constitute a multiplexer for connecting the cable to the ATAPI interface means.

상기 멀티플렉서는 인식명 점검을 수행하는 드라이브 경우에만 ATAPI 케이블을 인식명 점검 수단에 접속시키도록 구성한다.The multiplexer is configured to connect the ATAPI cable to the identification name checking means only in the case of a drive performing the identification name checking.

이러한 구성의 본 발명은 동일한 ATAPI 케이블에 접속된 복수개의 드라이브에서 드라이브 타입을 결정하는 방법에 있어서, 초기화되면 설정된 드라이브 타입을 임시 저장하고 다른 드라이브의 케이블 점유 여부를 판별하는 단계와, 상기에서 다른 드라이브의 케이블 점유가 없으면 자신의 드라이브 타입과 동일한 드라이브 타입이 있는지 판단하는 단계와, 상기에서 자신의 드라이브 타입과 동일한 드라이브 타입이 존재하는 경우 인식명 변경 기능이 없는 드라이브와 인식명 변경 기능이 있는 드라이브가 공통 접속된 경우라면 인식명 변경 기능이 있는 드라이브에서 자신의 드라이브 타입을 변경하며 복수개의 인식명 변경 기능이 있는 드라이브가 공통 접속된 경우라면 우선적으로 초기화된 드라이브에서 자신의 드라이브 타입을 변경하는 단계를 수행한다.According to an aspect of the present invention, a method of determining a drive type in a plurality of drives connected to the same ATAPI cable may include: temporarily storing a set drive type and determining whether to occupy a cable of another drive when initialized; If there is no cable occupancy, the step of determining whether there is a drive type that is the same as your drive type, and if there is a drive type that is the same as your drive type above, a drive without a name change function and a drive with a name change function are determined. In case of common connection, change the drive type in the drive that has recognition name change function. If the drive with multiple name change function is commonly connected, change the drive type in the initialized drive first. Number The.

이하, 본 발명을 도면에 의거 상세히 설명하면 다음과 같다.Hereinafter, the present invention will be described in detail with reference to the drawings.

본 발명의 실시예는 도 2에 도시한 바와 같이, 호스트 피씨(200) 및 제 1, 제 2 드라이브(210)(220)를 동일한 ATAPI 케이블 상에 공통 접속하여 구성한 디스크 재생기에 있어서, 상기 제 1, 제 2 드라이브(210)(220)는 드라이브 타입을 세팅하는 인식명 선택부(211)와, 호스트 피씨(200)와 데이타 송수신을 수행하며 설정된 드라이브 타입을 저장하는 인터페이스부(213)와, 전원이 온되면 상기 인식명 선택부(211)에 설정된 드라이브 타입을 상기 인테페이스부(213)에 임시로 저장하며 상기 인터페이스부(213)가 호스트 피씨(200)로부터의 설정 타입과 내부 레지스터에 세팅된 타입이 일치함을 판단하는 경우 상기 호스트 피씨(200)에서 전송되는 ATAPI 명령을 실행하는 마이크로 컴퓨터(212)와, 이 마이크로 컴퓨터(212)에서 읽은 드라이브 타입을 임시 저장하여 케이블을 우선적으로 사용하는 경우 임시 저장된 드라이브 타입을 전송하여 동일한 드라이브 타입이 있는지 검사하고 동일한 경우를 검출하는 경우 상기 마이크로 컴퓨터(212)에 이를 알려 상기 인터페이스부(213)에 임시 저장된 타입을 변경하도록 하는 인식명 점검부(214)와, 인식명 점검의 경우 케이블을 상기 인식명 점검부(214)에 접속시키고 인식명 점검이 아닌 정상 동작의 경우에는 케이블을 상기 인터페이스부(213)에 접속시키는 멀티플렉서(215)로 각기 구성한다.According to an embodiment of the present invention, as shown in FIG. 2, in the disc player in which the host PC 200 and the first and second drives 210 and 220 are commonly connected on the same ATAPI cable, The second drives 210 and 220 may include a recognition name selection unit 211 for setting a drive type, an interface unit 213 for performing data transmission / reception with the host PC 200 and storing a set drive type, and a power supply. When it is turned on, the drive type set in the recognition name selection unit 211 is temporarily stored in the interface unit 213, and the interface unit 213 is a type set from the host PC 200 and a type set in an internal register. If it is determined that this is the case, the microcomputer 212 executing the ATAPI command transmitted from the host PC 200 and the drive type read from the microcomputer 212 are temporarily stored to prioritize the cable. In case of use, the recognition name check unit transmits the temporary stored drive type to check whether the same drive type exists and if the same case is detected, notifies the microcomputer 212 to change the temporary stored type in the interface unit 213. 214 and a multiplexer 215 which connects a cable to the recognition name checking unit 214 in the case of recognition name checking and the cable to the interface unit 213 in the case of normal operation other than the recognition name checking. Configure.

이와 같이 구성한 본 발명의 실시예에 대한 동작 및 작용 효과를 설명하면 다음과 같다.Referring to the operation and effect of the embodiment of the present invention configured as described above are as follows.

하나의 ATAPI 케이블 상에 드라이브가 접속되는 경우는 1) ATAPI 씨디-롬 드라이브가 1대 접속된 경우 2) ATAPI 씨디-롬 드라이브가 1대와 하드 디스크가 1대 접속된 경우 3) ATAPI 씨디-롬 드라이브가 2대 접속된 경우가 있을 수 있다.When the drive is connected on one ATAPI cable 1) When one ATAPI CD-ROM drive is connected 2) When one ATAPI CD-ROM drive and one hard disk are connected 3) ATAPI CD-ROM There may be two drives connected.

이러한 각각의 경우에 대한 인식명 결정 과정을 설명하면 다음과 같다.Referring to the recognition name determination process for each of these cases is as follows.

먼저, 드라이브 타입 선택 장치가 있는 ATAPI 씨디-롬(CD-ROM)드라이브가 1대 접속된 경우 즉, 드라이브(210)만이 호스트 피씨(200)에 접속된 경우 전원이 온되면 드라이브(210)는 마이크로 컴퓨터(212)가 인식명 선택부(211)의 점퍼 세팅을 읽어 사용자가 설정한 드라이브 타입을 인터페이스부(213) 내부의 ID 레지스터에 임시 저장하고 이어서 그 임시 드라이브 타입을 인식명 점검부(214)에 저장하게 된다.First, when one ATAPI CD-ROM drive having a drive type selection device is connected, that is, only the drive 210 is connected to the host PC 200, when the power is turned on, the drive 210 is a microcomputer. The computer 212 reads the jumper setting of the recognition name selection unit 211 and temporarily stores the drive type set by the user in the ID register inside the interface unit 213, and then stores the temporary drive type in the identification name checking unit 214. Will be stored in.

이때, 멀티플렉서(215)는 ATAPI 케입블을 인식명 점검부(214)에 접속시켜 인터페이스부(213)을 그 ATAPI 케이블에서 분리시키며 상기 인식명 점검부(214)는 마이크로 컴퓨터(212)에 의해 트리거되어 ATAPI 케이블이 사용중인지 ATAPI 상태 레지스터의 비지 비트(busy bit)를 검사하게 된다.At this time, the multiplexer 215 connects the ATAPI cable to the recognition name checker 214 to separate the interface 213 from the ATAPI cable, and the recognition name checker 214 is triggered by the microcomputer 212. This will check the busy bit in the ATAPI status register to see if the ATAPI cable is in use.

이에 따라, 다른 드라이브가 없어 ATAPI 상태 레지스터의 비지 비트가 '0'인 상태이므로 인식명 점검부(214)는 ATAPI 상태 레지스터의 비지 비트를 '1'로 세팅하고 ATAPI 드라이브 선택 레지스터에 자신의 임시 드라이브 타입을 세팅하여 ATAPI 케이블에 전송하게 된다.Accordingly, since there is no other drive and the busy bit of the ATAPI status register is '0', the recognition name checker 214 sets the busy bit of the ATAPI status register to '1' and its temporary drive in the ATAPI drive selection register. Set the type to send on the ATAPI cable.

따라서, 다른 드라이브가 없어 응답이 없으므로 인식명 점검부(2144)는 이를 마이크로 컴퓨터(212)에 알려 인터페이스부(213)에 저장된 임시 드라이브 타입 즉, 인식명 선택부(211)에 세팅 점퍼대로 자신의 드라이브 타입으로 결정하게 된다.Therefore, since there is no other drive and there is no response, the recognition name checking unit 2144 notifies the microcomputer 212 of the temporary drive type stored in the interface unit 213, that is, the setting jumper to the recognition name selecting unit 211 as its setting jumper. The drive type is determined.

한편, 동일한 ATAPI 케이블상에 2대의 드라이브를 접속한 경우를 설명하면 다음과 같다.Meanwhile, a case where two drives are connected on the same ATAPI cable will be described below.

우선, 사용자는 드라이브(210)(220)의 후면에 설치된 점퍼 블럭을 세팅하여 각기 마스터와 슬래브로 설정하게 된다.First, the user sets a jumper block installed at the rear of the drives 210 and 220 to set the master and the slab, respectively.

이 후, 전원이 온되면 제 1, 제 2 드라이브(210)(220)는 각기 마이크로 컴퓨터(212)가 인식명 선택부(211)의 점퍼 세팅을 읽어 사용자가 설정한 드라이브 타입을 인터페이스부(213) 내부의 ID 레지스터에 임시 저장하고 이어서 그 임시 드라이브 타입을 인식명 점검부(214)에 저장하게 된다.After that, when the power is turned on, the first and second drives 210 and 220 respectively read the jumper setting of the recognition name selector 211 by the microcomputer 212 and indicate the drive type set by the user. The temporary drive type is stored in the ID register of the internal memory and the temporary drive type is stored in the recognition name checker 214.

이때, 멀티플렉서(215)는 ATAPI 케이블을 인식명 점검부(214)에 접속시켜 인터페이스부(213)을 그 ATAPI 케이블에서 분리시켜며 상기 인식명 점검부(214)는 마이크로 컴퓨터(214)에 의해 트리거되어 ATAPI 케이블이 사용중인지 ATAPI 상태 레지스터의 비지 비트(busy bit)를 검사하게 된다.At this time, the multiplexer 215 connects the ATAPI cable to the recognition name checker 214 to separate the interface 213 from the ATAPI cable, and the recognition name checker 214 is triggered by the microcomputer 214. This will check the busy bit in the ATAPI status register to see if the ATAPI cable is in use.

이에 따라, ATAPI 상태 레지스터의 비지 비트가 '0'으로 다른 드라이브에 의해 ATAPI 케이블이 사용중이 아니면 인식명 점검부(214)는 ATAPI 상태 레지스터의 비지 비트를 '1'로 세팅하게 된다.Accordingly, if the busy bit of the ATAPI status register is '0' and the ATAPI cable is not in use by another drive, the recognition name check unit 214 sets the busy bit of the ATAPI status register to '1'.

이는 ATAPI 케이블이 현재 사용중임을 표시하여 다른 기기들이 동시에 ATAPI 케이블을 사용하는 것을 방지함은 물론 동일한 드라이브 타입이 존재하는 경우 다시 드라이브 타입이 결정되기 전에 호스트 피씨(200)에 의한 액세스를 방지하기 위한 것이다.This indicates that the ATAPI cable is currently in use to prevent other devices from using the ATAPI cable at the same time, as well as to prevent access by the host PC 200 before the drive type is determined again if the same drive type exists. .

또한, 동일한 ATAPI 케이블에 접속된 다른 드라이브의 인식명 점검부(214)가 동작하는 것을 방지하여 복수개의 인식명 점검부의 동작에 의한 오동작을 방지하기 위한 것이다.In addition, the recognition name check unit 214 of another drive connected to the same ATAPI cable is prevented from operating to prevent a malfunction caused by the operation of the plurality of recognition name check units.

여기서, 드라이브(210)가 ATAPI 케이블을 점유한 상태라고 가정하면 드라이브(220)는 멀티플렉서(215)에 의해 ATAPI 케이블이 인터페이스부(213)에 접속된 상태이다.Here, assuming that the drive 210 occupies the ATAPI cable, the drive 220 is a state in which the ATAPI cable is connected to the interface unit 213 by the multiplexer 215.

이 후, 드라이브(210)는 인식명 점검부(214)가 ATAPI 드라이브 선택 레지스터에 자신의 임시 드라이브 타입을 세팅하고 ATAPI Soft Reset 명령을 ATAPI 케이블에 전송함에 의해 ATAPI 케이블상에 드라이브 타입이 일치하는 ATAPI CD-ROM 드라이브나 하드 디스크가 존재하여 응답이 있는지 판단하게 된다.The drive 210 then sets the temporary drive type in the recognition name checker 214 in the ATAPI drive selection register and transmits an ATAPI Soft Reset command to the ATAPI cable, which matches the drive type on the ATAPI cable. A CD-ROM drive or hard disk is present to determine if there is a response.

이에 따라, 인식명 점검부(214)는 응답이 없으면 동일한 ATAPI 케이블상에 중복되는 드라이브 타입이 없음을 마이크로 컴퓨터(212)에 알려 인터페이스부(213)에 저장된 임시 드라이브 타입을 자신의 드라이브 타입으로 결정하도록 한다.Accordingly, the identification name checker 214 notifies the microcomputer 212 that there is no duplicate drive type on the same ATAPI cable if there is no response, and determines the temporary drive type stored in the interface unit 213 as its drive type. Do it.

만일, 응답이 있는 경우 ATAPI 케이블상에 자신의 타입과 동일한 드라이브 타입이 존재함을 인식한 인식명 점검부(214)는 이를 마이크로 컴퓨터(212)에 알려 인터페이스부(213)에 임시 저장된 드라이브 타입을 반대 타입으로 결정하여 저장하도록 한다.If there is a response, the recognition name check unit 214, which recognizes that the same drive type as its own type exists on the ATAPI cable, informs the microcomputer 212 of the temporary drive type stored in the interface unit 213. It is decided to save the opposite type.

여기서, 응답이 'EB14h' 값이면 드라이브(220)는 ATAPI 인터페이스 규격을 채용한 씨디-롬 드라이브이고, '01h'라면 하드 디스크이다.If the response is 'EB14h', the drive 220 is a CD-ROM drive employing the ATAPI interface standard. If the response is '01h', the drive 220 is a hard disk.

다시 말해서, ATAPI 씨디-롬(CD-ROM) 드라이브 1대와 기존의 드라이브인 하드 디스크 1대가 동일한 타입으로 설정되어 접속된 경우라면 동일한 드라이브 타입의 점검을 위하여 ATAPI 케이블상에 ATAPI Soft Reset 명령이 전송되었을 때 '01h'값의 응답이 있게 된다.In other words, if one ATAPI CD-ROM drive and one existing hard disk are connected to the same type, ATAPI Soft Reset command is sent on the ATAPI cable to check the same drive type. When the response is made, there is a response of '01h'.

이에 따라, 드라이브 타입의 중복이 발생된 것으로 기존의 드라이브인 하드 디스크의 타입을 변경할 수 없으므로 그 하드 디스크는 점퍼 블럭대로 드라이브 타입이 결정되고 드라이브 타입 선택 기능이 있는 ATAPI 씨디-롬(CD-ROM) 드라이브에서 인식명 선택부(211)의 세팅 점퍼와는 반대의 드라이브 타입을 결정하게 된다.As a result, drive type redundancy has occurred, and the type of a hard disk, which is an existing drive, cannot be changed. Therefore, the drive type of the hard disk is determined by a jumper block. The drive determines the drive type opposite to the setting jumper of the recognition name selector 211.

그리고, 드라이브 타입 선택 기능이 있는 ATAPI 씨디-롬(CD-ROM) 드라이브 2대가 동일한 드라이브 타입으로 설정되어 접속된 경우 전원이 인가될 때 마이크로 컴퓨터(212)가 먼저 초기화되어 동작하는 드라이브에서 우선적으로 ATAPI 케이블을 사용하여 자신과 동일한 드라이브 타입이 있는지 점검하게 된다.When two ATAPI CD-ROM drives with a drive type selection function are set to the same drive type and connected, ATAPI is preferentially used in a drive in which the microcomputer 212 is first initialized and operated when power is applied. You will use a cable to check that you have the same drive type.

이에 따라, 'EB14h' 값이 응답되었다면 드라이브 타입의 중복으로 인식하여 인식명 선택부(211)에 세팅된 드라이브 타입과는 반대로 드라이브 타입을 결정하고 이를 인터페이스부(213)에 저장하게 된다.Accordingly, if the value 'EB14h' is answered, the drive type is recognized as a duplicate of the drive type, and the drive type is determined as opposed to the drive type set in the recognition name selection unit 211 and stored in the interface unit 213.

즉, ATAPI 씨디-롬(CD-ROM) 드라이브 2대가 동일한 드라이브 타입으로 설정되어 접속된 경우 전원이 온되어 초기화 동작이 먼저 발생된 드라이브가 자신의 드라이브 타입을 변경하게 되고 다른 드라이버는 점퍼 세팅대로 드라이브 타입이 결정된다.In other words, if two ATAPI CD-ROM drives are connected to the same drive type and connected, the drive whose power is turned on and the initialization operation first occurs will change its drive type. The type is determined.

상기와 같은 과정을 통해 ATAPI 케이블상에 동일한 타입의 드라이브가 접속되지 않았거나, 동일한 타입이 있어 자신의 드라이브 타입을 반대로 결정하는 과정이 완료되면 인식명 점검 과정을 종료하게 된다.If the same type of drive is not connected to the ATAPI cable through the above process or the same type is present, the process of determining the reverse drive type is completed.

이 후, 드라이브(210)(220)는 멀티플렉서(215)에 의해 인터페이스부(213)에 ATAPI 케이블이 접속되어진다.After that, the AT210 cable is connected to the interface unit 213 by the multiplexer 215 of the drives 210 and 220.

이 후, 호스트 피씨(200)에서 ATAPI 명령을 ATAPI 케이블에 전송하는데, ATAPI 명령을 전송할 때마다 그 명령을 수행할 드라이브 타입을 설정하여 전송하게 된다.Thereafter, the host PC 200 transmits an ATAPI command to the ATAPI cable. Each time the ATAPI command is transmitted, a drive type for performing the command is set and transmitted.

이때, 제 1, 제 2 드라이브(210)(220)는 각기 인터페이스부(213)에서 ATAPI 명령과 함께 전송되는 드라이브 타입을 ID 레지스터에 세팅되어 있는 자신의 타입과 비교하게 된다.At this time, each of the first and second drives 210 and 220 compares the drive type transmitted from the interface unit 213 with the ATAPI command with its own type set in the ID register.

이에 따라, 제 1, 제 2 드라이브(210)(220)는 각기 인터페이스부(213)에서 ATAPI 명령과 함께 전송되는 드라이브 타입과 ID 레지스터에 세팅되어 있는 자신의 타입이 일치한다고 판단하는 경우 마이크로 컴퓨터라 호스트 피씨(100)에서 전송된 ATAPI 명령을 실행하게 된다.Accordingly, each of the first and second drives 210 and 220 is a microcomputer when the interface unit 213 determines that the drive type transmitted with the ATAPI command matches its own type set in the ID register. The ATPC command transmitted from the host PC 100 is executed.

상기에서 상세히 설명한 바와 같이 본 발명은 복수개의 디바이스가 호스트 피씨에 접속되어 있는 경우 동일한 드라이브 타입으로 설정된 경우 우선 동작하는 드라이브가 이를 검출하여 자신의 드라이브 타입을 변경하여 드라이브 타입이 중복되지 않도록 함으로써 데이타 송수신을 원활하게 할 수 있는 효과가 있다.As described in detail above, in the present invention, when a plurality of devices are connected to a host PC, the present invention detects the first drive and changes its own drive type so that the drive types are not duplicated. There is an effect that can smoothly.

Claims (3)

동일한 ATAPI 케이블에 호스트 피씨(PC)와 복수개의 디스크 드라이브를 공통 접속한 디스크 재생기에 있어서, 상기 복수개의 드라이브는 드라이브 타입을 세팅하는 인식명 선택 수단과, 상기 호스트 피씨(PC)와 데이타 송수신을 수행하며 드라이브 타입을 저장하는 인터페이스 수단과, 동작 초기에 임시 드라이브 타입과 동일한 드라이브 타입이 있는지 검사하는 인식명 점검 수단과, 동작 초기에 상기 인식명 선택수단에 설정된 드라이브 타입을 상기 인터페이스 수단에 임시로 저장하고 상기 인식명 점검 수단에서 동일한 드라이브 타입이 존재함을 검출하면 상기 인터페이스 수단에 임시 저장된 드라이브 타입을 변경하는 제어 수단과, 인식명 점검의 경우에만 상기 인터페이스 수단에 접속된 ATAPI 케이블을 상기 인식명 점검수단으로 절환시키는 멀티플렉서로 각기 구성함을 특징으로 하는 디스크 재생기의 드라이브 타입 결정 장치.In a disc player in which a host PC and a plurality of disk drives are commonly connected to the same ATAPI cable, the plurality of drives perform recognition data selection means for setting a drive type, and data transmission and reception with the host PC. Interface means for storing the drive type, recognition name checking means for checking whether there is a same drive type as the temporary drive type at the beginning of operation, and temporarily storing the drive type set in the recognition name selecting means at the initial operation in the interface means. And the control means for changing the drive type temporarily stored in the interface means when the recognition name checking means detects that the same drive type exists, and the ATAPI cable connected to the interface means only for the recognition name checking. Multiple to switch by means Drive type determination apparatus of the disc player, characterized in that the respective configuration with each other. 제1항에 있어서, 인식명 점검 수단은 우선적으로 초기화된 드라이브의 경우만이 동일한 드라이브 타입을 검출하는 동작을 수행하도록 구성한 것을 특징으로 하는 디스크 재생기의 드라이브 타입 결정 장치.The apparatus of claim 1, wherein the recognition name checking means is configured to perform the operation of detecting the same drive type only in the case of a drive that has been initialized first. 제1항에 있어서, 멀티플렉서는 인식명 점검을 수행하는 드라이브만이 ATAPI 케이블을 인식명 점검 수단에 접속시키도록 구성한 것을 특징으로 하는 디스크 재생기의 드라이브 타입 결정 장치.The apparatus of claim 1, wherein the multiplexer is configured so that only the drive that performs the identification name checking connects the ATAPI cable to the identification name checking means.
KR1019960061235A 1996-12-03 1996-12-03 Device for determining the drive type of a disc reproducer KR100234741B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1019960061235A KR100234741B1 (en) 1996-12-03 1996-12-03 Device for determining the drive type of a disc reproducer
JP9328032A JPH10187588A (en) 1996-12-03 1997-11-28 Disk drive device, interfacing method, and communication mode determining device of disk reproducing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960061235A KR100234741B1 (en) 1996-12-03 1996-12-03 Device for determining the drive type of a disc reproducer

Publications (2)

Publication Number Publication Date
KR19980043389A KR19980043389A (en) 1998-09-05
KR100234741B1 true KR100234741B1 (en) 1999-12-15

Family

ID=19485520

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960061235A KR100234741B1 (en) 1996-12-03 1996-12-03 Device for determining the drive type of a disc reproducer

Country Status (2)

Country Link
JP (1) JPH10187588A (en)
KR (1) KR100234741B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1322410C (en) * 2004-04-29 2007-06-20 联发科技股份有限公司 Data transmission system capable of carrying out multitask access on ATA bus

Also Published As

Publication number Publication date
KR19980043389A (en) 1998-09-05
JPH10187588A (en) 1998-07-21

Similar Documents

Publication Publication Date Title
US5721840A (en) Information processing apparatus incorporating automatic SCSI ID generation
KR910010040B1 (en) Diskette drive and media type determination
US6122685A (en) System for improving the performance of a disk storage device by reconfiguring a logical volume of data in response to the type of operations being performed
US5805921A (en) Enhanced integrated device electronics (EIDE) interface for controlling communication between CPU and nine storage drives including tape drive, CD-ROM drive, and seven hard disk drives
EP0682314B1 (en) Redundant disk storage system
KR20020064142A (en) Disc drive for achieving improved audio and visual data transfer
US6230074B1 (en) High-capacity jukebox device for storing and accessing computer-readable media
US6282584B1 (en) Structure and method for reading/writing signature commands from/to a plurality of controller pairs
JP3279248B2 (en) Switch mechanism, disk array device having the same, and computer system
JP2759920B2 (en) Method and apparatus for operating a DASD peripheral data storage subsystem
US4928193A (en) Diskette drive type determination
KR100234741B1 (en) Device for determining the drive type of a disc reproducer
KR100251950B1 (en) Data storage apparatus
US5452421A (en) System for using register sets and state machines sets to communicate between storage controller and devices by using failure condition activity defined in a request
EP0167879B1 (en) Diskette drive type determination mechanism
JP3279854B2 (en) Recording and playback device
US6532504B2 (en) System for data transmission to recording device
JP3275492B2 (en) Linked disk unit
US7016983B2 (en) System and method for controlling a communication bus
JPH0684272A (en) Information recording and reproducing device provided with operation mode switching means and switching method
KR0160190B1 (en) Complementary computer system and data recording
JP2002222062A (en) Disk device and information processing system
JPH06131125A (en) Disk array device
JPH11224167A (en) Recording and reproducing device
JPH07176092A (en) Magneto-optical disk and magneto-optical disk device

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20060616

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee