KR100279120B1 - Method for testing operation ata-command in optical disc drive - Google Patents

Method for testing operation ata-command in optical disc drive Download PDF

Info

Publication number
KR100279120B1
KR100279120B1 KR1019970062800A KR19970062800A KR100279120B1 KR 100279120 B1 KR100279120 B1 KR 100279120B1 KR 1019970062800 A KR1019970062800 A KR 1019970062800A KR 19970062800 A KR19970062800 A KR 19970062800A KR 100279120 B1 KR100279120 B1 KR 100279120B1
Authority
KR
South Korea
Prior art keywords
command
ata
optical disk
disk drive
drive
Prior art date
Application number
KR1019970062800A
Other languages
Korean (ko)
Other versions
KR19990042096A (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 KR1019970062800A priority Critical patent/KR100279120B1/en
Publication of KR19990042096A publication Critical patent/KR19990042096A/en
Application granted granted Critical
Publication of KR100279120B1 publication Critical patent/KR100279120B1/en

Links

Images

Landscapes

  • Optical Recording Or Reproduction (AREA)

Abstract

가. 청구범위에 기재된 발명이 속한 기술분야end. TECHNICAL FIELD OF THE INVENTION

광디스크 드라이브Optical disc drive

나. 발명이 해결하려고 하는 기술적 과제I. The technical problem that the invention is trying to solve

호스트컴퓨터에서의 ATA 광디스크 드라이브의 ATA 커맨드에 대한 동작 수행 테스트에 있어서, 부가 장비의 필요 없이 테스트를 수행하고, 테스트시 소요되는 시간을 단축시킨다.In the performance test of the ATA command of the ATA optical disk drive in the host computer, the test is performed without the need for additional equipment, and the time required for the test is shortened.

다. 그 발명의 해결방법의 요지All. Summary of the Solution of the Invention

호스트컴퓨터에서의 ATA 광디스크 드라이브의 ATA 커맨드에 대한 동작 수행 테스트에 있어서, 호스트컴퓨터 자체에서 미리 설정된 ATA 커맨드를 상기 ATA 광디스크 드라이브에 인가하고, 이후 광디스크 드라이브에서 상기 인가된 ATA 컨멘드에 대한 실행 가능 여부의 소정 출력값에 의거하여 상기 인가한 ATA 커맨드의 동작 수행이 가능하다고 판단하는 것에 의해 테스트를 수행한다.In the performance test of the ATA command of the ATA optical disc drive in the host computer, whether a preset ATA command is applied to the ATA optical disc drive in the host computer itself, and then the execution of the applied ATA command is possible in the optical disc drive. The test is performed by determining that the operation of the applied ATA command is possible based on a predetermined output value of.

라. 발명의 중요한 용도:la. Important uses of the invention:

ATA 광디스크 드라이브의 ATA 커맨드에 대한 동작 수행 테스트에 있어서 중요히 사용될 수 있다.It can be important in the performance test of ATA command of ATA optical disk drive.

Description

광디스크 드라이브의 에이.티.에이 커맨드 동작 테스트 방법{METHOD FOR TESTING OPERATION ATA-COMMAND IN OPTICAL DISC DRIVE}METHOD FOR TESTING OPERATION ATA-COMMAND IN OPTICAL DISC DRIVE}

본 발명은 광디스크 드라이브(optical disc drive)에 관한 것으로, 특히 광디스크 드라이브의 에이.티.에이(ATA) 커맨드(command)에 대한 동작 테스트 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optical disc drive, and more particularly, to an operation test method for an ATA command of an optical disc drive.

광디스크 드라이브(이하 드라이브라 함)는 레이저 등과 같은 광을 이용하여 주어진 정보 기록용 매체 즉, CD(Compact Disk) 등과 같은 광디스크에 정보를 기록하거나, 기록된 정보를 재생하는 장치이다.An optical disk drive (hereinafter referred to as a drive) is a device for recording information on a given information recording medium, ie, an optical disk such as a compact disk (CD), or the like, using optical light such as a laser or the like.

통상 정보의 기록에 사용되는 광디스크는 자기 디스크에 비해 단위 면적당 상당히 높은 정보 기록 밀도를 갖고 있으며, 이러한 점은 광디스크 기술의 주요 장점이다. 또한 광기록, 재생 시스템은 하드 디스크(hard disk)라 불리우는 자기 디스크 드라이브보다 아래에 기술되는 이유로 더 신뢰성이 높다고 여겨진다. 즉, 정보의 기록 또는 재생에 사용되는 광헤드(광픽업)는 자기헤드에 비해 항상 디스크로부터 일정거리 이상 떨어져서 위치하며, 이러한 이유로 헤드 크래시(crash)나 매체 표면의 마모, 찢김이 발생하지 않으며, 또한 광디스크는 자기 디스크에 비해 먼지 등과 같은 이물질이나, 외부 충격에 의한 악영향을 덜 받는다.Optical discs, which are usually used for recording information, have a significantly higher information recording density per unit area than magnetic discs, which is a major advantage of the optical disc technology. Optical recording and reproducing systems are also considered to be more reliable for the reasons described below than magnetic disk drives called hard disks. That is, the optical head (optical pickup) used for recording or reproducing information is always located at a distance or more away from the disk compared to the magnetic head, and for this reason, there is no head crash or wear or tear of the surface of the medium. In addition, the optical disk is less adversely affected by foreign matters such as dust or external shock than the magnetic disk.

상기한 광디스크나 광디스크 드라이브는 기록, 재생 특성 등에 따라 여러 다양한 종류가 있으며, 그러한 모든 광디스크 드라이브는 광디스크의 로딩/언로딩(loading/unloading) 메커니즘(mechanism)과, 광디스크 회전에 필요한 스핀들모터(spindle motor)와, 컨트롤부의 제어하에 광디스크로부터 정보를 재생하는 드라이브전자회로부와, 컨트롤(control)부를 포함한다. 컨트롤부는 커맨드의 흐름과, 여러 플래그(flag)의 상태와, 퍼스널컴퓨터 등과 같은 호스트와 드라이브전자회로부사이의 정보 전송을 관리한다.There are many different types of optical discs or optical disc drives according to recording and playback characteristics, and all such optical disc drives have a loading / unloading mechanism of the optical disc, and a spindle motor required for rotating the optical disc. ), A drive electronic circuit unit for reproducing information from the optical disc under control of the control unit, and a control unit. The control unit manages the flow of commands, the status of various flags, and the transfer of information between the host and drive electronic circuitry, such as a personal computer.

한편 최근 ANSI(American National Standard Institute) 규격에 따라 널리 보급된 AT표준 퍼스널 컴퓨터는 16비트의 ISA(Industry Standard Architecture) 데이터 버스를 쓰고 있으며, 그에 따라 광디스크 드라이브의 호스트와의 인터페이스 방식에는 AT표준 호스트의 16비트의 데이터버스를 그대로 연결하며 일대일로 데이터 전송이 가능한 ATA(AT attachment)(또는 IDE(Intelligent Drive Electronics)) 인터페이스 방식에 따른 광디스크 드라이브가 개발 보급되고 있다. 이러한 ATA인터페이스에 따른 광디스크 드라이브(이하 ATA드라이브라 함)는 호스트컴퓨터와의 인터페이스를 담당하는 부분, 예를 들어 ATAPI(Advanced Technology Attachment Packet Interface) 칩(chip)을 가진다.On the other hand, AT standard personal computers, which are widely used in accordance with the American National Standard Institute (ANSI) standard, use a 16-bit Industry Standard Architecture (ISA) data bus. Optical disk drives based on an ATA (AT attachment) (or IDE (Intelligent Drive Electronics)) interface method capable of one-to-one data transfer by directly connecting a 16-bit data bus are being developed. The optical disk drive (hereinafter referred to as ATA driver) according to the ATA interface has a portion in charge of the interface with the host computer, for example, an ATAPI (Advanced Technology Attachment Packet Interface) chip.

한편 상기한 ATA드라이브의 제조 공정 도중에 제조자는 통상 ATA 커맨드에 대한 상기 ATA드라이브의 동작을 테스트하여 각 커맨드에 대한 동작이 불량하면 드라이브를 해당 부품을 교체하는 등 불량처리하게 된다.On the other hand, during the manufacturing process of the ATA drive, the manufacturer usually tests the operation of the ATA drive for the ATA command, and if the operation of each command is bad, the drive is replaced with a defective part such as replacing the corresponding parts.

그런데 ATA 광디스크 드라이브의 ATA 커맨드에 대한 동작 테스트를 하기 위해서 통상 특수한 ATA커맨드테스트장비를 이용하여 드라이브에 각 커맨드를 실제로 실행시키고 이후 드라이브의 동작을 살펴보는 것으로 테스트하였다. 따라서 테스트에 특수한 장비가 필요하였으며, 또한 커맨드에 대한 동작 수행을 직접 동작시켜 테스트해 보아야 하므로 테스트시간이 많이 소요되었다.However, in order to test the operation of the ATA command of the ATA optical disk drive, a general ATA command test device was used to actually execute each command in the drive and then test the operation of the drive. Therefore, special equipment was required for the test, and test time was required because it was necessary to directly test the performance of the operation.

따라서 본 발명의 목적은 ATA 광디스크 드라이브의 ATA 커맨드에 대한 동작 수행 테스트를 별도의 부가 장비의 필요 없이 수행할 수 있는 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a method for performing an operation test on an ATA command of an ATA optical disk drive without the need for additional equipment.

본 발명의 다른 목적은 ATA 광디스크 드라이브에의 ATA 커맨드에 대한 동작 수행 테스트에 소요되는 시간을 단축시킬 수 있는 방법을 제공함에 있다.Another object of the present invention is to provide a method for shortening the time required for performing an operation test on an ATA command to an ATA optical disk drive.

상기한 목적을 달성하기 위해, 본 발명은 호스트컴퓨터에서의 ATA 광디스크 드라이브의 ATA 커맨드에 대한 동작 수행 테스트에 있어서, 호스트컴퓨터 자체에서 미리 설정된 ATA 커맨드를 상기 ATA 광디스크 드라이브에 인가하고, 이후 광디스크 드라이브에서 상기 인가된 ATA 컨맨드에 대한 실행 가능 여부의 소정 출력값에 의거하여 상기 인가한 ATA 커맨드의 동작 수행이 가능하다고 판단하는 것으로 상기 테스트를 수행함을 특징으로 한다.In order to achieve the above object, the present invention, in the performance test of the ATA command of the ATA optical disk drive in the host computer, applying the ATA command preset in the host computer itself to the ATA optical disk drive, and then in the optical disk drive The test is performed by determining that the operation of the applied ATA command is possible based on a predetermined output value of whether or not the applied ATA command is executable.

도 1은 본 발명의 일 실시예에 따른 광디스크 드라이브의 에이.티.에이(ATA) 커맨드 동작 테스트를 설명하기 위한 도면1 is a view for explaining the operation of the A.T (ATA) command operation of the optical disk drive according to an embodiment of the present invention.

도 2는 도 1중 호스트에서 광디스크 드라이브의 에이.티.에이 커맨드 동작 테스트 과정의 제어 흐름도FIG. 2 is a control flowchart of an A.T command operation test process of the optical disk drive in the host of FIG.

이하 본 발명에 따른 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 하기 설명에서는 구체적인 ATA 커맨드나, 테스트 진행 과정 등과 같은 특정 사항들이 나타나고 있는데 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐 이러한 특정 사항들이 본 발명의 범위 내에서 소정의 변형이나 혹은 변경이 이루어질 수 있음은 이 기술분야에서 통상의 지식을 가진 자에게는 자명하다 할 것이다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description, specific matters such as specific ATA commands and test progress are shown, which are provided to help a more general understanding of the present invention, and such specific matters may be changed or changed within the scope of the present invention. It will be obvious to those of ordinary skill in the art.

도 1은 본 발명의 일 실시예에 따른 광디스크 드라이브의 ATA 커맨드에 대한 동작 테스트를 설명하기 위한 도면이다. 도 1에서는 설명의 편의를 위해 호스트 10을 ATA 퍼스널 컴퓨터로, 광디스크 드라이브 20을 ATA CD-ROM(Read Only Memory)드라이브로 설정하여 설명하기로 한다. 도 1에 도시된 바와 같이, 통상 호스트 10에는 통신용 포트부가 포트A 12, 포트B 14로 구비되어 있으며, 이러한 포트부 중 어느 한 포트부로 드라이브 20과 연결된다. 호스트 10이 포트를 통해 ATA 커맨드(ATA-COM)를 드라이브 20으로 인가하면, 드라이브 20은 그에 따른 리턴값(RETURN-VAL)을 다시 연결 포트를 통해 호스트 10으로 전송한다.1 is a view for explaining an operation test for the ATA command of the optical disk drive according to an embodiment of the present invention. In FIG. 1, for convenience of description, the host 10 is set as an ATA personal computer, and the optical disk drive 20 is set as an ATA CD-ROM (Read Only Memory) drive. As shown in FIG. 1, a communication port part is usually provided as a port A 12 and a port B 14 in the host 10, and the port 10 is connected to the drive 20 through any one of these port parts. When the host 10 issues an ATA command (ATA-COM) to the drive 20 through the port, the drive 20 sends a corresponding return value (RETURN-VAL) back to the host 10 through the connection port.

도 2는 도 1중 호스트에서 광디스크 드라이브의 ATA 커맨드 동작 테스트 과정의 제어 흐름도이며, 이하 도 1, 도 2 및 아래 표 1을 참조하여 테스트를 보다 상세히 설명하기로 한다.FIG. 2 is a control flowchart of an ATA command operation test procedure of an optical disk drive in the host of FIG. 1, and the test will be described in more detail with reference to FIGS. 1, 2, and Table 1 below.

ATA 커맨드의 종류와 OP코드(OPeration CODE)의 일 예를 아래 표 1로 도시하였다.An example of the types of ATA commands and the OP code are shown in Table 1 below.

ATA-COMATA-COM OP-CODEOP-CODE :::: :::: READREAD 28h28h :: :: READ CD-ROM CAPACITYREAD CD-ROM CAPACITY 25h25h READ CDREAD CD BEhBEh READ CD MSFREAD CD MSF B9hB9h READ HEADERREAD HEADER 44h44h READ SUB-CHANNELREAD SUB-CHANNEL 42h42h READ TOCREAD TOC 43h43h :::: ::::

표 1에는 READ와 관련된 ATA커맨드의 일 예 중 주요 커맨드를 도시하였으나 ATA커맨드는 이외에도 다수 있다.Table 1 shows the main commands among the ATA commands related to READ, but there are many other ATA commands.

테스트 수행시 상기한 표 1과 같은 ATA 커맨드와 OP코드 중 주요 커맨드의 리스트는 테스트를 위해 본 발명의 특징에 따라 미리 설정되어 호스트의 내부 소정 버퍼용 메모리에 저장되거나, 아니면 테스트 프로그램 내에 수록된다.When performing the test, the list of main commands among the ATA commands and the OP codes shown in Table 1 above are set in advance according to the features of the present invention for testing and stored in the internal predetermined buffer memory of the host, or stored in the test program.

도 2를 참조하면, 먼저 호스트 10은 30단계에서 테스트할 ATA 커맨드(ATA-COM)리스트를 로딩한다. 이후 32단계에서 처음 테스트할 ATA-COM을 포트를 통해 드라이브로 인가한다. 통상 ATA 퍼스널 컴퓨터 호스트 10에서 포트A 12의 번지는 1F0∼1F7로, 포트B 14의 번지는 통상 170∼177로 설정되어 있으며, 각 포트는 8비트(bit)이다. 상기한 ATA-COM은 통상 1F0/170의 포트를 통해 인가된다. 도 1에 도시된 바에 따르면 본 발명의 일 실시예에서는 1F0의 포트를 통해 인가된다. 이때 통상 인가되는 ATA 커맨드는 12바이트(byte)이다. 표 1을 참조하여 설명하면, "READ" 커맨드가 처음 인가할 커맨드로 미리 설정되어 있다면, 포트 1F0을 통해 28h의 OP코드가 인가되고 이후 인가되는 세부 지정 커맨드는 "0"이나 "1" 혹은 더미(dummy)데이터 패턴을 인가할 수 있다. 이는 본 발명이 실제 커맨드를 수행시켜보는 것이 아니라, 단순히 해당 커맨드에 대한 동작 수행이 가능한가 불가능한가를 판단하기 위한 것이므로, 세부 지정 커맨드를 일일이 인가할 필요가 없기 때문이다.Referring to FIG. 2, first, the host 10 loads a list of ATA commands (ATA-COM) to be tested in step 30. Then, in step 32, apply ATA-COM to the drive through the port for the first test. In the ATA personal computer host 10, the addresses of ports A12 are set to 1F0 to 1F7, and the addresses of ports B14 are usually set to 170 to 177, and each port is 8 bits. The ATA-COM is usually applied through a port of 1F0 / 170. As shown in FIG. 1, in one embodiment of the present invention, the signal is applied through a port of 1F0. At this time, the commonly applied ATA command is 12 bytes. Referring to Table 1, if the "READ" command is previously set as the command to be applied first, the OP code of 28h is applied through the port 1F0, and the detailed designation command to be subsequently applied is "0" or "1" or dummy. The dummy data pattern can be applied. This is because the present invention is not to perform the actual command, but merely to determine whether it is possible or impossible to perform the operation for the command, it is not necessary to apply a specific command.

이후 34단계에서 호스트 10은 드라이브 20의 비지(BUSY) 상태를 확인한다. 비지 상태란 드라이브 20이 일정 정상적인 시간이 지나도록 계속 동작을 수행 하고 있는 상태를 말하며, 비지 상태 즉, 인가된 커맨드에 대한 동작 수행이 필요 이상 많은 시간이 요구되는 것은 드라이브 20의 동작에 에러가 있다는 뜻이 된다. 따라서 커맨드를 인가한 후 드라이브 20의 비지 상태를 확인하여 동작이 정확히 수행되는지 확인하게 된다. 비지 상태의 체크를 위한 정상 동작 판단 시간 등은 미리 적절히 설정되어 있다. 이러한 비지 상태의 체크는 호스트 10이 포트 1F7/177을 통해 드라이브 20에서 인가되는 값의 비트 7을 확인함으로 이루어질 수 있는데, 비트 7의 값이 "0"이면 비지 상태가 아니며, 비트 값이 "1"이면 비지 상태라는 뜻이다. 드라이브 20이 비지 상태이면 호스트 10은 36단계에서 이를 판단하여 이후 38단계로 진행하여 드라이브 20의 비지 에러 처리를 하게 된다. 이러한 비지 에러 처리는 소정 디스플레이장치를 통해 이를 표시하는 것으로 이루어질 수도 있다.In step 34, the host 10 checks the BUSY status of the drive 20. Busy state refers to a state in which the drive 20 continues to operate for a certain time. A busy state, that is, a time required to perform an operation for an authorized command requires more time than an error in the operation of the drive 20. It makes sense. Therefore, after the command is applied, the busy state of the drive 20 is checked to confirm that the operation is performed correctly. The normal operation determination time for checking the busy state is appropriately set in advance. This check of busy state can be done by host 10 checking port 7 of the value applied from drive 20 through port 1F7 / 177. If the value of bit 7 is "0", it is not busy and the bit value is "1". "Means busy status. If the drive 20 is busy, the host 10 determines this in step 36 and proceeds to step 38 to process the busy error of the drive 20. Such busy error processing may be performed by displaying it through a predetermined display device.

한편 드라이브 20이 비지 상태가 아니면 이후 호스트 10은 40단계에서 상기 인가한 ATA-COM에 대한 드라이브 20의 리턴값을 확인한다. ATA-COM에 대한 리턴값의 확인은 포트 1F7/177을 통해 가능하며, 상기 포트로 "50h"나 "51h"의 값이 출력되면 정상적인 리턴값으로 판단한다. 통상 드라이브 20은 인가된 커맨드에 대해 정상적인 동작 수행을 하면 "50h"의 값을 리턴값으로 출력하고, 동작 수행시 에러가 발생하면 "51h"의 값을 리턴값으로 출력한다. 본 발명에서는 이러한 리턴값이 인가되면 드라이브 20이 해당 커맨드에 대한 동작 수행이 가능하다고 판단한다. 예를 들어, 상기 인가한 "READ" 커맨드에 대해서는 드라이브 20이 정상적인 동작 수행을 행할 수 없을 수 있다. 왜냐하면 OP코드 이후에 인가되는 커맨드는 의미 없이 설정된 데이터 패턴이기 때문이다. 따라서 드라이브 20은 포트 1F7/177로 "51h"를 출력하게 된다. 만약 드라이브 20이 인가된 커맨드에 대한 동작을 아예 하지 못한다면, 포트 1F7/177로는 상기 "50h"나 "51h"외의 다른 값이 출력된다. 즉 본 발명은 단지 드라이브 20의 커맨드 인식 여부만으로 커맨드에 대한 동작 가능성을 테스트한다.If the drive 20 is not busy, then the host 10 checks the return value of the drive 20 for the authorized ATA-COM in step 40. The return value for the ATA-COM can be checked through the port 1F7 / 177. When a value of "50h" or "51h" is output to the port, it is determined as a normal return value. Normally, the drive 20 outputs a value of "50h" as a return value when a normal operation is performed on an authorized command, and outputs a value of "51h" as a return value when an error occurs during the operation. In the present invention, if such a return value is applied, the drive 20 determines that an operation for the corresponding command is possible. For example, the drive 20 may not perform a normal operation with respect to the applied "READ" command. This is because the command applied after the OP code is a data pattern set without meaning. Drive 20 will then output "51h" to port 1F7 / 177. If the drive 20 does not perform any operation for the applied command, a value other than "50h" or "51h" is output to the port 1F7 / 177. That is, the present invention tests the operability of the command only by recognizing the command of the drive 20.

한편 40단계에서 리턴값을 확인하는 과정에서 포트 1F2/172의 값을 더 확인 할 수도 있다. 드라이브 20은 커맨드에 대한 동작 수행을 완료하면, 상기 포트로 "03h"의 값을 동작 완료 값으로 출력하므로, 이러한 값의 출력 유무를 확인하여 드라이브 20의 동작 상태를 판단할 수 있다.Meanwhile, in the process of checking the return value in step 40, the value of port 1F2 / 172 may be further checked. When the drive 20 completes the operation of the command, the drive outputs a value of "03h" as the operation completion value to the port, so that the operation state of the drive 20 can be determined by checking whether the value is output.

상기한 바와 같이 리턴값을 확인하여 호스트 10은 42단계에서 리턴값이 정상이면, 44단계로 진행하여 현재 테스트하는 ATA-COM의 수행을 정상으로 처리하며, 리턴값이 비정상이면 46단계로 진행하여 현재 테스트하는 ATA-COM의 수행을 비정상으로 처리하고 48단계로 진행한다. 상기한 정상 혹은 비정상 처리는 호스트 10의 내부 소정 메모리에 이를 기록하며, 소정 디스플레이장치로 표시하는 것으로 수행될 수 있다.As described above, if the return value is normal in step 42, the host 10 proceeds to step 44, and proceeds with the execution of the currently tested ATA-COM. If the return value is abnormal, proceeds to step 46. The ATA-COM under test is treated abnormally and proceeds to step 48. The above normal or abnormal processing may be performed by writing it to an internal predetermined memory of the host 10 and displaying it on the predetermined display device.

48단계에서 호스트 10은 현재 테스트하는 ATA-COM이 테스트 리스트에 기록된 마지막 커맨드인가를 판단하여, 마지막 커맨드가 아니면 50단계로 진행하여 다음 테스트할 ATA-COM을 드라이브 20으로 인가하게 된다. 예를 들어 테스트할 리스트가 표 1과 같다면 이후 ATA-COM은 "READ CD-ROM CAPACITY" 가 된다. 이후 상기한 34단계에서 44단계까지 테스트를 과정을 반복 수행하게 된다In step 48, the host 10 determines whether the currently tested ATA-COM is the last command recorded in the test list. If not, the host 10 proceeds to step 50 and applies the next test ATA-COM to the drive 20. For example, if the list to be tested is shown in Table 1, then ATA-COM becomes "READ CD-ROM CAPACITY". After that, the test process is repeated from 34 to 44 above.

한편 테스트할 리스트에 기록된 모든 ATA-COM에 대한 상기한 과정에 따른 동작 수행을 모드 마치면 호스트 10은 48단계에서 이를 판단한 후 52단계로 진행하여 모드 ATA-COM 테스트 결과를 디스플레이장치로 표시하는 등 결과처리를 수행한다.On the other hand, if the host 10 finishes the operation according to the above process for all the ATA-COM recorded in the test list, the host 10 determines this in step 48 and proceeds to step 52 to display the mode ATA-COM test result on the display device. Perform result processing.

상기한 바와 같은 과정으로 호스트에서 광디스크 드라이브의 ATA 커맨드에 대한 동작 테스트를 수행하게 된다.In the same manner as described above, the host performs an operation test on the ATA command of the optical disk drive.

상기한 바와 같이 본 발명은 호스트컴퓨터에서의 ATA 광디스크 드라이브의 ATA 커맨드에 대한 동작 수행 테스트에 있어서, 호스트컴퓨터 자체에서 미리 설정된 ATA 커맨드를 상기 ATA 광디스크 드라이브에 인가하고, 이후 광디스크 드라이브에서 상기 인가된 ATA 컨맨드에 대한 실행 가능 여부의 소정 출력값에 의거하여 상기 인가한 ATA 커맨드의 동작 수행이 가능하다고 판단하는 것에 의해 테스트를 수행하므로 테스트를 별도의 부가 장비의 필요 없이 수행할 수 있고, 테스트시 소요되는 시간을 단축시킬 수 있는 장점이 있다.As described above, according to the present invention, in the operation performance test for the ATA command of the ATA optical disk drive in the host computer, the ATA command preset in the host computer itself is applied to the ATA optical disk drive, and then the applied ATA in the optical disk drive. Since the test is performed by determining that the authorized ATA command can be performed based on a predetermined output value of whether the command is executable or not, the test can be performed without the need for additional equipment. This has the advantage of reducing the time.

Claims (7)

호스트컴퓨터에서의 광디스크 드라이브의 에이.티.에이(ATA: Advanced Technology Attachment) 커맨드에 대한 동작 수행 테스트 방법에 있어서,In the test method for performing the operation of the Advanced Technology Attachment (ATA) command of the optical disk drive in the host computer, 상기 커맨드 중 테스트할 커맨드를 미리 설정하여 내부 메모리에 저장하는 과정과,Pre-setting a command to be tested among the commands and storing it in an internal memory; 상기 저장한 커맨드를 순차적으로 상기 광디스크 드라이브에 인가하는 과정과,Sequentially applying the stored commands to the optical disc drive; 상기 인가한 커맨드에 대한 상기 광디스크 드라이브에서의 수행 가능 여부의 미리 설정된 출력값을 확인하는 과정과,Checking a preset output value of whether the optical disk drive is capable of performing the applied command; 상기 소정 출력값의 확인에 의거하여 상기 인가한 커맨드에 대한 상기 광디스크 드라이브의 동작 수행이 가능하다고 판단하는 과정으로 이루어짐을 특징으로 하는 테스트 방법.And determining that the optical disk drive can perform an operation on the applied command based on the confirmation of the predetermined output value. 제1항에 있어서,The method of claim 1, 상기 광디스크 드라이브로 테스트할 커맨드를 인가한 후, 정상적인 동작에 요구되는 시간에 따라 미리 설정된 시간이 지나도록 상기 광디스크 드라이브가 계속 동작하는 상태인 비지 상태이면 상기 광디스크 드라이브에 대한 비지 에러 처리를 수행하는 과정을 더 추가함을 특징으로 하는 테스트 방법.Performing a busy error process on the optical disk drive when the optical disk drive is busy, after a predetermined time is passed according to a time required for normal operation after applying a command to be tested with the optical disk drive Test method, characterized in that further added. 제1항에 있어서,The method of claim 1, 상기 테스트 과정 또는 결과에 대한 정보를 소정 디스플레이장치를 통해 표시하는 과정을 더 추가함을 특징으로 하는 테스트 방법.And displaying the information on the test process or the result through a predetermined display device. 호스트컴퓨터에서 소정 포트를 통해 광디스크 드라이브의 에이.티.에이(ATA: Advanced Technology Attachment) 커맨드에 대한 동작 수행을 테스트하는 방법에 있어서,In the method of testing the performance of the operation of the Advanced Technology Attachment (ATA) command of the optical disk drive through a port in the host computer, 상기 커맨드 중 테스트할 커맨드를 미리 설정하여 내부 메모리에 저장하는 과정과,Pre-setting a command to be tested among the commands and storing it in an internal memory; 상기 저장한 커맨드를 순차적으로 상기 포트를 통해 상기 광디스크 드라이브에 인가하는 과정과,Sequentially applying the stored commands to the optical disk drive through the port; 상기 광디스크 드라이브의 비지 상태를 나타내는 소정 비지상태출력값을 상기 포트를 통해 확인하는 과정과,Checking a predetermined busy state output value indicating a busy state of the optical disc drive through the port; 상기 비지상태출력값의 확인에 의거하여 상기 광디스크 드라이브가 비지 상태 에러 처리하는 과정과,Processing the busy state error by the optical disk drive based on the confirmation of the busy state output value; 상기 인가한 커맨드에 대한 상기 광디스크 드라이브에서의 수행 가능 여부의 소정 결과 출력값을 상기 포트를 통해 확인하는 과정과,Confirming, through the port, a predetermined result output value of whether the optical disk drive can perform the applied command; 상기 소정 결과 출력값의 확인에 의거하여 상기 인가한 커맨드에 대한 상기 광디스크 드라이브의 동작 수행이 가능하다고 판단하는 과정과,Determining that the optical disk drive can perform an operation on the applied command based on the confirmation of the predetermined result output value; 상기 판단 과정 또는 결과 정보를 소정 디스플레이장치를 통해 출력하는 과정으로 이루어짐을 특징으로 하는 테스트 방법.And a process of outputting the determination process or result information through a predetermined display device. 제4항에 있어서, 상기 포트의 번지는 1F0에서 1F7 또는 170에서 177임을 특징으로 하는 테스트 방법.The test method according to claim 4, wherein the address of the port is 1F0 to 1F7 or 170 to 177. 제5항에 있어서, 상기 광디스크 드라이브의 수행 가능 여부의 소정 출력값은 상기 포트 중 1F7 또는 177로 출력되는 값으로서, 동작 수행을 의미하는 "50h" 또는 동작 수행 에러를 의미하는 "51h"를 포함함을 특징으로 하는 테스트 방법.6. The method of claim 5, wherein the predetermined output value of whether the optical disk drive can be performed is a value output to 1F7 or 177 of the ports, and includes "50h" for performing an operation or "51h" for performing an operation. Test method characterized in that. 제5항에 있어서, 상기 수행 가능 여부의 소정 출력값은 상기 포트 중 1F2 또는 172에서 출력되는 값으로서, 동작 수행 완료를 의미하는 "03h"를 포함함을 특징으로 하는 테스트 방법.The test method as claimed in claim 5, wherein the predetermined output value of whether the operation is possible is a value output from 1F2 or 172 of the ports, and includes “03h” indicating completion of operation.
KR1019970062800A 1997-11-25 1997-11-25 Method for testing operation ata-command in optical disc drive KR100279120B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970062800A KR100279120B1 (en) 1997-11-25 1997-11-25 Method for testing operation ata-command in optical disc drive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970062800A KR100279120B1 (en) 1997-11-25 1997-11-25 Method for testing operation ata-command in optical disc drive

Publications (2)

Publication Number Publication Date
KR19990042096A KR19990042096A (en) 1999-06-15
KR100279120B1 true KR100279120B1 (en) 2001-01-15

Family

ID=66093273

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970062800A KR100279120B1 (en) 1997-11-25 1997-11-25 Method for testing operation ata-command in optical disc drive

Country Status (1)

Country Link
KR (1) KR100279120B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR900005398A (en) * 1988-09-21 1990-04-14 안시환 Optical disc drive with auto seek
KR930001179A (en) * 1991-06-22 1993-01-16 이헌조 Interface system of optical disc drive

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR900005398A (en) * 1988-09-21 1990-04-14 안시환 Optical disc drive with auto seek
KR930001179A (en) * 1991-06-22 1993-01-16 이헌조 Interface system of optical disc drive

Also Published As

Publication number Publication date
KR19990042096A (en) 1999-06-15

Similar Documents

Publication Publication Date Title
US7200698B1 (en) Disk drive and method for data transfer initiated by optional disk-drive commands on a serial interface that only supports standard disk-drive commands
US20060215307A1 (en) Storage apparatus, control method and program
KR19980063743A (en) Method and apparatus for enabling a computer to communicate with a data storage device
KR100373535B1 (en) Method and Apparatus for Initializing Rewritable Recording Media
US20060212777A1 (en) Medium storage device and write path diagnosis method
US8289015B2 (en) Apparatus and test method for a head assembly in a depopulated configuration
KR100279120B1 (en) Method for testing operation ata-command in optical disc drive
US5761168A (en) CD-ROM drive testing method
US6760788B2 (en) Domain validation process that is transparent to a device driver
KR100251950B1 (en) Data storage apparatus
US6229743B1 (en) Method of a reassign block processing time determination test for storage device
KR19990042107A (en) How to test the operability of the optical disc drive
KR100223651B1 (en) Acceptance tester for manufacture processing
JPH0527923A (en) Information recording and reproducing system
KR100594260B1 (en) Method for setting up pre-amplifier in hard disk drive
US7016997B2 (en) Method for determining an interruption source
KR100542698B1 (en) Auxiliary memory test equipment protection method and device
US6785077B2 (en) Disc drive pattern zero verification test
JPH08202502A (en) Recording and reproducing device
KR100392614B1 (en) Method for certifying self-test of hard disk drive using serial port
KR100265882B1 (en) Burn-in test method for improving yield rate in a hard disc drive
KR19990065516A (en) Apparatus and method for determining burn-in test progress status of hard disk drive
KR100417226B1 (en) Method for realizing scam protocol of hard disk drive
JPH0955035A (en) Disk recording/reproducing device and defect processing method applied to it
JPH07192409A (en) Optical information recording/reproducing device

Legal Events

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

Payment date: 20060928

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee