KR100389910B1 - Method for testing compact disk drive - Google Patents

Method for testing compact disk drive Download PDF

Info

Publication number
KR100389910B1
KR100389910B1 KR1019960029854A KR19960029854A KR100389910B1 KR 100389910 B1 KR100389910 B1 KR 100389910B1 KR 1019960029854 A KR1019960029854 A KR 1019960029854A KR 19960029854 A KR19960029854 A KR 19960029854A KR 100389910 B1 KR100389910 B1 KR 100389910B1
Authority
KR
South Korea
Prior art keywords
command
determining whether
corresponding port
atapi
basic
Prior art date
Application number
KR1019960029854A
Other languages
Korean (ko)
Other versions
KR980011133A (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 KR1019960029854A priority Critical patent/KR100389910B1/en
Publication of KR980011133A publication Critical patent/KR980011133A/en
Application granted granted Critical
Publication of KR100389910B1 publication Critical patent/KR100389910B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/36Monitoring, i.e. supervising the progress of recording or reproducing

Abstract

PURPOSE: A method for testing a compact disk drive is provided to easily grasp error generated parts without using extra hardware. CONSTITUTION: An interrupt vector address is changed(41). An ATAPI(AT Attachment Packet Interface) basic command is set up(42). Basic selection specification is set up(43). A menu is confirmed(44). It is judged whether the ATAPI basic command is inputted(45). If so, it is judged whether the ATAPI basic command is a parameter change command(46). If so, parameters are changed(47). If not, it is judged whether the ATAPI basic command is an ATA(AT attachment) command(48). If so, the ATA command is transmitted to the corresponding port ID to read and display a state of the corresponding port. If not, it is judged whether the ATAPI basic command is an ATAPI command(49). If so, the interrupt and the state of the corresponding port ID are processed.

Description

콤팩트 디스크 드라이브의 테스트 방법How to Test Compact Disk Drives

본 발명은 씨디-롬(CD-ROM) 드라이브와 같은 콤팩트 디스크 드라이브에 관한 것으로서, 더 상세히는 별도의 테스트 장비를 사용하지 않고 컴퓨터 프로그램에 의해 콤팩트 디스크 드라이브를 테스트하는 방법에 관한 것이다.The present invention relates to a compact disc drive, such as a CD-ROM drive, and more particularly to a method of testing a compact disc drive by a computer program without using separate test equipment.

씨디-롬은 일반 음악용 CD와 마찬가지로 레이저광을 이용하여 재생만을 할 수 있는 지름 12cm, 680MB의 대용량 기억매체를 말한다. 이와 같은 씨디-롬을 실질적으로 구동시키는 씨디-롬 드라이브는 하드 디스크 드라이브와 마찬가지로 컴퓨터 시스템과의 데이터 전송방식에 따라 AT-BUS방식, SCSI(Small Computers System Interface)방식 및 Enhanced IDE(Integrated Development Environment)방식과 같은 3가지 인터페이스 방식으로 나눌 수 있다.CD-ROM, like a general music CD, refers to a large-capacity storage medium with a diameter of 12cm and 680MB that can only be played using laser light. Like a hard disk drive, a CD-ROM drive that substantially drives such a CD-ROM has an AT-BUS method, a Small Computers System Interface (SCSI) method, and an Enhanced Integrated Development Environment (IDE), depending on a data transmission method with a computer system. It can be divided into three interface methods such as method.

도 1은 일반적인 씨디-롬 드라이브의 개략적인 시스템 구성도이다.1 is a schematic system diagram of a typical CD-ROM drive.

이를 참조하면, 씨디-롬 드라이브는 턴테이블(12t)에 안착된 디스크(11)를 회전시키기 위한 스핀들 모터(12)와, 상기 디스크(11)에 기록된 정보를 레이저광을 이용하여 읽어들이는 픽업장치(13)와, 픽업장치(13) 를 왕복으로 직선 이동시키기 위한 슬레드 구동축(14)과, 씨스템을 전체적으로 제어하는 마이크로컴퓨터(15)와,그 마이크로컴퓨터(15)로 부터 소정 제어 명령을 받아 상기 스핀들 모터(12)를 구동시키기 위한 신호를 출력하는 DSP(Digital Signal Processor:16)와, 상기 픽업장치 (13)로부터의 소정 신호를 수신하여 상기 마이크로컴퓨터(15)에 전달하는 SSP(Servo Signal Processor:17) 및 상기 DSP(16)로부터 받은 정보를 PC인터페이스(19)를 통하여 별도의 호스트 컴퓨터(미도시)로 전송하는 롬디코더(ROM decoder: 18)를 구비한다.Referring to this, the CD-ROM drive includes a spindle motor 12 for rotating the disk 11 seated on the turntable 12t, and a pickup for reading information recorded on the disk 11 by using a laser beam. Predetermined control commands from the device 13, the sled drive shaft 14 for linearly moving the pickup device 13 in a reciprocating manner, the microcomputer 15 for controlling the system as a whole, and the microcomputer 15 DSP (Digital Signal Processor: 16) for receiving and outputting a signal for driving the spindle motor 12, and SSP (Servo) for receiving a predetermined signal from the pickup device 13 and transmitting it to the microcomputer 15. A signal processor 17 and a ROM decoder 18 for transmitting the information received from the DSP 16 to a separate host computer (not shown) through the PC interface 19 are provided.

한편, 이와 같은 구성을 가지는 씨디-롬 드라이브를 종래에는 CDT(CD-ROM Tester)나 seisho 측정장비를 이용하여 소정의 테스트를 수행했다. 그러나, CDT를 이용한 테스트 방식은 제2도에 도시된 바와 같이 반드시 디바이스 드라이버(device driver:22)를 사용하게 되므로, 테스트 진행 중에 에러 발생 시 그 에러가 컴퓨터(PC:21)쪽의 에러인지, 디바이스 드라이버(22) 혹은 씨디-롬 드라이브(23) 쪽의 에러인지를 파악하기가 어려운 문제점이 있다. 또한, 제3도에 도시된 바와 같이 seisho 측정장비(32)를 이용한 테스트 방식은 측정장비(32)의 구동을 위한 별도의 하드웨어(hardware)(34)를 설치해야 하며, 전체적으로 사용하기가 번거로운 단점이 있다.On the other hand, the CD-ROM drive having such a configuration has conventionally been tested using a CDT (CD-ROM Tester) or seisho measuring equipment. However, since the CDT test method uses a device driver 22 as shown in FIG. 2, if an error occurs during the test, whether the error is an error on the PC 21 side, There is a problem that it is difficult to determine whether the error is in the device driver 22 or the CD-ROM drive 23. In addition, the test method using the seisho measuring device 32 as shown in FIG. 3 requires the installation of a separate hardware 34 for driving the measuring device 32, which is cumbersome to use overall. There is this.

본 발명은 상기와 같은 문제점들을 감안하여 창출된 것으로서, 별도의 하드웨어를 필요로 하지 않고, 에러 발생 부위를 용이하게 파악할 수 있는 콤팩트 디스크 드라이브의 테스트 방법을 제공함에 그 목적이 있다.The present invention has been made in view of the above problems, and an object thereof is to provide a test method of a compact disk drive that can easily identify an error occurrence area without requiring additional hardware.

도 1은 일반적인 씨디-롬 드라이브의 개략적인 시스템 구성도.1 is a schematic system configuration diagram of a typical CD-ROM drive.

도 2는 종래 CDT를 이용한 드라이브 테스트 방법을 개략적으로 나타내 보인 시스템 구성도.2 is a system configuration diagram schematically showing a drive test method using a conventional CDT.

도 3은 종래 측정장비를 이용한 드라이브 테스트 방법을 개략적으로 나타내 보인 시스템 구성도.3 is a system configuration diagram schematically showing a drive test method using a conventional measuring equipment.

도 4는 본 발명에 따른 콤팩트 디스크 드라이브의 테스트 방법의 실행과정을 나타내 보인 플로우 챠트.Figure 4 is a flow chart showing the execution of the test method of the compact disk drive according to the present invention.

도 5는 본 발명의 방법에 있어서, 해당 포트의 상태를 판독 및 디스플레이하는 루틴의 실행 과정을 나타내 보인 플로우 챠트.FIG. 5 is a flow chart illustrating an execution process of a routine for reading and displaying a state of a corresponding port in the method of the present invention. FIG.

도 6은 본 발명의 방법에 있어서, 해당 포트 ID 인터럽트 및 상태를 처리하는 루틴의 실행과정을 나타내 보인 플로우 챠트.6 is a flowchart showing the execution of a routine for processing a corresponding port ID interrupt and status in the method of the present invention.

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

11...디스크 12...스핀들 모터11 ... disk 12 ... spindle motor

12t...턴 테이블 13...픽업장치12t ... turn table 13 ... pickup device

14...슬레드 구동축 15...마이크로컴퓨터14 ... sled drive shaft 15 ... microcomputer

16...DSP 17...SSP16 ... DSP 17 ... SSP

18...ROM디코더 19...PC인터페이스18 ... ROM decoder 19 ... PC interface

21...PC 22...디바이스 드라이버21 ... PC 22 ... Device Driver

32...측정장비 34...별도의 하드웨어32.Measuring equipment 34 ... Separate hardware

상기의 목적을 달성하기 위하여 본 발명에 따른 콤팩트 디스크 드라이브의 테스트 방법은, 인터럽트 벡터 어드레스(interrupt vector address)를 변경시키는 단계; ATAPI 기본 명령을 설정하는 단계; 기본 선택사양을 설정하는 단계; 메뉴를 확인하는 단계; 상기 ATAPI 기본 명령이 입력되었는지를 판별하는 단계; 상기 ATAPI 기본 명령이 입력되었으면 파라미터(parameter) 변경 명령인지를 판별 하는 단계; 파라미터 변경 명령이면 파라미터를 변경하는 단계; 파라미터 변경 명령이 아니면 ATA 명령인지를 판별하는 단계; ATA 명령이면 해당 포트 ID로 명령을 전송해서 해당 포트의 상태를 판독 및 디스플레이하는 루틴으로 프로그램을 진행시키는 단계; ATA 명령이 아니면 ATAPI 명령인지를 판별하는 단계; 및 ATAPI 명령이면 상기 해당 포트 ID 인터럽트 및 상태를 처리하는 루틴으로 프로그램을 진행시키는 단계를 포함하는 점에 특징이 있다.In order to achieve the above object, a test method of a compact disk drive according to the present invention includes: changing an interrupt vector address; Setting an ATAPI basic command; Setting basic options; Checking a menu; Determining whether the ATAPI basic command has been entered; Determining whether the ATAPI basic command is a parameter change command; Changing a parameter if the parameter is a change command; Determining whether the command is an ATA command if not a parameter change command; Advancing the program to a routine that reads and displays the state of the corresponding port by transmitting a command to the corresponding port ID if the command is an ATA command; Determining whether the command is an ATA command or an ATAPI command; And if it is an ATAPI command, characterized in that it comprises the step of advancing the program to the routine for processing the corresponding port ID interrupt and status.

이하 첨부된 도면을 참조하면서 본 발명의 실시예를 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 4 내지 도 6은 본 발명에 따른 콤팩트 디스크 드라이브의 테스트 방법의 실행과정을 나타내 보인 플로우 챠트이다.4 to 6 are flowcharts showing an execution process of a test method of a compact disk drive according to the present invention.

도 4를 참조하면, 먼저 테스트 대상의 콤팩트 디스크 드라이브(미도시)에 대응하여 인터럽트 벡터 어드레스를 변경시키게 된다(단계 41). 여기서, 새로운 벡터 어드레스는 IDE 디바이스의 인터럽트가 발생 하였는지를 확인할 때 사용된다.Referring to FIG. 4, first, the interrupt vector address is changed in correspondence to a compact disk drive (not shown) to be tested (step 41). Here, the new vector address is used to check whether an interrupt of the IDE device has occurred.

상기 단계 41이 완료되면 ATAPI 기본 명령을 설정하고(단계 42), 기본 선택사양을 설정하여(단계 43) 그 메뉴를 디스플레이하여 확인한다(단계 44). 여기서, 상기 선택사양으로는 예컨대, on/off 자동 검지, 목표 위치 기정(default), 어드레스 판독, 길이(length:컴퓨터 워드를 형성하는 문자, 바이트, 비트들의 갯수) 판독 등이 설정된다.When step 41 is completed, the ATAPI basic command is set (step 42), the basic option is set (step 43), and the menu is displayed and confirmed (step 44). Here, for example, on / off automatic detection, target position default, address reading, length (length: number of characters, bytes, bits forming a computer word) and the like are set as the options.

이와 같이 해서 명령 및 선택사양이 설정되면 상기 ATAPI 기본 명령이 입력되었는지를 판별한다(단계 45). 단계 45에서, 명령이 입력되지 않았으면 프로그램 진행을 상기 단계 44로 귀환시켜 메뉴를 재확인하고, 명령이 입력되었으면 파라미터 변경 명령인지를 판별한다 (단계 46). 단계 46에서, 파라미터 변경 명령이면 파라미터, 예컨대 목표 어드레스, ID 길이 등을 변경하여(단계 47), 프로그램 진행을 상기 단계 44로 귀환시키고, 파라미터 변경 명령이 아니면 ATA 명령인지를 판별한다 (단계 48). 단계 48에서, ATA 명령이면 해당 포트 ID로 명령을 전송해서 해당 포트의 상태를 판독 및 디스플레이하는 루틴(routine)(제5도참조) 으로 프로그램을 진행시키고, ATA 명령이 아니면 ATAPI 명령인지를 판별 한다(단계 49). 단계 49에서, ATAPI 명령이 아니면 프로그램 진행을 상기 단계 44로 귀환시키고, ATAPI 명령이면 상기 해당 포트 ID 인터럽트 및 상태를 처리하는 루틴(제6도참조)으로 프로그램을 진행시킨다.When the command and the option are set in this way, it is determined whether the ATAPI basic command has been input (step 45). In step 45, if no command is entered, the program returns to step 44 to reconfirm the menu, and if the command is entered, determines whether it is a parameter change command (step 46). In step 46, the parameter, for example, the target address, the ID length, etc., is changed if it is a parameter change command (step 47), and the program proceeds back to step 44, and it is determined whether it is an ATA command if not a parameter change command (step 48). . In step 48, if it is an ATA command, it sends a command to the corresponding port ID to advance the program to a routine (see Fig. 5) that reads and displays the state of the corresponding port. (Step 49). In step 49, the program proceeds back to step 44 if it is not an ATAPI command, and the program proceeds to a routine (see FIG. 6) that processes the corresponding port ID interrupt and status if it is an ATAPI command.

도 5는 해당 포트의 상태를 판독 및 디스플레이하는 루틴의 실행 과정을 나타내 보인 플로우 챠트이다.5 is a flow chart showing the execution of a routine for reading and displaying the state of the corresponding port.

도 5를 참조하면, 전술한 바와 같이 상기 제4도의 단계 48에서 ATA 명령이면 이 루틴으로 프로그램이 진행되는데, 우선 ATAPI 소프트 웨어의 리셋(reset) 명령인지를 판별하게 된다(단계 501). 단계 501에서, 리셋 명령이면 해당 포트 ID로 ATAPI 명령을 전송해서(단계 502), 해당 포트 상태를 판독 및 디스플레이하고(단계503), 상기 제4도의 단계 44로 프로그램 진행을 귀환시킨다. 그리고, 리셋 명령이 아니면 파워 모드 인지를 판별한다(단계 504). 단계 504에서, 파워 모드이면 해당 포트 ID로 명령을 전송해서(단계 505), 해당 포트 ID 섹터(sector)를 카운트 하고(단계 506), 상기 단계 44로 프로그램 진행을 귀환시킨다. 그리고, 파워 모드가 아니면 진단 명령인지를 판별한다(단계 507). 단계 507에서 진단 명령이면 해당 포트 ID로 명령을 전송해서(단계 508), 해당 포트 상태를 판독 및 디스플레이하고(단계 509), 상기 단계 44로 프로그램 진행을 귀환시킨다. 그리고, 진단 명령이 아니면 식별 명령인지를 판별한다(단계 510). 단계 510에서, 식별 명령이면 해당 포트 ID로 명령을 전송해서(단계 511), 해당 포트 데이터 레지스터(register)로부터 데이터를 수신하여 그것을 판독하고 상태가 양호하면 식별 데이터를 디스플레이하고(단계 512), 상기 단계 44로 프로그램 진행을 귀환시킨다. 그리고, 식별 명령이 아니면 사양 설정 명령인지를 판별한다(단계 513). 단계 513에서, 사양 설정 명령이면 해당 포트 ID 사양 레지스터에 선택 사양을 설정하는 한편 해당 포트 ID로 명령을 전송해서(단계 514), 해당 포트 상태를 판독 및 디스플레이하고(단계 515), 상기 단계 44로 프로그램 진행을 귀환시킨다. 그리고, 사양 설정 명령이 아니면 직접 대기 명령인지를 판별한다(단계 516). 단계 516에서, 직접 대기 명령이면 해당 포트 ID로 명령을 전송해서(단계 517), 해당 포트 상태를 판독 및 디스플레이하고(단계 515), 상기 단계 44로 프로그램 진행을 귀환시킨다. 그리고, 직접 대기 명령이 아니면 슬립(sleep) 명령인지를 판별한다(단계 518). 단계 518에서, 슬립 명령이면 해당 포트 ID로 명령을 전송해서 (단계 519), 해당 포트 상태를 판독 및 디스플레이 하고(단계 515), 상기 단계 44로 프로그램 진행을 귀환시킨다. 그리고, 슬립 명령이 아니면 유휴(idle) 명령인지를 판별한다(단계 520). 단계 520에서, 유휴 명령 이면 해당 포트 ID로 명령을 전송해서(단계 521), 해당 포트 상태를 판독 및 디스플레이 하고(단계 515), 상기 단계 44로 프로그램 진행을 귀환 시킨다. 그리고, 유휴 명령이 아니면 무연산(NOP:No Operation) 명령 인지를 판별한다(단계 522). 단계 522에서, 무연산 명령이면 해당 포트 ID로 명령을 전송해서(단계 523), 해당 포트 상태를 판독 및 디스플레이 하고(단계 515), 상기 단계 44로 프로그램 진행을 귀환시킨다. 그리고, 무연산 명령이 아니면 에러 메시지(error message)를 디스플레이하고 (단계 524), 상기 단계 44로 프로그램 진행을 귀환시킨다.Referring to FIG. 5, as described above, if the ATA command is performed in step 48 of FIG. 4, the program proceeds to this routine. First, it is determined whether the reset command is ATAPI software (step 501). In step 501, if it is a reset command, an ATAPI command is sent to the corresponding port ID (step 502), the port status is read and displayed (step 503), and the program proceeds back to step 44 in FIG. If it is not a reset command, it is determined whether it is a power mode (step 504). In step 504, the command is sent to the corresponding port ID in step 504 (step 505), the corresponding port ID sector is counted (step 506), and the program proceeds back to step 44. If it is not in the power mode, it is determined whether it is a diagnostic command (step 507). If it is a diagnostic command in step 507, the command is sent to the corresponding port ID (step 508), the port status is read and displayed (step 509), and the program proceeds back to step 44. If it is not a diagnostic command, it is determined whether it is an identification command (step 510). In step 510, if it is an identification command, it sends a command to the corresponding port ID (step 511), receives data from the corresponding port data register, reads it and displays identification data if the condition is good (step 512). Step 44 returns to program progress. If it is not an identification command, it is determined whether it is a specification setting command (step 513). In step 513, if it is a specification setting command, the option is set in the corresponding port ID specification register while the command is sent to the corresponding port ID (step 514) to read and display the corresponding port status (step 515). Return to program progress. If it is not a specification setting command, it is determined whether it is a wait command directly (step 516). In step 516, if a direct wait command is sent to the corresponding port ID (step 517), the port status is read and displayed (step 515), and the program proceeds back to step 44. If it is not a direct wait command, it is determined whether it is a sleep command (step 518). In step 518, if it is a sleep command, a command is sent to the corresponding port ID (step 519), the port status is read and displayed (step 515), and the program proceeds back to step 44. If it is not a sleep command, it is determined whether it is an idle command (step 520). In step 520, if it is an idle command, a command is sent to the corresponding port ID (step 521), the port state is read and displayed (step 515), and the program proceeds back to step 44. If it is not an idle command, it is determined whether it is a no operation (NOP) command (step 522). In step 522, if there is no instruction, the command is sent to the corresponding port ID (step 523), the port state is read and displayed (step 515), and the program proceeds back to step 44. If it is not an instruction, an error message is displayed (step 524), and the program proceeds back to step 44.

한편, 도 6은 해당 포트 ID 인터럽트 및 상태를 처리하는 루틴의 실행과정을 나타내 보인 플로우 챠트이다.6 is a flowchart showing an execution process of a routine for processing a corresponding port ID interrupt and status.

도 6을 참조하면, 전술한 바와 같이 상기 제4도의 단계 49에서 ATAPI 명령이면 이 루틴으로 프로그램이 진행되는데, 우선 해당 포트 ID의 태스크 파일(task file) 레지스터에 요구사항을 기록(write)하게 된다(단계 601). 그런 다음, 명령 이름을 디스플레이하고 시작 시간을 설정한다(단계 602). 그리고, 해당 포트가 분주한지를 판별한다(단계 603). 단계 603에서, 해당 포트가 분주하면 프로그램 진행을 귀환시켜 해당 포트의 분주여부를 계속 확인하고, 해당 포트가 분주하지 않으면 해당 포트 ID 인터럽트에 해당 포트 ID 상태를 더한 것을 페이스(phase) 로 설정한다(단계 604). 그런 후, 명령 페이스인지를 판별한다(단계 605). 단계 605에서, 명령 페이스이면 12 바이트(Byte) 명령을 해당 포트 ID로 전송하고 해당 인터럽트를기다려(단계 606), 프로그램 진행을 상기 단계 604로 귀환시킨다. 그리고, 명령 페이스가 아니면 메시지 페이스 인지를 판별한다(단계 607). 단계 607에서, 메시지 페이스이면 아무런 작업을 수행하지 않고(단계 608), 프로그램 진행을 상기 단계 604로 귀환시킨다. 그리고, 메시지 페이스가 아니면 데이터 입력 페이스인지를 판별한다(단계 609). 단계 609에서, 데이터 수신 페이스이면 예약된 호스트 컴퓨터의 램(RAM)으로 데이터를 수신하고 해당 인터럽트를 기다려 (단계 610), 프로그램 진행을 상기 단계 604로 귀환시킨다. 여기서, 상기 데이터는 해당 포트의 바이트 엔트리 레지스터의 수만큼 해당 포트의 데이터 레지스터를 통하여 수신된다.Referring to FIG. 6, as described above, if the ATAPI command is executed in step 49 of FIG. 4, the program proceeds to this routine. First, the request is written to the task file register of the corresponding port ID. (Step 601). The command name is then displayed and the start time is set (step 602). Then, it is determined whether the corresponding port is divided (step 603). In step 603, if the corresponding port is divided, the program proceeds back to check whether the corresponding port is divided. If the corresponding port is not divided, the port ID interrupt is added to the corresponding port ID status to set the phase (phase). Step 604). Then, it is determined whether it is a command face (step 605). In step 605, if it is a command face, a 12 byte command is transmitted to the corresponding port ID, and awaiting the interrupt (step 606), the program proceeds back to step 604. If it is not the command face, it is determined whether it is a message face (step 607). In step 607, if no message phase is performed (step 608), the program proceeds back to step 604. If it is not a message face, it is determined whether it is a data input face (step 609). In step 609, if it is a data reception phase, data is received by the reserved host computer's RAM and waits for the corresponding interrupt (step 610), and the program proceeds back to step 604. Here, the data is received through the data register of the corresponding port by the number of byte entry registers of the corresponding port.

한편, 상기 단계 609에서, 데이터 수신 페이스가 아니면 데이터 송출 페이스인지를 판별한다(단계 611). 단계 611에서 데이터 송출 페이스이면 상기 예약된 호스트 컴퓨터의 램으로부터 데이터를 송출하고 해당 인터럽트를 기다려(단계 612), 프로그램 진행을 상기 단계 604로 귀환시킨다. 여기서, 상기 데이터는 해당 포트의 바이트 엔트리 레지스터의 수만큼 해당 포트의 데이터 레지스터를 통하여 송출된다. 단계 611에서, 데이터 송출 페이스가 아니면 상태 페이스인지를 판별한다(단계 613). 단계 613에서, 상태 페이스가 아니면 프로그램 진행을 상기 단계 604로 귀환시키고, 상태 페이스이면 해당 포트의 상태가 양호한지를 판별한다(단계 614). 단계 614에서, 해당 포트의 상태가 양호하면 해당 버퍼(buffer)를 디스플레이하고(단계 615), 프로그램 진행을 상기 제4도의 단계 44로 귀환시킨다. 그리고, 해당 포트의 상태가 양호하지 않으면 검지 요구 명령으로 설정하여(단계 616), 프로그램 진행을 상기 도 4의 단계 44로 귀환시킨다.On the other hand, in step 609, it is determined whether or not the data reception pace is a data transmission pace (step 611). If the data is sent out in step 611, the data is sent from the reserved host computer RAM and waited for the corresponding interrupt (step 612), and the program proceeds back to the step 604. Here, the data is transmitted through the data register of the corresponding port by the number of byte entry registers of the corresponding port. In step 611, it is determined whether or not the data sending pace is a status pace (step 613). In step 613, the program progress is returned to the step 604 if it is not in the state phase, and it is determined whether the state of the corresponding port is good in the state phase (step 614). In step 614, if the state of the corresponding port is good, the corresponding buffer is displayed (step 615), and the program proceeds back to step 44 of FIG. If the state of the corresponding port is not good, the detection request command is set (step 616) to return the program to step 44 of FIG.

이상의 설명에서와 같이 본 발명에 따른 콤팩트 디스크 드라이브의 테스트 방법은 별도의 디바이스 드라이버나 측정장비를 사용하지 않고 소정의 테스트 프로그램에 의해 디스크 드라이브의 테스트를 수행하게 되므로, 테스트의 수행이 용이하고 테스트 수행 시 발생되는 에러의 파악이 쉽다. 뿐만 아니라, 별도의 하드 웨어 구성이 불필요하므로 테스트에 소요되는 비용을 절감할 수 있다.As described above, the test method of the compact disk drive according to the present invention performs the test of the disk drive by a predetermined test program without using a separate device driver or a measuring device, so that the test is easy to perform the test. It is easy to grasp the error that occurs when In addition, no hardware configuration is required, which reduces the cost of testing.

Claims (5)

(a)인터럽트 벡터 어드레스를 변경시키는 단계;(a) changing the interrupt vector address; (b)ATAPI 기본 명령을 설정하는 단계;(b) setting an ATAPI basic command; (c)기본 선택사양을 설정하는 단계;(c) setting basic options; (d)메뉴를 확인하는 단계;(d) checking a menu; (e)상기 ATAPI 기본 명령이 입력되었는지를 판별하는 단계;(e) determining whether the ATAPI basic command is input; (f)상기 ATAPI 기본 명령이 입력되었으면 파라미터 변경 명령인지를 판별하는 단계;(f) determining whether a parameter change command is input if the ATAPI basic command is input; (g)파라미터 변경 명령이면 파라미터를 변경하는 단계;(g) changing the parameter if it is a parameter change command; (h)파라미터 변경 명령이 아니면 ATA 명령인지를 판별하는 단계;(h) determining whether the command is an ATA command if not a parameter change command; (i)ATA 명령이면 해당 포트 ID로 명령을 전송해서 해당 포트의 상태를 판독 및 디스플레이하는 루틴으로 프로그램을 진행시키는 단계;(i) advancing the program to a routine that reads and displays the status of the port by sending a command to the port ID if the command is ATA; (j)ATA 명령이 아니면 ATAPI 명령인지를 판별하는 단계; 및(j) determining whether it is an ATAPI command if not an ATA command; And (k)ATAPI 명령이면 상기 해당 포트 ID 인터럽트 및 상태를 처리하는 루틴으로 프로그램을 진행시키는 단계를 포함하는 것을 특징으로 하는 콤팩트 디스크 드라이브의 테스트 방법.and (k) advancing a program to a routine for processing the corresponding port ID interrupt and status if it is an ATAPI command. 제1항에 있어서, 상기 단계(e)에서 상기 ATAPI 기본 명령이 입력되지 않았으면 프로그램 진행을 상기 단계 (d)로 귀환시키는 단계를 더 포함하는 것을 특징으로 하는 콤팩트 디스크 드라이브의 테스트 방법.The method of claim 1, further comprising the step of returning program progress to step (d) if the ATAPI basic command is not input in step (e). 제1항에 있어서, 상기 단계(j)에서 ATAPI 명령이 아니면 프로그램 진행을 상기 단계 (d)로 귀환시키는 단계를 더 포함하는 것을 특징으로 하는 콤팩트 디스크 드라이브의 테스트 방법.The method of claim 1, further comprising the step of returning the program progress to step (d) if the step (j) is not an ATAPI command. 제1항에 있어서, 상기 단계(i)의 해당 포트의 상태를 판독 및 디스플레이하는 루틴은,The routine of claim 1, wherein the routine for reading and displaying the status of the corresponding port of step (i) is ATAPI 소프트웨어 리셋 명령인지를 판별하는 단계;Determining whether the command is an ATAPI software reset command; 파워 모드인지를 판별하는 단계;Determining whether it is in power mode; 진단 명령인지를 판별하는 단계;Determining whether it is a diagnostic command; 식별 명령인지를 판별하는 단계;Determining whether it is an identification command; 사양설정 명령인지를 판별하는 단계;Determining whether the command is a specification command; 직접 대기 명령인지를 판별하는 단계;Determining whether it is a direct wait command; 슬립 명령인지를 판별하는 단계;Determining whether it is a sleep command; 유휴 명령인지를 판별하는 단계;Determining whether the instruction is idle; 무연산 명령인지를 판별하는 단계; 및Determining whether an instruction is no operation; And 무연산 명령이면 해당 포트 ID로 명령을 전송하여 해당 포트의 상태를 판독 및 디스플레이하고, 무연산 명령이 아니면 에러 메시지를 디스플레이하는 단계;를 포함하는 것을 특징으로 하는 콤팩트 디스크 드라이브의 테스트 방법.And transmitting a command to a corresponding port ID to read and display a status of the corresponding port if the command is a no operation, and displaying an error message if the operation is not a command. 제1항에 있어서, 상기 단계 (k)의 해당 포트 ID 인터럽트 및 상태를 처리하는 루틴은,The routine of claim 1, wherein the routine for processing the corresponding port ID interrupt and state in step (k) is: 해당 포트 ID의 태스크 파일 레지스터에 요구사항을 기록하는 단계;Recording a requirement in a task file register of a corresponding port ID; 소정 명령 이름을 디스플레이하는 한편 시작시간을 설정하는 단계;Displaying a predetermined command name and setting a start time; 상기 해당 포트 ID 인터럽트에 해당 포트 ID 상태를 더한 것을 페이스로 설정하는 단계;Setting a phase at which the corresponding port ID state is added to the corresponding port ID interrupt; 명령 페이스인지를 판별하는 단계;Determining whether it is an instruction face; 메시지 페이스인지를 판별하는 단계;Determining if it is a message pace; 데이터 수신 페이스인지를 판별하는 단계;Determining whether it is a data reception pace; 데이터 송출 페이스인지를 판별하는 단계;Determining whether it is a data sending pace; 상태 페이스인지를 판별하는 단계;Determining whether it is in a state pace; 해당 포트의 상태가 양호한지를 판별하는 단계; 및Determining whether a state of the corresponding port is good; And 상기 해당 포트의 상태가 양호하면 버퍼를 디스플레이하고, 상태가 양호하지 않으면 검지요구 명령으로 설정하여 프로그램 진행을 상기 단계 (d)로 귀환시키는 단계를 포함하는 것을 특징으로 하는 콤팩트 디스크 드라이브의 테스트 방법.And displaying a buffer if the state of the corresponding port is good, and setting the program as a check command to return the program progress to the step (d).
KR1019960029854A 1996-07-23 1996-07-23 Method for testing compact disk drive KR100389910B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960029854A KR100389910B1 (en) 1996-07-23 1996-07-23 Method for testing compact disk drive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960029854A KR100389910B1 (en) 1996-07-23 1996-07-23 Method for testing compact disk drive

Publications (2)

Publication Number Publication Date
KR980011133A KR980011133A (en) 1998-04-30
KR100389910B1 true KR100389910B1 (en) 2003-10-23

Family

ID=37421829

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960029854A KR100389910B1 (en) 1996-07-23 1996-07-23 Method for testing compact disk drive

Country Status (1)

Country Link
KR (1) KR100389910B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01315029A (en) * 1988-06-13 1989-12-20 Nec Corp Test method for postscript type optical disk device
JPH0344823A (en) * 1989-07-12 1991-02-26 Fujitsu Ltd Testing method for optical disk device
KR970071645A (en) * 1996-04-13 1997-11-07 김광호 Deck assembly test system for CD-ROM drive
KR970071492A (en) * 1996-04-15 1997-11-07 김광호 CD-ROM drive test method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01315029A (en) * 1988-06-13 1989-12-20 Nec Corp Test method for postscript type optical disk device
JPH0344823A (en) * 1989-07-12 1991-02-26 Fujitsu Ltd Testing method for optical disk device
KR970071645A (en) * 1996-04-13 1997-11-07 김광호 Deck assembly test system for CD-ROM drive
KR970071492A (en) * 1996-04-15 1997-11-07 김광호 CD-ROM drive test method

Also Published As

Publication number Publication date
KR980011133A (en) 1998-04-30

Similar Documents

Publication Publication Date Title
KR100219597B1 (en) Queuing control method in cd-rom drive
KR910010040B1 (en) Diskette drive and media type determination
US5968141A (en) System for selectively upgrading firmware code for optical disk drive via ATA/IDE interface based on host system programming enable signal
JP2759920B2 (en) Method and apparatus for operating a DASD peripheral data storage subsystem
US5450384A (en) Fast formatting of media in an optical library
KR100389910B1 (en) Method for testing compact disk drive
US5761168A (en) CD-ROM drive testing method
KR101410094B1 (en) Medium drive apparatus, operation method for medium drive apparatus, information processing apparatus, recording and reproduction accessing method for information processing apparatus, program, and program recording medium
EP0017666A2 (en) Methods of operating direct access storage means
US6014351A (en) Controlling method and apparatus for integral personal computer and CD-player
US6987716B2 (en) Variable speed disk drive and method of controlling the disk drive from recorded drive-speed format information
US20040213107A1 (en) Optical disc recording/reproducing method and recording/reproducing apparatus
EP0878006B1 (en) A cd replay device in a personal computer and a method for controlling the same
JPH06243573A (en) Storage device
JPH06309118A (en) Information processor
JP2002351621A (en) Drive device to be recognized as plurality of devices, optical disk drive device and methods for the same
KR100396886B1 (en) Method for providing subcode data of optical disc drive to host computer
KR100744053B1 (en) Data player capable of reservation commands and method for controlling the same
JP2007250030A (en) Program and optical disk
JPH05250103A (en) Information processor
JPH11143751A (en) Reproducing device and method for recognizing file system
JP2003317382A (en) Control method for optical disk recording and reproducing device
JP2005182852A (en) Electronic device and program
KR970050632A (en) How to check spindle motor constant speed of disk drive recorder
JPH06324830A (en) Device and method for reproducing optical disk

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: 20100528

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee