---------------------------------------------------------------------- (c)Kalok Corporation K-Board BBS 408-734-4258 300-14400 Baud, 8-N-1 ---------------------------------------------------------------------- KL-343 OEM Manual ----------------- This manual is in text format with the page length set to 60 lines per page. There are no printer or character codes for text highlighting or form feeds, though IBM line graphics are used that may appear as alternate characters if your printer is set up differently. To print-out with the correct formatting ensure your printer is set for 60 lines per page and that your printer supports IBM line graphics. ----------------------------------------------------------------------------- ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ O E M M a n u a l Octagon KL343 3.5 inch Winchester Disk Drive ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ P/N 86006-001 Rev. A April 18, 1990 Kalok Corporation All Rights Reserved Information provided herein is copyrighted. This document may not, in whole or part, be copied, photographed, translated, or reproduced in any form or by any means, electrical or mechanical, without prior written permission from Kalok Corporation. Trademarks: PC/AT and PC/XT are trademarks of International Business Machines Corporation. Kalok Octagon is a trademark of Kalok Corporation. O E M Manual KL343 i ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Contents Chapter 1 Introduction and Product Specifications Purpose and Scope.....................................1-1 Typical Applications..................................1-1 General Description...................................1-1 Key Features..........................................1-2 Product Specifications................................1-3 Interface..........................................1-3 Storage Capacity...................................1-3 Seek Time..........................................1-3 Rotational Speed, Latency, and Data Throughput.....1-3 Functional Parameters..............................1-3 Environmental Specifications.......................1-4 Power Requirements.................................1-4 Physical Parameters................................1-4 Reliability Specifications.........................1-4 Chapter 2 Interface and Basic Operation Introduction..........................................2-1 Mechanical Interface..................................2-1 Electrical Interface...............................2-1 Connector Assignments and Functions................2-1 AT/IDE Cable Connections...........................2-3 Connecting Two Drives..............................2-3 Address Assignments................................2-3 AT/IDE Task File Interface Signal Conventions......2-4 AT/IDE Task File Signal Descriptions...............2-5 Power Supply Connections...........................2-8 Basic Operating Modes of the KL343....................2-9 Power Up and Run Sequence..........................2-9 Reset.................................................2-9 Fault Condition.......................................2-9 Command Execution.....................................2-9 Drive Formatting......................................2-9 O E M Manual KL343 ii ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Chapter 3 AT/IDE Task File Interface Commands and Registers General...............................................3-1 Register Configuration................................3-1 Bit Conventions.......................................3-1 Command Environment...................................3-1 Host Address Decoding.................................3-2 Register Descriptions.................................3-3 Data Register......................................3-3 Error Register.....................................3-3 Write Precompensation Register.....................3-3 Sector Count Register..............................3-3 Sector Number Register.............................3-4 Cylinder Low Register..............................3-4 Cylinder High Register.............................3-4 Size/Drive/Head Register...........................3-4 Status Register....................................3-4 Command Register...................................3-5 Alternate Status Register..........................3-6 Digital Output Register............................3-7 Drive Address Register.............................3-7 Command Description...................................3-8 Issuing the Command.................................3-8 Recalibrate.........................................3-8 Read Sectors........................................3-9 Write Sectors.......................................3-9 Read Verify.........................................3-10 Format Track........................................3-10 Seek................................................3-11 Execute Drive Diagnostics...........................3-11 Initialize Drive Parameters.........................3-12 Power Commands......................................3-12 Read Sector Buffer..................................3-12 Write Sector Buffer.................................3-12 Identify Drive......................................3-12 Command Error Reporting...............................3-13 Reset.................................................3-14 Busy Operation........................................3-15 Data Error Recovery and Retry.........................3-15 Header Retry Algorithm................................3-15 Command Protocols.....................................3-15 Programmed I/O Data In Commands.....................3-15 Programmed I/O Data Out Commands....................3-16 Non Data Commands...................................3-16 Timing................................................3-16 Deskewing...........................................3-16 Timing Requirements.................................3-16 Chapter 4 Packing Information...................................4.1 O E M Manual KL343 iii ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Chapter 5 Drive and Host Adapter Installation Required Disk Subsystem Components....................5-1 Required Formatting/Partitioning Software.............5-1 Handling..............................................5-1 Host Adapter Configuration............................5-2 Master/Slave Daisy-Chain Configurations...............5-2 Cabling and Hardware Installation.....................5-3 Formatting the KL343/AT...............................5-4 Appendix A AT Drive Types Figures 1-1 Kalok Octagon KL343 3.5-inch Winchester Disk Drive 1-2 1-2 Typical Disk Drive Applications with AT/IDE Systems 1-2 1-3 KL343 Functional Block Diagram 1-2 2-1 KL343 Mechanical Interface 2-1 2-2 KL343 Electrical Interface 2-2 2-3 Octagon KL343 Interface Connectors 2-2 2-4 Cabling for Multiple Drives 2-3 2-5 Octagon KL343 Power/Jumper Diagram 2-4 2-6 AT/IDE 40 Pin Drive Control Interface 2-5 2-7 Power Up Sequence 2-9 2-8 Current Profile 2-10 2-9 KL343 Disk Format Layout 2-10 2-10 KL343 Cylinder/Head Skew Format 2-10 3-1 KL343 AT/IDE Task File Registers 3-16 3-2 Reset Timing 3-16 3-3 Read and Write Command Timing 3-16 5-1 Jumper Settings and Cable Attachment for Host Adapter 5-5 5-2 Drive Jumpering for One and Two Disk Drive Systems 5-5 5-3 Adapter Cable/Drive Connection 5-5 5-4 Kalok Mounting Brackets and Bezels 5-6 Tables 2-1 Connector Assignments 2-1 2-2 Interface Connector Part Numbers 2-2 2-3 Connector J1-Task File Interface Pin Assignments 2-5 2-4 Connector J2-Power Supply 2-8 3-1 Input/Output Port Addresses and Register Functions 3-2 3-2 Command Set Supported by the KL343 3-6 3-3 Default Command Block Register Values 3-8 3-4 Drive Diagnostic Error Register Codes 3-11 3-5 Identify Drive Information 3-13 3-6 Command Errors and Register Contents 3-13 3-7 Initial Command Block Values After Reset 3-14 O E M Manual KL343 iv ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Notice to Users Kalok Corporation makes no representations or warranties with respect to the contents herein, and specifically disclaims any implied warranties of merchantability or fitness for any purpose. The Kalok KL343 AT/IDE disk drive has been designed to be compatible with the industry standard AT bus Attachment (ATA), or "Task File" interface for intelligent devices as defined by the Common Access Method (CAM) Committee. All aspects of the interface have not been totally standardized, and Kalok therefore reserves the right to revise this document and to make changes from time to time without obligation to notify any person of such revisions and changes. While every effort has been made to ensure that the information provided herein is correct, please notify us in the event of any errors. Please write your name, address, telephone number, and comments, and mail to the address given below. Include the product name, part number, and revision level of the document. ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Kalok Corporation 1289 Anvilwood Avenue Sunnyvale, CA 94089, USA (408)747-1315 Bulletin Board 408 734-4258 Attention: Marketing Department ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Chapter 1 - Introduction 1-1 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Introduction and Product Specifications Purpose and Scope This manual describes the Kalok OCTAGON I Model KL343 3.5-inch Winchester hard disk drive, and illustrates applications using the KL343 drive with the Kalok KL03/KL03F/KL03S AT/IDE host adapters. The manual is intended to satisfy the information needs of OEM engineers and computer system integrators. It contains all the information that will normally be needed to integrate the OCTAGON I KL343 into a computer system. The information provided in this document focuses on the electrical and physical parameters, specifications, and the interface command set. The reading audience is expected to be familiar with state-of-the-art Winchester disk drive technology. The KL343 disk drive is illustrated in Figure 1-1. Typical Applications The KL343 Winchester disk drive may be used as a storage device for any computer system with the industry standard PC/AT or AT/IDE interface. This product is ideal for ruggedized applications and specially suited where compact size, lightweight, high storage capacity, and reliability are required. General Description The KL343 is a rugged, lightweight, 3.5-inch Winchester disk drive. It has a formatted capacity of 42.51 megabytes. The KL343 uses a rotary band positioner driven by a bipolar stepper motor. The disk drive operates under the control of a microprocessor to position the read/write heads. The head positioning mechanism is designed in such a way that both thermal loops of the positioning system oppose each other. This results in extremely accurate head positioning over the entire operating range. A magnetic fluid seal is installed to eliminate contamination from the spindle motor bearings. The recirculating filter at the periphery of the disks efficiently cleans the head/disk assembly (HDA) air by trapping entrained particles. The electronics of the KL343 are mounted on a single circuit board (PCB) beneath the HDA. The electronics perform the following functions: +Interpret and generate control signals +Move the read/write heads +Read and write data +Maintain the correct drive speed +Provide on-board diagnostics Up to two OCTAGON KL343 drives can be linked to a single CPU on a common power bus and a daisy-chained control bus in a Òmaster / slaveÓ configuration. The AT/IDE Task File intelligent drive interface requires a host adapter board to operate with systems not designed for intelligent peripherals. For these systems, Kalok has available the KL03/KL03F/KL03S host adapters for hard drive/hard drive + floppy controller systems. More details are given in Chapter 5. Figure 1-2 shows a typical multidrive application. A functional block diagram of the KL343 PC/AT disk drive is given in Figure 1-3. Chapter 1 - Introduction 1-2 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Key Features +Simple design only 24 major mechanical components +Compact size 1.625" H x 4.00" W x 5.75" L +(41.3 x 101.6 x 146.1 mm) +Lightweight 1.6 pounds (0.73 Kg) +Temperature compensated positioner for accurate head positioning +Small, low-resistance biomedical air filtration for low contamination and longer life +Standard 8K Byte data buffer +Full PC/AT interface compatibility +33 msec average seek time +Diagnostic self test routines that are automatically executed at start-up +Supports physical and translate modes Figure 1-1 Kalok Octagon KL343 3.5-inch Winchester Disk Drive (This is a drawing of the drive and is not able to downloaded) Figure 1-2 Typical Disk Drive Applications with AT/IDE Systems ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Host ³ ³ mother board ³ ÀÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÙ 40 pin AT/IDE Interface ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³34 pin floppy interface ³ ³ ÀÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄÄÁÄÄÄÄÄÄÄÄ¿ ÚÄÄÄÄÄÁÄÄÄÄÄÄÄ¿ ³ ³ ³HDD 0 - C: ³ ³HDD 1 - D: ³ ÚÄÄÄÁÄÄÄ¿ ÚÄÄÄÁÄÄÄÄ¿ ³KL343 master ³ ³KL343 slave ³ ³FDD 0 ³ ³ FDD 1 ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÙ Embedded AT/IDE interface application Figure 1-3 KL343 Functional Block Diagram (This is a Block Diagram drawing and is not able to downloaded) Chapter 1 - Product Specifications 1-3 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Product Specifications Interface PC/AT/IDE Task File Storage Capacity UnformattedÄÄÄÄÄÄÄÄÄ48.07 megabytes Formatted Native or Physical ModeÄÄÄ42.54 megabytes CylindersÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ670(0-699) Sectors/trackÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ31 HeadsÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ4 Note: Physical cylinders 0 - 669 (670 cylinders) are for user data. Physical cylinders 670 - 675 (6 cylinders) are reserved for future system use, and should not be used for user data. In the native or physical mode, the drive can access cylinders 670 - 675. Formatted - Translate or Logical Mode CylindersÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ977(0-976) Sectors/trackÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ17 HeadsÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ5 Note: In the translate or logical mode, identification of the drive as a 977 cylinder/5 head/17 sector device (Ref. Chapter 5 and Appendix A) will properly limit drive operation to physical cylinders 0 - 669. In most cases the type is 17. Seek Time Single cylinder seekÄÄÄÄÄÄÄÄÄ6 msec One-third stroke seekÄÄÄÄÄÄÄ30 msec True average seekÄÄÄÄÄÄÄÄÄÄÄ33 msec Full stroke seekÄÄÄÄÄÄÄÄÄÄÄÄ75 msec Rotational Speed, Latency, and Data Throughput Average latencyÄÄÄÄÄÄÄÄÄÄÄÄÄ8.89 msec Rotational speedÄÄÄÄÄÄÄÄÄÄÄÄ3375 rpm +/-0.1% Data throughput: Burst rateÄÄÄÄÄÄÄÄÄÄÄÄ4.5 mb sec Sustained rateÄÄÄÄÄÄÄÄ>700 kb sec 60Kb block size Start/stop timeÄÄÄÄÄÄÄ7 sec max, 5 sec typical Drive readyÄÄÄÄÄÄÄÄÄÄÄ12 sec Functional Parameters Read/write headsÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ4 DisksÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ2 Buffer sizeÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ8 kb SRAM Recording codeÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ2,7 RLL Instantantaneous HDA bit rateÄÄÄÄÄ8.0 mb/sec InterleaveÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ1:1 Recording densityÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ23571 bits/inch@ID Flux densityÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ15714 Flux reversals/inch Track densityÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ814 tracks per inch Actuator typeÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄRotarty, stepping motor Chapter 1 - Product Specifications 1-4 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Environmental Specifications Acoustical noiseÄÄÄÄÄÄÄÄÄÄÄÄÄÄ40 dba at 1 meter,steady-state no seek TemperatureÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ10 to 55 C operating ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ-40 to 60 C nonoperating GradientÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ10 C/hour max ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄno condensation HumidityÄÂÄÄoperatingÄÄÄÄÄÄÄÄÄ8 to 80% RH, no condensation ÃÄÄnon operatingÄÄÄÄÄ5 to 90% RH, no condensation ÀÄÄmaximum wet bulbÄÄ26 C AltitudeÄÂÄÄoperatingÄÄÄÄÄÄÄ- -1000 to 10,000 feet ÀÄÄnon operatingÄÄÄÄ -1000 to 30,000 feet VibatationÄÂÄÄoperatingÄÄÄÄÄÄÄ 0.010" p-p, 5 to 22 hz ³ 0.25 G o-p,23 to 500 hz ³ Sweep rate= 15 min/decade all axes ÀÄnon operatingÄÄÄÄ 0.040"p-p,5 to 22 hz 1.00 G o-p,23 to 500 hz Sweep rate=15 min/decade all axes. ShockÄÄÄÂÄoperatingÄÄÄÄÄÄÄÄÄÄÄ8 G o-p, all axes, 11 ms half sine ÀÄnon operatingÄÄÄÄÄÄÄ40 G o-p, all axes,11 ms half sine Note: Performance specifications shall be met at operating conditions. No permanent damage or loss of data shall be incurred at nonoperating conditions. Power Requirements Power DCÄÄÄÄÄÄÄÄÄÄÄÄÄÄ+12.0 Volts, +5.00 Volts, +/- 5% Ripple noise, maxÄÄÄÄÄ200 mV p-p for both +5 and+12 Ripple Freq, maxÄÄÄÄÄÄ 0-20 Mhz for both +5 and +12 +5V currentÄÄÄÄÄÄÄÄÄÄÄ 0.30 Amps active/0.30 Amps idle +12V currentÄÄÄÄÄÄÄÄÄÄ 0.74 Amps Active/0.56 amps idle +12V @motor startupÄÄÄ 1.5 Amps for 3 sec max. Power dissipationÄÄÄÄÄ 10.4 Watts Acitve, 8.2 Watts idle Physical Parameters Dimensions,HxWxLÄÄÄÄÄÄÄÄ1.625 x 4.00 x 5.75 WeightÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ1.6 pounds(0.73 Kg) Mounting RequirementsÄÄÄany orientation, 0.040" min clearance Reliability Specifications Mean time between failuresÄÄÄÄÄÄÄÄÄÄÄ40,000 hours Mean time to repairÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ5 minutes Preventive maintenanceÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄnone Service lifeÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ6 years Error rates: Hard ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ1 per 10 ^12 bits read, max SoftÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ1 per 10 ^10 bits read, max SeekÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ1 per 10 ^6 seeks, max Hard errors/driveÄÄÄÄÄ10 mapped, max Chapter 2 - Interface and Basic Operation 2-1 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Interface and Basic Operation Introduction This chapter describes the mechanical and electrical interfaces of the OCTAGON KL343, and the basic operating modes of the device. Mechanical Interface The mechanical interface of the KL343 is shown in Figure 2-1. The drive may be mounted in any position. Sixteen mounting holes are provided in the drive chassis for installation. Eight of these holes accept M4 metric screws. The remaining 8 accept #6-32 machine screws. Penetration of any screw into the drive mounting brackets must not exceed 0.13 inches (3.3 mm). Reasonable attention should be given to providing uniform mounting surfaces for the drive. Mounting surfaces which are badly warped or nonplanar may distort the drive when the mounting screws are tightened, and may degrade the performance of the drive. Cooling, whether by natural air convection or fan, must be sufficient to keep both the drive and the host system within the required temperature range. In addition, 0.04 inches minimum clearance around the drive must be provided for cooling, shock and vibration sway space, and easy installation and removal. Refer to Chapter 1 for environmental limits. Figure 2-1 KL343 Mechanical Interface Unable to download this figure Electrical Interface The electrical interface for the KL343 is shown in Figure 2-2. Connector Assignments and Functions Connector assignments and functions are given in Table 2-1. Table 2-1 Connector Assignments Connector Description J1 AT/IDE 40-Pin Connector J2 4-Pin DC Power Connector J3 Read/Write Connector J4 Stepper Motor Connector J5 Spindle Motor Connector J6 Jumper Block J7 LED J8 DC Power Tabs, Not for Customer Use J9 HDA Ground Note: The KL343 drive +5 V and +12 V PCB grounds are directly tied to the HDA enclosure. J9 is a quick disconnect tab attached to the HDA. The drive mounting brackets are not electrically tied to the HDA. Three types of connectors are required for the KL343 electrical interface to the host computer system via J1, J2, and J9. Kalok recommends the following types or their equivalents. Chapter 2 - Interface and Basic Operation 2-2 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Table 2-2 Interface Connector Part Numbers Name Part Number P1: AT/IDE Task File (40-pin) Molex 40312 or 3M 3417 P2: Power Supply (4-pin) Molex 8981-4P housing Molex 8980-3 contacts AMP 1-480424-0 housing AMP 60617 contacts P9: Drive HDA ground (1-pin) Molex 187 quick disconnect AMP 62137 quick disconnect Pin 20 on P1 should be plugged to provide a positive stop against the incorrect connection of J1 and P1. Pin 20 of J1 is removed as an industry standard configuration. Figure 2-3 shows J1, J2, and J6 connector measurements. Figure 2-2 KL343 Electrical Interface Unable to download this figure Figure 2-3 ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ Octagon KL343 Interface Connectors pin 2 pin 40   ³ ³ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³o o o o o o o o o o o o o o o o o o o o ³ ³o o o o o o o o o o o o o o o o o o o o ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ³ ³ ³ Á Á Á pin 1 polarizing pin 39 feature J1 AT/IDE Cable Connections ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ 4 3 2 1 /ÄÄÄÄÄÄÄÄÄÄÄÄ\ ³ O O O O ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÙ J2 Connector power ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ pin 2 pin 10   ³ ³ ÚÄÄÄÄÄÄÄÄÄ¿ ³o o o o o³ ³o o o o o³ ÀÄÄÄÄÄÄÄÄÄÙ ³ ³ Á Á pin 1 pin 9 J6 Jumper connector ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ Chapter 2 - Interface and Basic Operation 2-3 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ AT/IDE CABLE CONNECTIONS Cable connections between the host adapter or the host system should use 28 AWG stranded flat cable, 3M 3365-40, or equivalent. The cable length should not exceed 2 feet. Drive and drive cable installation procedures are given in Chapter 5. CONNECTING TWO DRIVES When more than one drive is installed into a host system, the cabling between the host system and the drive should be arranged as shown in Figure 2-4. ADDRESS ASSIGNMENTS An individual drive may have a logical address of 0 or 1. Drive 0 is the only drive for single drive installations. For dual drive installations, Drive 0 is the "master" drive and Drive 1 is the "slave" drive. The drive logical address is determined by the presence of a shorting plug jumper on the J6 connector. Application of jumpers to J6 must follow the guidelines listed below and illustrated in Figures 2-5 and 5-2. 1.For a single drive installation, no jumper is used on the J6 connector, or the factory supplied jumper may be installed across pins 7Ð9. Pins 7Ð9 are ground pins, and installing the jumper in this position will have no effect. The drive will be selected as Drive 0. 2.For a dual drive installation, one drive must be the master and one must be the slave. The "master" drive, logical drive 0, must have the J6 jumper installed across pins 5/6. The "slave" drive must have the J6 jumper installed across pins 7/8. Either drive can be a master or a slave, but there cannot be 2 masters or 2 slaves. The position of the master and the slave drive on the interface cable, i.e., at the middle or end of the cable, is not important. No other pins on J6 should be jumpered. Detailed instructions for jumper settings are given in Chapter 5. In multidrive applications with the AT/IDE interface, commands and data from the Host are placed on the common 40-pin cable, and are presented to both hard disk drives. This places the requirement on the host to be aware that it is essential to discriminate between the two drives by using the DRV bit in the Size/Drive/Head (SDH) register when issuing commands to the drives. Section 3.3.8 gives more details on drive selection using programmed I/O. Figure 2-4 Cabling for Multiple Drives ÚÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ J1 ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³HOST ADAPTER ÃÄÄÄÄÄÄÄÄÄÄÄËÄÄÄÄÄÄÄÄ´KL343 DRIVE 0 ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ³ J2 ³MASTER C: ³ ³ ÚÄÄÄÄÄ´ ³ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ³ ºJ6 PINS 5 & 6 ³ ³POWER SUPPLY ÃÄÄÄÄÄÄÄÄÄÄÄÅÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ³+12 & +5 V DCÃÄÄÄÄÄÄÄÄÄ¿ ³ J1 ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ³ ÀÄÄÄÄÄÄÄÄ´KL343 DRIVE 1 ³ ³ J2 ³SLAVE D: ³ ÀÄÄÄÄÄÄÄÄÄÄ´ ³ ºJ6 PINS 7 & 8 ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ Chapter 2 - Interface and Basic Operation 2-4 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Figure 2-5 Octagon KL343 Power/Jumper Diagram ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ /ÄÄÄÄÄ¿ ³ +5 vdcÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄ 4³ ³ ÚÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄ¿ 3³ ³ DC GRNDÄÁÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÁÄ 2³ ³ +12 vdcÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄ1 ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ \ÄÄÄÄÄÙ POWER INTERFACE ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÚÄÄÄÄ¿ not usedÄÄÅ1 2ÅÄÄnot used groundÄÂÄÄÅ3 4ÅÄÄnot used ÃÄÄÅ5ÄÄ6ÅÄÄmaster ÃÄÄÅ7ÄÄ8ÅÄÄslave ÀÄÄÅ9 1OÅÄÄnot used ÀÄÄÄÄÙ KL343 J6 JUMPER SELECTION ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÚÄÄÄÄ¿ +5 V dcÄÄÄÄÄÄÅÄ1 ³ +12 V dcÄÄÄÄÄÅÄ2 ³ groundÄÄÄÄÄÄÄÅÄ3 ³ ÀÄÄÄÄÙ KL343 J8 POWER - OPTIONAL ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ AT/IDE Task File Interface Signal Conventions The interface between the drive host adapter and the drive is called the Host Interface. The set of registers in the I/O space of the Host is known as the Task File. All signals on the Host Interface have the prefix HOST. All negatively active signals have prefix "-". All positive active signals have prefix "+", or have no prefix. Signals whose source is the Host are called "outbound" or "O", and those whose source is the drive are called "inbound" or "I". See Table 2-3 and Figure 2-6 for J1 connector pin assignments. An asserted signal may be driven high or low by an active circuit, or it may be allowed to be pulled to the correct state by the bias circuitry. All drive outputs are driven by the tri-state drivers. All drive control output signals are unbalanced true when low, and are in the high-impedance state when the drive is not selected. All signal levels are TTL compatible unless noted. A logic "1" is >2.0 volts. A logic "0" is from 0.0 volts to 0.7 volts. Control signals that are asserted for one function when high and asserted for another function when low are listed with their two function names separated by a slash character (/). For example, -HOST SLV/ACT. Chapter 2 - Interface and Basic Operation 2-5 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Table 2-3 Connector J1 - Task File Interface Pin Assignments I/O Pin Signal ³ I/O Pin Signal 01 -HOST RESET ³ 02 GND 03 +HOST DATA 7 ³ 04 +HOST DATA 8 05 +HOST DATA 6 ³ 06 +HOST DATA 9 07 +HOST DATA 5 ³ 08 +HOST DATA 10 09 +HOST DATA 4 ³ 10 +HOST DATA 11 11 +HOST DATA 3 ³ 12 +HOST DATA 12 13 +HOST DATA 2 ³ 14 +HOST DATA 13 15 +HOST DATA 1 ³ 16 +HOST DATA 14 17 +HOST DATA 0 ³ 18 +HOST DATA 15 19 GND ³ 20 KEY 21 NOT USED ³ 22 GND 23 -HOST IOW ³ 24 GND 25 -HOST IOR ³ 26 GND 27 +IO CH RDY ³ 28 +HOST ALE (not used) 29 NOT USED ³ 30 GND 31 +HOST IRQ14 ³ 32 -HOST IOCS16 33 +HOST ADDR 1 ³ 34 -HOST PDIAG 35 +HOST ADDR 0 ³ 36 +HOST ADDR 2 37 -HOST CS0 ³ 38 -HOST CS1 39 -HOST SLV/ACT³ 40 GND >Figure 2-6 AT/IDE 40 Pin Drive Control Interface AT/IDE Task File Signal Descriptions The signals associated with the Task File Interface are described below in detail. Signal Name DIR Pins Description -HOST RESET O 01 Host Hardware Reset. Reset signal from the Host system which is active low for at least 25 usec during Power On, and is inactive thereafter. GND O 02 Ground: Drive - Host. +HOST DATA I/O 03-18 Data Bus. 0-15 An 8/16-bit bi-directional data bus between the Host and the drive. The lower 8 bits, 0-7 are used for register and ECC access. All 16 bits are used for data buffer transfers. These are tri-state lines with 24 mA drive capability. GND O 19 Ground: Drive - Host. KEY N/C 20 Alignment Key. An unused pin clipped on the drive and plugged on the cable. Used to guarantee correct orientation of the cable. NOT USED N/C 21 Reserved for future use. GND O 22 Ground: Drive - Host. Chapter 2 - Interface and Basic Operation 2-6 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Signal Name DIR Pins Description -HOST IOW O 23 Write Strobe. The rising edge clocks data from the Host data bus, +HOST DATA 0-7, or +HOST DATA 0-15, into a register or the data port of the drive. GND O 24 Ground: Drive - Host. -HOST IOR O 25 Read Strobe. The falling edge enables data from a register or the data port of the drive onto the Host data bus, +HOST DATA 0-7 or +HOST DATA 0-15. The rising edge of -HOST IOR latches data from the drive at the Host. GND O 26 Ground: Drive - Host. +IO CH RDY O 27 I/O Channel Ready. This open drain, 24 mA output signal, is deasserted to lengthen an I/O data cycle. This signal is only active during word mode data transfers at I/O address 1F0(170) if data is not available. +HOST ALE O 28 Host Address Latch Enable. This signal is usually used to qualify the address lines. This signal is presently not used. NOT USED N/C 29 Reserved for future use. GND O 30 Ground: Drive - Host +HOST IRQ14 I 31 Host Interrupt. Interrupt to the Host system, enabled only when the drive CPU has a pending interrupt, the drive is selected, and the Host clears the -IEN bit to 0 in the Digital Output register. When the -IEN bit is inactive (high or 1), or the drive is not selected, this output is in a high impedance state regardless of the state of the +HOST IRQ14 line. The interrupt is set when the +HOST IRQ14 line is set by the drive CPU. +HOST IRQ14 is reset to zero when the Host reads the Status register, writes to the Command register, asserts -HOST RESET on the interface, or sets the SRST bit in the Digital Output register (Section 3.3.12). This signal is a tri-state line with 24 mA drive capacity. On programmed I/O transfers, +HOST IRQ14 is asserted at the beginning of each data block transfer, i.e., every 512 bytes for single block transfers or each multiple of 512 bytes in a multi-block data transfer. An exception occurs on Format Track, Write Sector(s), Write Buffer, and Write Long Commands; +HOST IRQ14 shall not be asserted at the beginning of the first block of data transfer for these cases. Chapter 2 - Interface and Basic Operation 2-7 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Signal Name DIR Pins Description -HOST IOCS16 I 32 16 Bit Word Indicator. Indication to the Host system that the 16-bit data register has been addressed and that the drive is prepared to send or receive a 16-bit data word. This line is tri-state with 24 mA drive capacity. When transferring in programmed I/O mode, if -HOST IOCS16 is not asserted, transfers are made using the lower 8-bits of +HOST DATA 0-7. If -HOST IOCS16 is asserted, transfers are made using +HOST DATA 0-15 for 16-bit data transfers. +HOST ADDR 1 O 33 Address Line 1 (2 of 3). Binary coded address used to select a register or the data port in the task file. -HOST PDIAG I 34 Slave Drive Diagnostic. Passed diagnostic.Output by the drive if it is a slave drive. Input to the drive if it is the master drive. This low true signal indicates to a master that the slave has passed its internal diagnostic command. This line is only inactive (high) during execution of the diagnostic command. Following a hardware or software reset, the slave drive (Drive 1) shall negate -HOST PDIAG within 1 msec to indicate to the master (Drive 0) that it is busy (BSY bit = 1 in the Status register). Drive 1 shall then assert -HOST PDIAG within 30 seconds to indicate that it is no longer busy (BSY = 0), and is able to provide status. After the assertion of -HOST PDIAG, Drive 1 may be unable to accept commands until it has finished its reset procedure and is ready as indicated by DRDY = 1 in the Status register. Following the receipt of a valid Execute Drive Diagnostics command,Drive 1 shall negate -HOST PDIAG within 1 msec to indicate to Drive 0 that it is busy and has not yet passed its drive diagnostics. If Drive 1 is present, then Drive 0 shall wait for up to 5 seconds from the receipt of a valid Execute Drive Diagnostics command for Drive 1 to assert -HOST PDIAG. Drive 1 should clear the BSY bit before asserting -HOST PDIAG, as -HOST PDIAG is used to indicate that Drive 1 has passed its diagnostics and is ready to supply status. If -HOST SLV/ACT was not asserted by Drive 1 during reset initialization, Drive 0 shall report its own status immediately after it completes diagnostics. Drive 0 may be unable to accept commands until it has finished its reset procedure and is ready (DRDY bit = 1). This line is tri-state with 24 mA drive capability. Chapter 2 - Interface and Basic Operation 2-8 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Signal Name DIR Pins Description +HOST ADDR 0 O 35 Address Line 0 (1 of 3). Binary coded address used to select a register or the data port in the task file. +HOST ADDR 2 O 36 Address Line 2 (3 of 3). Binary coded address used to select a register or the data port in the task file. -HOST CS0 O 37 Chip Select (1 of 2). Chip select decoded from the Host address bus. Used to select the Host accessible Command Block registers. -HOST CS1 O 38 Chip Select (2 of 2). Chip select decoded from the Host address bus. Used to select the Host accessible Control Block registers. -HOST SLV/ACT I 39 Slave/Activity Signal. This is an open drain 24 mA signal. If the drive is a Master drive, and -HOST SLV/ACT is asserted (low) during the Diagnostic command, a slave drive is present. If not asserted (high), no activity is indicated. If the drive is a Slave, -HOST SLV/ACT is configured as an output at all times to indicate that the slave drive is busy. GND O 40 Ground: Drive - Host. Power Supply Connections The drive receives power thru the J2 4-pin connector. The pinout of J2 is given in Table 2-4 and Figure 2-5. Observe the following restrictions when applying power to the KL343. 1. The 5-volt and 12-volt power supplies must be able to maintain the necessary voltage and ripple specifications with 12 ohm resistive loads. 2. During the first 4 seconds, the 12-volt supply must maintain these specifications with a 4.8 ohm resistive load. 3. During operation, the voltage supplied to the drive must not exceed the specified tolerance of +/-5%. Table 2-4 Connector J2 - Power Supply Pin Number Voltage 1 +12 V DC 2 12 V DC Return 3 5 V DC Return 4 +5 V DC Chapter 2 - Interface and Basic Operation 2-9 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Basic Operating Modes of the KL343 Power Up and Run Sequence When DC power is applied to the drive, it takes about 5 seconds for the drive to come to speed. Figures 2-7 and 2-8 show the power-up sequence and the typical steady-state current values. When the drive is active and executing a command, the typical power dissipation will be 10.0Ð10.4 Watts. When the drive is not busy, the idle power dissipation will be 8.0Ð8.2 Watts. The idle state does not affect the spindle motor, and the drive is ready to respond immediately to a command when in the idle mode. Reset The Reset condition allows the drive to initialize. A Reset condition is generated using hardware and software resets. There are two types of hardware resets: one from the Host via the interface -HOST RESET line, and the other from the drive power on reset circuitry. The third reset is software generated. Details on RESET are given in Section 3.6. Fault Condition The drive will come up with a fault if any of the following conditions occur. 1. Self test routine failed. 2. Spindle motor not spinning. 3. Spindle motor speed out of regulation. The drive LED will blink to indicate a fault condition. The drive LED is otherwise controlled by the interface -HOST SLV/ACT signal. Command Execution The KL343 has a broad range of programmed input/output commands for identifying and setting drive parameters, seeking, reading and writing, identifying error conditions, etc. Chapter 3 describes these commands in detail, and gives typical protocol and timing requirements. Drive Formatting The KL343 is factory formatted using the format layout shown in Figure 2-9. The KL343/AT drive uses cylinder/head skewing to improve data throughput performance. The cylinder/head skewing format is illustrated in Figure 2-10. The format and skewing features of the drive are transparent to the user and cannot be altered during subsequent use of the drive. Figure 2-7 ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ DC ³ onÄÄÄÄÄÄÄÄÄÙ .<ÄÄ7 sec maxÄÄ>ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ disk . ³ up to . ³ speedÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ready <ÄÄÄÄÄÄÄÄÄÄÄÄÄÄ12 sec maxÄÄÄÄ>³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ Power Up Sequence ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ Chapter 2 - Interface and Basic Operation 2-10 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Figure 2-8 Current Profile unable to download this figure Figure 2-9 unable to download this figure KL343 Disk Format Layout unable to download this figure Figure 2-10 KL343 Cylinder/Head Skew Format unable to download this figure Chapter 3 - AT/IDE Task File Interace 3-1 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ AT/IDE Task File Interface Commands and Registers General This chapter describes the KL343 registers and commands. There are 11 physical registers grouped into a Command Block of 9 registers, and a Control Block of 2 registers. Register Configuration The register configuration used in the KL343 drive is shown in Figure 3-1. There are 11 addressable registers selectable using the +HOST ADDR 0-2, -HOST CS 0-1, and -HOST IOCS16 lines. These are shown on both sides of the AT Host Data Bus in Figure 3-1 to differentiate between their uses when used as Read or Write registers. The Drive Address register is used for reading only, and does not have a dual usage. Asserting -HOST IOR enables the registers as read registers with the functions shown on the left side of Figure 3-1. Asserting -HOST IOW enables them as write registers with the functions shown on the right side of Figure 3-1. There are 2 Data registers for 8-bit or 16-bit operations. Data is taken from the low byte of the Data register except when -HOST IOCS16 is asserted on the interface indicating that both Data registers are active for a total of 2 bytes. Since the drive buffer RAM is 1 byte wide, two memory cycles of 180 ns/cycle are used to transfer data between the RAM and the Data Registers for 16-bit data transfers. Bit Conventions Each bit in the Task File registers obeys the following standard convention: True Asserted Bit=1=high -Bit=0=low False Negated Bit=0=low -Bit=1=high Command Environment The KL343 AT/IDE Task File interface drive is programmed by the host computer to perform commands and return status to the host at the end of command execution. When two drives (master & slave) are daisy chained on the interface, commands are written in parallel to both drives, but only the selected drive executes the command. The appropriate interface lines of the unselected drive are tri-stated to avoid bus contention. An exception to this rule is the Execute Diagnostics command. When the Execute Diagnostics command is issued, both drives execute the command, but Drive 1 reports its status to drive 0 via the -HOST PDIAG line. Drives are selected using the DRV bit in the Size/Drive/Head (SDH) register in addition to jumpers installed on the J6 connector, reference section 2.3.4. When the DRV bit = 0, Drive 0 is selected. When the DRV bit = 1, Drive 1 is selected. A single drive is set and addressed as Drive 0. Chapter 3 - AT/IDE Task File Interace 3-2 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Host Address Decoding The Host addresses the drive using programmed I/O. The Command Block registers are used for commands to the drive, or for status. The Control Block registers are used for control and alternate status. Selection of a register requires the following sequence: 1. The desired register address is placed on the three Host address lines +HOST ADDR 2, +HOST ADDR 1, and +HOST ADDR 0. 2. The desired chip select signals -HOST CS1 and -HOST CS0 are asserted. 3. The strobe signals -HOST IOR or -HOST IOW, are asserted. The Host generates two independent chip select signals on the interface. The high order chip select signal, -HOST CS1, is valid only when the Host is addressing the three separate register addresses: alternate status register, digital output register, and drive address register. The low order chip select, -HOST CS0, is used to address all other registers. The Host data bus lines +HOST DATA 15 thru +HOST DATA 8 are enabled only when -HOST IOCS16 enable is active and the Host is addressing the data register for transferring data and not the ECC bytes, which are transferred only if the operation is a read or write long. The following I/O map defines all the register addresses and functions for these I/O locations. A brief description of each register is given below in Table 3-1. Table 3-1 Input/Output Port Addresses and Register Functions Address Function -HOST CS +HOST ADDR -HOST IOR = True -HOST IOW = True 1 0 2 1 0 Read Write Addresses that are invalid or not used 0 0 X X X Invalid address Invalid address 1 1 X X X No operation No operation Addresses for Command Block Registers 1 0 0 0 0 Data register Data register 1 0 0 0 1 Error register Precomp cylinder 1 0 0 1 0 Sector count Sector count 1 0 0 1 1 Sector number Sector number 1 0 1 0 0 Cylinder low Cylinder low 1 0 1 0 1 Cylinder high Cylinder high 1 0 1 1 0 Size/drive/head Size/drive/head 1 0 1 1 1 Status register Command register Addresses for Control Block Registers 0 1 0 X X High impedance Not used 0 1 1 0 X High impedance Not used 0 1 1 1 0 Alternate status Digital output 0 1 1 1 1 Drive address Not used X means don't care. Chapter 3 - AT/IDE Task File Interace 3-3 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Register Descriptions The unused bits in the following register descriptions should be treated as "don't care" and unused read bits should be read as zeros. Data Register -HOST CS = 10, +HOST ADDR = 000, Read or Write The data register passes all device data between the host and the driveÕs data buffer. The sector table is transferred to this register during format commands. The Identify command then reads identify parameters from the data buffer. All transfers are high speed 16-bit I/O operations except for ECC bytes which are transferred during R/W long commands, which are slower 8-bit operations that occur after the data transfer. Error Register -HOST CS = 10, +HOST ADDR = 001, Read Only The error register contains status of the last command executed by the drive. The contents of this register are valid only when the error bit is set in the Status register. If the drive has just been powered up or has completed execution of its internal diagnostics, then this register contains a status code. The error bits in the register are defined below. Error Register Bit Definitions Bit 7 6 5 4 3 2 1 0 BBK UNC 00 IDNF 00 ABRT TK0 AMNF Bit Descriptions BBK Indicates the detection of a bad block in the ID field of the requested sector. UNC Indicates that a non-correctable data error has been encountered IDNF Indicates that the ID field of the requested sector could not be found. ABRT Indicates that the requested command has been aborted due to a drive status error, or because the command code is invalid. TK0 Indicates that track 0 has not been found during a recalibrate command. 00 Not used. These bits are set to 0. AMNF Indicates that the data address mark has not been found after finding the correct ID field. Write Precompensation Register -HOST CS = 10, +HOST ADDR = 001, Write Only This register is not used by the KL343. Sector Count Register -HOST CS = 10, +HOST ADDR = 010, Read or Write This register defines the number of sectors of data to be read or written for the subsequent command. If the value in this register is zero, a count of 256 sectors is specified. This count is decremented as each sector is read so that the register contains the number of sectors left to access in the event of an error in a multi-sector operation. If this register is zero at command completion, the command was successful. If not successfully completed, the register contains the number of sectors which need to be transferred in order to complete the original request. This register also defines the number of sectors per track when executing an initialize drive parameters command. Chapter 3 - AT/IDE Task File Interace 3-4 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Sector Number Register -HOST CS = 10, +HOST ADDR = 011, Read or Write This register contains the starting sector for any disk access for the subsequent command. The sector number may be from 1 to the maximum number of sectors per track. This register is updated at the completion of each sector to reflect the last sector read correctly, or the sector on which an error occurred. During multiple sector transfers, this register is updated to point at the next sector to be read/written if the operation of the previous sector was successful. Cylinder Low Register -HOST CS = 10, +HOST ADDR = 100, Read or Write This register contains the low order 8-bits of the starting cylinder number for any disk access. This register is updated at the completion of each sector and at the end of the command to reflect the current cylinder number. Cylinder High Register -HOST CS = 10, +HOST ADDR = 101, Read or Write This register contains the two high order bits of the starting cylinder number for any disk access. This register is updated at the completion of each sector and at the end of the command to reflect the current cylinder number. Size/Drive/Head Register -HOST CS = 10, +HOST ADDR = 110, Read or Write This register contains the drive and head numbers as described below. Size/Drive/Head (SDH) Register Bit Definitions Bit 7 6 5 4 3 2 1 0 RSVD RSVD RSVD DRV HEAD HEAD HEAD HEAD Bit Descriptions RSVD These bits are used by the Host. DRV This is the binary coded drive select number. When this bit is 0, the master drive is selected. When this bit is 1, the slave drive is selected. HEAD This is the 4-bit binary encoded head select number. At the completion of each sector, and at the end of the command, this register is updated to reflect the currently selected head. Status Register -HOST CS = 10, +HOST ADDR = 111, Read Only This register contains the drive/controller status. The contents of this register are updated at the completion of each command. If the busy bit is active, no other bits are valid. The reading of this register by the Host, when an interrupt is pending, is considered to be the interrupt acknowledge, and any pending interrupt is cleared whenever this register is read. The register bits are described below. Status Register Bit Definitions Bit 7 6 5 4 3 2 1 0 BSY DRDY DWF DSC DRQ CORR DX ERR Chapter 3 - AT/IDE Task File Interace 3-5 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Bit Descriptions BSY This is the busy bit which is activated whenever the drive has access to the Command Block registers and the Host is locked out from accessing the Command Block. This bit is activated under the following circumstances: 1. Within 400 ns after activation of the -HOST RESET line in the interface, or at the activation of the software bit in the digital output register. 2. Within 400 ns of a Host write of the Command register with a read, read long, read buffer, seek recal, initialize drive parameters, verify, identify, or diagnostic command. 3. Within 5 usec following transfer of 512 bytes of data after Host write of the Command register with a write, format track, or write buffer command, or 512 bytes of data and the four ECC bytes after a Host write of the command register with a write long command. When BSY is active, any Host read of a Task File register is inhibited and the status register is read instead. DRDY This bit indicates that the drive is ready. When there is an error, this bit is not changed until the Status register is read by the Host, at which time the bit indicates again the current readiness of the drive. This bit will be inactive at power up and remains inactive until the drive is up to speed and ready to accept a command. DWF This is the drive write fault line. This bit is active when the drive heads are settled over a track. When there is an error, this bit is not changed until the Status register is read by the Host, at which time the bit indicates again the current write fault status. DSC This is the drive seek complete bit, and it indicates that the drive is ready for transfer of a word or byte of data between the Host and the Data register. When there is an error, this bit is not changed until the Status Register is read by the Host. at which time the bit indicates again the current seek complete status. DRQ This is the Data Request bit, which indicates, when set, that the drive is ready for transfer of a word or byte of data between the host and the data port. CORR This is the corrected data bit which is active when a correctable data error has been encountered and the data has been corrected. This condition does not terminate a multi-sector read operation. IDX This is the index bit which is active twice per disk revolution. ERR This is the error bit which indicates that the previous command ended in some type of error. The other bits in the Status register and the bits in the Error register will have additional information about the cause of the error. Command Register -HOST CS = 10, +HOST ADDR = 111, Write Only The 8-bit code written to this register passes the command from the Host to the drive. Command execution starts immediately after this register is written. A list of executable commands supported by the KL343 along with the command codes and necessary parameters for each command is described below. Chapter 3 - AT/IDE Task File Interace 3-6 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Table 3-2 Command Set Supported by the KL343 Command Code Bit Parameters Used Command Name 7 6 5 4 3 2 1 0 SC SN CY SDH Recalibrate 0 0 0 1 X X X X N N N D Read Sector(s) 0 0 1 0 0 0 L R Y Y Y Y Write Sector(s) 0 0 1 1 0 0 L R Y Y Y Y Read Verify Sector(s) 0 1 0 0 0 0 0 R Y Y Y Y Format track 0 1 0 1 0 0 0 0 Y N Y Y Seek 0 1 1 1 X X X X N Y Y Y Exec Drive Diagnostic 1 0 0 1 0 0 0 0 N N N D Initialize Drive Params 1 0 0 1 0 0 0 1 Y N N Y Read Sector Buffer 1 1 1 0 0 1 0 0 N N N D Write Sector Buffer 1 1 1 0 1 0 0 0 N N N D Identify Drive 1 1 1 0 1 1 0 0 N N N D Bit Descriptions SC-Sector count register SN-Sector number register CY-Cylinder register SDH-Size/drive/head register L-This is the long bit. If = 1, R/W long commands are executed. If = 0, normal R/W commands are executed. R-This is the retry bit. If 0, retries are enabled. If 1, retries are disabled. Retries that may be enabled/disabled are those on ECC and data errors. When retries are disabled at the start of a command, they are always automatically enabled at the end of the command. Y-Indicates that the register contains a valid parameter for this command. For the drive/head/sector register, Y means that both the drive and head parameters are used. N-Indicates that the register does not contain a valid parameter for this command. D-Only the drive parameter is valid, not the head parameter. X-Don't care. For the command decode, the "1's" and "0's" are important. Failure to comply may result in an Aborted Command response or misinterpretation of the command. Alternate Status Register -HOST CS = 01, +HOST ADDR = 110, Read Only This register contains the same information as the Status register in the Task File. The only difference being that reading this register does not imply interrupt knowledge to reset a pending interrupt. Alternate Status Register Bit Definitions Bit 7 6 5 4 3 2 1 0 BSY DRDY DWF DSC DRQ CORR IDX ERR See status register for details. Chapter 3 - AT/IDE Task File Interace 3-7 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Digital Output Register -HOST CS = 01, +HOST ADDR = 110, Write Only This register consists of two bits as described below. Digital Output Register Bit Definitions Bit 7 6 5 4 3 2 1 0 - - - - - SRST -IEN - Bit Descriptions SRST-This is the Host software reset bit. The drive stays reset when this bit is asserted. The drive is enabled when this bit is deasserted. If two drives are daisy-chained on the interface, this bit will reset both drives simultaneously. -IEN -This is the enable bit for the disk drive interrupt to the Host. When this bit is asserted and the drive is selected, the Host interrupt, -HOST IRQ14 is enabled through a tri-state buffer to the Host. When this bit is deasserted, or the drive is not selected, the -HOST IRQ14 pin will be in a high impedance state, regardless of the presence or absence of a pending interrupt. - These bits are not used. Drive Address Register -HOST CS = 01, +HOST ADDR = 111, Read Only This register loops back the drive select and head select addresses of the currently selected drive. The bits in this register are described below. Drive Address Register Bit Definitions Bit 7 6 5 4 3 2 1 0 Unused -WTG -HS3 -HS2 -HS1 -HS0 -DS1 -DS0 Bit Descriptions Unused--This is reserved and unused by the drive. When the Host reads the drive address register, this bit must be in a high impedance state. Bit 7 in this case is not driven for compatibility with the floppy address space. If your system is different, you have to drive this bit when this register is used. -WTG--This is the write gate bit. It is asserted when writing to the disk drive is in progress. -HS3--These are the one's complement of the binary coded address to of the currently selected head. For instance, if -HS3 thru -HS0 -HS0 are 1100, respectively, the one's complement value is 0011 or head 3. -HS3 is the most significant bit. -DS1-- -DS1 is the select bit for drive 1. It should be asserted and when drive 1 is selected and active. -DS0 is the drive select -DS0 bit for drive 0. It should be asserted when drive 0 is selected and active. Chapter 3 - AT/IDE Task File Interace 3-8 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Command Description All commands are decoded from the Command Register. The Host interface should be programmed by the Host computer to perform commands, and should return status to the Host at command completion. When two drives are daisy-chained on the interface, commands are written in parallel to both drives. However, only the selected drive will execute the command, except for the diagnostic command. In that case, both drives execute the command and the slave drive reports its status to the master drive via the -HOST PDIAG signal. Drives are selected by the DRV bit in the drive/head register and by a jumper, pins 5/6 or 7/8 on drive connector J6, designating it as either a master (Drive 0) or a slave (Drive 1). When the DRV bit is reset, the master drive is selected. When the DRV bit is set, the slave drive is selected. When the two drives are daisy-chained, one must be jumpered as the master and the other one as the slave. When a single drive is connected to the interface, a jumper should not be installed, and the drive is addressed as Drive 0. Issuing the Command To issue a command, load the pertinent registers in the Command Block, activate the interrupt enable bit ÐIEN in the Digital Output register, and write the command code to the Command register. The command execution begins as soon as the command register is written. The command sequence assumes that the drive is not busy (BSY=0) when the command is written. The manner in which a command is accepted varies by the class of the command. The Kalok KL343 has two classes of commands: Class 1: The drive sets BSY within 400 ns. Class 2: The drive sets BSY within 400 ns, sets up the sector buffer for a write operation, sets DRQ within 700 us, and clears BSY within 400 ns of setting DRQ. Recalibrate - 0001XXXX (1Xh) Class 1 This command moves the R/W heads from anywhere on the disk to cylinder 0. Upon receipt of the command, the drive sets BSY and executes a seek to cylinder 0. The drive then waits for the seek to complete before updating Status, resetting BSY and generating an interrupt. If the drive cannot reach cylinder 0, the error bit is set in the Status register and the track 0 bit is set in the error register. An aborted command response will be given if the drive is not spinning or is not on track. Upon successful completion of the command, the Task File registers will be as follows: Table 3-3 Default Command Block Register Values Error register 00h Sector count Unchanged Sector number Unchanged Cylinder low 00h Cylinder high 00h SDH Unchanged Chapter 3 - AT/IDE Task File Interace 3-9 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Read Sectors - 001000LR (20h Normal Read) Class 1 This command reads 1 to 256 sectors as specified in the Command Block beginning at the specified sector. The long bit L = 0 for a normal read. Sector count equal to 0 requests 256 sectors. As soon as the command register is written, the drive sets the BSY bit and begins execution of the command. An aborted command is set if bits 2 and 3 are not equal to zero. An ID not found error is returned if incorrect task file parameters are passed. If the drive is not already on the desired track, an implied seek is performed. Once at the desired track, the drive begins searching for the appropriate ID field. If the ID is read correctly, the data field is read into the sector buffer. Error bits are set if an error was encountered. Then the DRQ bit in the Status register is set and an interrupt is generated. The DRQ bit is always set regardless of the presence or absence of an error condition. The Task File registers contain the cylinder, head, and the sector number of the last sector read. After this command is successfully executed, the sector count is zero. Multiple sector reads set DRQ and generate an interrupt when the sector buffer is filled at the completion of each sector and the drive is ready for the data to be read by the Host. DRQ is reset and BSY is set immediately when the Host empties the sector buffer. If an error occurs during multiple sector read, the read will terminate at the sector where the error occurs. The Host may then read the Task File to determine which error has occurred, and on what sector. If the error was either a correctable data error, or a non-correctable data error, the flawed data is loaded into the sector buffer. The read does not terminate if the error was a correctable data error. If no error is detected, the cylinder, head, and sector registers are updated to point to the next sequential sector. A read long may be executed by setting the long bit L = 1 in the command code. The read long command returns the data and the ECC bytes contained in the data field of the desired sector. During a read long, the drive does not check the ECC bytes to determine if there has been any type of data error. Data bytes are 16-bit transfers and ECC bytes are 8-bit transfers. Four ECC bytes are transferred. Write Sectors - 001100LR (30h Normal Write) Class 2 This command writes 1 to 256 sectors as specified in the Task File, beginning at the specified sector. The long bit L = 0 for a normal write. Sector count equal to 0 requests 256 sectors. As soon as the command register is written, the drive waits for the Host to set the sector buffer with the data to be written. No interrupt is generated to start the first buffer fill operation. Once the buffer is full, the drive sets BSY and begins command execution. If bits 2 and 3 are on, the command terminates with an aborted command. If incorrect task file parameters are passed, an ID not found error is returned. If the drive is not already on the desired track, an implied seek is performed. Once at the desired track, the drive begins searching for the appropriate ID field. If the ID is read correctly, the data loaded in the buffer is written to the data field of the sector, followed by the ECC bytes. When the command is completed, the Task File registers contain information on the cylinder, head, and sector number of the last sector read. After successful execution of this command, the sector count is zero. Chapter 3 - AT/IDE Task File Interace 3-10 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Multiple sector writes set DRQ and generate an interrupt each time the sector buffer is ready to be filled. DRQ is reset and BSY is set immediately when the Host fills the sector buffer. If an error occurs during a multiple sector write, it terminates at the sector where the error occurs. The Task File indicates the location of the sector where the error occurred. The Host may then read the Task File to determine what error has occurred and which sector. If no error is detected, the cylinder, head, and sector registers are updated to point at the next sequential sector. A write long may be executed by setting the long bit L = 1 in the command code. The write long command writes the data and the ECC bytes directly from the sector buffer. The drive does not generate the ECC bytes itself for the write long command. Data byte transfers are 16-bit and ECC bytes are 8-bit transfers. Four bytes must be transferred for ECC. The Task File registers contains the cylinder, head, and sector number of the last sector read, When the command completes. After successful execution of this command, the sector count is zero. Multiple sector writes set DRQ and generate an interrupt each time the sector buffer is ready to fill. DRQ resets and BSY sets immediately when the Host fills the sector buffer. If an error occurs during a multiple sector write, it ends at the sector where the error occurs. The Task File shows the location of the sector where the error occurred.The Host may then read the Task File to find what error has occurred what sector caused the error. The cylinder, head, and sector registers update to point at the next sequential sector, if there are no errors. Setting the long bit L = 1 in the command code executes a write long. The write long command writes the data and the ECC bytes directly from the sector buffer. The drive does not generate the ECC bytes itself for the write long command. Data byte transfers are 16-bit and ECC bytes are 8-bit transfers. Four bytes must transfer for ECC. Read Verify Sectors -0100000R (40h Normal) Class 1 This command works the same as the Read Sectors command except that no data transfers and the DRQ bit never sets. When the Host issues this command, up to 256 sectors read into the sector buffer. ECC bytes beginning at the location specified by the Task File. After each sector, the Task File updates, but no data request or interrupt sets to show that the sector validated. When all sectors verify, an interrupt generates to show that all sectors have transferred. A value of 00 in the sector count register shows that 256 sectors will verify. Format Track - 01010000 (50h) Class 2 The Command block contains the track address. The Sector Count register contains the number of sectors. The drive sets the DRQ bit and waits for the host to fill the sector buffer, when the drive accepts a command. When the sector buffer is full, the drive clears DRQ, sets BSY, and begins to execute the command. If any bits 0-3 are 1, an aborted command sets. If the drive is not already on the desired track, an implied seek executes. The drive clears BSY at the completion of the track and generates an interrupt. During the Format Track command, zeros write to the user data field bytes. See Figure 2-9. The Format Track command will not change the sector headers. The factory writes the sector headers. Chapter 3 - AT/IDE Task File Interace 3-11 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Seek - 0111XXXX (7Xh) Class 1 This command initiates a seek to the track and selects the head specified for a seek to execute properly. When the Host issued the command, the drive sets BSY in the Status register. The drive then initiates the seek, clears BSY, and generates an interrupt. Only the Cylinder register is valid for this command. The drive does not wait for the seek to complete before returning the interrupt. Seek complete sets upon completion of the command. If the Host issues a new command to a drive while a seek executes, the drive holds with BSY active for the seek to complete before executing the new command. The Task File will not check the validity of the sector number or head value. The seek will not execute, if the cylinder value is incorrect. The seek complete sets and the error bit unset. Execute Drive Diagnostic -10010000 (90h) Class 1 This command executes the internal diagnostic tests implemented by the drive. The diagnostic tests only execute upon the receipt of the command. Drive BSY sets immediately upon receipt of the command. If the drive is a master with Jumper block pins pair master jumpered, the drive performs the diagnostic tests and saves the results. Then it checks to see if a slave drive is present. The master then waits for 5 seconds for the slave to complete its diagnostics. If the slave completes the diagnostics successfully, it asserts -HOST PDIAG. If unsuccessful, it sets its error register as described below. The master drive resets BSY and generates an interrupt. The value in the error register is a unique 8-bit code. The error register, then, is not the single bit flags defined before. The interface registers set to initial values except the error register. The following table explains the codes in the error register. Table 3-4 Drive Diagnostic Error Register Codes Error Code Description 01 No error detected 03 Sector buffer error 8X Slave drive failed If the slave drive fails diagnostics, the master drive will "OR" 80 hex with its own status and load that code into the error register. If the slave drive passes diagnostics, or there is no slave drive present, the master drive will reset bit 7 of the Error register to zero in the Task File. Initialize Drive Parameters -10010001 (91h) Class 1 This command enables the host to set the head switch and cylinder increment points for multiple sector operations. In the universal translate mode, the logical head, sector numbers, and cylinder number in the Task File translate to their native physical values as part of the execution of the command. This command will not test validity of the sector, head, and cylinder values. If they are not valid, errors will not report until an illegal access by other commands. Cylinder and head increments on subsequent commands occur after accessing the maximum sector and maximum head specified by this command. At power up, the drive defaults to the universal translate. When receiving this command, the drive sets BSY. The drive saves the parameters, resets BSY, and generates an interrupt. To specify the maximum number of heads, write 1 less than the maximum number of heads. For example, write 5 for a 6 head drive. To specify the maximum number of sectors, specify the actual number of sectors. Chapter 3 - AT/IDE Task File Interace 3-12 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Initialize Drive Parameters -10010001 (91h) Class 1 The standard drive type most compatible with the KL343 is the custom type (type 47 or 48 in most system BIOS's), or type 17. The parameters are 512 bytes/sector, 17 sectors/track, 5 heads (0-4), 977 cylinders (0-976), and 42.5 megabytes formatted capacity. See Chapter 5 and Appendix A for more details. Power Commands The KL343 does not support user programmable power commands. The drive automatically functions at normal power levels when busy, and at idle power levels when not busy. Read Sector Buffer -11100100 (E4h) Class 1 This read buffer command allows the Host to read the current contents of the drive sector buffer. Only the Command register is valid for this command. When the Host issues this command, the drive sets BSY. The drive sets up the sector buffer for a read operation, sets DRQ, clears BSY, and generates an interrupt. The Host may then read up to 512 bytes of data from the buffer. Write Sector Buffer -11101000 (E9h) Class 2 The write buffer command allows the Host to override the contents of the drive sector buffer with any data pattern desired. Only the Command register is valid for this command. When the Host issues this command, the drive hardware sets BSY within 400 ns, sets up the sector buffer for a write operation, sets DRQ, and clears BSY. The Host may then write up to 512 bytes of data to the buffer. Identify Drive -11101100 (ECh) Class 1 This command allows the Host to receive parameter information from the drive. When the Host issues this command, the drive sets BSY. The drive stores the required parameter information in the sector buffer, sets the DRQ bit, and generates an interrupt. The Host may then read the information out of the sector buffer. Table 3-5 shows the actual KL343 parameter words in the buffer. All numbers are in hexadecimal format, right adjusted. All reserved bits or words are zeros. Chapter 3 - AT/IDE Task File Interace 3-13 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Table 3-5 Identify Drive Information Word Value, hex Description Word 00 0A5C A constant 0A5C Word 01 029E Number of fixed cylinders Word 02 0000 Number of removable cylinders Word 03 0004 Number of heads Word 04 413D Number of unformatted bytes per physical track Word 05 0238 Number of unformatted bytes per sector Word 06 001F Number of physical sectors/track Word 07 000E Number of bytes in the inter-sector gaps Word 08 000C Number of bytes in the sync fields Word 09 0000 0000 Word 10-19 534E203030303030 Serial Number 3030303030303030 "SN 00000000000000000" 30303030 Word 20 0002 Controller type Word 21 0010 Controller buffer size in 512 byte increments Word 22 0004 Number of ECC bytes passed on read/write long commands Word 23-26 5245562020342E31 Controller firmware revision "REV X.X" Word 27-46 4D4F44454C204E55 Model Number 4D42455220202020 "KALOK KL-343" 2020202020202020 2020202020202020 2020204B4C333433 Word 47 0000 Number of sectors/interrupt; 0=does not support >1. Word 48 0000 Double word transfer flag; 0=not capable, 1=capable. Word 49 0000 Assign Alternate; 0=not capable, 1=capable. Word 50-255 0000 Reserved Command Error Reporting Command errors report in the Error and Status Registers. Table 3-6 defines the valid errors for each command. Table 3-6 Command Errors and Register Contents Error Register Status Register Command Name BBK UNC IDNF ABRT TK0 AMNF DRDY CORR ERR Recalibrate - - - V V - V - V Read Sector(s) V V V V - V V V V Write Sector(s) V - V V - - V - V Read Verify Sector(s) V V V V - V V V V Format track - - V V - - V - V Seek - - V V - - V - V Exec Drive Diagnostic See Section 3.4.8 Initialize Drive Params - - - - - - V - - Read Sector Buffer - - - V - - V - V Write Sector Buffer - - - V - - V - V Identify Drive - - - V - - V - V Invalid Command Code - - - V - - V - V Notes: V=Errors are valid on this command TK0=Track zero not found BBK=Bad block detected AMNF=Data address mark not found UNC=Uncorrectable data error DRDY=Disk drive not ready detected IDNF=Requested ID not found CORR=Correctable data error ABRT=Aborted command error ERR=Error bit in the Status register Chapter 3 - AT/IDE Task File Interace 3-14 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Reset The Reset condition allows the drive to initialize. A Reset condition is hardware or software generated. There are two types of hardware resets. One hardware reset is from the Host via the interface -HOST RESET line. The other hardware reset is from the drive power sense circuitry. These signals set high when both the system and the drive acknowledge the correct power. After a hardware reset, Drive 0 waits for Drive 1 to assert -HOST SLV/ACT. Drive 0 waits for the Host to assert -HOST PDIAG, if Drive 1 asserts -HOST SLV/ACT. If operational, Drive 1 clears BSY and asserts -HOST PDIAG. Drive 0 then clears BSY. The third reset is software generated. The Host can write to the Digital output register and set the Software Reset (SRST) bit; see Section 3.3.12. This Host software reset condition remains until the Software Reset bit is written to zero. When the drive resets by SRST, it sets BSY=1 in the Status register. After completion of reset, the drive is busy (BSY signal active). The drive then performs the necessary hardware initialization. It clears any existing programmed drive parameters and reverts to defaults. In addition, it loads the Command Block registers with their initial values and clears BSY. When initialization completes, there is no interrupt. Shown below are the initial Command Block register values (hex). Table 3-7 Initial Command Block Values After Reset Error Register 01 Sector Count 01 Sector Number 01 Cylinder Low 00 Cylinder High 00 Drive/Head Register 00 Following a reset, the Host should issue an Initialize Drive Parameters command. This insures proper drive initialization. Busy Operation The Busy (BSY) bit in the Status register can be set using different methods as described below. BSY can be set using the RESET method as described in section 3.6, or by issuing a command from the Host. For a non-write type command, the Status register sets BSY on the Host write of the Command register. The drive prepares the data to return to the Host. The drive sets the Status register not BSY to allow the Host to have access to the data requested. Chapter 3 - AT/IDE Task File Interace 3-15 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Busy Operation On a write-type command, the Host issues the command, interface line -HOST IOCS16 enables, and the Data Request bit (DRQ) in the Status register sets. BSY will not set until the data to be written transfers into the RAM buffer. BSY sets, on the condition of the buffer becoming full, in a write command. Write-type commands include Write Sector(s), Format, and Write Sector Buffer. The drive microprocessor can set or reset the BSY bit. This is the only way to clear the BSY bit. The drive has read/write access to the Task File registers. The Host can only read the Status register and Alternate Status register of the Task File. If the Host tries to read the Task File register while BSY is active, it will cause it to read the Status register. Conversely, when BSY is inactive, the Host has read and write access to the Task File registers. Data Error Recovery and Retry During a read operation, when the drive detects an ECC error in the data field, the drive uses the retry algorithm shown below. Step 1: read retry Step 2: read retry Step 3: read retry Step 4: apply ECC to step 3 Header Retry Algorithm If the drive detects an error, while reading the header field, the drive retries for 7 read retry attempts, before a header error returns to the Host. The total time for retries is 0.1 seconds for a hard error in the header field. The Host cannot disable header retries. The header retry count cannot change. Command Protocols According to the protocols followed for command execution, Commands may group into different classes. Shown below is the definition of the command classes with their associated protocols. For all commands, the Host first checks if BSY=1, and should proceed no further till BSY=0. For most commands, the Host will wait for DRDY=1 before proceeding. Those commands shown with DRDY=X (don't care) can execute when DRDY=0. Programmed I/O Data In Commands This class includes: Identify drive, Read Buffer, Read Sector(s). Execution includes the transfer of one or more 512 byte (516 bytes if bit 0=1 for long transfers) blocks of data from the drive to the Host. 1. The Host writes any required parameters to the Sector count, Sector number, cylinder and SDH registers. 2. The Host writes the command code to the Command register. 3. The drive sets BSY=1 and prepares for data transfer. 4. When a block of data is available, the drive sets the DRQ bit=1, clears the BSY bit, and asserts the +HOST IRQ14 line. 5. The Host reads the Status register, then reads one block of data via the Data register. In response to reading the Status register, the drive will negate +HOST IRQ14. 6. The drive clears DRQ. If the Host wants to transfer another block, the drive also sets BSY and the above sequence repeats from 4. If the drive has an error, the drive prepares to transfer 512 bytes. It is at the discretion of the host whether to accept the data. Chapter 3 - AT/IDE Task File Interace 3-16 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Programmed I/O Data Out Commands This class includes: Format, Write Buffer, Write Sector(s). Execution includes the transfer of one or more 512 byte (516 bytes if Bit 0=1 for Long transfers) blocks of data from the drive to the Host. 1. The Host writes any required parameters to the Sector count, Sector number, cylinder and SDH registers. 2. The Host writes the command code to the Command register. 3. The drive sets the DRQ bit when it is ready to accept the first block of data. 4. The Host writes one block of data via the Data register. 5. The drive clears DRQ and sets BSY. 6. When the drive has completed processing of the data block, it clears BSY and asserts +HOST IRQ14. If the transfer requires another block, the drive sets DRQ. 7. The Host reads the Status register. 8. The drive clears +HOST IRQ14. 9. If the transfer requires another block, the above sequence repeats from 4. Non Data Commands This class includes: Execute Drive Diagnostic (DRDY=X), Initialize Drive Parameters (DRDY=X), Read Verify Sector(s), Recalibrate, and Seek. Execution of these commands involves no data transfer. 1. The Host writes any required parameters to the Sector count, Sector number, cylinder and DH registers. 2. The Host writes the command code to the Command register. 3. The drive sets BSY=1. 4. When the drive has completed processing, it clears BSY and asserts +HOST IRQ14. 5. The Host reads the Status register. 6. The drive negates +HOST IRQ14. Timing Deskewing The Host shall provide cable deskewing for all signals originating from the drive. The drive provides deskewing for all signals originating at the Host. Timing Requirements Signals shown below are, with polarity as defined in the interface table. Figures 3-2 and 3-3 show the timing requirements for address, data, and command signals for the Kalok KL343. (unable to download these figures) Chapter 4 - Packaging Information 4-1 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ PACKING INFORMATION We suggest that packing material be kept in case the drive needs to be shipped to Kalok Corporation or its authorized service center for repairs. In case the original packing material and anti-static bag is lost or discarded, the drive should be individually packaged in comparable packing material to avoid damage in shipping and handling. Any damage to the drive as a result of inadequate packing will void its warranty. Warning: When shipped from the factory, the KL343 has a shipping lock installed. This shipping tape must be removed prior to test or installation and is not required once the drive is installed in your system. This lock is only required when the drive is shipped uninstalled or as a bare drive. Chapter 5 - Drive and Host Adaptor Installation 5-1 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Drive and Host Adapter Installation This chapter provides configuration and installation instructions for the Kalok KL343/AT hard disk drive and the Kalok KL03 and KL03F PC/AT host adapters. Prior to installing the hard disk, you must first disconnect your AT computer system from any AC power outlets and remove the cover to the AT computer system. Certain other system components such as the monitor, printer, or keyboard may also have to be disconnected. Refer to the AT system manual for detailed instructions. Components that may be applicable for KL343 disk drive and KL03/KL03F host adapter installation are illustrated in Figures 5-1 thru 5-5. Required Disk Subsystem Components 1. Kalok KL343/AT hard disk drive Kalok P/N 71018-001 2. Kalok 5.25" mounting brackets P/N 83003-001 (black) and faceplate (1) P/N 83003-002 (grey) 3. Kalok 3.5" faceplate (1) P/N 83001-001 (black) P/N 83001-001 (grey) 4. Kalok PC/AT host adapter (2) P/N KL03-hard drive only P/N KL03F-hard drive + floppy controller 5. 40-pin AT/IDE hard disk cable Supplied with KL03 and KL03F host adapters 6. 34-pin floppy disk drive cable Supplied with KL03F host adapters 7. Four standard 6-32 screws; these are not supplied with Kalok mounting kits. These screws are required to mount the KL343 by means of the threaded holes on the bottom or sides of the drive, or to affix AT-style side-mount rails to the Kalok 5.25" mounting brackets. Screw lengths must be selected to limit screw penetration into the mounting brackets to 0.13 inches (3.3 mm) max. Notes: 1. In many new AT system cases, 3.5" internal mounting options are available. For these installations, Kalok 5.25" mounting brackets and faceplates or 3.5" faceplates would not be required. In most older AT case designs, AT-style side-mount rails will be required in addition to the Kalok-supplied 5.25" mounting brackets and faceplates. 2. The Kalok PC/AT host adapters are not required for AT systems which provide an AT/IDE interface on the motherboard. The KL03 and KL03F host adapters are designed for use in AT-compatible systems which do not provide AT/IDE interface circuitry on the motherboard. Required Formatting/Partitioning Software 1. For DOS versions 3.31 and higher: a bootable DOS diskette and the DOS utilities FDISK and FORMAT. 2. For DOS versions 3.30 and lower: a bootable DOS diskette and ONTRACK Disk Manager, or some other reliable partitioning/formatting software which will enable you to install a drive with greater than 32 Mbyte formatted capacity. Handling All hard disk drives are sensitive to electrostatic discharge (ESD), especially the new intelligent drives with embedded controllers which make extensive use of surface mount technology and LSI circuitry. One should never touch the delicate components on the KL343 drive or KL03/KL03F host adapter printed circuit boards. Handle the host adapter by the ends of the board or by the mounting bracket. Never touch the gold plated card edge connectors which plug into the AT bus system. Handle the hard disk drive by the drive casing or mounting brackets. Improper handling can permanently damage sensitive components and may void the warranty. Chapter 5 - Drive and Host Adaptor Installation 5-2 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Host Adapter Configuration The Kalok KL03/KL03F PC/AT host adapters are intended for use in AT compatible computer systems with AT/IDE interface hard disk drives. The Kalok host adapters require a 16-bit slot in the PC/AT or compatible system. The Kalok KL03/KL03F PC/AT host adapters are not compatible with ST506/412, ESDI, SCSI, or XT/IDE interface hard disk drives. The KL03/KL03F host adapters are not compatible with 8-bit bus XT computer systems. The AT task file interface is a set of registers that allow the drive to execute a set of commands via the Host system BIOS. The adapter board buffers the drive from the Host and performs the address decoding. The adapter board decodes the Host I/O addresses 1F0 Ð 1F7 and 3F6 Ð 3F7. These addresses are used by the disk drive in the AT BIOS. The floppy disk drive also responds to address 3F7, bit 7. Bit 7 is not driven by the drive. The host adapter is shown in Figure 5-1. The KL03F hard disk + floppy controller host adapter is not intended for use as a floppy-only controller. The KL03 and KL03F host adapters can interface up to two AT/IDE hard disk drives of any capacity supported by the host AT system. In addition to providing the AT/IDE hard disk interface, the KL03F host adapter can control up to two floppy disk drives in any combination of 3.5" (720 KB or 1.44 MB), or 5.25" (362KB or 1.2 MB). If you wish to have more than two floppy drives on line in your system, you must either use another floppy disk controller card with an additional on-board BIOS, or a special software driver with the KL03F floppy disk I/O set to the second address. Or, (chapter 5 page 5-3) To enable the Host adapter to function in the AT system, which already has an ST506/412 hard disk controller installed, the system needs a software driver. The controller and host adapter should be at different base addresses. The software driver addresses the alternate base address. The DOS operating system is limited to two hard drives. The software driver allows expansion beyond this limitation. The following jumper settings for a PC/AT host adapters will work for the most AT installations. Check these jumpers before continuing with the installation. Jumper Setting IRQ DIR (IRQ14 not buffered) HDSK ENA (set to ENA) ADR1 1Host adapter X (hard disk I/O set to primary address) ADR3 3Host adapter X (floppy disk I/O set to primary address) IOCHRDY I/O Channel Ready tied to CN1 Pin 27 Master/Slave Daisy-Chain Configurations The KL343 disk drive ships with one jumper installed in the jumper block header. The jumper is across the top outside pins. This jumper selects a single drive installation. The single drive is Drive 0 (Fixed disk 1 in the system BIOS setup or C:). For a single AT/IDE hard disk drive installation, leave the jumper in the header across these pins. All jumpers removed also works for a single drive installation. Chapter 5 - Drive and Host Adaptor Installation 5-3 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ For a dual drive daisy-chain installation, the master drive is Drive 0 (fixed disk 1 in BIOS setup or C:). The master drive must have pin pair Master of the jumper block header jumpered. The slave drive is Drive 1 (fixed disk 2 in BIOS setup or D:). The slave must have pin pair Slave of jumper block jumpered. Install no other jumpers in jumper block on the KL343 disk drive. There should be only one jumper installed per drive. Some mixed vendor master/slave dual drive configurations may not be compatible. Please call Kalok the Technical Support bulletin board at (408)734-4258 if you have any questions. The label on top of the drive and Figure 5-2, shown the Host adapter Jumper configuration. Cabling and Hardware Installation Unplug the system from AC outlets and remove system cover. 1. Systems with AT/IDE circuitry on the motherboard Motherboards with an embedded AT/IDE interface cannot use a Host adapter board. Follow the system manual for correct cabling and power connection to the disk drive. You must attach the 40-pin hard disk cable correctly to the 40-pin connector on the system motherboard. Pin 1 (red stripe) of the cable must match pin 1 of the 40-pin motherboard connector. Pin 1 of the disk drive J1 connector must match pin 1 of the cable. See Host adapter figure 5-3. Make sure that you insert a power connector from the computer system's power supply. Plug it into the power receptacle at the rear of the KL343 disk drive. 2. Hard disk Systems needing a PC/AT host adapters Install the Host adapter in any available 16-bit slot in the computer system. Attach one end of the 40-pin hard disk drive cable to the 40-pin connector on the Host adapter. See Host adapter Figures 5-1, 5-2, and 5-3. Make sure pin 1 (red stripe) of the cable matches pin 1 of the 40-pin connector. Insert either of the two hard disk drive connectors at the other end of the 40-pin cable into the 40-pin connector on the PC board at the rear of the disk drive. Make sure pin 1 (red stripe) of the cable matches pin 1 of the 40-pin connector. The cable inserts only one way, see the cable key for the disk drive. Insert an available power connector from the computer system's power supply into the power receptacle at the rear of the KL343 disk drive. Attach the 3.5" face plate or the 5.25" mounting hardware and face plate to the KL343 disk drive. Install the drive in an available 3.5" or 5.25" mounting bay. For daisy-chain installations, make sure that both hard disk drives connect to the 40-pin cable. The physical placement of Master or Slave does not matter. Master or slave can attach to either available hard disk connector. The drive are selected by the Master and Slave jumpers on the jumper block. Be sure that both hard disk drives connected to available power connectors from the computer system's power supply. 3. Floppy Drive installation Attach the cable mount socket of the 34-pin floppy cable to the 34-pin connector on the Host adapter. Make sure that pin 1 (red stripe) of the cable connector matches pin 1 of the Host adapter 34-pin connector. Follow the floppy drive instructions for setting the terminating resistors and jumpers on the floppy drive. Floppy drive A attaches to the end of the cable with the twisted conductors. Floppy drive B attaches to the connector at the middle of the cable without the twist in the conductors. Plug the card edge cable connectors into the floppy drives. Decide the proper pin 1 orientations. Be sure that available power connectors from the computer system's power supply insert in the Drive power receptacles. Chapter 5 - Drive and Host Adaptor Installation 5-4 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ 4. Other connectors on the PC/AT host adapters Most host adapters have a LED header to show hard disk drive activity. Connect the cable from the front panel LEDs of the computer system to the host adapter LED header. See your host adapter installation instructions for the connection. J7 of the KL343 can also be connected to the led on the front panel. Formatting the KL343/AT The KL343 is factory low level formated. The bad sectors are mapped. Users do not need to low level format the KL343. If you run a low level format program, the drive will not format. The drive will end any format with the data area clear. To DOS high level format follow the next process. The FORMAT utilities of DOS versions 3.31 or higher will enable you to partition and use the full 42.5 megabyte formatted capacity of the KL343. If you have DOS versions 3.30 or lower, you should use Disk Manager, or some reliable partitioning/formatting software. ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍWARNINGÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» ºREMOVE THE YELLOW SHIPPING TAPE FROM THE DRIVE BEFORE YOU APPLY POWER.º ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ DOS HIGH LEVEL FORMAT 1. Boot the DOS operating system from a floppy disk drive. Enter SETUP mode (refer to your AT system manual and your DOS manual). Drive types will vary in AT BIOS's. You should check your computer system documentation, to make sure that, you set up the Kalok KL343 drive type correctly as a 42.5MB drive type. See Appendix A for AT BIOS's. Set up your system CMOS TYPE for the correct hard disk drive. Most system setup programs have a custom parameter option. The type is type 47 or 48 in most system setup BIOS. The parameters for custom setup are: ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Drive Geometry ³Cylinders ³Heads ³ Sectors per track ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³Custom type ³ 977 ³ 5 ³ 17 ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³Universal Translation³Largest possible type not exceeding 42 MB³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ If the system CMOS setup will not support a custom TYPE, you select the largest TYPE in the CMOS setup that is available. The type selected must not be larger that 42 MB. Drive type 45 is the most common. The parameters for drive type 45 are: 776 cylinder, 8 heads, and 33 sector per track. The drive uses Universal translation to size the drive for the system. 2. Reboot the DOS operating system from a floppy disk drive. Alway use the same FDISK and FORMAT programs, that come with the DOS version of operating system you are using. To high level format Drive 1, the C: drive, Run FDISK to partition the drive. After reboot, run FORMAT C:/S to format the C: drive 1 and make it a bootable drive. After completing format, the drive is ready to copy the rest of DOS and your application programs 3. For a duel drive installation or for drive 2 (D:), repeat the process. Select the TYPE for Drive 2. Select the second drive when you run FDISK to partition Drive 2(D:). High level format the drive. The DOS command is FORMAT D:. Install the Master/Slave jumpers correctly. Follow the diagram on the top of the disk drive. Jumper pin pairs Master for the Master drive 1(C:). Jumper pin pair Slave for drive 2 (D:). Chapter 5 - Drive and Host Adaptor Installation 5-5 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ If you are installing a drive other that a Kalok KL343 in a daisy-chain configuration. You need to refer to the drive manual and select a compatible BIOS drive type before installation. Follow the instructions detailed in your DOS manual for proper use of the FDISK and FORMAT utilities. Follow the instructions in your ONTRACK manual for proper use of Disk Manager. ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÚÄÄÄÄÄÄÄÄPÄCÄBoardÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÀÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÂÄÄÄÄÄÂÄÄÂÄÄÄÄÄÂÄÄÄÄÄ ³ o o o o o ³ ÀÁÁÁÁÁÙ ÀÁÁÁÁÁÙ ³ S M S R ³ COMPONENET SIDE ³ L A / ³ OF THE PC BOARD ³ A S T T ³ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ V T ³ ³ST and R/T are used for tests ³ AS SHIPPED FROM ³ E E ³ ³during manufacturing and test.³ THE FACTORY ³ÚÄÄÄÄÄ¿R ³ ³These jumpers should not ³ SINGLE DRIVEÄÄÄÄ>³³o o ³o o o ³ ³be installed. ³ ÀÄÄÄÄÅÄÄÅÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ SLAVEÄÄÄÄÄÄÙ ÀÄÄÄÄMASTER Jumper Block Configuration Figure 5-1 KL343 drive jumpering. Cabling for Multiple Drives AT/IDE ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿40 PIN CABLE ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ AT/IDE ÃÄÄÄÄÄÄÄÄ¿ J2 ºJumper block=Master³ ³ HOST ADAPTER ³ ³ ÚÄÄÄÄÄ´ ³ ³ Ú¿ ÚÄÄÄÄÄÄÄÄÙ ³ ³ J1 ³MASTER C: ³ ÀÁÁÁÙÀÁÁÁÁÁÙ ÃÄĺÄÄÄÄÄ´KL343 DRIVE 0 ³ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ³ POWER SUPPLY ÃÄÄÄÄÄÄÄĺÄÄÙ ³ ÃÄÄÄÄÄÄÄĺĿ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ +12 & +5 VOLTS DC ³ ³ ³ J2 ºJumper block=Slave³ ³ ³ ³ ÀÄÄÄÄÄÄ´ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ³ J1 ³SLAVE D: ³ ÀÄÄÄÄÄÄÄÄ´KL343 DRIVE 1 ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Figure 5-2 KL343 Cable connection (UNABLE TO DOWNLOAD FIGURE) Figure 5-3 Adaptor Cable/Drive Connection Chapter 5 - Drive and Host Adaptor Installation 5-6 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ (UNABLE TO DOWNLOAD THIS FIGURE) Figure 5-4 KL343 Mounting Brackets and Bezels Appendix A - Drive Types A1 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Following is a list of drive types for several widely-installed AT BIOS's. In order to use this list you need to know which type of BIOS is resident in your AT computer system and the number of cylinder and heads in the driver you wish to install. Kalok Corporation does not warrant the accuracy of the drive types listed here, since different drive BIOS revisions may contain different drive types. The Kalok KL343 is physically a 670 cylinder/4 head/ 31 sector per track drive type, which is not a standard drive type in most cases you should select drive type 17 which is the translate or logical driver type for this drive. If you have a BIOS that allows a custom drive option (usually type 47) you can use the native 670 cylinder/4 heads/ 31 sectors per track. Drive Parameters BIOS and Drive Type ÚÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÂÄÄÄÄÂÄÄÄÄÄÄÂÄÄÄÂÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄ¿ ³Heads ³Cylinders³IBM ³Compaq³DTK³Award³Phoenix³AMI ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 0 ³ 0 ³ 15 ³ 15 ³15 ³ 15 ³ 15 ³ 15 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 0 ³ 0 ³ 15 ³ 15 ³15 ³ 41 ³ 33 ³ 15 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 0 ³ 0 ³ 15 ³ 15 ³15 ³ 41 ³ 34 ³ 15 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 2 ³ 612 ³ ÄÄ ³ ÄÄ ³ÄÄ ³ ÄÄÄ ³ ÄÄÄ ³ 34 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 2 ³ 615 ³ ÄÄ ³ ÄÄ ³ÄÄ ³ ÄÄÄ ³ 30 ³ ÄÄ ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 2 ³ 756 ³ ÄÄ ³ 44 ³ÄÄ ³ ÄÄ ³ ÄÄÄ ³ ÄÄ ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 2 ³ 768 ³ ÄÄ ³ 46 ³ÄÄ ³ ÄÄ ³ ÄÄÄ ³ ÄÄ ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 2 ³ 1024 ³ ³ ³ ³ 37 ³ ³ ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 3 ³ 771 ³ ³ 28 ³ ³ ³ ³ ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 3 ³ 820 ³ 10 ³ ³10 ³ 10 ³ 10 ³ 10 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 3 ³ 966 ³ ³ 32 ³ ³ ³ ³ ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 3 ³ 987 ³ ³ ³ ³ ³ ³ 38 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 4 ³ 306 ³ 1 ³ 1 ³ 1 ³ 1 ³ 1 ³ 1 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 4 ³ 306 ³ 23 ³ 1 ³ 1 ³ 1 ³ 1 ³ 1 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 4 ³ 306 ³ 25 ³ 1 ³23 ³ 23 ³ 23 ³ 23 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 4 ³ 306 ³ 29 ³ 13 ³32 ³ 33 ³ 32 ³ 3 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 4 ³ 578 ³ ³ 29 ³ ³ ³ ³ ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 4 ³ 611 ³ 30 ³ ³30 ³ ³ 30 ³ ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ Appendix A - Drive Types A2 ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ ÚÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÂÄÄÄÄÂÄÄÄÄÄÄÂÄÄÄÂÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄ¿ ³Heads ³Cylinders³IBM ³Compaq³DTK³Award³Phoenix³AMI ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 4 ³ 612 ³ 16 ³ 16 ³16 ³ 16 ³ 16 ³ 16 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 4 ³ 612 ³ 24 ³ 16 ³16 ³ 16 ³ 16 ³ 16 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 4 ³ 612 ³ 26 ³ 16 ³16 ³ 16 ³ 16 ³ 16 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 4 ³ 615 ³ 2 ³ 2 ³ 2 ³ 2 ³ 2 ³ 2 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 4 ³ 615 ³ 2 ³ 30 ³25 ³ 6 ³ 25 ³ 2 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 4 ³ 615 ³ 6 ³ 30 ³ 6 ³ 6 ³ 6 ³ 2 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 4 ³ 756 ³ ³ 43 ³ ³ ³ ³ ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 4 ³ 768 ³ ³ 45 ³ ³ ³ ³ ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 4 ³ 980 ³ ³ 14 ³ ³ ³ ³ ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 4 ³ 1024 ³ ³ ³26 ³ ³ 26 ³ ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 5 ³ 697 ³ ³ 6 ³ ³ ³ ³ ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 5 ³ 733 ³ 8 ³ 20 ³ ³ 22 ³ ³ 8 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 5 ³ 733 ³ 8 ³ 20 ³ 8 ³ 8 ³ 8 ³ 20 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 5 ³ 733 ³ 8 ³ 20 ³20 ³ 20 ³ 20 ³ 22 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 5 ³ 733 ³ 20 ³ 20 ³20 ³ 20 ³ 20 ³ 20 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 5 ³ 855 ³ 11 ³ ³11 ³ 11 ³ 11 ³ 11 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 5 ³ 925 ³ ³ 8 ³ ³ ³ ³ ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 5 ³ 966 ³ ³ 33 ³ ³ ³ ³ ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 5 ³ 966 ³ ³ 37 ³ ³ ³ ³ ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 5 ³ 966 ³ ³ 47 ³ ³ ³ ³ ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 5 ³ 976 ³ 28 ³ ³34 ³ ³ ³ ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³**5** ³ 977 ³ 17 ³ ³17 ³ 17 ³ 17 ³ 17 ³<ÍËÍKalok KL343/AT type ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ º ³**5** ³ 977 ³ 17 ³ ³17 ³ 24 ³ 17 ³ 17 ³<ͼ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 5 ³ 980 ³ ³ 10 ³ ³ ³ ³ ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 5 ³ 980 ³ ³ 17 ³ ³ ³ ³ ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 5 ³ 981 ³ ³ ³ ³ ³ ³ 42 ³ ÃÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÅÄÄÄÄÅÄÄÄÄÄÄÅÄÄÄÅÄÄÄÄÄÅÄÄÄÄÄÄÄÅÄÄÄÄ´ ³ 5 ³ 989 ³ ³ ³ ³ ³ 31 ³ ³ ÀÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÁÄÄÄÄÁÄÄÄÄÄÄÁÄÄÄÁÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÙ