lotus

previous page: 10.11.  What are MR heads?
  
page up: Enhanced IDE/Fast-ATA/ATA-2 FAQ
  
next page: 11.02.  What's so special about the secondary port?

11.01. How does ATAPI differ from, and coexist with, ATA(-2)?




Description

This item is from the Yet Another Enhanced IDE/Fast-ATA/ATA-2 FAQ, by John Wehman and Peter den Haan with numerous contributions by others. (v1.92).

11.01. How does ATAPI differ from, and coexist with, ATA(-2)?

For the sake of compatibility with non-ATAPI aware software that might mistake an ATAPI device for a harddrive, the device pretends it isn't there until it's waken up by a special sequence of commands. Once activated, it uses a command protocol that radically differs from that used by harddisks.

The reason is that the ATA command and register set is not adequate to support some CD-ROM command structures. Therefore, only a minimum of traditional ATA commands are supported by ATAPI devices. For most of their functions, these devices rely on the ATAPI Transport Protocol using packets of at least 12 bytes sent, as data, through the Data Register. These packet commands have been derived from the SCSI command set; this makes it reasonably easy to rewrite existing SCSI CD-ROM and tape drivers for ATAPI hardware.

Beware that non-ATAPI aware 'intelligent' controllers, mainly caching controllers, will be mightily confused by packet commands. Traditionally, the data register is only used to transport 512-byte sectors; a 12-byte command packet is a completely different kind of animal and should be treated in a different way by the (intelligent) controller.

 

Continue to:













TOP
previous page: 10.11.  What are MR heads?
  
page up: Enhanced IDE/Fast-ATA/ATA-2 FAQ
  
next page: 11.02.  What's so special about the secondary port?