May 6th, 2012, 6:32
ATA/ATAPI-6 wrote:Chapter 13: Application Layer
Section 13.1: Parallel ATA Emulation
BIOS and system software writers should be aware of the 10 ms latency the interface may incur
in determining device presence, and either ensure the Shadow Status register is read no sooner
than 10 ms after initialization or ensure the Shadow Status register is re-read 10 ms after having
read a value of 7Fh in order to positively determine presence of a device.
May 6th, 2012, 7:02
May 7th, 2012, 17:30
corner wrote:Why doesn't ATA-spec(ATA/ATAPI-6) provide the standard about how to detect the presence of ATA-DEVICE(HDD or CD)?
May 11th, 2012, 22:18
May 11th, 2012, 22:54
May 14th, 2012, 7:39
ATA-6 wrote:A device not implementing the PACKET command feature set shall place the signature in the Command
Block registers listed below for power-on reset, hardware reset, software reset, and the EXECUTE DEVICE
DIAGNOSTIC command.
If the device does not implement the PACKET command feature set, the signature shall be:
Sector Count 01h
Sector Number 01h
Cylinder Low 00h
Cylinder High 00h
A device implementing the PACKET command feature set shall place the signature in the Command Block
registers listed below for power-on reset, hardware reset, software reset, the EXECUTE DEVICE
DIAGNOSTIC command, and the DEVICE RESET command. The DEVICE RESET command shall not
change the value of the DEV bit when writing the signature into the Device/Head register for a device
implementing the PACKET command feature set. If the device implements the PACKET command feature
set, the signature is also written in the registers for the IDENTIFY DEVICE and READ SECTOR(S)
commands.
If the device implements the PACKET command feature set, the signature shall be:
Sector Count 01h
Sector Number 01h
Cylinder Low 14h
Cylinder High EBh
Device/Head 000x0000b where x equals 0
except when responding to a
DEVICE RESET command. For
the DEVICE RESET command
the value of x is not changed from
that existing when the command
is written to the Command
register.
Device/Head 00h
Powered by phpBB © phpBB Group.