This message is from the T13 list server.

Dear all,

I have got some questions about the ATA interface specifications:

I first reset an ATA harddisk, wait 2ms, write the parameters to the
corresponding registers and issue the �WRITE SECTOR(s)� command. However
the following errors (?) occur:

- The first harddisk (it is quite a new one: IBM Fireball: 40GB), after
the hardware reset, responds with the whole status register set to
"0...0" after it clears the BSY bit. The WRITE SECTOR(S) command however
needs the DRDY bit set to 1. How do I set it (in a device implementing
the PACKET command feature set, otherwise the specification tells me to
wait)?

- The second harddisk (it is an older one: SEAGATE: 3.5GB) first seems
to behave �correctly� (DRDY = 1, DSC= 1, rest = 0), but after writing to
the command register keeps busy for ever (BSY = 1, DRDY = 1, DSC = 1,
rest = 0) and not like expected (DRDY= 1, DRQ = 1, rest = X). Due to the
specification it should leave this busy state after some time has
elapsed, shouldn�t it?

Thank you in advance!

Yours sincerely,
Matthias Fuegger


Reply via email to