ATA abrt?

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi freaks,

I've got a problem whith ata.
The identify command reads the expected values so the hardware is correct.

The problem is when I want to read a sector (command 0x21) the err bit in the status register gets set.
When I read the error register the abrt bit is always set.

Any sugestions?

Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Which AVR are you interfacing to the IDE?

By the way, have you read one of the ATA/ATAPI specs at t10.org? for example here's V4 (sure current is V6 or V7 but the core has been the same since about ATAPI 3):

http://www.t10.org/t13/project/d...

See page 138 for the 21h read command.

Maybe also post the code where you setup and issue the command.

(I do this for a day job so know a wee bit about all this stuff ;) )

BTW if you aren't doing this on an AVR (I kind of doubt it in fact) then I'll move this thread to "Off Topic"