I am using PIO read/write commands to access data in a hard disk. I am working on the sample code provided for SATA spin test from LogicPD. In order to mark the end of DMA transfer I thought of using P0IS.DPS interrupt. But it is never being set in my case. I am stuck now. I want a mechanism to know when the received data will be written in to system memory pointed by the PRD list.
↧