Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why is busTRACE reporting the number of “Bytes Transferred” as being greater than what I know was actually transferred to/from the device?

0
Posted

Why is busTRACE reporting the number of “Bytes Transferred” as being greater than what I know was actually transferred to/from the device?

0

The first thing you need to check is whether or not you are seeing this on an IDE/ATAPI bus. There is a limitation with the IDE/ATAPI bus, and miniport driver, in that it cannot properly return the number of bytes transferred when configured for DMA mode. The end result is that the miniport driver will report the number of bytes transferred as the number of bytes requested. For example, you pass in a 256 byte data buffer for an Inquiry command, and you only receive 36 bytes. The “Bytes Transferred” would incorrectly return back 256 bytes. The only known workaround is to disable DMA and leave the transfer to PIO mode. You typically alter these settings through the Windows Device Manager.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123