PORTS Forum

Ports and Interfaces => USB => Topic started by: csttt on February 20, 2012, 03:52:19 am

Title: USB Attached SCSI Protocol(USAP) command in C/C++
Post by: csttt on February 20, 2012, 03:52:19 am
I want to write a tool in BCB/VC to execute USB Attached SCSI Protocol commands to external USB HDD.

I am not sure whether if I can use DeviceIoControl() to read/write UASP command to device.

Has anyone do this before or can anyone give me some suggestions or sample code?
Thanks!
   
Title: Re: USB Attached SCSI Protocol(USAP) command in C/C++
Post by: Jan Axelson on February 20, 2012, 10:31:38 am
I don't have example code, but a web search on

windows send scsi command

should bring up some discussions.

Jan