I want to send a "ATA Pass through Direct" command to a drive that is on the SAS(SATA attached SCSI) bus. The drive is SATA drive, in Windows XP(x86) envirnoment. I hoped there was a STP(SATA Tunneled Protocol) layer that would translate the ATA command to STP to send through SCSI bus to my SATA drive. However, when sending "ATA Pass through direct" command the Win32 API DeviceIOControl(), status returns an error "wrong functions". Does STP layer exists in Windows XP, it must, Win32 API Readfile()/Writefile() work. But how do I get "ATA Pass through direct" command to work with the Win32 API on SAS bus?
ATA PASS THROUGH DIRECT on SAS BUS in Windows XP
1.3k Views Asked by Firefox At
1
There are 1 best solutions below
Related Questions in DRIVE
- Copy Row if Sheet1 A contains part of Sheet2 C
- Formatting a drive in Visual Basic?
- How to check whether the given path is network path or not in c#?
- Using the UIDocumentPickerViewController, is it possible to show a default service (Dropbox, Google Drive, etc) on first open like in Slack?
- Morring Matrix with Google Drive SpreadSheets
- Edit Specific Rows in Google Drive Spreadsheets
- What is the best way to map windows drives using golang?
- Is it possible to upload file on specific google drive in Android
- How can I get a list of removable drives plugged in the computer?
- Test a cell on a Google Sheet and write to that row
- Is there any ways to get drive information of each vmware in Vmware ESX via Vsphere SDK with Java?
- Windows DeviceIoContro() with IOCTL_DISK_GET_LENGTH_INFO takes realllllllly long
- get USB drive name over VBA on WinCE
- upload file to drive using google-drive-api and c#
- How to get fixed disk drive letters in three seperate text files using batch?
Related Questions in SATA
- Confusion in disk write operation using DD command
- ATA PASS THROUGH DIRECT on SAS BUS in Windows XP
- write on track / head / cylinder on a magentic disk
- Hard disk id of SATA drives
- How can I determine the SATA channel for a given disk?
- How to Install Windows XP on old IDE/SATA hard disk (connected in USB) for on old PC?
- SATA controller
- Is there a way to override libata.force during runtime?
- How can I identify the protocol used in hard disk?
- Folder is empty while data transfer Sata Hard Drive From Laptop Into USB External Enclosure
- Need Script To Automatically Restart Mac Until Negotiated SATA Link Speed is SATA II
- CPU, Disk, RAM, Ethernet Data Flow
- How to programmatically detect sata drive unplug in SuSE Linux?
- How do I send commands to NVMe drive over USB bridge?
- Configuring a 7-Series GTXE2 transceiver for Serial-ATA (Gen1/2/3)
Related Questions in ATA
- ATA Trusted commands-How to set libata allow_tpm
- ATA PASS THROUGH DIRECT on SAS BUS in Windows XP
- Sending ATA commands directly to device in Windows?
- mkfs.fat leave FAT32 fields in BPB at null value
- Does reading an I/O port have any side effects? What about in Programmed I/O?
- ATA command device IDENTIFY
- How to make Raspberry Pi to be a VoIP ATA Device
- Ata interrupts fires constantly on real hardware
- Unable to read from status port in ATAPIO mode
- Sending ATA security unlock 0xF2 in Windows
- xv6 boot loader: Reading sectors off disk using CHS
- How to find out if HDD is ATA or AHCI?
- Questions about ATA
- udevadm and ATA Addressing
- ATA commands to USB drive
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If the drive is recognized as SCSI by Windows XP, then you will have to use
IOCTL_SCSI_PASS_THROUGH_DIRECTand use SCSI to ATA translation protocol to send the required ATA Command. SAT specification can be found here.