|
GUI
Q: How do I change testing ports on DriveMaster?
A: DriveMaster provides several methods to select and change the testing ports. Use the following script command: SEL_HBA_PORT port_num. For example:
”SEL_HBA_PORT 3” sets port 3 of HBA as the testing port.
For Intel ICH5/6/7 chipsets only, you may also switch ports from ”Tools/Setup ICH Chips” under the menu bar.
For DriveMaster 2008, user can also use the ”Command Control Panel” to select the testing ports.
Q:How do I change SATA speed, for example, downshift from Gen1 to Gen2?
A: There is a slight difference between different versions of DriveMaster:
For DriveMaster 2006, on the menu bar, click ”Tools,” then choose ”SATA Control Panel,” SATA Control Panel will appear. On the top left area, user can change the speed based on the maximum speed that the device supports.
For DriveMaster 2008, on the menu bar, click ”Tools,” then choose ”Command Control Panel,” Command Control Panel will appear. In SATA Phy tab at the top right area, user can change the speed based on the maximum speed that the device supports.
Q:Why is the ”Trace” button not working?
A: Please do the following under Command Prompt; be sure to use Administrator privilege in the Windows Vista:
Go to DriveMaster Pro folder and verify if the file ”richtx32.ocx” exists. This file should come with DriveMaster installation package.
Go to the following path in the Command Prompt: C:\Program Files\ULINK DMXXXX\vYYY (while XXXX is the Version year, e.g. 2010; YYY is the version number, e.g. 850)
Run the following command: Regsvr32 richtx32.ocx
If the command completes successfully, you should able to see the ”RegSvr32” dialog box, it appears ”DLLRegisterServer in richtx32.ocx succeeded.”
Scripts
Q: Can I issue an NCQ command with sector count over 800h on DriveMaster?
A: Yes. By default, maximum sector count for one NCQ command is 800h and QBUFSZ =1. Sector count of more than 800h can be issued by changing the QBUFSZ setting, e.g. if set QBUFSZ=2, maximum sector count for one NCQ command is 1000h. Currently this feature is only applicable on AHCI platform.
Q: Does DriveMaster support PIO, Multiword DMA, Ultra DMA commands?
A: Yes, DriveMaster supports all PIO, Multiword DMA, Ultra DMA commands.
Q: Does DriveMaster support the ”Retry” command?
A: Yes. By default all read and write commands will retry, and user can use WTF28 command for any read/write command without retry. DriveMaster 2008 and later versions will support sets of read and write commands with or without retry.
| OPCODE |
READ |
WRITE |
| With Retry |
Without Retry |
With Retry |
Without Retry |
| Read/Write DMA |
RDMA(C8h) |
RDMAN(C9h) |
WDMA(CAh) |
WDMAN(CBh) |
| Read/Write Long |
RDLG(22h) |
RDLGN(23h) |
WTLG(32h) |
WTLGN(33h) |
| Read/Write Sector |
RSEC(20h) |
RSECN(21h) |
WSEC(30h) |
WSECN(31h) |
| Read/Write Verify |
RVFY(40h) |
RVFYN(41h) |
WRVERIFY(3Ch) |
Q: Does DriveMaster support user-defined commands (or vendor unique commands)?
A: Yes. For ATA Commands:
The user has the choice of using values previously assigned to the global variables NTF1 to NTF7 (WTF28) NTF1 to NTF13 or defining the values to be written in a command operand string.
For example:
WTF28 22,0,0FDh,08Bh,03,0a0h,0F9h,"NODATA" // SET MAX
WTF48 0,0Ch,09h,08h,07h,0e0h,3dh,0,0Bh,06h,00h,00h,"DMAOUT" // Write DMA FUA ext
For ATAPI Commands: PACKET 1200h,0h,2600h,0h,0h,0h //Inquiry
Q: How do I create duplicated NCQ commands script for Silicon Image HBA?
A: The following sample script snippet will create duplicate NCQ commands:
reset upd on RDMA_NCQ 100,1,0 RDMA_NCQ 100,1,1 FIS_SEND 01608027h,0e0000064h,0,8,0 //RDMA_NCQ 100,1,1 upd off
Q: How do I define a local variable for Drive Master?
A: DIM myvar1, myvar2 myvar1 = 100 myvar2=”Hello” prnl myvar1 prns myvar2
Q: How do I define an array for Drive Master?
A: DIM myarray[8] myarray[0] = 1 myarray[1] = 3 myarray[2] = 5 . . myarray[7] = 17
Q: How do I measure Access Time?
A: The Access Time Microsoft defines is the time when PATA host controller issues a read or write command payload to that when the data transfer is complete. You can also get this information from DM Control performance test.
Q: How do I read Command Register?
A: Task File Register offset 7 is the command/status register: when written, it is command register; when read, it is status register. Since the host is the party who issues the command, you will always know what command you have written. In DriveMaster, you can retrieve the command you sent last time by NTF7. DriveMaster updates this set of variables when a command is issued.
Q: How do I send COMWAKE from host?
A: COMWAKE can be issued directly from HOST. This feature is supported in most HBAs by DriveMaster. DriveMaster will report a warning message saying that it is non-supported (when Log is not OFF) if HBA does not have this capability. For all SATA platforms, SATA interface can be resumed from Partial/Slumber interface power management state by sending COMRESET or any ATA/ATAPI command (e.g. IDFY(IDPK), PKSeek).
Q:How do I turn off the interpretation information on the log window?
A: For Identify Device/Identify Packet Device: use IDFY/IDPK. For other commands, add ”LogOff” in the front of those commands. For SMART/GPL set: use SMART read/write log or Read/Write log ext w/Log address instead of using the specific script command for that particular log page
For example, ”RLEC 0, 1” will have the interpretation information displayed in the log window, while ”RdLogEx 0, 1, 03h” will not have that kind of information displayed.
Q:What are the differences among the Keywords of the same command in DriveMaster user guide?
A: Multiple keywords corresponding to the same command have no difference in command protocol. Multiple keywords are provided for user’s convenience on script editing and memorizing the syntax, since some people like to use long names while some prefer short names.
Q: Where can I find sample scripts?
A: There are two places where you can find some sample scripts:
DriveMaster program CD provides some sample scripts,C:\Program Files\ULINK DMXXXX\vYYY\Scripts (while XXXX is the Version year, e.g. 2010; YYY is the version number, e.g. 850) directory
On the ULINK official website, http://www.ulinktech.com/library/dm_sample_scripts.html
Back To Top
|