FAQ and Known Issues

This page contains answers to common questions and known issues handled by our support staff, along with some tips and tricks that we have found useful and are presenting here as questions.

Installation | Platform | Scripts and Testing

Installation

BIOS Configuration

Q: How do I use on-board SATA ports on Intel ICHx or equivalent system (e.g. HP with AMD chipset or VIA) as Test Host?

Device Driver

Q: Do I have to install the driver from HBA manufacturer before running DriveMaster?

Power Supply / Power hub

Q: Are there tips for configuring the USB port power supply?

Q: How do I setup the USB Power Supply in Windows Vista operating system?

Q: Why don’t the Power-On and Power-Off buttons work correctly on my DriveMaster?

Q: Why the Power On/Off button is not working after I change the USB Power Supply to USB Power Hub by plugging the USB connector into the same port?

Trial License Key

Q: Is it possible to run newer versions of DriveMaster with older versions of USB key or older versions with a newer key?

Platform

Generic AHCI

Q: For some AHCI HBAs, why does DriveMaster always issue PIO commands with one DRQ transfer even if the user requests more?

HBA Configuration

Q: How do I change the HBA configuration while running DriveMaster?

Q: How do I select HBA in DriveMaster?

Intel ICHx

Q: Can DriveMaster run on ICH6 with Windows XP w/SP2?

Marvell

Q: Why does Marvell 8SX6081 controller always work with 4 sectors per block for Read/Write Multiple even if it is to more than 4 sectors per block?

Operating System

Q: Does DriveMaster 2006 support Windows Vista?

Q: Why does my monitor screen flash or gray out when I am running some scripts?

Silicon Image

Q: Why do commands always fail on a test disk using Sil3124 but work on other HBAs when I run DriveMaster?

Scripts and Testing

GUI

Q: How do I change testing ports on DriveMaster?

Q: How do I change SATA speed, for example, downshift from Gen1 to Gen2?

Q: Why the ”Trace” button is not working?

Scripts

Q: Can I issue an NCQ command with sector count over 800h on DriveMaster?

Q: Does DriveMaster support PIO, Multiword DMA, Ultra DMA commands?

Q: Does DriveMaster support the ”Retry” command?

Q: Does DriveMaster support user-defined commands (or vendor unique commands)?

Q: How do I create duplicated NCQ commands script for Silicon Image HBA?

Q: How do I define a local variable for DriveMaster?

Q: How do I define an array for DriveMaster?

Q: How do I measure Access Time?

Q: How do I read the Command Register?

Q: How do I send COMWAKE from host?

Q: How do I turn off the interpretation information on the log window?

Q: What are the differences among the keywords of the same command in your user guide?

Q: Where can I find sample scripts?

Back To Top

Installation (Answer)

BIOS Configuration

Q: How do I use on-board SATA ports on Intel ICHx or equivalent system (e.g. HP with AMD chipset or VIA) as Test Host?

A: Swap the Operation System to add-on PCI or PIC-E, IDE or SATA controller. In the BIOS configure to the on-board SATA IDE mode or AHCI Mode if available; then restart the system and boot from the operating system on the add-on card. After booting into the operating system in the Windows XP, it is recommended to install the AHCI driver from manufacturer. In Windows Vista, the operating system comes with Microsoft standard AHCI driver. User may choose to install AHCI driver from manufacturer if needed.

Verify that the AHCI drivers are installed successfully in Device Manager->Hardware->ID ATA/ATAPI Controllers.

Finally, you might be required to reboot your system after installing the manufacture driver; then your on-board SATA ports are ready to be used as the Test Host.

Device Driver

Q: Do I have to install the driver from HBA manufacturer before running DriveMaster?

A: Different versions of DriveMaster have different requirements. For DriveMaster 2004 and 2006, ”Yes,” the specific HBA driver from the manufacturer should be installed before running DriveMaster.

For DriveMaster 2008, ”No,” it is recommended to install the manufacturer drive before running DriveMaster, but it is not a requirement.

Power Supply / Power Hub

Q: Are there tips for configuring the USB port power supply?

A: If the commands are stuck in printer queue, cancel all pending jobs and try to run the power cycles again. If there is still a problem after this, verify that the physical USB port corresponds to the virtual USB port.

Q: How do I setup the USB Power Supply in Windows Vista operating system?

A: It is similar to setup in the Windows XP. Please refer to ”Power Supply Installation Guide.” In Windows Vista user should use ”Epson DFX-5000” as the model of the printer ”PWRCTRL”.

Q: Why don’t the Power-On and Power-Off buttons work correctly on my DriveMaster?

A: Identify the type of power supply you are using, either Parallel port or USB port. For Parallel port power supply, please check the setting of parallel port in the BIOS, which should be set to ECP mode.

For USB port power supply, please do the following:

  • Check if printer model that you selected is either Epson 600Q ESC/P 2 or Epson DFX-5000on Windows XP, or Epson DFX-5000 on Windows Vista
  • Check if the printer name is PWRCTRL
  • Check if the port number X selected in ”USB00X” Virtual printer port for USB is correct.

If USB power supply still does not work even after following the installation instructions, please go to Device Manager to check if there is ”!” on any device driver. If yes, uninstall the driver with ”!” and reinstall it. If the device driver with ”!” cannot be installed correctly, you need to disable it. Improper installation of device driver will cause the USB Power Supply not working.

If user switches the USB Power Supply or Power Hub ports, the device driver needs to be reinstalled.

Q: Why the Power On/Off button is not working after I change the USB Power Supply to USB Power Hub by plugging the USB connector into the same port?

A: Using the USB Power Hub requires reinstalling the printer driver for PWRCTRL; please refer to the Power Hub Installation guide for detailed information.

USB / Trial License Key

Q: Is it possible to run newer versions of DriveMaster with older versions of USB key or older versions with a newer key?

A: ULINK DriveMaster is software that meets the backwards compatible requirement, but older versions of USB key will not work on newer versions of DriveMaster. Therefore, user needs to obtain a USB key for the corresponding version of DriveMaster.

DriveMaster 2004 USB key will NOT work for DriveMaster 2006

DriveMaster 2006 USB key will NOT work for DriveMaster 2008

DriveMaster 2008 USB key will work on DriveMaster 2006

Back To Top

Platform (Answer)

Generic AHCI

Q: For some AHCI HBAs, why does DriveMaster always issue PIO commands with one DRQ transfer even if the user requests more?

A: Some AHCI HBA only support single DRQ for PIO commands, so software should not issue any PIO commands w/ more than one DRQ. If the user issues PIO commands w/ more than one DRQ transfer, DriveMaster will adjust it to one DRQ in order to follow the spec requirement.

HBA Configuration

Q: How do I change the HBA configuration while running DriveMaster?

A: If the DriveMaster window is already open, select “HBA configuration” from “Tools,” and the HBA Configuration window will pop up. Changes can be made from there but the changes will only be effective when DriveMaster is restarted the next time.

Q: How do I select HBA in DriveMaster?

A: There are several scenarios you might encounter.

1. Launching DriveMaster for the very first time:

DriveMaster HBA Configuration window pops up

-> Select one of the HBA displayed in the window detected by DriveMaster, then click OK.

2. Opening DriveMaster using default configuration:

A message box with currently selected HBA information pops up and asks ”Do you want to use this HBA?”

-> Select NO if it is not the HBA you want to run with. Then a DriveMaster HBA Configuration window will pop up. Select an HBA you want to test with and click ”OK.” DriveMaster opens directly without prompting user to change HBA configuration:

3. If user has previously checked the box ”Do not prompt this dialog next time” during HBA configuration.

-> Go to C:\Program Files\ULINK DMXXXX\vYYY (while XXXX is the Version year, e.g. 2010; YYY is the version number, e.g. 850), open DrvMster.ini file, set ”NOPROMPT=0” under [HBACFG], save the change, and exit. HBA Configuration window will pop up again when you reopen DriveMaster.

Click ”Start” button on the task bar, then go to ULINK DMXXXX menu -> Utilities & Drivers -> HBA Configuration Tool. The list of HBAs that are supported by DriverMaster on the current system will appear. Choose the HBA you want from the list, and then click ”OK.”

Intel ICHx

Q: Can DriveMaster run on ICH6 with Windows XP w/SP2?

A: If your testing requires switching modes on ICH6, such as from the compatible legacy mode to the enhanced AHCI mode, we strongly recommend that you NOT use Windows XP w/SP2 to avoid the trouble. According to a suggestion from Intel for Windows XP w/SP2 users you should prepare multiple drives. Each drive should be installed with Windows XP SP2 under the mode you need for testing. When conducting testing under the given mode, you should use the corresponding drive which has been installed in Windows XP w/SP2 under that mode.

Marvell

Q: Why does Marvell 88SX6081 controller always work with 4 sectors per block for Read/Write Multiple even if it is to more than 4 sectors per block?

A: If you are testing on Marvell 88SX6081 controller and multiword set to 8 or above, then DriveMaster will convert it to multiword 4. This is a feature we added in order to work around the controller’s known issue.

Operating System

Q: Does DriveMaster 2006 support Windows Vista?

A: DriveMaster 2006 does not support Windows Vista. If you are using Windows Vista as operating system for DriveMaster 2006, you need to contact ULINK for upgrade.

Q: Why does my monitor screen flash or gray out when I am running some scripts?

A: This issue happens when you are using DriverMaster under the Windows XP SP2 and the script is frequently calling sub scripts. Calling sub scripts creates and destroys windows, which cause memory leakage for GDI objects. Frequently calling sub scripts quickly exhausts the memory, eventually causing the screen to flash or gray out.

There are two solutions provided by Microsoft:

First, a simple workaround solution in which the user can turn off the new user interface Theme in Windows XP. To do this, follow these steps

  • Click Start, and then click Control Panel
  • Click Appearance and Themes, and then click Display
  • On the Themes tab of the Display Properties dialog box, click Windows Classic in the Theme list
  • Click Apply, and then click OK

Second, user can download hot fix (see Article ID: 319740) from Microsoft website:

http://support.microsoft.com/?kbid=319740

Silicon Image

Q: Why do commands always fail on a test disk using Sil3124 but work on other HBAs when I run DriveMaster?

A: Silicon 3124 add-on card may potentially conflict with some PCI Video cards. Please check if there is a PCI video card in the PCI slot. If not, please try a different Sil3124 card.

Back To Top

Script & Testing (Answer)

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