The loopback system started with >>lufldrv.exe -1
Then I called tux.exe -o -d usbtest.dll -x 1001 and I got messages:
g_pKato Loaded
Please stand by, installing usbtest.dll as the test driver...
Library "USBD.DLL", trying to load...
FAIL: Library "USBD.DLL" NOT loaded! GetLastError()=193.
FAIL: Unable to free library. NULL instance handle passed!.
Library "usbtest.dll", trying to load...
Library "usbtest.dll" loaded: hInst=0x9618EE58.
5230002 Found function @ 0x414CD2F8: "USBDeviceAttach()".
Found function @ 0x414CCF18: "USBInstallDriver()".
Found function @ 0x414CD090: "USBUnInstallDriver()".
USBTEST, USBTEST.CPP: Installing library "usbtest.dll".
USBTEST:Start USBInstallDriver usbtest.dll
USBTEST:End USBInstallDriver return value = 0
FAIL: USBTEST, USBTEST.CPP: Installing USB driver library
"usbtest.dll", NOT successfull.
Library "usbtest.dll" freed, hInstance=0x9618EE58.
I have usbd.dll residential in NK.bin and it used (printout USBD!HcdAttach
on each OHCI/EHCI host driver load)
Then I got a message:
Please connect USB host with USB test device now!
SetRegReady!BoardNO = 1, PortNo = 3
Please connect USB host with USB test device now!
When I connect the NetChip2280 board by USB cable to the tested
system a USB host port I got a dialog box with message:
"Enter the name of the driver for this USB device"
"Driver Name" < >
What is the problem?
Thanks
Can you clarify this is what you're doing?
Did you get any errors to debug when you loaded the loopback driver? Did
you get confirmation that the Net2280 driver was loaded on the function side?
When I connect the function side to the Host side, I got confirmation to the
function side debug window:
453735 PID:400002 TID:4720002 UFNLOOPBACK!CPipePairManager.Init: Current
host is a HighSpeed host!
Did you get this confirmation?
"Brian" wrote:
> valeriypi:
> It sounded to me like you're trying to run this test entirely on one
> computer? I'm running this test, but I'm doing so with 2 systems. USB
> Function Controller in 1 box, USB Host (Unit Under Test) on another.
>
> Can you clarify this is what you're doing?
Brian,
I'm running the test on 2 separate systems as expected.
One has NC2280 card and runs >lufldrv.exe -1
After that I started the system I'm testing USB host
>tux.exe -o -d usbtest.dll -x 1001
as per CETK documentation and got messages on that system:
> > g_pKato Loaded
> > Please stand by, installing usbtest.dll as the test driver...
> > Library "USBD.DLL", trying to load...
> > FAIL: Library "USBD.DLL" NOT loaded! GetLastError()=193.
> > FAIL: Unable to free library. NULL instance handle passed!.
> > Library "usbtest.dll", trying to load...
> > Library "usbtest.dll" loaded: hInst=0x9618EE58.
> > 5230002 Found function @ 0x414CD2F8: "USBDeviceAttach()".
> > Found function @ 0x414CCF18: "USBInstallDriver()".
> > Found function @ 0x414CD090: "USBUnInstallDriver()".
> > USBTEST, USBTEST.CPP: Installing library "usbtest.dll".
> > USBTEST:Start USBInstallDriver usbtest.dll
> > USBTEST:End USBInstallDriver return value = 0
> > FAIL: USBTEST, USBTEST.CPP: Installing USB driver library
> > "usbtest.dll", NOT successfull.
> > Library "usbtest.dll" freed, hInstance=0x9618EE58.
> > Please connect USB host with USB test device now!
> > SetRegReady!BoardNO = 1, PortNo = 3
> > Please connect USB host with USB test device now!
I have usbd.dll in NK.bin
Next, I connected NC2280 and the USB host connector by USB cable and got a
dialog box on testing system:
> >
> > "Enter the name of the driver for this USB device"
> > "Driver Name" < >
Thanks,
"Brian" wrote:
Brian,
I did not get any conformation on NC2280 side, the cursor on the command
line just moved on the next line and hang there. But the loopback system
quite responsible to a mouse and windows switching. I might need to check if
the loopback card 2280 working OK. I tried to install it into a regular PC
PCI slot and it was informed that it is a CE USB test card and I did not find
a driver PC can recognize.
How can I test it?
Another question what a USB function/class device this card represents for
my USB as the dialog box message has asked?
I found only one registry enty for this card for PCI enumeration in PB 6.0
files.
Thanks,