Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CETK 60 USB host loopback test with NetChip2280

16 views
Skip to first unread message

valeriypi

unread,
Feb 11, 2009, 9:57:01 PM2/11/09
to
I try to run CETK 60 USB host loopback test with NetChip2280.

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

Brian

unread,
Feb 12, 2009, 3:17:01 PM2/12/09
to
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

unread,
Feb 12, 2009, 6:18:01 PM2/12/09
to
Valeriypi:
The top portion of my log differs slightly from yours. I'm getting:
g_pKato Loaded

Library "USBD.DLL", trying to load...
Library "USBD.DLL" loaded: hInst=0x82A1B21C.
Found function @ 0xC05E2087: "OpenClientRegistryKey()".
Found function @ 0xC05E1F8E: "RegisterClientDriverID()".
Found function @ 0xC05E201B: "UnRegisterClientDriverID()".
Found function @ 0xC05E2190: "RegisterClientSettings()".
Found function @ 0xC05E23BD: "UnRegisterClientSettings()".
Found function @ 0xC05E32C6: "GetUSBDVersion()".
Library "USBD.DLL" freed, hInstance=0x82A1B21C.

Library "usbtest.dll", trying to load...
Library "usbtest.dll" loaded: hInst=0x82CCB538.
Found function @ 0xD10D8BD6: "USBDeviceAttach()".
Found function @ 0xD10D8A92: "USBInstallDriver()".
Found function @ 0xD10D8B11: "USBUnInstallDriver()".

USBTEST, USBTEST.CPP: Installing library "usbtest.dll".
USBTEST, USBTEST.CPP: Installing USB driver library "usbtest.dll",
successfull.
Library "usbtest.dll" freed, hInstance=0x82CCB538.
<TESTGROUP>

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?

valeriypi

unread,
Feb 12, 2009, 6:24:01 PM2/12/09
to

"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,

valeriypi

unread,
Feb 12, 2009, 6:39:01 PM2/12/09
to

"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,

karthikhm

unread,
Jul 30, 2013, 7:39:52 AM7/30/13
to
valeriypi wrote on 02/11/2009 21:57 ET :
> I try to run CETK 60 USB host loopback test with NetChip2280.
>
> 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() 3.
> 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
>
Hi Valeriypi,

I also encountered the same problem which you had mentioned here. But the log
messages differ from yours, i.e. as follows:

g_pKato Loaded
Please stand by, installing usbtest.dll as the test driver...
Library "USBD.DLL", trying to load...
Library "USBD.DLL" loaded: hInst=0x87D95640.
Found function @ 0xC08A23A8: "OpenClientRegistryKey()".
Found function @ 0xC08A2218: "RegisterClientDriverID()".
Found function @ 0xC08A230C: "UnRegisterClientDriverID()".
Found function @ 0xC08A253C: "RegisterClientSettings()".
Found function @ 0xC08A27A8: "UnRegisterClientSettings()".
Found function @ 0xC08A3C98: "GetUSBDVersion()".
Library "USBD.DLL" freed, hInstance=0x87D95640.
Library "usbtest.dll", trying to load...
Library "usbtest.dll" loaded: hInst=0x87F28000.
Found function @ 0xD529974C: "USBDeviceAttach()".
Found function @ 0xD5299508: "USBInstallDriver()".
Found function @ 0xD52995E0: "USBUnInstallDriver()".
USBTEST, USBTEST.CPP: Installing library "usbtest.dll".
USBTEST, USBTEST.CPP: Installing USB driver library "usbtest.dll",
successfull.
Library "usbtest.dll" freed, hInstance=0x87F28000.
Please connect USB host with USB test device now!
SetRegReady!BoardNO = 1, PortNo = 3
Please connect USB host with USB test device now!
Please connect USB host with USB test device now!
Please connect USB host with USB test device now!
Please connect USB host with USB test device now!
Please connect USB host with USB test device now!

Now when I connect the USB cable, a window appears on the device and asks:

Enter the name of the driver for this USB device Driver Name <>

Are you able to overcome this problem? If so, can you please share what did you
do?

Thanks,
Karthik

karthikhm

unread,
Jul 30, 2013, 7:40:12 AM7/30/13
to
>> > FAIL: Library "USBD.DLL" NOT loaded! GetLastError() 3.
Hi Valeriypi,

I also encountered the same problem which you had mentioned here. But the log
messages differ from yours, i.e. as follows:

g_pKato Loaded
Please stand by, installing usbtest.dll as the test driver...
Library "USBD.DLL", trying to load...
Library "USBD.DLL" loaded: hInst=0x87D95640.
Found function @ 0xC08A23A8: "OpenClientRegistryKey()".
Found function @ 0xC08A2218: "RegisterClientDriverID()".
Found function @ 0xC08A230C: "UnRegisterClientDriverID()".
Found function @ 0xC08A253C: "RegisterClientSettings()".
Found function @ 0xC08A27A8: "UnRegisterClientSettings()".
Found function @ 0xC08A3C98: "GetUSBDVersion()".
Library "USBD.DLL" freed, hInstance=0x87D95640.
Library "usbtest.dll", trying to load...
Library "usbtest.dll" loaded: hInst=0x87F28000.
Found function @ 0xD529974C: "USBDeviceAttach()".
Found function @ 0xD5299508: "USBInstallDriver()".
Found function @ 0xD52995E0: "USBUnInstallDriver()".
USBTEST, USBTEST.CPP: Installing library "usbtest.dll".
USBTEST, USBTEST.CPP: Installing USB driver library "usbtest.dll",
successfull.
Library "usbtest.dll" freed, hInstance=0x87F28000.
Please connect USB host with USB test device now!
SetRegReady!BoardNO = 1, PortNo = 3
Please connect USB host with USB test device now!
Please connect USB host with USB test device now!
Please connect USB host with USB test device now!
Please connect USB host with USB test device now!
Please connect USB host with USB test device now!

Now when I connect the USB cable, a window appears on the device and asks:

Enter the name of the driver for this USB device Driver Name <>

0 new messages