



USB11 core test
by Unknown on Feb 18, 2004 |
Not available! | ||
Hi, I am evaluating the USB11 core on a Xilinx virtex2 fpga. I am using the tranceiver from Philips PDIUSBP11A. When I plug in the device Windows 2000 replies with Found new hardware (I am still happy). I have downloaded the test software from usb.org called USBCV R1.2.1, and I can perform test from the test suite, but I have problems passing the tests (even get configuration descriptor). The enummeration test is performing enummeration in a loop. It is failing at different counts each time the test is run ? Has anyone tried this test tool on the USB11 core? The rom is giving the usb version number 1.0. Why if? it is version 1.1. The bmAttributes bit D7 is not set to 1 (table 9.8 in USB spec rev 1.1) in the configuration descriptor in the rom, why ? When the USB11 core has been addressed or configured there is no way out of this state (am I right). This feature is used by the USB.org test tool in order to exercise all commands in all states. From the device state diagram figure 9-1 I can see that it is possible to go from configured state to addressed state, but it is not shown that you can go from the addressed state to the default state. A set address request with address 0 should set a device in addressed state to default state (see section 9.4.6 of spec) I hope someone has some comment to my statements /sip |
USB11 core test
by Unknown on Feb 19, 2004 |
Not available! | ||
I'm not familiar with the core, but I am with USB.
Comments in line
-----Original Message-----
From: usb-bounces@opencores.org [mailto:usb-bounces@opencores.org]On
Behalf Of sip@bigmailbox.net
Sent: Wednesday, February 18, 2004 6:05 AM
To: usb@opencores.org
Subject: [usb] USB11 core test
I am evaluating the USB11 core on a Xilinx virtex2 fpga. I am using the
tranceiver from Philips PDIUSBP11A. When I plug in the device Windows 2000 replies with Found new hardware (I am still happy). I have downloaded the test software from usb.org called USBCV R1.2.1, and I can perform test from the test suite, but I have problems passing the tests (even get configuration descriptor). The enummeration test is performing enummeration in a loop. It is failing at different counts each time the test is run ? Has anyone tried this test tool on the USB11 core? The rom is giving the usb version number 1.0. Why if? it is version 1.1. Good question, the value of bcdUSB should be 0x0110 for "1.1".
The bmAttributes bit D7 is not set to 1 (table 9.8 in USB spec rev 1.1)
in the configuration descriptor in the rom, why ? Should be 1, are you sure you are looking at the correct end?
When the USB11 core has been addressed or configured there is no way
out of this state (am I right). If the configuration is set to 0, you are back to the addressed state. A RESET will take you from Default, Addressed, Configured or Suspended to the Default state.
This feature is used by the USB.org test tool in order to exercise all
commands in all states. From the device state diagram figure 9-1 I can see that it is possible to go from configured state to addressed state, but it is not shown that you can go from the addressed state to the default state. The figure is an attempt to render graphically the major transitions. It is not complete since it would be unreadable. The individual sections describe the transitions under the various possible conditions A RESET will take you from Default, Addressed, Configured or Suspended to the Default state. A SetAddress(0) will take you from the Addressed state to the Default State.
A set address request with address 0 should set a device
in addressed state to default state (see section 9.4.6 of spec) Correct Marc Reinig System Solutions |
USB11 core test
by Unknown on Feb 19, 2004 |
Not available! | ||
On Wed, 2004-02-18 at 21:04, sip@bigmailbox.net wrote:
Hi,
The USB 1.1 core does not keep track of "states". For
a simple device it works just fine without that. It
responds to all known commands appropriately. There
is really no need to go to a halt state if something
is mis-configured. You just have to configure it correctly !
Same is true for addressing / setup states. To transfer
data you must set an address, period. If you don't it
won't talk to you. If you change the address while it
is already addressed and configured, well, bad idea, I
don't know what will happen !
Basically I leave the burden on the host and driver to
get everything correct.
You can configure the rom to whatever you want, the default
values might not be 100% correct, but worked just fine on
my linux box.
Regards,
rudi
========================================================
ASICS.ws ::: Solutions for your ASIC/FPGA needs :::
..............::: FPGAs * Full Custom ICs * IP Cores :::
FREE IP Cores -> http://www.asics.ws/
I am evaluating the USB11 core on a Xilinx virtex2 fpga. I am using the tranceiver from Philips PDIUSBP11A. When I plug in the device Windows 2000 replies with Found new hardware (I am still happy). I have downloaded the test software from usb.org called USBCV R1.2.1, and I can perform test from the test suite, but I have problems passing the tests (even get configuration descriptor). The enummeration test is performing enummeration in a loop. It is failing at different counts each time the test is run ? Has anyone tried this test tool on the USB11 core? The rom is giving the usb version number 1.0. Why if? it is version 1.1. The bmAttributes bit D7 is not set to 1 (table 9.8 in USB spec rev 1.1) in the configuration descriptor in the rom, why ? When the USB11 core has been addressed or configured there is no way out of this state (am I right). This feature is used by the USB.org test tool in order to exercise all commands in all states. From the device state diagram figure 9-1 I can see that it is possible to go from configured state to addressed state, but it is not shown that you can go from the addressed state to the default state. A set address request with address 0 should set a device in addressed state to default state (see section 9.4.6 of spec) I hope someone has some comment to my statements /sip |



