Hub-Compound Device Test Overview - USB

Hub-Compound Device Test Overview - USB
Hub/Compound Device
End Product Testing
November 11, 2013
Test Environment
• Current OS: Windows 8
• Motherboard: DZ77SL-50K (i5 processor, 4GB RAM)
• IO Utilities: Download from ftp site and demo video
http://compliance.usb.org/cv
• See: http://www.usb.org/developers/ssusb/testing/ for
updates to Interoperability Document
• Please see Hub End Product Template (I can email and post)
LPM Tool Test
•
Disable Selective Suspend
(automatically done with IOP
utilities batch)
•
Attach Hub Only Topology
•
Inactivity U1/U2 Enabled Device
•
Inactivity U1/U2 Disabled Device
•
Do 10 consecutive tests and
make sure it passes each time
•
Remember to enable Selective
Suspend after completing the
tests (automatically done with
IOP utilities batch)
xHCI
Hub Only Topology
xHCI
MUTT LPM Tool from Microsoft
ASMedia
KGD
Hub/Device Topology
Deferred Packet Test
•
•
•
•
•
•
•
•
•
Attach Hub to Host
Attach Analyzer to downstream port of
Hub
Start Recording and connect KGD to the
analyzer
Let KGD enumerate and do a small file
transfer
Stop Trace
Verify that link went to U1 or U2
Verify that deferred packet was sent
Verify that ERDY was sent after deferred
packet
Verify DP was resent followed by ACK and
ERDY
ASMedia
KGD
xHCI
U1/U2 Test/Deferred Packet Test
Interoperability Testing – Standard
Tests
• Following all devices tests are performed:
•
•
•
•
•
•
•
•
Enumeration – Verify all devices enumerate properly
Stress – Verify all devices operate concurrently
Inactive Detach/Attach
Active Hybrid Sleep/Remote Wake
Active Hibernate/Resume
Warm Boot
Hybrid Boot
Cold Boot
• For more details on these tests see Chapter 7 of the
Interoperability Test Specification
Interoperability - Hub
• Hub Tests:
•
•
•
•
•
LPM Tool Test
Deferred Packet Test
U1/U2 Test
Single Hub with KGD’s Downstream
Interoperability Tree
Interoperability Testing - Hub
xHCI
SS
Cable
(3m)
SS Cable (3m)
HUT
SS1
SS Cable (3m)
Hub
SS2
HS
Cable
(5m)
Hub
SS3
SS Cable (3m)
Hub
SS4
HUT
SS5
HS
Cable
(5m)
HS Cable (5m)
Hub
HS2-MTT
SS Cable (3m)
Asmedia
KGD
Hub
HS3-STT
Hub
HS5
HS
Cable
(5m)
HS Cable (5m)
Hub
FS3-2
Hub
FS3-1
HS
Drive
Headset
HS/FS
Drive
Keypad
Mouse
HS/FS
Camera
HS Video
Camera
Interoperability Testing – Hub TC1
xHCI
SS Cable (3m)
SS Cable (3m)
Hub
SS2
SS Cable (3m)
Hub
SS3
SS
Cable
(3m)
HS Cable (5m)
HS Cable (5m)
Hub
HS2-MTT
HUT
SS1
SS Cable (3m)
Hub
SS4
HUT
SS5
HS
Cable
(5m)
Asmedia
KGD
Hub
HS3-STT
Hub
HS5
HS
Cable
(5m)
HS
Cable
(5m)
Hub
FS3-2
Hub
FS3-1
HS
Drive
HS/FS
Drive
Headset
Keypad
Mouse
HS/FS
Camera
HS Video
Camera
Interoperability Testing – Hub TC2
xHCI
SS Cable (3m)
SS Cable (3m)
SS Cable (3m)
Hub
SS2
SS Cable (3m)
HUT
SS5
Hub
SS4
Hub
SS3
HS Cable (5m)
HS
Cable
(5m)
Hub
HS2-MTT
Hub
HS3-STT
HS
Cable
(5m)
SS Cable (3m)
Asmedia
KGD
HUT
SS1
Hub
HS5
HS
Cable
(5m)
HS
Cable
(5m)
Hub
FS3-2
Hub
FS3-1
HS/FS
Camera
Mouse
HS
Drive
HS/FS
Drive
Headset
Keypad
HS Video
Camera
Interoperability - Compound Device
• Refer to Chapter 6 of the XHCI Interoperability Specification
for full details on Interoperability Testing of Compound
Devices
• A compound device is any device that contains a hub with at
least one device or hub permanently attached downstream.
• Determine Compound Device Configuration in order to choose
correct topology:
• Internal hub depth
• Hub depth of any downstream ports
• Peripheral number and types (if any)
Interoperability - Compound Device
• Compound Device Tests:
•
•
•
•
•
LPM Tool Test
Deferred Packet Test
U1/U2 Test
Compound Device at Root Port
Interoperability Tree
• If DSF port exist place tree DS of device as well
Interoperability - Compound Device
xHCI
SS Cable (3m)
SS
Cable
(3m)
Hub
SS1
Hub
SS2
HS
Cable
(5m)
Hub
SS3
Hub
HS2-MTT
Hub
SS4
HS
Cable
(5m)
HS Cable (5m)
SS
Display
Adapter
HS Cable (5m)
Hub
FS3-2
HS
Drive
HS/FS
Drive
Keypad
Mouse
HS/FS
Camera
SS Video
Camera
SS Low
Power Drive
Hub
HS5
Hub
FS3-1
DUT
Hub
SS5
Hub
HS3-STT
HS
Cable
(5m)
SS Cable (3m)
SS Cable (3m)
SS Cable (3m)
If DUT has
exposed ports
connect SS Low
Power Drive to
DUT instead
Interoperability - Compound Device
xHCI
SS Cable (3m)
SS
Cable
(3m)
SS Cable (3m)
SS Cable (3m)
Hub
SS3
Hub
SS2
Hub
SS1
HS
Cable
(5m)
HS
Cable
(5m)
HS Cable (5m)
Hub
HS2-MTT
Hub
SS5
Hub
SS4
SS
Display
Adapter
SS Video
Camera
Hub
HS3-STT
SS Low
Power Drive
Hub
HS5
HS Cable (5m)
HS
Cable
(5m)
DUT
Hub
FS3-2
Hub
FS3-1
HS
Drive
HS/FS
Drive
Keypad
Mouse
HS/FS
Camera
If DUT has
exposed ports
connect SS Low
Power Drive to
DUT instead
Interoperability - Compound Device
xHCI
SS Cable (3m)
SS
Cable
(3m)
SS Cable (3m)
SS Cable (3m)
Hub
SS1
Hub
SS2
HS
Cable
(5m)
Hub
SS3
Hub
SS4
HS
Cable
(5m)
HS Cable (5m)
Hub
HS2-MTT
Hub
SS5
SS
Display
Adapter
Hub
HS3-STT
SS Video
Camera
SS Low
Power Drive
Hub
HS5
HS Cable (5m)
HS
Cable
(5m)
Hub
FS3-2
Hub
FS3-1
HS
Drive
DUT
HS/FS
Drive
Keypad
Mouse
HS/FS
Camera
If DUT has
exposed ports
connect SS Low
Power Drive to
DUT instead
Interoperability - Compound Device
with DSF Ports
xHCI
SS
Cable
(3m)
SS Cable (3m)
SS Cable (3m)
SS Cable (3m)
DUT
DUT
SS1
Hub
SS2
Hub
SS3
SS Cable (3m)
HS
Cable
(5m)
HS
Cable
(5m)
HS Cable (5m)
Hub
HS2-MTT
Hub
SS4
Hub
SS5
SS
Display
Adapter
SS Low
Power Drive
Hub
HS3-STT
Hub
HS5
HS
Cable
(5m)
HS Cable (5m)
Hub
FS3-2
Hub
FS3-1
HS
Drive
HS/FS
Drive
Keypad
Mouse
HS/FS
Camera
SS Video
Camera
HUB30CV
SuperSpeed Hub
Tests
Required items
• 1 SuperSpeed Hub.
• Required for TD 10.15.
• Can be used in all other tests in Part 1 that require a SS
device.
• 1 multimeter and 1 over-current fixture.
• Required for TD 10.16 and TD 10.23.
• SS HID devices
• One for each accessible SS port.
• Required for all Part 2 tests.
• See KGD Ordering Info.doc for details.
Information the Vendor Needs to
Provide
• The port numbers of all accessible ports:
• This can be determined by running TD 10.15
• Answers to the following questions:
• Is the hub embedded?
• That is, is the hub permanently attached to the
host?
• Is hub part of a compound device?
• Does hub support power switching?
• Does hub have any non-removable devices attached?
Link Tests and Hub
LVS Tests
Test Equipment
Vendor Equipment needed for Link and Hub LVS Testing
LeCroy Voyager M3i
Ellisys Explorer 280
•
•
•
On for Link Tests
Two for Hub LVS Tests
Two for Link Tests
•
•
•
One as Analyzer
One as Exerciser
Four for Hub LVS Tests
•
•
Upstream Analyzer and
Exerciser
Downstream Analyzer and
Exerciser
US Link Tests
LeCroy Setup
Ellisys Setup
US Link Tests
• Upstream Port test procedure is identical to device link testing
• Connect the hub UFP (Upstream Facing Port) to:
• LeCroy Voyager Exerciser
• Ellisys Explorer Analyzer and Exerciser pair
• Plug the analyzers into the test software machine.
• Run the vendor software with the appropriate tests (CH 6 and CH
7 US port tests)
• Ellisys and LeCroy provide instructions with their software
• Required to collect results with one test vendor
• Ellisys OR LeCroy
DS Link Tests: Ellisys Setup
DS Link Tests: LeCroy Setup
DS Link Tests: Procedure
• Must use CV for tests requiring driver intervention (to send
GetDescriptor() or Reset)
• TD 7.36 not applicable
• Required to collect results with one test vendor
• LeCroy OR Ellisys
• Procedure:
•
•
•
•
•
Plug in HUT to CV Machine
Start CV Software with TD 7.6 – TD 7.31 checked
Start LVS Software with all tests checked
Follow prompts in LVS software – it will tell you when to advance CV
After TD 7.31, LVS software will prompt tester to cycle HUT power and
prepare for TD 7.34
• Power Cycle HUT
• Start CV Software with TD 7.34 – TD 7.35 checked
• Hit “OK” on LVS prompt
• When tests are finished, rerun individual failing tests if you think it might
have been a false failure
• On LeCroy, click the “HTML” button on USB Compliance Suite to get a Report.
Hub LVS Tests: Ellisys Setup
Hub LVS Tests: LeCroy Setup
Hub LVS Tests: Procedure
LeCroy
• Plug in everything as shown in
the diagram
• USB Compliance Suite:
• Open the Settings Window
Ellisys
• Plug in everything as shown
in the diagram
• Examiner:
• Run the Hub tests
• Follow prompts to Cycle Power
or Attach/Remove an auxiliary
SS device.
• In the Settings Tab, list the
LVSh Generator and Analyzer
• In the test selector tab, on
the Right, list the LVSd
Generator and Analyzer
• Run the CH 10 tests
• Follow prompts to Cycle
Power or to Attach/Remove
an auxiliary SS device.
• Try using Via hub as aux SS
device
• Individually rerun failures
• Click on “Hub” tab
• Check set up is consistent with
diagram
• Enter SNs for LVSh and LVSd
Voyagers
• Click “OK”
• Individually rerun failures
• Click the HTML button to save a
Report
• TI Device works well
Hub LVS Tests: Reporting
• Required Tests:
• Tier 1 Tests
•
•
•
•
•
•
Required Dec 2012
TD 10.101-106
TD 10.108-113
TD 10.115
TD 10.122
TD 10.128-129
• Tier 2 Tests
• Required Apr 2014
• TD 10.116-120
• TD 10.124-127
• Report Results:
• Report all results for
both LeCroy and Ellisys
• Failures on both systems
must be root caused
• Vendor Issue
• Test Issue
• Other Issue
• Send Report to PIL
• amanda@specwerkz.com
Tiered Hubs and Compound
Devices
Link Tests
• Can only test exposed
ports
• For products with multiple
hub tiers, test a DFP from
each tier:
•
•
•
•
DFP from tier 1
DFP from tier 2
…
DFP from final tier
• Spot check other DFPs
from each tier
• Run one or two link tests on
the port
Hub LVS Tests
• Must run for each exposed
hub tier in Product Under Test
• Example: Compound Device
with 2 hub tiers:
• Test Tier 1:
• LVSh-USP and LVSd-Tier1 DFP
• Test Tier 2:
• LVSh-USB and LVSd-Tier2 DFP
• For tests which require an
ADP, choose a port on the
same tier as the DFP under
test
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising