Project

General

Profile

Actions

Bug #4453

closed

USB CH9 test fails: "SetConfiguration 0 failed"

Added by laforge about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
03/12/2020
Due date:
% Done:

100%

Spec Reference:

Description

When running the USB Chapter9 test from the USB-IF, it seems the simtrace2 firmware is refusing a SetConfiguration (0)


Files

setconf0.png View setconf0.png 56.3 KB laforge, 03/13/2020 09:49 AM
setconf1.png View setconf1.png 39.4 KB laforge, 03/13/2020 09:53 AM
qmod.usb.bz2 qmod.usb.bz2 77.1 KB sysmoQMOD trace from whihc screenshots were taken laforge, 03/13/2020 10:15 AM
stick.usb stick.usb 27.8 KB mass storage device laforge, 03/13/2020 10:15 AM
stick.png View stick.png 70.3 KB laforge, 03/13/2020 10:17 AM
Actions #1

Updated by laforge about 4 years ago

The last message in the test, as captured by openvizsla (SetConfiguration 0):

Compare this to an earlier SetConfiguration 1 which passes the test:

Actions #2

Updated by laforge about 4 years ago

Attaching a full trace from the qmod with hub+sam3s (includes all of the initial bus enumeration) and a shorter trace from a mass-storage device running the same "9.1" test. In the latter the SET CONFIG 0 seems to be ACKed but the device still responds to address 0 ?!?

Actions #3

Updated by laforge about 4 years ago

From the USB mass storage device:

So in this case, there's an IN transaction after the SETUP transaction carrying the SetConfiguration(0)

Actions #4

Updated by laforge about 4 years ago

  • % Done changed from 0 to 90
Actions #5

Updated by laforge about 4 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100

patch merged.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)