Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Help analyzing USB traffic

Status
Not open for further replies.

Dutch2

Newbie level 3
Joined
May 1, 2009
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
NC
Activity points
1,327
I created a Mass Storage Device with a PIC18F26J50 and the Microchip USB stack.

It works great on everything I've ever connected it to.

However, it does not work on my car radio. I made a recording with a Beagle USB Analyzer, and the only difference between when it works and when it does not is one byte (in bold, at the end of the recording)

I'm no expert in low level USB communications... can anybody help me understand the meaning of the last part of the recording?

If I understood what the radio/device was trying to do I may be able to find the point in the software to fix the issue.

Thanks in advance for any comments and suggestions.

D2.

<Unreset> / <Target connected>
[109 SOF]
Get Device Descriptor 12 01 00 02 00 00 00 08
SETUP txn 80 06 00 01 00 00 08 00
SETUP packet 2D 00 10
DATA0 packet C3 80 06 00 01 00 00 08 00 EB 94
ACK packet D2
IN txn [12 POLL] 12 01 00 02 00 00 00 08
[12 IN-NAK]
IN packet 69 00 10
DATA1 packet 4B 12 01 00 02 00 00 00 08 57 E7
ACK packet D2
OUT txn
OUT packet E1 00 10
DATA1 packet 4B 00 00
ACK packet D2
[1 SOF]
Set Address
SETUP txn 00 05 02 00 00 00 00 00
SETUP packet 2D 00 10
DATA0 packet C3 00 05 02 00 00 00 00 00 EB 16
ACK packet D2
IN txn [6 POLL]
[6 IN-NAK]
IN packet 69 00 10
DATA1 packet 4B 00 00
ACK packet D2
[12 SOF]
Get Device Descriptor 12 01 00 02 00 00 00 08 D8 04 09 00 01 00 01 02 01 01
SETUP txn 80 06 00 01 00 00 12 00
SETUP packet 2D 02 A8
DATA0 packet C3 80 06 00 01 00 00 12 00 E0 F4
ACK packet D2
IN txn [15 POLL] 12 01 00 02 00 00 00 08
[15 IN-NAK]
IN packet 69 02 A8
DATA1 packet 4B 12 01 00 02 00 00 00 08 57 E7
ACK packet D2
IN txn [10 POLL] D8 04 09 00 01 00 01 02
[10 IN-NAK]
IN packet 69 02 A8
DATA0 packet C3 D8 04 09 00 01 00 01 02 77 FA
ACK packet D2
IN txn [7 POLL] 01 01
[7 IN-NAK]
IN packet 69 02 A8
DATA1 packet 4B 01 01 3E 1F
ACK packet D2
OUT txn
OUT packet E1 02 A8
DATA1 packet 4B 00 00
ACK packet D2
[1 SOF]
Get Configuration Descriptor 09 02 20 00 01 01 00 C0
SETUP txn 80 06 00 02 00 00 08 00
SETUP packet 2D 02 A8
DATA0 packet C3 80 06 00 02 00 00 08 00 AF 94
ACK packet D2
IN txn [13 POLL] 09 02 20 00 01 01 00 C0
[13 IN-NAK]
IN packet 69 02 A8
DATA1 packet 4B 09 02 20 00 01 01 00 C0 0B 52
ACK packet D2
OUT txn
OUT packet E1 02 A8
DATA1 packet 4B 00 00
ACK packet D2
[2 SOF]
Get Configuration Descriptor 09 02 20 00 01 01 00 C0 32 09 04 00 00 02 08 06 50 00 07 05 81 02 40 00 01 07 05 01 02 40 00 01
SETUP txn 80 06 00 02 00 00 20 00
SETUP packet 2D 02 A8
DATA0 packet C3 80 06 00 02 00 00 20 00 B1 94
ACK packet D2
IN txn [10 POLL] 09 02 20 00 01 01 00 C0
[10 IN-NAK]
IN packet 69 02 A8
DATA1 packet 4B 09 02 20 00 01 01 00 C0 0B 52
ACK packet D2
IN txn [9 POLL] 32 09 04 00 00 02 08 06
[9 IN-NAK]
IN packet 69 02 A8
DATA0 packet C3 32 09 04 00 00 02 08 06 83 BF
ACK packet D2
IN txn [10 POLL] 50 00 07 05 81 02 40 00
[10 IN-NAK]
IN packet 69 02 A8
DATA1 packet 4B 50 00 07 05 81 02 40 00 CF 43
ACK packet D2
IN txn [10 POLL] 01 07 05 01 02 40 00 01
[10 IN-NAK]
IN packet 69 02 A8
DATA0 packet C3 01 07 05 01 02 40 00 01 F4 C1
ACK packet D2
OUT txn
OUT packet E1 02 A8
DATA1 packet 4B 00 00
ACK packet D2
[2 SOF]
Set Configuration
SETUP txn 00 09 01 00 00 00 00 00
SETUP packet 2D 02 A8
DATA0 packet C3 00 09 01 00 00 00 00 00 27 25
ACK packet D2
IN txn [16 POLL]
[16 IN-NAK]
IN packet 69 02 A8
DATA1 packet 4B 00 00
ACK packet D2
[15 SOF]
Control Transfer 0
SETUP txn A1 FE 00 00 00 00 01 00
SETUP packet 2D 02 A8
DATA0 packet C3 A1 FE 00 00 00 00 01 00 6A 1F
ACK packet D2
IN txn [10 POLL] 0
[10 IN-NAK]
IN packet 69 02 A8
DATA1 packet 4B 00 40 BF
ACK packet D2
OUT txn
OUT packet E1 02 A8
DATA1 packet 4B 00 00
ACK packet D2
[4 SOF]
OUT txn 55 53 42 43 01 00 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT packet E1 82 18
DATA0 packet C3 55 53 42 43 01 00 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 AB B0
ACK packet D2
[3 SOF]
IN txn [144 POLL] 55 53 42 53 01 00 00 00 00 00 00 00 EF
[144 IN-NAK]
IN packet 69 82 18
DATA0 packet C3 55 53 42 53 01 00 00 00 00 00 00 00 EF 15 AE
ACK packet D2

When it does not work, the value is EF. When it does work, it is 00.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top