Part Number: PROCESSOR-SDK-AM335X
Tool/software: Code Composer Studio
Hello,
I am using tirtos 6.01.00.08, I want to set USB as full speed.
I searched the forum, and I found USB BCD Code changes from 0x200 to 0x110 and HWREGB(0x47401401) bit 5 must be cleared.
I usbMSC example, it works when I use High speed, but It fails when I use Full-speed.
I also checked HWREGB(0x47401401) value, it changed as the following sequence when it plugging the connector
0x50, 0x40, 0x48, 0x40, 0x48, 0x40, 0x48, 0x40
In Windows 7, it fails. but in Windows 10 it works sometimes but the detection takes long time.
I attached usbMon log files.
Is there any changes needed for usb Full Speed?
Best regards
Kim
<html><head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"/>
<meta name="DESCRIPTION" CONTENT="HHD Software Device Monitoring Studio HTML file"/>
<meta name="GENERATOR" CONTENT="HHD Software Device Monitoring Studio"/>
<meta name="COPYRIGHT" content="HHD Software"/>
<meta name="Author" CONTENT="HHD Software Device Monitoring Studio"/>
<title>HHD Software Device Monitoring Studio HTML Export</title>
<style>
.st00 { font-family: "Verdana"; font-style: normal; font-weight: 700; color: #000000; background-color: #ffffff; font-size: 11pt}
.st01 { font-family: "Verdana"; font-style: normal; font-weight: 400; color: #000000; background-color: #ffffff; font-size: 11pt}
.st02 { font-family: "Courier New"; font-style: normal; font-weight: 400; color: #000000; background-color: #ffffff; font-size: 11pt}
.st03 { font-family: "Verdana"; font-style: normal; font-weight: 700; color: #800000; background-color: #ffffff; font-size: 11pt}
.st04 { font-family: "Verdana"; font-style: normal; font-weight: 400; color: #800000; background-color: #ffffff; font-size: 11pt}
.st05 { font-family: "Courier New"; font-style: normal; font-weight: 400; color: #ff0000; background-color: #ffffff; font-size: 11pt}
.st06 { font-family: "Verdana"; font-style: normal; font-weight: 700; color: #000080; background-color: #ffffff; font-size: 11pt}
.st07 { font-family: "Verdana"; font-style: normal; font-weight: 400; color: #000080; background-color: #ffffff; font-size: 11pt}
.st08 { font-family: "Courier New"; font-style: normal; font-weight: 400; color: #2020ff; background-color: #ffffff; font-size: 11pt}
</style></head>
<body>
<!--StartFragment -->
<pre>
<p class="st00">000016: PnP Event: Device Connected (UP), 2020-11-06 10:33:37.3250737 +81.1409282 (1. Device: Unknown)
<span class="st01">The USB device has just been connected to the system.</span></p>
<p class="st00">000017: Get Descriptor Request (DOWN), 2020-11-06 10:33:37.3250946 +0.0000209 (1. Device: Unknown)
<span class="st01">Descriptor Type: Device
Descriptor Index: 0x0
Transfer Buffer Size: 0x12 bytes
</span></p>
<p class="st00">000018: Control Transfer (UP), 2020-11-06 10:33:37.3252974 +0.0002028. (1. Device: Unknown) Status: 0x00000000
<span class="st01">Pipe Handle: Control Pipe</span></p>
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td valign="top" class="st02"><pre> 12 01 10 01 00 00 00 40 BE 1C 05 00 00 02 01 02
03 01</pre></td>
<td valign="top" class="st02"><pre>.......@?.......
..</pre></td></tr></table>
<p class="st01">Setup Packet</p>
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td valign="top" class="st02"><pre> 80 06 00 01 00 00 12 00</pre></td>
<td valign="top" class="st02"><pre>.......</pre></td></tr></table>
<p class="st01">Recipient: Device
Request Type: Standard
Direction: Device->Host
Request: 0x6 (GET_DESCRIPTOR)
Value: 0x100
Index: 0x0
Length: 0x12</p>
<p class="st00">000019: Get Descriptor Request (DOWN), 2020-11-06 10:33:37.3253216 +0.0000242 (1. Device: Unknown)
<span class="st01">Descriptor Type: Configuration
Descriptor Index: 0x0
Transfer Buffer Size: 0x9 bytes
</span></p>
<p class="st02"></p>
<p class="st00">000020: Control Transfer (UP), 2020-11-06 10:33:37.3255419 +0.0002203. (1. Device: Unknown) Status: 0x00000000
<span class="st01">Pipe Handle: Control Pipe</span></p>
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td valign="top" class="st02"><pre> 09 02 20 00 01 01 00 C0 FA</pre></td>
<td valign="top" class="st02"><pre>.. ....저.</pre></td></tr></table>
<p class="st01">Setup Packet</p>
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td valign="top" class="st02"><pre> 80 06 00 02 00 00 09 00</pre></td>
<td valign="top" class="st02"><pre>.......</pre></td></tr></table>
<p class="st01">Recipient: Device
Request Type: Standard
Direction: Device->Host
Request: 0x6 (GET_DESCRIPTOR)
Value: 0x200
Index: 0x0
Length: 0x9</p>
<p class="st00">000021: Get Descriptor Request (DOWN), 2020-11-06 10:33:37.3255540 +0.0000121 (1. Device: Unknown)
<span class="st01">Descriptor Type: Configuration
Descriptor Index: 0x0
Transfer Buffer Size: 0x20 bytes
</span></p>
<p class="st02"></p>
<p class="st00">000022: Control Transfer (UP), 2020-11-06 10:33:37.3257922 +0.0002382. (1. Device: Unknown) Status: 0x00000000
<span class="st01">Pipe Handle: Control Pipe</span></p>
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td valign="top" class="st02"><pre> 09 02 20 00 01 01 00 C0 FA 09 04 00 00 02 08 06
50 00 07 05 81 02 00 02 00 07 05 02 02 00 02 00
</pre></td>
<td valign="top" class="st02"><pre>.. ....저........
P...?...........
</pre></td></tr></table>
<p class="st01">Setup Packet</p>
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td valign="top" class="st02"><pre> 80 06 00 02 00 00 20 00</pre></td>
<td valign="top" class="st02"><pre>..... .</pre></td></tr></table>
<p class="st01">Recipient: Device
Request Type: Standard
Direction: Device->Host
Request: 0x6 (GET_DESCRIPTOR)
Value: 0x200
Index: 0x0
Length: 0x20</p>
<p class="st00">000023: Get Descriptor Request (DOWN), 2020-11-06 10:33:37.3257967 +0.0000045 (1. Device: Unknown)
<span class="st01">Descriptor Type: String
Descriptor Index: 0x0
Transfer Buffer Size: 0x2 bytes
LanguageId: 0x0</span></p>
<p class="st02"></p>
<p class="st00">000024: Control Transfer (UP), 2020-11-06 10:33:37.3259165 +0.0001198. (1. Device: Unknown) Status: 0xc0000012
<span class="st01">Pipe Handle: Control Pipe</span></p>
<p class="st01">Setup Packet</p>
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td valign="top" class="st02"><pre> 80 06 00 03 00 00 02 00</pre></td>
<td valign="top" class="st02"><pre>.......</pre></td></tr></table>
<p class="st01">Recipient: Device
Request Type: Standard
Direction: Device->Host
Request: 0x6 (GET_DESCRIPTOR)
Value: 0x300
Index: 0x0
Length: 0x2</p>
<p class="st01"></p>
<p class="st00">000025: Get Descriptor Request (DOWN), 2020-11-06 10:33:37.3259419 +0.0000254 (1. Device: Unknown)
<span class="st01">Descriptor Type: String
Descriptor Index: 0x0
Transfer Buffer Size: 0x2 bytes
LanguageId: 0x0</span></p>
<p class="st01"></p>
<p class="st00">000026: Control Transfer (UP), 2020-11-06 10:33:42.3203500 +4.9944081. (1. Device: Unknown) Status: 0xc0010000
<span class="st01">Pipe Handle: Control Pipe</span></p>
<p class="st01">Setup Packet</p>
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td valign="top" class="st02"><pre> 80 06 00 03 00 00 02 00</pre></td>
<td valign="top" class="st02"><pre>.......</pre></td></tr></table>
<p class="st01">Recipient: Device
Request Type: Standard
Direction: Device->Host
Request: 0x6 (GET_DESCRIPTOR)
Value: 0x300
Index: 0x0
Length: 0x2</p>
<p class="st01"></p>
<p class="st00">000027: Get Descriptor Request (DOWN), 2020-11-06 10:33:42.3203600 +0.0000100 (1. Device: Unknown)
<span class="st01">Descriptor Type: String
Descriptor Index: 0x0
Transfer Buffer Size: 0x2 bytes
LanguageId: 0x0</span></p>
<p class="st01"></p>
<p class="st00">000028: Control Transfer (UP), 2020-11-06 10:33:47.3278762 +5.0075162. (1. Device: Unknown) Status: 0xc0010000
<span class="st01">Pipe Handle: Control Pipe</span></p>
<p class="st01">Setup Packet</p>
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td valign="top" class="st02"><pre> 80 06 00 03 00 00 02 00</pre></td>
<td valign="top" class="st02"><pre>.......</pre></td></tr></table>
<p class="st01">Recipient: Device
Request Type: Standard
Direction: Device->Host
Request: 0x6 (GET_DESCRIPTOR)
Value: 0x300
Index: 0x0
Length: 0x2</p>
<p class="st01"></p>
<p class="st00">000029: Select Configuration (DOWN), 2020-11-06 10:33:47.3281952 +0.0003190 (1. Device: Unknown)
<span class="st01">Configuration Index: 1
</span></p>
<p class="st00">000030: Select Configuration (UP), 2020-11-06 10:33:53.1783283 +0.0000028. (1. Device: Unknown) Status: 0xc0002000
<span class="st01">Configuration Index: 1
Configuration Handle: 0x0</span></p>
<p class="st00">000031: PnP Event: Device Disconnected (UP), 2020-11-06 10:33:53.1793316 +0.0010033 (1. Device: Unknown)
<span class="st01">The USB device has just been removed from the system, all drivers unloaded.</span></p>
<p class="st01"></p>
</pre><!--EndFragment-->
</body>
</html>