kratos85
Newbie level 2
- Joined
- May 15, 2013
- Messages
- 2
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,300
Hi everyone,
I am currently developing a USB Host Controller driver for the USB Host Controller chip FTDI FT313. I am stuck right now in the USB Enumeration device. I thought that I finished successfully the enumeration process but it seems that the USB state is still the default state and not the configure state. I looked carefully at the USB transactions and it seems that I have some problems with the Set Address request. I want to know specifically if someone has encounter the same problem. I allocate one qTD (Transfer Descriptor) for start the setup phase and send the request, and one qTD for the status phase (IN, zero-byte length). I provide you the content of the qHead and the qTransfer Descriptor
qHead (Memory address : 0x1000)
DW0 : 0x00001003
DW1 : 0x0040E000
DW2 : 0x40000000
DW3 : 0x00000000
DW4 : 0x00002000
qTransferDescriptor#0 (Memory Address : 0x2000)
DW0 : 0x00002020
DW1 : 0x00000001
DW2 : 0x00080E80
DW3 : 0x00003040
qTransferDescriptor#1 (Memory Address : 0x2020)
DW0 : 0x00002041
DW1 : 0x00000001
DW2 : 0x00008D80
DW3 : 0x00003060
SetAddressRequest (Memory Address : 0x3040)
DW0 : 0x00010500
DW1 : 0x00000000
Thanks in advance
I am currently developing a USB Host Controller driver for the USB Host Controller chip FTDI FT313. I am stuck right now in the USB Enumeration device. I thought that I finished successfully the enumeration process but it seems that the USB state is still the default state and not the configure state. I looked carefully at the USB transactions and it seems that I have some problems with the Set Address request. I want to know specifically if someone has encounter the same problem. I allocate one qTD (Transfer Descriptor) for start the setup phase and send the request, and one qTD for the status phase (IN, zero-byte length). I provide you the content of the qHead and the qTransfer Descriptor
qHead (Memory address : 0x1000)
DW0 : 0x00001003
DW1 : 0x0040E000
DW2 : 0x40000000
DW3 : 0x00000000
DW4 : 0x00002000
qTransferDescriptor#0 (Memory Address : 0x2000)
DW0 : 0x00002020
DW1 : 0x00000001
DW2 : 0x00080E80
DW3 : 0x00003040
qTransferDescriptor#1 (Memory Address : 0x2020)
DW0 : 0x00002041
DW1 : 0x00000001
DW2 : 0x00008D80
DW3 : 0x00003060
SetAddressRequest (Memory Address : 0x3040)
DW0 : 0x00010500
DW1 : 0x00000000
Thanks in advance