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