Re: dwc2 - ChHltd set, but reason is unknown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/16/2017 7:16 PM, Anders Montonen wrote:
> On Mon, 16 Oct 2017, Minas Harutyunyan wrote:
>> On 10/16/2017 12:12 PM, Anders Montonen wrote:
>>> On Mon, 16 Oct 2017, Minas Harutyunyan wrote:
>>>> On 10/10/2017 4:35 PM, Anders Montonen wrote:
>>>>> On Mon, 9 Oct 2017, Minas Harutyunyan wrote:
>>>>>> On 10/9/2017 5:15 PM, Anders Montonen wrote:
>>>>>
>>>>>>> We have a custom Altera Cyclone V SoCFPGA board, where connecting a
>>>>>>> particular brand of USB memory sticks produces and enless stream of
>>>>>>> console errors messages until it is removed from the system.
>>>>>> Could you please provide log with enabled VERBOSE debug messages.
>>>>> I uploaded a log to <https://urldefense.proofpoint.com/v2/url?u=http-3A__iki.fi_Anders.Montonen_verbose-2Dlog.gz&d=DwIBAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=6z9Al9FrHR_ZqbbtSAsD16pvOL2S3XHxQnSzq8kusyI&m=AedxxCtXGQmPyStoa4WGjTAFyMn0W2g6C8eQyM1o4fQ&s=IzVYoYrlpdBxTcydNmySAXt7Im3MnAe9QhC_tluwULI&e=>.
>>>> Hi Anders,
>>>> 1. Lot of "Transaction Error--" seen in log related to mentioned by you
>>>> mass storage device (addr=4 and addr=5).
>>>> 2. In log seen 2 additional devices with addresses 2 and 3 (Control
>>>> transfers). Could you please elaborate what kind of devices? Did you
>>>> connected any hub to dwc2 root hub? Or any internal to board hub's
>>>> connected to dwc2?
>>> Thanks for taking a look at this. As I mentioned in the original post, the
>>> dwc2 root hub is connected to a Microchip LAN9152 combined USB
>>> hub/Ethernet MAC. This is a fixed (PCB trace) connection.
>>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.microchip.com_wwwproducts_en_LAN9500&d=DwIBAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=6z9Al9FrHR_ZqbbtSAsD16pvOL2S3XHxQnSzq8kusyI&m=IBDYO-V4EMAKQ3O5HXYKgUyy7TnTj4yYn-waXJTHwbE&s=4w01BQ13PgwR1hgzJEV1ZrXaIj3h1DYeSpw785nUDP8&e=>
>> Hi,
>> Could you please also send register dump.
> 
> I made two dumps, before inserting the USB stick and with the memory stick
> inserted.
> 
> Before:
> GOTGCTL = 0x002c0001
> GOTGINT = 0x00000000
> GAHBCFG = 0x00000027
> GUSBCFG = 0x21101710
> GRSTCTL = 0x80000000
> GINTSTS = 0x04200021
> GINTMSK = 0xf300080e
> GRXSTSR = 0x3ea8c000
> GRXSTSP = 0x3ea8c000
> GRXFSIZ = 0x00000214
> GNPTXFSIZ = 0x01000214
> GNPTXSTS = 0x08080100
> GI2CCTL = 0x00000000
> GPVNDCTL = 0x00000000
> GGPIO = 0x00000000
> GUID = 0x12345678
> GSNPSID = 0x4f54293a
> GHWCFG1 = 0x00000000
> GHWCFG2 = 0x238ffc90
> GHWCFG3 = 0x1f8002e8
> GHWCFG4 = 0xfe0f0020
> GLPMCFG = 0x00000000
> GPWRDN = 0x00000000
> GDFIFOCFG = 0x06142000
> ADPCTL = 0x00000000
> HPTXFSIZ = 0x03000314
> DPTXFSIZN(1) = 0x03000314
> DPTXFSIZN(2) = 0x03000314
> DPTXFSIZN(3) = 0x03000314
> DPTXFSIZN(4) = 0x03000314
> DPTXFSIZN(5) = 0x03000314
> DPTXFSIZN(6) = 0x03000314
> DPTXFSIZN(7) = 0x03000314
> DPTXFSIZN(8) = 0x03000314
> DPTXFSIZN(9) = 0x03000314
> DPTXFSIZN(10) = 0x03000314
> DPTXFSIZN(11) = 0x03000314
> DPTXFSIZN(12) = 0x03000314
> DPTXFSIZN(13) = 0x03000314
> DPTXFSIZN(14) = 0x03000314
> DPTXFSIZN(15) = 0x03000314
> DCFG = 0x00000000
> DCTL = 0x00000000
> DSTS = 0x00018c02
> DIEPMSK = 0x00000000
> DOEPMSK = 0x00000000
> DAINT = 0x00000000
> DAINTMSK = 0x00000000
> DTKNQR1 = 0x00000000
> DTKNQR2 = 0x00000000
> DTKNQR3 = 0x0c100020
> DTKNQR4 = 0x00000000
> DVBUSDIS = 0x00011d4b
> DVBUSPULSE = 0x000005b8
> DIEPCTL(0) = 0x00d00040
> DIEPCTL(1) = 0x00d08040
> DIEPCTL(2) = 0x00d00040
> DIEPCTL(3) = 0x00d00040
> DIEPCTL(4) = 0x00d08040
> DIEPCTL(5) = 0x00d00040
> DIEPCTL(6) = 0x00d00040
> DIEPCTL(7) = 0x00d00040
> DIEPCTL(8) = 0x00dc9810
> DIEPCTL(9) = 0x00d00040
> DIEPCTL(10) = 0x00d08040
> DIEPCTL(11) = 0x00d00040
> DIEPCTL(12) = 0x00dc9810
> DIEPCTL(13) = 0x00d00040
> DIEPCTL(14) = 0x00d08040
> DIEPCTL(15) = 0x20dc9810
> DOEPCTL(0) = 0x00d00040
> DOEPCTL(1) = 0x00d08040
> DOEPCTL(2) = 0x00d00040
> DOEPCTL(3) = 0x00d00040
> DOEPCTL(4) = 0x00d08040
> DOEPCTL(5) = 0x00d00040
> DOEPCTL(6) = 0x00d00040
> DOEPCTL(7) = 0x00d00040
> DOEPCTL(8) = 0x00dc9810
> DOEPCTL(9) = 0x00d00040
> DOEPCTL(10) = 0x00d08040
> DOEPCTL(11) = 0x00d00040
> DOEPCTL(12) = 0x00dc9810
> DOEPCTL(13) = 0x00d00040
> DOEPCTL(14) = 0x00d08040
> DOEPCTL(15) = 0x20dc9810
> DIEPINT(0) = 0x00000080
> DIEPINT(1) = 0x00000000
> DIEPINT(2) = 0x00000000
> DIEPINT(3) = 0x00000000
> DIEPINT(4) = 0x00000000
> DIEPINT(5) = 0x00000000
> DIEPINT(6) = 0x00000000
> DIEPINT(7) = 0x00000000
> DIEPINT(8) = 0x00000002
> DIEPINT(9) = 0x00000000
> DIEPINT(10) = 0x00000000
> DIEPINT(11) = 0x00000000
> DIEPINT(12) = 0x00000000
> DIEPINT(13) = 0x00000000
> DIEPINT(14) = 0x00000000
> DIEPINT(15) = 0x00000000
> DOEPINT(0) = 0x00000000
> DOEPINT(1) = 0x00000000
> DOEPINT(2) = 0x00000000
> DOEPINT(3) = 0x00000000
> DOEPINT(4) = 0x00000000
> DOEPINT(5) = 0x00000000
> DOEPINT(6) = 0x00000000
> DOEPINT(7) = 0x00000000
> DOEPINT(8) = 0x00000002
> DOEPINT(9) = 0x00000000
> DOEPINT(10) = 0x00000000
> DOEPINT(11) = 0x00000000
> DOEPINT(12) = 0x00000000
> DOEPINT(13) = 0x00000000
> DOEPINT(14) = 0x00000000
> DOEPINT(15) = 0x00000000
> DIEPTSIZ(0) = 0x00000004
> DIEPTSIZ(1) = 0x8000003c
> DIEPTSIZ(2) = 0x00000000
> DIEPTSIZ(3) = 0x20000008
> DIEPTSIZ(4) = 0x8000003c
> DIEPTSIZ(5) = 0x00000000
> DIEPTSIZ(6) = 0x00000000
> DIEPTSIZ(7) = 0x20000008
> DIEPTSIZ(8) = 0x80080010
> DIEPTSIZ(9) = 0x20000008
> DIEPTSIZ(10) = 0x8000003c
> DIEPTSIZ(11) = 0x00000000
> DIEPTSIZ(12) = 0x80080010
> DIEPTSIZ(13) = 0x20000008
> DIEPTSIZ(14) = 0x80000040
> DIEPTSIZ(15) = 0x80080010
> DOEPTSIZ(0) = 0x00000004
> DOEPTSIZ(1) = 0x8000003c
> DOEPTSIZ(2) = 0x00000000
> DOEPTSIZ(3) = 0x20000008
> DOEPTSIZ(4) = 0x8000003c
> DOEPTSIZ(5) = 0x00000000
> DOEPTSIZ(6) = 0x00000000
> DOEPTSIZ(7) = 0x20000008
> DOEPTSIZ(8) = 0x80080010
> DOEPTSIZ(9) = 0x20000008
> DOEPTSIZ(10) = 0x8000003c
> DOEPTSIZ(11) = 0x00000000
> DOEPTSIZ(12) = 0x80080010
> DOEPTSIZ(13) = 0x20000008
> DOEPTSIZ(14) = 0x80000040
> DOEPTSIZ(15) = 0x80080010
> DIEPDMA(0) = 0x2e12b644
> DIEPDMA(1) = 0x2e12b644
> DIEPDMA(2) = 0x3ea8c000
> DIEPDMA(3) = 0x2e12b408
> DIEPDMA(4) = 0x2e12b644
> DIEPDMA(5) = 0x3ea8c000
> DIEPDMA(6) = 0x3ea8c000
> DIEPDMA(7) = 0x2e12b408
> DIEPDMA(8) = 0x3eb40c00
> DIEPDMA(9) = 0x2e12b408
> DIEPDMA(10) = 0x2e12b644
> DIEPDMA(11) = 0x3ea8c000
> DIEPDMA(12) = 0x3eb40c00
> DIEPDMA(13) = 0x2e12b408
> DIEPDMA(14) = 0x3ea8c000
> DIEPDMA(15) = 0x3eb40c00
> DOEPDMA(0) = 0x2e12b644
> DOEPDMA(1) = 0x2e12b644
> DOEPDMA(2) = 0x3ea8c000
> DOEPDMA(3) = 0x2e12b408
> DOEPDMA(4) = 0x2e12b644
> DOEPDMA(5) = 0x3ea8c000
> DOEPDMA(6) = 0x3ea8c000
> DOEPDMA(7) = 0x2e12b408
> DOEPDMA(8) = 0x3eb40c00
> DOEPDMA(9) = 0x2e12b408
> DOEPDMA(10) = 0x2e12b644
> DOEPDMA(11) = 0x3ea8c000
> DOEPDMA(12) = 0x3eb40c00
> DOEPDMA(13) = 0x2e12b408
> DOEPDMA(14) = 0x3ea8c000
> DOEPDMA(15) = 0x3eb40c00
> DTXFSTS(0) = 0x00000100
> DTXFSTS(1) = 0x00002000
> DTXFSTS(2) = 0x00002000
> DTXFSTS(3) = 0x00002000
> DTXFSTS(4) = 0x00002000
> DTXFSTS(5) = 0x00002000
> DTXFSTS(6) = 0x00002000
> DTXFSTS(7) = 0x00002000
> DTXFSTS(8) = 0x00002000
> DTXFSTS(9) = 0x00002000
> DTXFSTS(10) = 0x00002000
> DTXFSTS(11) = 0x00002000
> DTXFSTS(12) = 0x00002000
> DTXFSTS(13) = 0x00002000
> DTXFSTS(14) = 0x00002000
> DTXFSTS(15) = 0x00002000
> PCGCTL = 0x00000000
> HCFG = 0x00000200
> HFIR = 0x00011d4b
> HFNUM = 0x001609a5
> HPTXSTS = 0xe3100300
> HAINT = 0x00000000
> HAINTMSK = 0x00000000
> HFLBADDR = 0x00000000
> HPRT0 = 0x00001005
> HCCHAR(0) = 0x00d00040
> HCCHAR(1) = 0x00d08040
> HCCHAR(2) = 0x00d00040
> HCCHAR(3) = 0x00d00040
> HCCHAR(4) = 0x00d08040
> HCCHAR(5) = 0x00d00040
> HCCHAR(6) = 0x00d00040
> HCCHAR(7) = 0x00d00040
> HCCHAR(8) = 0x00dc9810
> HCCHAR(9) = 0x00d00040
> HCCHAR(10) = 0x00d08040
> HCCHAR(11) = 0x00d00040
> HCCHAR(12) = 0x00dc9810
> HCCHAR(13) = 0x00d00040
> HCCHAR(14) = 0x00d08040
> HCCHAR(15) = 0x20dc9810
> HCSPLT(0) = 0x00000000
> HCSPLT(1) = 0x00000000
> HCSPLT(2) = 0x00000000
> HCSPLT(3) = 0x00000000
> HCSPLT(4) = 0x00000000
> HCSPLT(5) = 0x00000000
> HCSPLT(6) = 0x00000000
> HCSPLT(7) = 0x00000000
> HCSPLT(8) = 0x00000000
> HCSPLT(9) = 0x00000000
> HCSPLT(10) = 0x00000000
> HCSPLT(11) = 0x00000000
> HCSPLT(12) = 0x00000000
> HCSPLT(13) = 0x00000000
> HCSPLT(14) = 0x00000000
> HCSPLT(15) = 0x00000000
> HCINT(0) = 0x00000000
> HCINT(1) = 0x00000000
> HCINT(2) = 0x00000000
> HCINT(3) = 0x00000000
> HCINT(4) = 0x00000000
> HCINT(5) = 0x00000000
> HCINT(6) = 0x00000000
> HCINT(7) = 0x00000000
> HCINT(8) = 0x00000002
> HCINT(9) = 0x00000000
> HCINT(10) = 0x00000000
> HCINT(11) = 0x00000000
> HCINT(12) = 0x00000000
> HCINT(13) = 0x00000000
> HCINT(14) = 0x00000000
> HCINT(15) = 0x00000000
> HCINTMSK(0) = 0x00000000
> HCINTMSK(1) = 0x00000000
> HCINTMSK(2) = 0x00000000
> HCINTMSK(3) = 0x00000000
> HCINTMSK(4) = 0x00000000
> HCINTMSK(5) = 0x00000000
> HCINTMSK(6) = 0x00000000
> HCINTMSK(7) = 0x00000000
> HCINTMSK(8) = 0x00000000
> HCINTMSK(9) = 0x00000000
> HCINTMSK(10) = 0x00000000
> HCINTMSK(11) = 0x00000000
> HCINTMSK(12) = 0x00000000
> HCINTMSK(13) = 0x00000000
> HCINTMSK(14) = 0x00000000
> HCINTMSK(15) = 0x00000000
> HCTSIZ(0) = 0x00000004
> HCTSIZ(1) = 0x8000003c
> HCTSIZ(2) = 0x00000000
> HCTSIZ(3) = 0x20000008
> HCTSIZ(4) = 0x8000003c
> HCTSIZ(5) = 0x00000000
> HCTSIZ(6) = 0x00000000
> HCTSIZ(7) = 0x20000008
> HCTSIZ(8) = 0x80080010
> HCTSIZ(9) = 0x20000008
> HCTSIZ(10) = 0x8000003c
> HCTSIZ(11) = 0x00000000
> HCTSIZ(12) = 0x80080010
> HCTSIZ(13) = 0x20000008
> HCTSIZ(14) = 0x80000040
> HCTSIZ(15) = 0x80080010
> HCDMA(0) = 0x2e12b644
> HCDMA(1) = 0x2e12b644
> HCDMA(2) = 0x3ea8c000
> HCDMA(3) = 0x2e12b408
> HCDMA(4) = 0x2e12b644
> HCDMA(5) = 0x3ea8c000
> HCDMA(6) = 0x3ea8c000
> HCDMA(7) = 0x2e12b408
> HCDMA(8) = 0x3eb40c00
> HCDMA(9) = 0x2e12b408
> HCDMA(10) = 0x2e12b644
> HCDMA(11) = 0x3ea8c000
> HCDMA(12) = 0x3eb40c00
> HCDMA(13) = 0x2e12b408
> HCDMA(14) = 0x3ea8c000
> HCDMA(15) = 0x3eb40c00
> HCDMAB(0) = 0x3eb40c00
> HCDMAB(1) = 0x3eb40c00
> HCDMAB(2) = 0x3eb40c00
> HCDMAB(3) = 0x3eb40c00
> HCDMAB(4) = 0x3eb40c00
> HCDMAB(5) = 0x3eb40c00
> HCDMAB(6) = 0x3eb40c00
> HCDMAB(7) = 0x3eb40c00
> HCDMAB(8) = 0x3eb40c00
> HCDMAB(9) = 0x3eb40c00
> HCDMAB(10) = 0x3eb40c00
> HCDMAB(11) = 0x3eb40c00
> HCDMAB(12) = 0x3eb40c00
> HCDMAB(13) = 0x3eb40c00
> HCDMAB(14) = 0x3eb40c00
> HCDMAB(15) = 0x3eb40c00
> 
> After:
> GOTGCTL = 0x002c0001
> GOTGINT = 0x00000000
> GAHBCFG = 0x00000027
> GUSBCFG = 0x21101710
> GRSTCTL = 0x80000000
> GINTSTS = 0x042000bb
> GINTMSK = 0xf300080e
> GRXSTSR = 0x2e21fa00
> GRXSTSP = 0x2e21fa00
> GRXFSIZ = 0x00000214
> GNPTXFSIZ = 0x01000214
> GNPTXSTS = 0x78080100
> GI2CCTL = 0x00000000
> GPVNDCTL = 0x00000000
> GGPIO = 0x00000000
> GUID = 0x12345678
> GSNPSID = 0x4f54293a
> GHWCFG1 = 0x00000000
> GHWCFG2 = 0x238ffc90
> GHWCFG3 = 0x1f8002e8
> GHWCFG4 = 0xfe0f0020
> GLPMCFG = 0x00000000
> GPWRDN = 0x00000000
> GDFIFOCFG = 0x06142000
> ADPCTL = 0x00000000
> HPTXFSIZ = 0x03000314
> DPTXFSIZN(1) = 0x03000314
> DPTXFSIZN(2) = 0x03000314
> DPTXFSIZN(3) = 0x03000314
> DPTXFSIZN(4) = 0x03000314
> DPTXFSIZN(5) = 0x03000314
> DPTXFSIZN(6) = 0x03000314
> DPTXFSIZN(7) = 0x03000314
> DPTXFSIZN(8) = 0x03000314
> DPTXFSIZN(9) = 0x03000314
> DPTXFSIZN(10) = 0x03000314
> DPTXFSIZN(11) = 0x03000314
> DPTXFSIZN(12) = 0x03000314
> DPTXFSIZN(13) = 0x03000314
> DPTXFSIZN(14) = 0x03000314
> DPTXFSIZN(15) = 0x03000314
> DCFG = 0x00000000
> DCTL = 0x00000000
> DSTS = 0x0007af02
> DIEPMSK = 0x00000036
> DOEPMSK = 0x00000006
> DAINT = 0x00002000
> DAINTMSK = 0x0000641b
> DTKNQR1 = 0x00000000
> DTKNQR2 = 0x00000000
> DTKNQR3 = 0x0c100020
> DTKNQR4 = 0x00000000
> DVBUSDIS = 0x00011d4b
> DVBUSPULSE = 0x000005b8
> DIEPCTL(0) = 0x81189200
> DIEPCTL(1) = 0x80d00040
> DIEPCTL(2) = 0x01189200
> DIEPCTL(3) = 0xc0d00040
> DIEPCTL(4) = 0xc0d00040
> DIEPCTL(5) = 0x01189200
> DIEPCTL(6) = 0x01189200
> DIEPCTL(7) = 0x00dc9810
> DIEPCTL(8) = 0x01189200
> DIEPCTL(9) = 0x01189200
> DIEPCTL(10) = 0xc0dc9810
> DIEPCTL(11) = 0x01189200
> DIEPCTL(12) = 0x01189200
> DIEPCTL(13) = 0xc09c8801
> DIEPCTL(14) = 0xc0d00040
> DIEPCTL(15) = 0x01189200
> DOEPCTL(0) = 0x81189200
> DOEPCTL(1) = 0x80d00040
> DOEPCTL(2) = 0x01189200
> DOEPCTL(3) = 0xc0d00040
> DOEPCTL(4) = 0xc0d00040
> DOEPCTL(5) = 0x01189200
> DOEPCTL(6) = 0x01189200
> DOEPCTL(7) = 0x00dc9810
> DOEPCTL(8) = 0x01189200
> DOEPCTL(9) = 0x01189200
> DOEPCTL(10) = 0xc0dc9810
> DOEPCTL(11) = 0x01189200
> DOEPCTL(12) = 0x01189200
> DOEPCTL(13) = 0xc09c8801
> DOEPCTL(14) = 0xc0d00040
> DOEPCTL(15) = 0x01189200
> DIEPINT(0) = 0x00000080
> DIEPINT(1) = 0x00000000
> DIEPINT(2) = 0x00000000
> DIEPINT(3) = 0x00000000
> DIEPINT(4) = 0x00000000
> DIEPINT(5) = 0x00000000
> DIEPINT(6) = 0x00000000
> DIEPINT(7) = 0x00000000
> DIEPINT(8) = 0x00000000
> DIEPINT(9) = 0x00000000
> DIEPINT(10) = 0x00000000
> DIEPINT(11) = 0x00000000
> DIEPINT(12) = 0x00000002
> DIEPINT(13) = 0x00000000
> DIEPINT(14) = 0x00000000
> DIEPINT(15) = 0x00000000
> DOEPINT(0) = 0x00000000
> DOEPINT(1) = 0x00000000
> DOEPINT(2) = 0x00000000
> DOEPINT(3) = 0x00000000
> DOEPINT(4) = 0x00000000
> DOEPINT(5) = 0x00000000
> DOEPINT(6) = 0x00000000
> DOEPINT(7) = 0x00000000
> DOEPINT(8) = 0x00000000
> DOEPINT(9) = 0x00000000
> DOEPINT(10) = 0x00000000
> DOEPINT(11) = 0x00000000
> DOEPINT(12) = 0x00000002
> DOEPINT(13) = 0x00000000
> DOEPINT(14) = 0x00000000
> DOEPINT(15) = 0x00000000
> DIEPTSIZ(0) = 0x00080200
> DIEPTSIZ(1) = 0x60080008
> DIEPTSIZ(2) = 0x00080200
> DIEPTSIZ(3) = 0x60080008
> DIEPTSIZ(4) = 0x60080008
> DIEPTSIZ(5) = 0x00080200
> DIEPTSIZ(6) = 0x00080200
> DIEPTSIZ(7) = 0x00080010
> DIEPTSIZ(8) = 0x00080200
> DIEPTSIZ(9) = 0x00080200
> DIEPTSIZ(10) = 0x00080010
> DIEPTSIZ(11) = 0x00080200
> DIEPTSIZ(12) = 0x00080200
> DIEPTSIZ(13) = 0x40080001
> DIEPTSIZ(14) = 0x60080008
> DIEPTSIZ(15) = 0x00080200
> DOEPTSIZ(0) = 0x00080200
> DOEPTSIZ(1) = 0x60080008
> DOEPTSIZ(2) = 0x00080200
> DOEPTSIZ(3) = 0x60080008
> DOEPTSIZ(4) = 0x60080008
> DOEPTSIZ(5) = 0x00080200
> DOEPTSIZ(6) = 0x00080200
> DOEPTSIZ(7) = 0x00080010
> DOEPTSIZ(8) = 0x00080200
> DOEPTSIZ(9) = 0x00080200
> DOEPTSIZ(10) = 0x00080010
> DOEPTSIZ(11) = 0x00080200
> DOEPTSIZ(12) = 0x00080200
> DOEPTSIZ(13) = 0x40080001
> DOEPTSIZ(14) = 0x60080008
> DOEPTSIZ(15) = 0x00080200
> DIEPDMA(0) = 0x2e21fa00
> DIEPDMA(1) = 0x3e34aec0
> DIEPDMA(2) = 0x2e21fa00
> DIEPDMA(3) = 0x2e15d480
> DIEPDMA(4) = 0x2e14f880
> DIEPDMA(5) = 0x2e21fa00
> DIEPDMA(6) = 0x2e21fa00
> DIEPDMA(7) = 0x3eb40c00
> DIEPDMA(8) = 0x2e21fa00
> DIEPDMA(9) = 0x2e21fa00
> DIEPDMA(10) = 0x3eb40c00
> DIEPDMA(11) = 0x2e21fa00
> DIEPDMA(12) = 0x2e21fa00
> DIEPDMA(13) = 0x3eb32c40
> DIEPDMA(14) = 0x2e03dcc0
> DIEPDMA(15) = 0x2e21fa00
> DOEPDMA(0) = 0x2e21fa00
> DOEPDMA(1) = 0x3e34aec0
> DOEPDMA(2) = 0x2e21fa00
> DOEPDMA(3) = 0x2e15d480
> DOEPDMA(4) = 0x2e14f880
> DOEPDMA(5) = 0x2e21fa00
> DOEPDMA(6) = 0x2e21fa00
> DOEPDMA(7) = 0x3eb40c00
> DOEPDMA(8) = 0x2e21fa00
> DOEPDMA(9) = 0x2e21fa00
> DOEPDMA(10) = 0x3eb40c00
> DOEPDMA(11) = 0x2e21fa00
> DOEPDMA(12) = 0x2e21fa00
> DOEPDMA(13) = 0x3eb32c40
> DOEPDMA(14) = 0x2e03dcc0
> DOEPDMA(15) = 0x2e21fa00
> DTXFSTS(0) = 0x00000100
> DTXFSTS(1) = 0x00002000
> DTXFSTS(2) = 0x00002000
> DTXFSTS(3) = 0x00002000
> DTXFSTS(4) = 0x00002000
> DTXFSTS(5) = 0x00002000
> DTXFSTS(6) = 0x00002000
> DTXFSTS(7) = 0x00002000
> DTXFSTS(8) = 0x00002000
> DTXFSTS(9) = 0x00002000
> DTXFSTS(10) = 0x00002000
> DTXFSTS(11) = 0x00002000
> DTXFSTS(12) = 0x00002000
> DTXFSTS(13) = 0x00002000
> DTXFSTS(14) = 0x00002000
> DTXFSTS(15) = 0x00002000
> PCGCTL = 0x00000000
> HCFG = 0x00000200
> HFIR = 0x00011d4b
> HFNUM = 0x07f307b2
> HPTXSTS = 0x33100300
> HAINT = 0x00000000
> HAINTMSK = 0x0000641b
> HFLBADDR = 0x00000000
> HPRT0 = 0x00001005
> HCCHAR(0) = 0x81189200
> HCCHAR(1) = 0x80d00040
> HCCHAR(2) = 0x01189200
> HCCHAR(3) = 0xc0d00040
> HCCHAR(4) = 0xc0d00040
> HCCHAR(5) = 0x01189200
> HCCHAR(6) = 0x01189200
> HCCHAR(7) = 0x00dc9810
> HCCHAR(8) = 0x01189200
> HCCHAR(9) = 0x01189200
> HCCHAR(10) = 0xc0dc9810
> HCCHAR(11) = 0x01189200
> HCCHAR(12) = 0x01189200
> HCCHAR(13) = 0xc09c8801
> HCCHAR(14) = 0xc0d00040
> HCCHAR(15) = 0x01189200
> HCSPLT(0) = 0x00000000
> HCSPLT(1) = 0x00000000
> HCSPLT(2) = 0x00000000
> HCSPLT(3) = 0x00000000
> HCSPLT(4) = 0x00000000
> HCSPLT(5) = 0x00000000
> HCSPLT(6) = 0x00000000
> HCSPLT(7) = 0x00000000
> HCSPLT(8) = 0x00000000
> HCSPLT(9) = 0x00000000
> HCSPLT(10) = 0x00000000
> HCSPLT(11) = 0x00000000
> HCSPLT(12) = 0x00000000
> HCSPLT(13) = 0x00000000
> HCSPLT(14) = 0x00000000
> HCSPLT(15) = 0x00000000
> HCINT(0) = 0x00000000
> HCINT(1) = 0x00000000
> HCINT(2) = 0x00000000
> HCINT(3) = 0x00000000
> HCINT(4) = 0x00000000
> HCINT(5) = 0x00000000
> HCINT(6) = 0x00000000
> HCINT(7) = 0x00000000
> HCINT(8) = 0x00000000
> HCINT(9) = 0x00000000
> HCINT(10) = 0x00000000
> HCINT(11) = 0x00000000
> HCINT(12) = 0x00000002
> HCINT(13) = 0x00000000
> HCINT(14) = 0x00000000
> HCINT(15) = 0x00000000
> HCINTMSK(0) = 0x00000436
> HCINTMSK(1) = 0x00000006
> HCINTMSK(2) = 0x00000000
> HCINTMSK(3) = 0x00000002
> HCINTMSK(4) = 0x00000002
> HCINTMSK(5) = 0x00000000
> HCINTMSK(6) = 0x00000000
> HCINTMSK(7) = 0x00000000
> HCINTMSK(8) = 0x00000000
> HCINTMSK(9) = 0x00000000
> HCINTMSK(10) = 0x00000006
> HCINTMSK(11) = 0x00000000
> HCINTMSK(12) = 0x00000000
> HCINTMSK(13) = 0x00000006
> HCINTMSK(14) = 0x00000002
> HCINTMSK(15) = 0x00000000
> HCTSIZ(0) = 0x00080200
> HCTSIZ(1) = 0x60080008
> HCTSIZ(2) = 0x00080200
> HCTSIZ(3) = 0x60080008
> HCTSIZ(4) = 0x60080008
> HCTSIZ(5) = 0x00080200
> HCTSIZ(6) = 0x00080200
> HCTSIZ(7) = 0x00080010
> HCTSIZ(8) = 0x00080200
> HCTSIZ(9) = 0x00080200
> HCTSIZ(10) = 0x00080010
> HCTSIZ(11) = 0x00080200
> HCTSIZ(12) = 0x00080200
> HCTSIZ(13) = 0x40080001
> HCTSIZ(14) = 0x60080008
> HCTSIZ(15) = 0x00080200
> HCDMA(0) = 0x2e21fa00
> HCDMA(1) = 0x3e34aec0
> HCDMA(2) = 0x2e21fa00
> HCDMA(3) = 0x2e15d480
> HCDMA(4) = 0x2e14f880
> HCDMA(5) = 0x2e21fa00
> HCDMA(6) = 0x2e21fa00
> HCDMA(7) = 0x3eb40c00
> HCDMA(8) = 0x2e21fa00
> HCDMA(9) = 0x2e21fa00
> HCDMA(10) = 0x3eb40c00
> HCDMA(11) = 0x2e21fa00
> HCDMA(12) = 0x2e21fa00
> HCDMA(13) = 0x3eb32c40
> HCDMA(14) = 0x2e03dcc0
> HCDMA(15) = 0x2e21fa00
> HCDMAB(0) = 0x2e21fa00
> HCDMAB(1) = 0x2e21fa00
> HCDMAB(2) = 0x2e21fa00
> HCDMAB(3) = 0x2e21fa00
> HCDMAB(4) = 0x2e21fa00
> HCDMAB(5) = 0x2e21fa00
> HCDMAB(6) = 0x2e21fa00
> HCDMAB(7) = 0x2e21fa00
> HCDMAB(8) = 0x2e21fa00
> HCDMAB(9) = 0x2e21fa00
> HCDMAB(10) = 0x2e21fa00
> HCDMAB(11) = 0x2e21fa00
> HCDMAB(12) = 0x2e21fa00
> HCDMAB(13) = 0x2e21fa00
> HCDMAB(14) = 0x2e21fa00
> HCDMAB(15) = 0x2e21fa00
> 
> Regards,
> Anders Montonen
> 

Hi Anders,

Could you please apply this patch.
If you confirm that this patch fix your issue with "Transaction Error" 
and " ChHltd set, but reason is unknown" I'll submit to LKML as final patch.

diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c index 
f4ef159b538e..7da22152df68 100644
--- a/drivers/usb/dwc2/hcd.c
+++ b/drivers/usb/dwc2/hcd.c
@@ -331,6 +331,9 @@ static void dwc2_gusbcfg_init(struct dwc2_hsotg *hsotg)
         usbcfg = dwc2_readl(hsotg->regs + GUSBCFG);
         usbcfg &= ~(GUSBCFG_HNPCAP | GUSBCFG_SRPCAP);

+       /* Set HS/FS Timeout Calibration */
+       usbcfg |= GUSBCFG_TOUTCAL(7);
+
         switch (hsotg->hw_params.op_mode) {
         case GHWCFG2_OP_MODE_HNP_SRP_CAPABLE:
                 if (hsotg->params.otg_cap ==


Thanks,
Minas


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux