Re: xhci data toggle out of sync
- Reply: Hans Petter Selasky : "Re: xhci data toggle out of sync"
- In reply to: Mahesh Vardhamanaiah : "RE: xhci data toggle out of sync"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Apr 2022 12:51:12 UTC
Hi Mahesh,
On 4/19/22 14:18, Mahesh Vardhamanaiah wrote:
> Hi HPS,
> I think there is some confusion the error I am printing is in HEX value so the decimal error code is
>
> USB_ERR_IOERROR, /* 18 */
>
Good catch.
That IOERROR is hiding a hardware error code, maybe you could also print
that:
> if (XHCI_TRB_2_ERROR_GET(temp) != XHCI_TRB_ERROR_SUCCESS)
> err = USB_ERR_IOERROR;
Add:
printf("XHCI_TRB_2_ERROR_GET(temp) = %d\n", XHCI_TRB_2_ERROR_GET(temp));
Like this:
> if (XHCI_TRB_2_ERROR_GET(temp) != XHCI_TRB_ERROR_SUCCESS) {
> printf("XHCI_TRB_2_ERROR_GET(temp) = %d\n",
XHCI_TRB_2_ERROR_GET(temp));
> err = USB_ERR_IOERROR;
> }
--HPS