Ports and Interfaces > USB

cant remove a report.

<< < (2/3) > >>

Jan Axelson:
Yes, check the analyzer logs.

ulao:
Again a bit confused I get this.


//////this was the last good trasfer///
  URB Control Transfer Ex succeeded
Device Object   USBPDO-21
Driver Object   usbhub

URB Function   URB_FUNCTION_CONTROL_TRANSFER_EX
URB Status   USBD_STATUS_SUCCESS

Endpoint 0   Default Control

Request Type   Class request from Other Target
Request   00h
Value   0000h
Index   0001h
Length   0004h
/////////////////////


////then this error//////

  URB Abort Pipe issued
Device Object   USBPDO-16
Driver Object   usbhub

URB Function   URB_FUNCTION_ABORT_PIPE

Endpoint 81h   1 In, Interrupt



  URB Abort Pipe failed
Device Object   USBPDO-16
Driver Object   usbhub

URB Function   URB_FUNCTION_ABORT_PIPE
URB Status   USBD_STATUS_INVALID_PARAMETER

Endpoint 81h   1 In, Interrupt

//////////////////////////

Jan Axelson:
Go back to working code and try again.

After removing something, be sure all length values in the report descriptor are correct.

Be sure to uninstall before changing firmware. 

There is no HID-class request 00h. I don't know what "Other Target" means.

ulao:
yeah I can put the working code in and it runs fine but every time I try to remove one of these needed reports it does this. MY report is calculated with a built in size of command.  I do always uninstall first.

Strange though I think my size is wrong.
05C0h 1472 bytes  with it removed.
0503h 1283 bytes  with it present.
seems backwards.



 I agree  "other" does not tell us much.  I see it always calls it other target? The errors looks to be INVALID_PARAMETER but not sure what it is referring to. Strangely after the error I get more control transfers from this "other target".

re-ran the log and here is the last control transfer (Ex) I get
  URB Control Transfer Ex succeeded
Device Object   USBPDO-16
Driver Object   usbhub

URB Function   URB_FUNCTION_CONTROL_TRANSFER_EX
URB Status   USBD_STATUS_SUCCESS

Endpoint 0   Default Control

Request Type   Class request from Other Target
Request   00h
Value   0000h
Index   0001h
Length   0004h



then after that I get this error

  URB Abort Pipe issued
Device Object   USBPDO-17
Driver Object   usbhub

URB Function   URB_FUNCTION_ABORT_PIPE

Endpoint 81h   1 In, Interrupt


  URB Abort Pipe failed
Device Object   USBPDO-17
Driver Object   usbhub

URB Function   URB_FUNCTION_ABORT_PIPE
URB Status   USBD_STATUS_INVALID_PARAMETER

Endpoint 81h   1 In, Interrupt

ulao:
I can really capture the log but here is the over view. Not sure the yellow is ralated or not?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version