This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1233E6PM: HID Descriptor results in ERROR_INVALID_PARAMETER

Part Number: TM4C1233E6PM

I recently encountered an error while using USBTreeView, which states "Error reading descriptor : ERROR_INVALID_PARAMTER (due to a obscure limitation of the Win32 USB API)" in the HID descriptor. The application is currently utilizing the driverlib 2.2.0.295. Despite my efforts, I haven't been able to find a solution to this issue.

Could you please provide insights into what might be causing this problem?

  • HI,

     Did you try one of the stock HID examples in TivaWare SDK? Are you getting the same error? Did you create a custom descriptor on your own?

  • I understood, this is the limitation due to the USBTreeView tool. The information is mentioned in the UsbTreeView.txt file about HID descriptors. 

    UsbTreeView.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    UsbTreeView V3.8.2 - Shows the USB Device Tree
    Freeware by Uwe Sieber - www.uwe-sieber.de
    Works under Windows 2000, XP, Windows 7, 8, 10, 11 and Server 2000 to 2022
    Usage:
    Without parameters it starts with a GUI.
    Params:
    UsbTreeView [/R=filename] [/X=filename] [/O=filename] [/L[n]=logfile]
    /R=filename write (silently) a text report to filename
    /X=filename write (silently) an XML report to filename
    /O=filename open an XML report from filename
    /L[n]=logfile write a logfile for debugging, helpful in case of crash or hang (causes slowdown);
    n is the optional loglevel, 0..5, default is 3; sample: /L4=C:\temp\UsbTreeView.log
    UsbTreeView is based upon the USBView sample from the Microsoft Windows Driver Kit for Windows Server 2003.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX