This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

version change of usb component in keil

Hi all,
I need to get version id and product id of usb connected.

i found that for USB Component version 6.10.0 , the library itself is providing following functions to read usb details

1. uint16_t USBH_Device_GetVID (uint8_t device);
2. uint16_t USBH_Device_GetPID (uint8_t device);

but for component version 6.6 and below, there is no library functions to get version id and product id of usb.

Is there any way to get those details. i am using USB Component version 6.5 and keil mdk version 516a. I dont want to move to latest version.

Parents
  • Hi Cvjetkovic,

    I am adding some more points.

    I tried USBH_DeviceRequest_GetDescriptor function and the return status was sucess.

    But for pid and vid what should be the descriptor_length. i have given descriptor_length = 50, and got many fileds filled.

    I don't know which will be the pid and vid fields.

    can you please help me in this.

Reply
  • Hi Cvjetkovic,

    I am adding some more points.

    I tried USBH_DeviceRequest_GetDescriptor function and the return status was sucess.

    But for pid and vid what should be the descriptor_length. i have given descriptor_length = 50, and got many fileds filled.

    I don't know which will be the pid and vid fields.

    can you please help me in this.

Children