3 Replies Latest reply on Apr 15, 2016 6:59 AM by user_347933176

    VID and PID for PSOC5

    user_477016028

      Hi,

         

      I am using the PSoC5 Pioneer Kit USB as USBUART and for development purposes, I still used the Cypress VID. 

         

      I wanted to be able to get the PSoC5 VID and PID using a command protocol sent from the PC Terminal such that if the pioneer kit received "?UVID" command from the hyperterminal, the pioneer kit will display, "Vendor ID = 04b4" and I wouldn't want to manually code the vendor ID .

         

      char8* reply_str;

         

      reply_str = "Vendor ID = 04b4";

         

      while ( USBUART_CDCIsReady() == 0u ); 
      USBUART_PutString(reply_str );

         

      Although this code excerpt would work just the same, I am looking for a dynamic way to read out the Vendor ID and Product ID. There was no GetVendorID() or GetProductID() from the list of the USB API. 

         

      We will be changing the VID and the PID on the final release for the production in the future which explains basically why I am after the dynamic acquisition of both the VID and the PID. It would be great if someone could help me out.

         

       

         

      Thanks

         

      K