Microchip CDC Firmware with My OWN VID/PID ?


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2007
    Posts
    15

    Question Microchip CDC Firmware with My OWN VID/PID ?

    can we use Microchip CDC firmware and change the VID/PID to another one ?
    or change the device name ?

    Thanks

  2. #2
    msalcher's Avatar
    msalcher Guest


    Did you find this post helpful? Yes | No

    Default

    You can change the devicename in the following file, find the String Definitions and change it as you need it.

    ..\fw\cdc\inf\win2k_winxp\mchpcdc.inf

    ;------------------------------------------------------------------------------
    ; String Definitions
    ;------------------------------------------------------------------------------

    [Strings]
    MCHP="Microchip Technology Inc."
    MFGNAME="Microchip Technology Inc."
    DESCRIPTION="Communications Port"
    SERVICE="USB RS-232 Emulation Driver"




    If you want to change the VID/PID you have to change it in two files, in the mchpcdc.inf file for windows and in the usbdsc.c file for the pic. The VID and the PID must match in both files.

    File:
    ..\fw\cdc\inf\win2k_winxp\mchpcdc.inf

    [DeviceList]
    %DESCRIPTION%=DriverInstall, USB\VID_04D8&PID_000A

    and in this File:

    ..\fw\cdc\autofiles\usbdsc.c
    (VID = Vendor ID and PID = Product ID)


    /* Device Descriptor */
    rom USB_DEV_DSC device_dsc=
    {
    sizeof(USB_DEV_DSC), // Size of this descriptor in bytes
    DSC_DEV, // DEVICE descriptor type
    0x0200, // USB Spec Release Number in BCD format
    CDC_DEVICE, // Class Code
    0x00, // Subclass code
    0x00, // Protocol code
    EP0_BUFF_SIZE, // Max packet size for EP0, see usbcfg.h
    0x04D8, // Vendor ID
    0x000A, // Product ID: CDC RS-232 Emulation Demo
    0x0000, // Device release number in BCD format
    0x01, // Manufacturer string index
    0x02, // Product string index
    0x00, // Device serial number string index
    0x01 // Number of possible configurations
    };

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 13:43
  2. Microchip Code Issues
    By Destovi in forum General
    Replies: 4
    Last Post: - 20th March 2008, 13:32
  3. PBP is no longer a stranger to Microchip
    By MarioC in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 12th March 2008, 22:59
  4. CDC and Hardware Handshaking
    By Squibcakes in forum USB
    Replies: 1
    Last Post: - 9th November 2007, 05:08
  5. Pic to Pic Firmware upgrade
    By rjones2102 in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 13th October 2007, 00:06

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts