Some HID devcie on one computer


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2006
    Posts
    14

    Default Some HID devcie on one computer

    Hi all

    I have a HID device that I built, and I want to connect some units to a single computer,

    How can I access them?
    I want them all with the same PID & VID; by different PID is not the answer,
    If I give them all the same PID & VID, I can use them all until I reset one of them, then when I try to find him, I poll the other and the system cruse.

    Do you have any idea?

    Thanks a lot
    Shamir

  2. #2
    Join Date
    Jan 2007
    Posts
    70

    Default tough one...

    so currently the computer crashes if you try to access the devices with more than one attached at the same time?


    are you using easyHID?

    while i can only wish i could help you, this is interesting to me. please report back with your findings!

    robert

  3. #3
    Join Date
    May 2006
    Posts
    14

    Default

    The solution is to use the serial number string in the usb descriptor.

    Shamir

    PS.
    I want to update my serial number, PID , VID from the data stored in the EEPROM , is it possible ?
    I tried to do that with out success; If I change the RETLW (XX) command in the descriptor to JMP / goto ... the program does RETLW with the value of the right command,

    I mean:
    I write MOVLW $55 ==> 0000 1110 0101 0101
    (the 8 high bits are the command and the the low are the number 55)

    And when I read the serial number I get $55 like the PIC ignore the command and use the RETLW command with the value 55

    Dose anyone tryed it ?

  4. #4
    Join Date
    Jan 2007
    Posts
    70

    Default

    hey!

    thak you for coming back and posting the solution you found! that makes perfect sense.. that serial number all the literature is optional.. perhaps it should have said it is optional unless you want multiple devices to use the same drivers!

    have you cleared your old HID drivers out of your registry on the PC? i recall that this can make changes in firmware not appear, because the computer docent bother to ask if anything changed when it sees a vendor and product ID it knows.

    Robert

  5. #5
    Join Date
    May 2006
    Posts
    14

    Default

    No, I just add the serial number, load the program to the pic and use
    HidD_GetSerialNumberString(DeviceProperties.HIDhan dle, SerNum(0), 128) function to get the serian string

Similar Threads

  1. USB hid maker help please.
    By BobEdge in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 3rd April 2013, 14:49
  2. i cant get 18f2550 work as HID
    By Ahmadabuomar in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 13th October 2009, 16:39
  3. Hid Maker FS Problems
    By BobEdge in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 24th April 2009, 21:27
  4. Error 0X0000008E when connecting a 18F2550 USB HID
    By FranciscoMartin in forum USB
    Replies: 8
    Last Post: - 16th October 2008, 17:20
  5. Computer crash and PBP V2.45
    By Christopher4187 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 24th January 2008, 20:57

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