Menu

#67 VID/PID for usbconn cables are parsed as decimal

0.10
closed-fixed
UrJTAG (101)
5
2008-05-13
2008-05-12
No

Reported by Steve Franks

jtag> cable jlink vid=1366 pid=0101
Couldn't connect to suitable USB device.
Error: Cable connection failed!

jtag> cable jlink
J-Link initial read failed, don't worry (result=-110)
Vref = 0.0 TCK=1 TDI=1 TDO=1 TMS=1 TRES=1 TRST

Discussion

  • Kolja Waschk

    Kolja Waschk - 2008-05-12

    Logged In: YES
    user_id=478715
    Originator: YES

    Hm, the vid/pid is currently only parsed in decimal. Shall we make hex the default? Or require "0x" prefix for hex PID/VID?

    jtag> cable jlink vid=4966 pid=257
    J-Link initial read failed, don't worry (result=-110)
    Vref = 0.0 TCK=1 TDI=1 TDO=1 TMS=1 TRES=1 TRST=1

     
  • Kolja Waschk

    Kolja Waschk - 2008-05-12
    • summary: J-Link driver doesn't connect with explicit VID/PID spec --> VID/PID for usbconn cables are parsed as decimal
     
  • Kolja Waschk

    Kolja Waschk - 2008-05-12

    Logged In: YES
    user_id=478715
    Originator: YES

    Changed title of the bug because the actual problem is the parsing of the vid/pid as decimal. I think we should rather allow hex only.

     
  • Kolja Waschk

    Kolja Waschk - 2008-05-13

    Logged In: YES
    user_id=478715
    Originator: YES

    Now the argument X to vid=X or pid=X is interpreted as hexadecimal, with optional "0x" prefix.

     
  • Kolja Waschk

    Kolja Waschk - 2008-05-13
    • status: open --> closed-fixed
     
  • Kolja Waschk

    Kolja Waschk - 2008-05-13

    Logged In: YES
    user_id=478715
    Originator: YES

    (in revision 1229)

     
  • Kolja Waschk

    Kolja Waschk - 2017-02-12
    • Group: 0.x --> 0.10
     

Log in to post a comment.