From: Jean-Christophe PLAGNIOL-VILLARD Date: Mon, 28 Feb 2011 19:40:44 +0000 (+0100) Subject: jlink: add new PID and VID X-Git-Tag: v0.5.0-rc1~159 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2ed3f5554768791d29e017825a8866677ed4a533;p=openocd jlink: add new PID and VID The default pid of the segger is 0x0101 But when you change the USB Address it will also pid = ( usb_address > 0x4) ? 0x0101 : (0x101 + usb_address) Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- diff --git a/src/jtag/drivers/jlink.c b/src/jtag/drivers/jlink.c index bc5448d5..f1b97115 100644 --- a/src/jtag/drivers/jlink.c +++ b/src/jtag/drivers/jlink.c @@ -37,8 +37,14 @@ http://www.segger.com/cms/admin/uploads/productDocs/RM08001_JLinkUSBProtocol.pdf */ -#define VID 0x1366 -#define PID 0x0101 +/* + * The default pid of the segger is 0x0101 + * But when you change the USB Address it will also + * + * pid = ( usb_address > 0x4) ? 0x0101 : (0x101 + usb_address) + */ +#define VID 0x1366, 0x1366, 0x1366, 0x1366 +#define PID 0x0101, 0x0102, 0x0103, 0x0104 #define JLINK_WRITE_ENDPOINT 0x02 #define JLINK_READ_ENDPOINT 0x81