Hi
A question regarding J-Link driver enumeration in Windows machines, when ignoring serial numbers.
We are using J-Link OB adapters (SAM3U2CA, option with CDC uart) in our development boards, and in production testing we have the situation of several of these adapters being connected at the same time.
The automated test utility reads the device IDs and COM ports of each adapter from the windows registry, they enumerate as composite devices (VID_1366&PID_0105) with the S/N respectively and the J-Link driver as (VID_1366&PID_0105&MI_02). The test utility correctly autodetects everything, no problems so far.
Due to external tool constraints, we had to force windows to ignore the hardware serial numbers when enumerating devices (IgnoreHWSerNum flag). As a result, the composite device does not enumerate with its S/N anymore (as expected), but as a usbcgp with a device ID of this type: VID_1366&PID_0105\7&BE65B57&0&3. There is then no way of distinguishing between the adapters (s/N) and their respective COM ports.
The J-Link commander and J-Link configurator are able to detect all serial numbers correctly.
Since we still need to be able to autodetect both COM ports and serial numbers, is there any way to retrieve the serial numbers of the connected emulators from the registry (or some call to the JlinkARM.dll) ?
Thanks
A question regarding J-Link driver enumeration in Windows machines, when ignoring serial numbers.
We are using J-Link OB adapters (SAM3U2CA, option with CDC uart) in our development boards, and in production testing we have the situation of several of these adapters being connected at the same time.
The automated test utility reads the device IDs and COM ports of each adapter from the windows registry, they enumerate as composite devices (VID_1366&PID_0105) with the S/N respectively and the J-Link driver as (VID_1366&PID_0105&MI_02). The test utility correctly autodetects everything, no problems so far.
Due to external tool constraints, we had to force windows to ignore the hardware serial numbers when enumerating devices (IgnoreHWSerNum flag). As a result, the composite device does not enumerate with its S/N anymore (as expected), but as a usbcgp with a device ID of this type: VID_1366&PID_0105\7&BE65B57&0&3. There is then no way of distinguishing between the adapters (s/N) and their respective COM ports.
The J-Link commander and J-Link configurator are able to detect all serial numbers correctly.
Since we still need to be able to autodetect both COM ports and serial numbers, is there any way to retrieve the serial numbers of the connected emulators from the registry (or some call to the JlinkARM.dll) ?
Thanks