Tool/software: Code Composer Studio
Having plugged a single XDS100v2 into a Unbuntu computer running CCS 10.0, created a target configuration file for a XDS100v2 with the default of "Only one XDS100 installed". When went to start a debug session got the following error:
The controller has detected a cable break far-from itself. The user must connect the cable/pod to the target.
After being unable to find any problem with the connection between the XDS100v2 and the target, realised that xds100serial was reporting two emulators found:
$ /home/mr_halfword/ti/ccs1000/ccs/ccs_base/common/uscif/xds100serial Scanning for XDS100 emulators... VID/PID Type Serial # Description 0403/6010 generic FT2232 FTVIZUNN FT2232H device 0403/a6d0 XDS100v1/v2 TIVIRUHI Texas Instruments Inc.XDS100 Ver 2.
The first "emulator" is actually a FT2232H USB to Dual Serial RS232 Converter, rather than an emulator. Having seen the above changed the target configuration to specify "Select by serial number" and entered the serial number of the actual XDS100v2 emulator, and was then able to start a debug session.
If the target configuration is "Only one XDS100 installed" but CCS detects more than one (potential) emulator could CCS provide a suitable warning, rather than just trying to use the first "emulator" detected, to alert the user?