This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

InstaSPIN_F2806xM_Universal GUI and DRV8312-69M-KIT - Running multiple hardware setup at the same time.

Other Parts Discussed in Thread: DRV8312, CCSTUDIO

Hi

I am looking for some support regarding InstaSPIN_F2806xM_UNIVERSAL (guicomposer).

I can run InstaSPIN_F2806xM_UNIVERSAL with my DRV8312-69M-KIT without any issues on a single hardware setup.  I know that during initialization its connects to the target hardware and flashes the ControlCARD.  I have no problem doing these things on single setup.

I would like to be able to run InstaSPIN_F2806xM_Universal on multiple DRV8312-69M-KIT at the same time.  Is there a way to tell the  InstaSPIN_F2806xM_Universal software during Target initialization to use a specific COM PORT for communication?

I am using a powered USB Hub with 2 x DRV8312-69M-KIT) in my setup.  Both DRV8312 (ControlCard 069) get turned on (power) at the same time.  The PC detects the COM Port on the computer.  The issue is that the InstaSPIN_F2806xM_Universal GUI does not know which device to initialize.

Below is the error I get during initialization.

Restarting Program Model...
Initializing target : C:\ti\guicomposer\eclipse\workspace\.metadata\.plugins\com.ti.binding.program\appConfig.ccxml
Connecting target: Texas Instruments XDS100v2 USB Debug Probe/C28xx
sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Error connecting to the target: emulation failure occurred (<Unknown source>#14) in <Unknown source> at line number 14Restart Completed.

Is there anyway to tell the Universal GUI software which debug com port to use for initialization?

A quick response is highly appreciated.

Thanks in advance.

  • Omid Namazifard said:

    Below is the error I get during initialization.

    Restarting Program Model...
    Initializing target : C:\ti\guicomposer\eclipse\workspace\.metadata\.plugins\com.ti.binding.program\appConfig.ccxml
    Connecting target: Texas Instruments XDS100v2 USB Debug Probe/C28xx
    sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Error connecting to the target: emulation failure occurred (<Unknown source>#14) in <Unknown source> at line number 14Restart Completed.

    Based on the error it seems that the GUI is having trouble identifying which target device to connect to via JTAG. I am not very familiar with the GUI but it seems that the target connection and program download happens through JTAG (XDS100v2 USB Debug probe).

    Although I have not tried this myself, a suggestion would be to create a custom target configuration file that identifies the specific XDS100v2 to connect to (via serial number) and then over-write this config file into the InstaSPIN_F2806xM_UNIVERSAL webapps folder.

    The procedure for creating a target configuration file with a serial number specified for the XDS100v2 emulator is explained in this wiki section:

    http://processors.wiki.ti.com/index.php/Multi-Emulator_Debug_with_CCS#XDS100

    This forum post talks about how you can copy over the .ccxml target configuration file to the \webapps\APPNAME folder within the GUI to over-ride its default settings: https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/480986


    Hope this helps with your question.