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.

CCS/MSP430FR5989-EP: How do I select which target gets flashed/debugged by CCS, when I have more than one target connected.

Part Number: MSP430FR5989-EP

Tool/software: Code Composer Studio

I have two MSP430 evaluation boards connected to my Windows system (each through a different USB switch, else Windows will only see one, but that's a different issue!).
The two boards talk to each other over SPI, so I need them both online and working.
If I flash or debug my software, CCS picks the USB debug port with the lowest number.
Is there a way to somewhere specify which USB debug port CCS should use?
I checked the debug configuration: under Target there is a 'Device' drop down box, but it's grayed out.
Any ideas?

  • Hello Paul,

    Paul Claessen said:
    Is there a way to somewhere specify which USB debug port CCS should use?
    I checked the debug configuration: under Target there is a 'Device' drop down box, but it's grayed out.
    Any ideas?

    It is possible, but it is a bit of a pain to deal with. 

    You can have up to three MSP430 plugged into your PC. To differentiate them in your target configuration (ccxml) file, choose correct corresponding "TI MSP430 USBx" Connection type:

    Now the annoying thing is trying to figure out which MSP430 corresponds to which USB number. It is a bit arbitrary but basically the first MSP430 plugged in will be "TI MSP430 USB1", the second will be "TI MSP430 USB2", and so on. We have some ideas to make this a bit more user friendly but haven't implemented them as of yet.

    Thanks

    ki


  • Thanks, that does indeed do it ... indeed not the most user friendly way ... but it will do! ;-)