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.

Can I debug two different target boards using one project?

Guru 15580 points


I have two identical target boards that use the same code and communicate with each other via a wireless link. I would like to debug both boards with two different emulators and two simultaneous instances of CCSV5.5, Both of CCS instances use the SAME project files in the same workspace (so that if I edit code, both targets get the updated code). Is this possible?  

  • Hi Mike,

    MikeH said:
    I would like to debug both boards with two different emulators and two simultaneous instances of CCSV5.5,

    Is there any particular reason why you want two simultaneous instances of CCS? You can have one instance and debug session that gives you debug access to both boards. Would that not be easier?

    Thanks

    ki

  • You can have one instance and debug session that gives you debug access to both boards.

    Really?? I did not know that. I will give it a try and let you know if I run into trouble.

    Thanks for the pointer!


  • Ki-Soo,

    Ok. First problem.

    Perhaps I am doing something wrong?

    Or perhaps I did not explain what I am trying to do.

    I need TWO SIMULTANEOUS debug sessions on two separate, but identical boards, USING TWO DIFFERENT EMULATORS (XDS560 and XDS100v2). The debug sessions need to access the same workspace so that code changes in one debug session are propagated into the other board/debug session.

    Is this possible? If so, can you give me some tips on how to accomplish this?

  • Aha!! Multi-Emulator Debug! Got it!

    Wow. So much easier!

    Thanks!

  • Ki-Soo,

    You have saved me HOURS of debug time!

    FYI, here's a debug session using ONE instance of CCSV5 with 3 emulators all running concurrently! Each emulator is running on a different (custom) board using the identical code base in my CCS project. Every time I make a code change it is automatically propagated to all 3 boards. I can now watch packets transmitted from board 1 to board 2, then from board 2 to board 3.

    Very cool!

  • Excellent. Nice to see you have such a multi-emulator setup working smoothly.

    For those who are interested, here is the wiki link Mike alluded to:

    http://processors.wiki.ti.com/index.php/Multi-Emulator_Debug_with_CCSv5

    A lot of TBDs in there, I hope to fill in some more content soon.

    ki