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.

Debugging multiple RM42 devices with CCS6

Other Parts Discussed in Thread: LAUNCHXL-RM42

Hi!

This is my first post to this forum, so please excuse any mistakes.

Facts first:

  • 2x Hercules RM42x Launchpads (LAUNCHXL-RM42)
  • CCS Free Edition - Version: 6.0.0.00190
  • Both boards are connected via USB

My goal

Having both launch pads connected during a debug session. The RM42 are connected to each other via SPI.

What I achieved so far

Debugging a single board works as expected.

I created 2 configurations: Debug_0 and Debug_1
Both are the same, except the first one defines a constant in the Predefined Symbols dialog.

I compile the code with both configurations (since each device should get a different flavor - eg SPI configs - of the code depending on the constant).

I modified the target configuration to include both boards (identified by serial number)

I modified the debug configuration to program each device with the respective code generated by the configurations above.

Starting the debug session both devices are programmed correctly and the code is halted at the main() function.
Both devices can be halted and resumed independently.

The problem

Not a single breakpoint within the code is obeyed, if I debug both devices at once.

What do I have to do to get this working?

Thanks for your help!

~Markus

  • Okay, I got one step further.

    The breakpoints do work, if they are set while the target is suspended.

    I can live with that for the meantime. Still the IDE should not allow to set breakpoints that are never transferred to the target.