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.

TMS320F28379D: How to automatically run a program on CPU2, when debugging on CPU1

Part Number: TMS320F28379D


Is there a way to automatically run a project on CPU2, when I start debug on CPU1?

I figured out how to load the CPU2 project automatically when the CPU1 project is loaded.  However, CPU2 halts at main(), same as normal debug.  I see in Debug settings the options for Auto Run, Run to symbol main.  However, I would like it to run, and not stop at main.

I've experimented with it a bit, but no success so far.  

For example, I've disabled Autorun to main.  CPU2 just halts at CodeStartBranch instead.  I tried Device_bootCPU2(C1C2_BROM_BOOTMODE_BOOT_FROM_RAM);, and it doesn't get CPU2 going.  (and CPU1 remains in a loop in the Device_bootCPU2 function, waiting for C2_BOOTROM_BOOTSTS_SYSTEM_READY)

Thanks!