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: Example debugging CPU1 from RAM and running CPU2 from flash

Part Number: TMS320F28379D

I want to debug the application on CPU1, and want to reset/run CPU2 from its program already loaded in Flash.  Is there an example of how to do this?

Looking at led_ex1_blinky_cpu1 and led_ex1_blinky_cpu2:

  1. I configure led_ex1_blinky_cpu1 for STANDALONE and FLASH
  2. I configure led_ex1_blinky_cpu2 for FLASH
  3. If I try to debug, the project does not work
  4. If I disconnect the debugger, the project works.  (STANDALONE)

If I try:

  1. led_ex1_blinky_cpu2 is configured for FLASH and ALREADY PROGRAMMED
  2. I set led_ex1_blinky_cpu1 build mode to CPU1_RAM
  3. I modify led_ex1_blinky_cpu1.c to add Device_bootCPU2(C1C2_BROM_BOOTMODE_BOOT_FROM_FLASH); after Device_Init()
  4. I debug  led_ex1_blinky_cpu1
  5. I do NOT connect to CPU2 
  6. led_ex1_blinky_cpu1 works, but led_ex1_blinky_cpu2 does not (it's LED does not flash)

What modifications do I need to make this work?

 

(The application on CPU2 is simple and works well, so I'm mainly focusing on CPU1 development.  In part, I'm trying to save time by not having to re-program and control CPU2 every time I make a change on CPU1)