I have a board with tms320f28377d on it. It’s an own board not a board provided by TI.
I wrote a simple program: CPU1 runs from flash, makes an initializations, brings CPU2 out of reset by using IPCBootCPU2(C1C2_BROM_BOOTMODE_BOOT_FROM_FLASH) and toggles GPIO with some period.
CPU2 runs from flash and toggles second GPIO with some period.
These GPIO I use to see on oscilloscope a proper working of my code.
When I power up the board, cpu1 and cpu2 works as expected. But I have some questions:
1. If I connect to CPU1 with my debugger (xds220 iso) and run its code CPU2 doesn’t work (but I don’t connect to CPU2). The function “IPCBootCPU2(C1C2_BROM_BOOTMODE_BOOT_FROM_FLASH)” doesn’t help to brings CPU2 out of reset. Can I debug CPU1 from RAM while CPU2 runs from FLASH without connection to it?
2. What does the function “IPCBootCPU2(C1C2_BROM_BOOTMODE_BOOT_FROM_RAM)” do and how I can use it? If I connect to CPU2 and load program to its RAM I can run it manually so I don’t find scenario for function “IPCBootCPU2” with parameter “C1C2_BROM_BOOTMODE_BOOT_FROM_RAM”.