Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE
We are trying to debug a dual core IPC example program with 2 separate projects for both CPU1 and CPU2 on RAM.
Below are the steps used to load the .out files and debug the projects that are already built.
- Launch the selected configuration for TMS320F28379D.
- Connect to target to CPU1 core and load CPU1.out file.
- CPU1 program halts at main.
- Connect to target to CPU2 core and load CPU2.out file.
- CPU2 program gets immediately executed..!
As the CPU2 is not halting at main(), sync between the two cores is not happenning properly and as a result data is not getting shared to CPU2 from CPU1.
We have tried the following alternatives but they didnt seem to work -
- Setting breakpoint at main() of CPU2.
- Enabling the run to main() option in properties for CPU2 program.
- Adding a IPC_WaitforFlag() in CPU2.
- Adding some delay in CPU2 code immediately after main().
The same programs seem to work fine in different system when run on RAM. Also, if the programs are executed on FLASH, both CPU1 and CPU2 codes halt at main() after loading the .out files.
Attached CPU1 program - 1.txt and CPU2 program - 2.txt
What could be the reason for this behaviour in different systems. Are there any system level settings/configurations required to be made so that the issue is resolved?


