FILE: ipc_ex1_basic_cpu1_cpu2_multi_c29x2.c
This example demonstrates how to configure IPC and pass information from C29x1 to C29x2 core without message queues.
When using CCS for debugging this Multi-core example, after launching the debug session,
- Connect to CPU1 and load the c29x2.out first. (In case of FLASH configuration, this might not halt at main, ignore this)
- Load c29x1.out next.
- After the program is loaded, run CPU1.
- Once c29x1 disables lock-step and releases CPU2 out of reset, the program stops.
- Connect to CPU2 target now. c29x2.out would have started execution as soon as it is released from reset.
- In case of RAM configuration, restart the CPU2 target and load the symbols.
- In case of FLASH, do a Power-on-Reset, connect to CPU1/ CPU2 and load the respective symbols.
In FLASH configuration, the CPU2 application code is loaded to CPU1 FLASH. At runtime, CPU1 copies it to RAM for CPU2 to execute.
External Connections
Watch Variables