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.

MCU-PLUS-SDK-AM263X: How to debug multi-core projects in CCS IDE

Part Number: MCU-PLUS-SDK-AM263X
Other Parts Discussed in Thread: AM2634

Hi,

Is there any documentation or guidelines to follow for the debugging of multi-core projects in CCS IDE? I had tried searching for similar threads but only indirect debugging like printing statements or saving values to known memory regions.
TMDS64GPEVM: How to do multicore debug with CCS / IPC_RPMSG - Processors forum - Processors - TI E2E support forums

But is there actually a way to run multicore projects in the CCS for AM2634 Control Card? Like setting breakpoints in 4 different places of the 4 cores?

Thanks in advance.

Regards,
Sharmili Narayanamurthy

  • Hi 

    Currently we don't have any documentation with us on how to do this, (we'll plan to soon add this) However I have a way to set debug breakpoints in different cores and get it working. Please find the steps below,

    1. You need to edit the GEL script of the AM263x present under the path C:\ti\<YOUR_CCS_PATH>\ccs\ccs_base\emulation\gel\AM263x\AM263x.gel , search for the string mode = AM263x_Check_supported_mode(); (usually line 113) and change it to mode=1; after this change is done, Re-launch the Target Configuration and this basically forces the SoC to go into Dual Core mode instead of the default Lock Step mode.

    2. Once you do this, you should be able to connect to all the cores in the CCS studio target configuration individually and load your .out files of the multicore projects as shown below and CCS will allow you to set the breakpoitns in all cores and you can resume the cores to debug

    Hope you find this useful.

    Thanks,
    G Kowshik

  • Hi

    Can you please close this thread as resolved if the method works? 

    Thanks