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.

AM2634-Q1: how to load both .out files onto the two cores, and do CCS Multi-Core Debug

Part Number: AM2634-Q1
Other Parts Discussed in Thread: UNIFLASH

i have imported the 2 examples for extrenal loopback now both controller.c and peripheral.c is with me with build being successful , but how will i flash both codes to different cores to initiate the spi 
i see the option in Run -> configurations -> open configurations / add configurations but both opens a json file 

please help me to resolve the issue and initiate the spi externally 


Regards 

Abhiram N P

  • Hi Abhiram,

    Please follow the steps below:

    1. In your target config .ccxml file (software-dl.ti.com/.../CCS_SETUP_PAGE.html, when launched, will show you multiple core options:

    2. Connect to the required cores (core0 and core1), and load the .out file individually.

    If you are using a systems project, then you can just start a debug session on systems project and it will automatically load the files for 2 cores. incase you have two individual projects, you will have to load manually.

    The debugging process is same as single-core debug.

    Regards,
    Shaunak

  • The above is just for debugging, loading .out to RAM and running from CCS,

    Incase you want to create a .mcelf appimage and flash the binary to the Flash memory, you will have to create a systems project (multi-core project) and then create a .mcelf file which has combined codes from both cores, then flash that using UniFlash tool or the python scripts.

    For reference on creating system project, you can follow this guide: Creating system projects

    For understanding mcelf and using it:Flashing tools

    Regards,
    Shaunak