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.

CCS/TMS320F28379D: Dual Core Debug / Flash Configuration

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

Hi,

I am trying to do a FLASH boot from both the cores of F28379D. I imported the blinky example code from dual-core programming examples and changed the debug configuration to flash. Now till debug, Both CPU's are running the code but after the reboot, CPU2 is not running. What is the reason for this? did I miss any settings? Or where can I find the detailed description of debugging multi-core CPUs?

Regards

Vishal Kakade

  • Hi,

    Are you using the blinky example in device support ( bitfields) or the driverlib example ?

    If you check the bitfields example file blinky_dc_cpu1.c  you will see code related to IPC boot commands being sent to the cpu2 to boot from flash .

    This will allow to run in standalone mode.

    Some boot IPC details in section 4.9.7 of the TRM and also the ipc boot registers.

    If using driverlib example this is not available today.

    Regards.

  • Hi Meghana,

    I want to run both the CPUs independently. And I am using Driverlib. Now, what Am I supposed to do to achieve this?

    Regards

    Vishal

  • hi Vishal ,

    Vishal Kakade1 said:
    I want to run both the CPUs independently. And I am using Driverlib. Now, what Am I supposed to do to achieve this?

    Not sure what you mean by run independently .

    Once the CPU1 helps to boot CPU2 then CPU 2 runs independently .

    Please check from page 39 : Getting Started and Troubleshooting of the C2000Ware_2_01_00_00\device_support\f2837xd\docs\F2837xD_DEV_USER_GUIDE.pdf

    Regards.

  • Hi,

    As you mentioned, IPC commands are not available in driver lib. So I have to combine driverlib and bitlevel  in CPU1 to send IPC commands to CPU2. When I am trying to achieve it in different ways as mentioned in the previous query, I am getting errors so i am asking for the steps.

    Again I see that when I switch between flash and ram build for any project, I get a debug error as "Not ablle to load or not able to open .out file.

    Regards

    Vishal

  • hi Vishal,

    Vishal Kakade1 said:
    I am getting errors so i am asking for the steps.

    Please check are these the steps you have followed. This way you will have the framework for using both formats in place first then add the code you need.

    • Take the empty driverlib bitfield project -> builds for you
    • Add the driverlib example main code from the example you want
    • Add the IPC code from blinky_dc dual core example
    • No errors ?

    Vishal Kakade1 said:
    Again I see that when I switch between flash and ram build for any project, I get a debug error as "Not able to load or not able to open .out file.

    This error could be since you aren't getting any .out generated .

    Regard.