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.

problem with dual core project with software version of V130 in TMS320F28377D

Other Parts Discussed in Thread: TMS320F28377D, CONTROLSUITE

Hi all,

I am writing a new project with dual core in TMS320F28377D.

configuration mode is Debug.

No error is coming while of both the core is built.

But while I run the project(dual core) it seems that CPU1 is responding while CPU2 is not.

I am using the include, linker files and source files from controlsuite with V130.

However same problem is not coming with same softawre ( main.c) while the include. linker and source files are taken from V110 or V120.

Have anyone faced this problem. Please help.

Regards

Raja Saha

  • Raja,

    Is your project based on an example? If you run the "cpu01_to_cpu02_ipcdrivers" example within the ~/F2837xD/v130/F2837xD_examples_Dual directory, do you have any issues?

    Regards,
    Chris
  • No Chris,

    It is not based on the example.

    It is a  very small code written, toggling GPIO31 from CPU1 & toggling GPIO34 from CPU2.

    Most surprisingly, the dual core operation is happening from V100,V110 & even by V120, but not happening by v130.

    Any has any ideal please share.

    Is any problem in the version Or  I am doing  any mistake.

    Please help.

    Regards

  • Raja,

    Can you take a look at the example "blinky_dc" within the F2837xD_examples_Dual directory within v130. This example has CPU1 toggle GPIO31 and CPU2 toggle GPIO34. This will hopefully help you determine what is causing your project to not work correctly in v130. Let me know if that helps solve your issue.

    Regards,
    Chris
  • Chris,

    The example "blinky_dc" is working in V130.

    But the problem is coming while I want to create new separate project by taking files from V130.

    It seems to me that there may be any one of the two following problem.

    First one is , that V130 may not supporting the code to build from flash mode ( as new code configuration is debug, not RAM) or the second one may be some mistake is done by me.

    However I am using the same code in V110 in DEbug mode where it is working fine. Here I am getting confused that, if it is working in v110, then there should not be any problem in my code.

    The reason I am shifting to v130 as v110 does not support for InputXbar.

    I have also tried with v120.

    Here I am getting another problem in debug mode. In v120 GPIos are toggling fine in both the cores but the other transferred peripherial like ADC, EPWM are not working in CPU2. And here again I am working with same code ( same code means main,c)in both the cores in V110 where all the peripherials are working.

    Please help me as I am quite confused on it and not getting any such clues. If require I can share the two main.c for two cpus.

    Please.

    Regards

    Raja 

  • Please Help if anyone has tried this thing.

    I have tried in different desk & laptop results are same.

    Regards

    Raja 

  • Raja,

    Can you attach your CCS project with the main.c files to further investigate your issue?

    Regards,
    Chris
  • It was a problem of IPC_driver UTil file in V130.

    While I started doing the same operation by util file v110 it is working. Hence it was running from RAM but not flash as CPU2 was not getting boot up from CPU1 from flash.

    Thanks.

    Regards

    Raja Saha