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/TMS320F28377D: IPC handshake problem between CPU1 an CPU2 in 28377D

Part Number: TMS320F28377D
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

Hi  

I have a questions about the IPC handshakes between CPU1 and CPU2. I used the demo  in \controlSUITE\device_support\F2837xD\v200\F2837xD_examples_Dual\ipc_gpio_toggle and have no any change. But when I debug with xds100V2. CPU01 is runing in the   while(!IPCRtoLFlagBusy(IPC_FLAG17)) ; No breakpoint behind this can be get ! And I'm sure I have download the  cpu02 project to the cpu02. Also my another college found this question. We are very confused. I doubt if the cpu02 isn't working when I  debug the CPU01 when I use XDS100V2.  Because the Demo  has no change.

Thank you!

  • Hi,

    I ran the ipc_gpio_toggle code and didn't have any problem. Here is the sequence in which I ran the code:-

    1) Load ipc_gpio_toggle_cpu01.out code in CPU1
    2) Run CPU1 code
    3) Load ipc_gpio_toggle_cpu02.out code in CPU2
    4) Run CPU2 code.

    Regards,
    Manoj
  • HI,

    I have some question, because i use the XDS100v2 to debug and i want to set breakpoint on CPU1, So after i load CPU2, I need to load cpu1 again and debug on cpu1. So my sequence is below:

    1) Load ipc_gpio_toggle_cpu01.out code in CPU1
    2) Run CPU1 code
    3) Load ipc_gpio_toggle_cpu02.out code in CPU2
    4) Run CPU2 code.

    5) Load ipc_gpio_toggle_cpu01.out code in CPU1

    6) add break point

    7)run code

    Is there any problem with this sequence?

  • Hi,

    I'm not sure why you need to reload your code to add a breakpoint. When you re-load the code you are changing the status of the CPU1 and CPU2 is not cognizant of the status of CPU1 is different. Hence you will have problems.

    I suggest you to follow this sequence.

    1) Load ipc_gpio_toggle_cpu01.out code in CPU1
    1a) Add breakpoint
    2) Run CPU1 code
    3) Load ipc_gpio_toggle_cpu02.out code in CPU2
    4) Run CPU2 code

    Regards,
    Manoj
  • Thank you so much! You are so right and my sequence is wrong !Thanks!^_^