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.

TMS320F28384S: CM startup problems

Part Number: TMS320F28384S


Hello,

I'm new to dual core TI MCUs and I have the following problem with the connectivity manager (CM) at boot.

In particular:

- C28 core configure the CM clock, bring it out from reset and then it syncs with CM core, calling the IPC_sync() API.

- CM performs basic SysCtl initializations and then it syncs with C28 core, calling IPC_sync() API as well.

At debug time I have no problem:

- I first load the program on the c28 core and start it.

- Then I load the program on the CM core and start it.

- The two cores sync each other and then run correctly.

At run time, instead, the C28 core is stuck waiting for CM sync.

It seems that there is something wrong in the CM startup procedure, that doesn't jump to main().

Any suggestions?

  • Check CM status at 0x2000 0000. Map the info to the table given in section "CM Booting Status" of TRM.

    check status on CPU1, refer to section "Error IPC Command Table" of TRM

    also check if you are following the steps given at "CM Boot Procedure" to boot CM.

  • Thank you Baskaran!

    The problem was that I passed a wrong value in the CPU1TOCMIPCBOOTMODE register.

    My mistake was due both because I didn't read carefully the CM Boot Procedure in SPRUII0D and because I was deceived from the following CPU1TOCMIPCBOOTMODE register description.

    CM Boot ROM expects a given format on CPU1TOCMIPCBOOTMODE register, instead.

    Thank you very much!