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.

TMS320F28379D: TMS320F28379D IPC问题

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

你好,移植C2000WARE\C2000Ware_4_01_00_00\training\device\f2837xd\module11_inter_processor_communications中程序,

1.CPU2向CPU1发送命令,CPU1运行时卡死在IPC_waitForFlag函数中的while中,CPU2暂停程序显示No source available for "_system_post_cinit() at D:/work\user sw\TI DSP IDE\project\TEST\rfcu_cpu2\Debug\rfcu_cpu2.out:{3} 0x3fe44f{4}" ,请问这是什么问题?

2.直接把C2000WARE\C2000Ware_4_01_00_00\training\device\f2837xd\module11_inter_processor_communications烧录到launchPad,两个程序也跑不起来,请问需要修改那些地方?

  • 您好,您两个程序都build了吧?

    1. CPU1在这里卡死说明CPU2没有set FLAG,CPU1只能等在这里;

    CPU2暂停程序显示No source available for "_system_post_cinit() at D:/work\user sw\TI DSP IDE\project\TEST\rfcu_cpu2\Debug\rfcu_cpu2.out:{3} 0x3fe44f{4}"

    这个也是正常现象,程序暂停时调试器没有办法进入某些函数的内部,就会显示这个信息,您可以试着恢复运行,然后再暂停,多尝试几次,PC就会停到调试器可以访问的地方。

    2. 您是要离线运行吗?也就是从Flash中运行吗?右键工程名,然后:

    同时Boot Mode要通过launch pad的拨码开关选择为Flash,如下图所示的Get Mode:

    ps:C:\ti\c2000\C2000Ware_4_01_00_00\device_support\f2837xd\examples\dual

    C:\ti\c2000\C2000Ware_4_01_00_00\driverlib\f2837xd\examples\dual

    这两个路径下的多核例程您也可以参考一下

x 出现错误。请重试或与管理员联系。