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: ti给的双核通信例程断电无法重启

Part Number: TMS320F28379D

cpu01_to_cpu02_ipcdrivers_lite_cpu01.c和cpu01_to_cpu02_ipcdrivers_lite_cpu02.c这两个例程,我是在control suit里面找到的F2837XD的例程,我发现当我将这两个程序以FLASH模式烧录到板子上后。当我给板子断电之后重新插上电他就无法工作了。

是因为核二没有正常启动导致核一进入了循环等待一直等待核二启动吗,以下是部分代码,我该怎样让开发板断电后能正常启动

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
main(void)
{
// Step 1. Initialize System Control:
// PLL, WatchDog, enable Peripheral Clocks
// This example function is found in the F2837xD_SysCtrl.c file.
InitSysCtrl();
// Step 2. Initialize GPIO:
InitGpio(); // Skipped for this example
GPIO_SetupPinMux(20, GPIO_MUX_CPU1, 0);
GPIO_SetupPinOptions(20, GPIO_OUTPUT, GPIO_PUSHPULL);
// Step 3. Clear all interrupts and initialize PIE vector table:
// Disable CPU interrupts
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • 您好,

    已经收到了您的案例,调查需要些时间,感谢您的耐心等待。

  • 确实有可能是因为,在重新上电后,CPU01在等待时进入死循环,或者是引导失败。

    请从以下方面进行检查:

    确保两个核的程序都正确烧录到FLASH中。

    启动代码中,确保在引导CPU02之前有足够的延时

    检查CPU02的程序是否被正确放置在FLASH中,并且链接器配置的FLASH地址与CPU01引导时使用的地址一致。