TI中文支持网
TI专业的中文技术问题搜集分享网站

TMDSCNCD28388D: CM Core Echoback Fails after Power Cycle (FLASH Boot)

Part Number:TMDSCNCD28388DOther Parts Discussed in Thread:C2000WARE

I'm testing EtherCAT on the TI F28388D evaluation module (EVM) using the provided examples:

  1. c2000/C2000Ware_5_05_00_00/libraries/communications/Ethercat/f2838x/examples/f2838x_cm_echoback_solution

  2. c2000/C2000Ware_5_05_00_00/libraries/communications/Ethercat/f2838x/examples/f2838x_cpu1_echoback_solution

Both projects are programmed to FLASH.

Observation:

  • After programming and running via the debugger, both examples communicate successfully with TwinCAT.

  • However, after a power cycle (without reprogramming):

    • The CPU1 echoback example () continues to work correctly – TwinCAT can connect.f2838x_cpu1_echoback_solution

    • The CM core echoback example () fails:f2838x_cm_echoback_solution

      • TwinCAT cannot scan/find the device.

      • LEDs D1 and D2 are blinking.

Question:
Why does the CM core application fail to start EtherCAT communication after a power cycle when booting from FLASH, while the CPU1 application works? Could this issue be related to the boot sequence, specifically whether the CPU1 core application needs to be executed before the CM core application for a successful FLASH boot?

Lydia:

您好,

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

,

Alice:

您好,

在TRM中,如果你查看table 31-13, Step 3. Allocate ESC to CM.

这个步骤允许CM访问ESC外设。

在这个步骤中,CPU1写入一些寄存器,使得CM能够访问ESC外设。

在电源循环时,寄存器中的数据被擦除,因此CM不再能够访问ESC外设。

,

da lina:

你好,请问断电重启后CPU1不应该重新给相应寄存器写入值,将ESC权限释放给CM吗?

有什么方法可以让CM断电重启后仍能正常访问ESC?

,

da lina:

你好,请问断电重启后CPU1不应该重新给相应寄存器写入值,将ESC权限释放给CM吗?

有什么方法可以让CM断电重启后仍能正常访问ESC?

,

Alice:

您好,

Alice 说:

在TRM中,如果你查看table 31-13, Step 3. Allocate ESC to CM.

这个步骤允许CM访问ESC外设。

     如前面回复,重新上电后寄存器被擦除,需重新设置允许CM访问ESC外设。

,

da lina:

我程序下载在FLASH的话,重新上电不应该跑同样的程序吗?如果同样的程序应该重新触发允许CM访问ESC外设,或许可以提供在CM core echoback example基础上的更改代码?

赞(0)
未经允许不得转载:TI中文支持网 » TMDSCNCD28388D: CM Core Echoback Fails after Power Cycle (FLASH Boot)
分享到: 更多 (0)

© 2025 TI中文支持网   网站地图 鲁ICP备2022002796号-1