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.

[参考译文] [TDA4]多播 CAN'无法从 cpsw2g 端发送

Guru**** 1949050 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1205737/tda4-multicast-can-t-be-sent-from-cpsw2g-side

尊敬的 TI

  带有 SDK8.4、MCU2_0和 ethfw 的定制电路板。

  我们需要 A72和 MCU1_0 都能发送和接收多播。

内核 组播 接收 组播 发送
A72 (虚拟 MAC) 好的 好的
MCU1_0 (CPSW2G) 好的 不正常


我们所做的是使用命令配置 A72中的多播地址" ip maddr add 01:00:5E:7F:ff:01 dev eth0 "

通过寄存器确认:

Fullscreen
1
2
3
4
5
6
7
8
9
10
[root@AOS ~]# cpsw_all_reg_print
---------------------------------------------
Entry 19 - Multicast
---------------------------------------------
PORT_MASK = 15
SUPER = 0
MCAST IGNORE BITS= 0
MCAST_FWD_STATE = 0
ENTRY_TYPE = 1
MULTICAST_ADDR = 100 5e7fff01
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

谢谢!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    xianfen chen 说:
    我们要做的是使用命令在 A72中配置多播地址" ip maddr add 01:00:5E:7F:ff:01 dev eth0 "[/报价]

    我无法理解此命令如何帮助您在从 mcu1_0运行的 CPSW2G 中设置多播配置。 CPSW9G 和 CPSW2G 是独立的 IP。 CPSW2G 不是 ethfw 的一部分。 您可以从 A72配置 CPSW9G、但无法配置 CPSW2G。 CPsw2G 配置必须由在 mcu1_0上运行的应用完成。 是这样做吗?

    此致、
    Tanmy.

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