Ethernet Receives Frames with broadcast MAC address only.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Ethernet Receives Frames with broadcast MAC address only.

跳至解决方案
768 次查看
vysakh
Contributor I

Dear All,

In my project i just need to receive and forward all incoming frames from the Ethernet port according to their type, I am using Kinetis K60n512 Tower for development.I created a bare-board(with out MQX) project  and configured all  MAC and ENET registers. When I connected the Ethernet cable, I could see that mac is receiving only frames with Broadcast MAC address (FF FF FF FF FF FF) even though so many frames are coming to that port, Why this is happening how can i configure the ENET in such a way that it will accept any frame with any Destination MAC address?..Is it possible? please help me..

标签 (1)
标记 (4)
0 项奖励
1 解答
546 次查看
mjbcswitzerland
Specialist V

Hi

You can set the Ethernet receiver to accept all addresses in promiscuous mode.

Simply write

RCR |= PROM;

to enable this.

Regards

Mark

Kinetis: µTasker Kinetis support

K60: µTasker Kinetis TWR-K60N512 support / µTasker Kinetis TWR-K60D100M support / µTasker Kinetis TWR-K60F120M support

For the complete "out-of-the-box" Kinetis experience and faster time to market

在原帖中查看解决方案

0 项奖励
3 回复数
547 次查看
mjbcswitzerland
Specialist V

Hi

You can set the Ethernet receiver to accept all addresses in promiscuous mode.

Simply write

RCR |= PROM;

to enable this.

Regards

Mark

Kinetis: µTasker Kinetis support

K60: µTasker Kinetis TWR-K60N512 support / µTasker Kinetis TWR-K60D100M support / µTasker Kinetis TWR-K60F120M support

For the complete "out-of-the-box" Kinetis experience and faster time to market

0 项奖励
546 次查看
vysakh
Contributor I

Thank you very much Mr.Mark Butcher, It worked straight away.

Dear Butcher, Please do some more helps to me if possible..

I also have some confusion on handling RX and TX Buffer descriptor and Hash table. Do you have any documents or code fragments for understanding these concepts. I made my present code With the help of Enet Drivers in MQX and some other opensource Ethernet stack.

0 项奖励
546 次查看
mjbcswitzerland
Specialist V

Hi

I have attached the ENET driver from the uTasker project.

It includes rx/tx handing in compatible and enhanced buffer descriptor modes, as well as multicast (hash) configuration as require by IGMP and IPv6 link local.

The next level of the interface (the Ethernet task) includes bridging/forwarding to multiple interfaces.

Regards

Mark

Kinetis: µTasker Kinetis support

K60: µTasker Kinetis TWR-K60N512 support / µTasker Kinetis TWR-K60D100M support / µTasker Kinetis TWR-K60F120M support

For the complete "out-of-the-box" Kinetis experience and faster time to market


0 项奖励