Ethernet Receives Frames with broadcast MAC address only.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Ethernet Receives Frames with broadcast MAC address only.

ソリューションへジャンプ
767件の閲覧回数
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 解決策
545件の閲覧回数
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 返答(返信)
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 件の賞賛
545件の閲覧回数
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 件の賞賛
545件の閲覧回数
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 件の賞賛