Ethernet Receives Frames with broadcast MAC address only.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ethernet Receives Frames with broadcast MAC address only.

Jump to solution
752 Views
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..

Labels (1)
Tags (4)
0 Kudos
1 Solution
530 Views
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

View solution in original post

0 Kudos
3 Replies
531 Views
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 Kudos
530 Views
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 Kudos
530 Views
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 Kudos