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..
Solved! Go to Solution.
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
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
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.
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