Dear Sirs,
Please give me an example of implementation of promiscuous mode for embedded ethernet of TM4C1294. I'm going to make something like network analyzer, one of it's function should be a CDP (Cisco Discovery Protocol) client/server (transmitter/receiver).
I need to receive ethernet frames with destination mac-address 01-00-0c-cc-cc-cc, while my device's own mac-address should remain unchanged, also I need to be able to send my CDP anounces to multicast mac-address 01-00-0c-cc-cc-cc.
Any ideas how to implement this? I'm newbee in Stellaris, may be it's not the best project to begin, but I want to try:) So if possible please give me an example how to use promiscuous mode with lwIP or any other IP implementation.
I've read SPMS433 document,it says:
p.p.60,1401 (about Ethernet port):
■ Multiple addressing modes
– Four MAC address filters
– Programmable 64-bit Hash Filter for multicast address filtering
– Promiscuous mode support
also p.1480:
Register 2: Ethernet MAC Frame Filter (EMACFRAMEFLTR), offset 0x004
The MAC Frame Filter register contains the filter controls for receiving frames. Some of the controls
from this register go to the address check block of the MAC, which performs the first level of address
filtering. The second level of filtering is performed on the incoming frame, based on other controls
such as Pass Bad Frames and Pass Control Frames.
But unfortunately I can nowhere find examples of using of this register.
Hope for your help very much!
Regards,
Ilia V. Davidov