Adding ethertype filter disables mac address filters

Technical questions regarding the XTC tools and programming with XMOS.
User avatar
gerrykurz
XCore Addict
Posts: 204
Joined: Sun Jun 01, 2014 10:25 pm

Adding ethertype filter disables mac address filters

Post by gerrykurz »

I have an application that is using two instances of the real time mac on two different ports on different tiles and on different L16 chips.

I have set up a number of mac address filters for both instances and they all seem to be working fine except one filter on one instance.

So I decided to add an ethertype filter to the one instance to try and track down the mac address issue.

Well not only did the instance with the ethertype filter added stop filtering for mac address, so did the other instance as well!!!! Yikes!!!

What's up with this?


User avatar
gerrykurz
XCore Addict
Posts: 204
Joined: Sun Jun 01, 2014 10:25 pm

Post by gerrykurz »

Apparently ethertype filtering is a secondary level on top of mac address filtering and only works with packets with the same mac address.

This needs to explained much better in the user guide.

Some actual code examples of how to use things would be good as well.
User avatar
Andy
Respected Member
Posts: 279
Joined: Fri Dec 11, 2009 1:34 pm

Post by Andy »

Thanks for the feedback Gerry. We will review the documentation and continue to improve it.

With regards to code examples, these are typically delivered through application notes on the website:

https://www.xmos.com/support/appnotes?s ... 20examples

AN00120 and AN00199 have been updated to explain the use of the new library.