Forum Discussion
Altera_Forum
Honored Contributor
10 years agoHi all,
I am also having a bit of a issue enabling a specific Multicast address. I can disable all or enable all with functions: To enable all: for(i = 0; i< 64;i++)
{
IOWR_32DIRECT(ETHERNET_SUBSYSTEM_TSE_MAC_BASE, (0x100 + i*4),1); //or <<2
}
To disable all: for(i = 0; i< 64;i++)
{
IOWR_32DIRECT(ETHERNET_SUBSYSTEM_TSE_MAC_BASE, (0x100 + i*4),0); //or <<2
} And this works. But I would like to filter a specific Multicast address, in my case: 224.0.0.116 that has the Multicast MAC address: 01:00:5E:00:00:74 VALUE || XOR 0x01 || 1 0x00 || 0 0x5E || 1 0x00 || 0 0x00 || 0 0x74 || 0 This gives the binary: 10 1000 or in hexadecimal 0x28 I then disable all entry and try to enable just this one with the following code: IOWR_32DIRECT(ETHERNET_SUBSYSTEM_TSE_MAC_BASE, (0x100 + 0x28*4),1); and IOWR_32DIRECT(ETHERNET_SUBSYSTEM_TSE_MAC_BASE, (0x100 + 0x28),1); but it does not work. Has anybody tried this and succeded at it? Best regards, Filipe