May 29, 2021
09:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 29, 2021
09:12 PM
XMClib v2.1.24
Hello,
It looks that there is a bug in the functions
XMC_ETH_MAC_SetAddressPerfectFilterEx() and XMC_ETH_MAC_SetAddressPerfectFilter().
index argument sets two uint32_t values in the array so probably the code should be
reg[index*2] = addr[4] | (addr[5] << 😎 | flags;
reg[index*2 + 1U] = addr[0] | (addr[1] << 😎 | (addr[2] << 16) | (addr[3] << 24);
instead of:
reg[index] = addr[4] | (addr[5] << 😎 | flags;
reg[index + 1U] = addr[0] | (addr[1] << 😎 | (addr[2] << 16) | (addr[3] << 24);
Thanks,
Andriy
Hello,
It looks that there is a bug in the functions
XMC_ETH_MAC_SetAddressPerfectFilterEx() and XMC_ETH_MAC_SetAddressPerfectFilter().
index argument sets two uint32_t values in the array so probably the code should be
reg[index*2] = addr[4] | (addr[5] << 😎 | flags;
reg[index*2 + 1U] = addr[0] | (addr[1] << 😎 | (addr[2] << 16) | (addr[3] << 24);
instead of:
reg[index] = addr[4] | (addr[5] << 😎 | flags;
reg[index + 1U] = addr[0] | (addr[1] << 😎 | (addr[2] << 16) | (addr[3] << 24);
Thanks,
Andriy
- Tags:
- IFX
3 Replies
Jun 02, 2021
08:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 02, 2021
08:28 AM
Can someone in the Infineon team look into this, please?
Jun 07, 2021
08:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 07, 2021
08:38 AM
ping x2...
Jun 15, 2021
07:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 15, 2021
07:37 AM
another bump pls