Looking at ENET_get_mac_address in fsl_enet_rtcs_adapter.c (KSDK 1.2), setting address[3] seems to have an extra '0' in the filter (see Red).
uint32_t ENET_get_mac_address(uint32_t device, uint32_t value, _enet_address address)
{
uint8_t g_enetAddress[kEnetMacAddrLen] = ENET_DEFAULT_MAC_ADD;
address[0] = g_enetAddress[0];
address[1] = g_enetAddress[1];
address[2] = g_enetAddress[2];
address[3] = (value & 0xFF00000U)>>16;
address[4] = (value & 0xFF00U) >> 8;
address[5] = (value & 0xFFU);
return ENET_OK;
}
Am I missing something?
Hello Raj,
You are right, I will report this issue.
Thank you for your feedback.
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks Sol.
The other few bugs that seem to have been there for a while that would be good to keep on the radar (for my applications!):
(1) Printf unable to print floating point numbers: printf() with float values
(2) J-link breaking after KDS update: Unable to Debug after KDS Update
(3) DHCP renewal not working properly: migrate 4.1 -> 4.2 : issues with DHCP renewals and ipcfg_poll() linkdown/linkup
Thanks,
-Raj