Hi everyone,
I am running some of the lwIP examples included within the KSDK on a freedom development board (FRDM-K64F). While the examples run ok, all the statistics counters keep holding a zero value. By statistics counters I refer to MIB and Remote Network Monitoring (RFC 2819) registers located at addresses 0x400C0204-0x400C03FF (such as ENET_IEEE_T_OCTETS_OK, ENET_RMON_R_OCTETS, etc.).
Is there anything I am missing? Do these registers have to be explicitly enabled by writing into a specific configuration register?
Any help would be appreciated. Thanks in advance.
Regards,
Solved! Go to Solution.
Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
Please assure enable the MIB logic.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi
MIBC = (MIB_DISABLE | MIB_CLEAR); // ensure MIB is disabled while resetting and command clear to reset all counters in the maintenance block RAM
MIBC = 0;
Regards
Mark
Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
Please assure enable the MIB logic.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks a lot, Jeremy! That totally worked.