ENET statistics counters on FRDM-K64F

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

ENET statistics counters on FRDM-K64F

跳至解决方案
942 次查看
embeddeddavid
Contributor IV

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,

标记 (3)
1 解答
737 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
Please assure enable the MIB logic.

pastedImage_2.png
Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

3 回复数
737 次查看
mjbcswitzerland
Specialist V

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

738 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
Please assure enable the MIB logic.

pastedImage_2.png
Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

737 次查看
embeddeddavid
Contributor IV

Thanks a lot, Jeremy! That totally worked.

0 项奖励