ENET statistics counters on FRDM-K64F

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ENET statistics counters on FRDM-K64F

ソリューションへジャンプ
1,877件の閲覧回数
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,

ラベル(2)
タグ(3)
1 解決策
1,672件の閲覧回数
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 返答(返信)
1,672件の閲覧回数
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

1,673件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------

1,672件の閲覧回数
embeddeddavid
Contributor IV

Thanks a lot, Jeremy! That totally worked.

0 件の賞賛
返信