Target error from Register access

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

Target error from Register access

ソリューションへジャンプ
1,567件の閲覧回数
vasudhevan
Contributor V

Hi,

     Board - imx rt 1064 evk.

     I created free rtos software timer inside timer callback called PHY_GetLinkStatus(ENET, BOARD_ENET0_PHY_ADDRESS, &link); api.

     If i put this api in free rtos timer callback giving target error from Register access and stopped debugger.

     We want to monitor ethernet link status every one second timer. 

     Refereed link - Best way to check Ethernet link 

     debug_error.PNG 

Any other way can we monitor ethernet link status every one second ?

Why i am getting  target error from Register access from timer callback ?

Thanks & Regards

        Vasu

ラベル(1)
0 件の賞賛
返信
1 解決策
1,488件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Vasu:

Please make sure that you have initialized the enet module before you access the PHY register.

If this issue still exists, could you please let me know how to reproduce your issue on my side?

Regards

Daniel

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,488件の閲覧回数
vasudhevan
Contributor V

Any updates ?

Regards,

  Vasu

0 件の賞賛
返信
1,489件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Vasu:

Please make sure that you have initialized the enet module before you access the PHY register.

If this issue still exists, could you please let me know how to reproduce your issue on my side?

Regards

Daniel

0 件の賞賛
返信
1,488件の閲覧回数
vasudhevan
Contributor V

Hi Daniel,

      Thank you for your response.

      You are right enet module not initialized.

Thanks & Regards

        Vasu

0 件の賞賛
返信