Target error from Register access

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

Target error from Register access

跳至解决方案
1,573 次查看
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,494 次查看
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,494 次查看
vasudhevan
Contributor V

Any updates ?

Regards,

  Vasu

0 项奖励
回复
1,495 次查看
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,494 次查看
vasudhevan
Contributor V

Hi Daniel,

      Thank you for your response.

      You are right enet module not initialized.

Thanks & Regards

        Vasu

0 项奖励
回复