IMXRT 1064 with KSZ8081RNB interface

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

IMXRT 1064 with KSZ8081RNB interface

跳至解决方案
2,396 次查看
vasudhevan
Contributor V

Hi,

     I checked with imxrt1064 evk schematic ENET_INT and ENET_RST connected to jtag.

     Imported tcpecho echo example code this two pins controlled manually by using GPIO.

     Compulsory we needs to handle these two pins ?  

                                    (or)

     Can we connect two pull up resistor these two pins with out handling gpio ?   

Thanks & Regards 

         Vasu

标签 (1)
0 项奖励
回复
1 解答
2,260 次查看
fangfang
NXP TechSupport
NXP TechSupport

Hello,

>>If we change these two pins value how jtag working without disconnecting from debugger ?

ENET_INT/ ENET_RST and JTAG_TDO/JTAG_TDI can use at the same time.

And for the code please remove  GPIO_WritePinOutput(GPIO1, 10, 1);  delay() time please refer to KSZ8081RNB file.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,260 次查看
fangfang
NXP TechSupport
NXP TechSupport

Hello.

  By default i.MX RT1050 uses the SWD interface for debugging, applyingonly JTAG_TMS (as SWD_DIO) and  JTAG_TCK (as  SWD_CLK) signals.This allows to use other JTAG related pins  for different functionality.

 For ENET_INT please use the GPIO.

For ENET_RST can use pull up resistor for it.

Have a nice day.

0 项奖励
回复
2,260 次查看
vasudhevan
Contributor V

Hi,

    IMX RT 1064 evk schematic

                 ENET_INT connected to JTAG_TDO

                 ENET_RST connected to JTAG_TDI

    If we change these two pins value how jtag working without disconnecting from debugger ?

This code i took from tcpecho example 

     GPIO_PinInit(GPIO1, 9, &gpio_config);
     GPIO_PinInit(GPIO1, 10, &gpio_config);
       /* pull up the ENET_INT before RESET. */
     GPIO_WritePinOutput(GPIO1, 10, 1);
     GPIO_WritePinOutput(GPIO1, 9, 0);
     delay();
     GPIO_WritePinOutput(GPIO1, 9, 1);

Can you give code example for handling gpio (For ENET_INT please use the GPIO) ?

Thanks & Regards

          Vasu

0 项奖励
回复
2,261 次查看
fangfang
NXP TechSupport
NXP TechSupport

Hello,

>>If we change these two pins value how jtag working without disconnecting from debugger ?

ENET_INT/ ENET_RST and JTAG_TDO/JTAG_TDI can use at the same time.

And for the code please remove  GPIO_WritePinOutput(GPIO1, 10, 1);  delay() time please refer to KSZ8081RNB file.

0 项奖励
回复
2,260 次查看
vasudhevan
Contributor V

Hi fangfang,

     Thank you.

0 项奖励
回复