Using JTAG with LPC LINK-2 on MIMXRT1050

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

Using JTAG with LPC LINK-2 on MIMXRT1050

1,571 次查看
tusharvan
Contributor I

I want to debug MIMXRT1050 by using JTAG. Currently, I can debug it with LPC LINK-2 by using SWD. The option to choose JTAG in Debugger options->Debug connections in MCUXpresso IDE v10.2.1_795 is disabled.

How can I enable the JTAG option or am I missing some other setting. 

-Tushar

标签 (1)
0 项奖励
回复
4 回复数

1,265 次查看
lpcxpresso_supp
NXP Employee
NXP Employee

I'm not sure why you think JTAG is faster. In our experience where an MCU support both mechanisms for debugging operations, the opposite is generally true.

Regards,

MCUXpresso IDE Support

0 项奖励
回复

1,265 次查看
tusharvan
Contributor I

I understand SWD is superior to JTAG but surprisingly SWD is slower on this processor compared to my earlier experience with it. It takes a while to step debug even one instruction.

Just to answer my question, do I need to blow a fuse(DAP_SJC_SWD_SEL) to enable DAP in JTAG mode?

Expecting a positive response.

0 项奖励
回复

1,265 次查看
lpcxpresso_supp
NXP Employee
NXP Employee

Can you explain why you want to do this? Generally even when debug is possible via JTAG, using SWD is preferable.

Regards,

MCUXpresso IDE Support

0 项奖励
回复

1,265 次查看
tusharvan
Contributor I

Debugging via JTAG is comparatively faster. Debugging using SWD takes considerable time to execute even a single instruction. And yes, I have tried disabling cache as suggested in one of the forum posts.

Disable cache.PNG 

0 项奖励
回复