Which pins do I need to have on my 10pin debug port

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

Which pins do I need to have on my 10pin debug port

1,154 次查看
therealfreegeek
Contributor IV

The KQRUG shows that PA0 through PA3 are needed as well as reset, but I have also seen schematics using only PA0, PA3 and reset.

Can anyone say what I should use for a K26 board and are there any differences in debug capability with more or less pins?

Thanks

Jim

0 项奖励
回复
3 回复数

1,024 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hello,

This MCU supports SWD and JTAG debug interfaces. SWD needs only DIO and CLK lines while JTAG needs TMS, TCLK, TDO, TDI and RESET_b lines.

I recommend you to take a look into this document from ARM where the differences between SWD and JTAG are explained.

Best Regards,

Robin

0 项奖励
回复

1,024 次查看
therealfreegeek
Contributor IV

Hi Robin,

Thanks for the link, in the image below you can see that I have selected SWD mode in the CPU component but it seems to also suggest to use the TRACE_SWO line on PTA2. Can you explain what this is and why it should be used?

SWD.jpg

0 项奖励
回复

1,024 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi,

TPIU Signal Descriptions.jpg

You can also read the 11.2.3. Serial Wire Output format if you want to use this function.

11.2.3. Serial Wire Output format.jpg

Best Regards,

Robin

0 项奖励
回复