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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

528 Views
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 Kudos
3 Replies

398 Views
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 Kudos

398 Views
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 Kudos

398 Views
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 Kudos