cancel
Showing results for 
Search instead for 
Did you mean: 

Do I need jtag and swd interfaces?

FJB2069
Associate II

I will be using STM32F4 CPU in custom boards. The PCB will be space constrained and I plan on using STMX&IDE for development debug/programming devices. So is there a need for JTAG interface (10 pin) or can I get away with just having the SWD header?

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

You don't need both. SWD only is okay.

(Technically you don't need either, but it makes debugging hard/impossible.)

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

3 REPLIES 3
TDK
Guru

You don't need both. SWD only is okay.

(Technically you don't need either, but it makes debugging hard/impossible.)

If you feel a post has answered your question, please click "Accept as Solution".
FJB2069
Associate II

Thanks!

eleventen
Associate III

FWIW, you only really need three pins for debug, SWDIO, SWCLK, and GND. It is important to make sure there is a ground wire between the SWD pins. In one design, we found that a ribbon cable with SWDIO and SWCLK immediately next to each other was vulnerable to cross-talk and the interface would not operate reliably.