All jobs / Embedded / hardware / Debugging

Embedded / hardware interview question · 0–1 years

What is SWD, and how does it differ from JTAG?

The strongest answer

Both let a debugger halt the core, step, set breakpoints and read memory. SWD does it over two pins; JTAG uses four or five and also gives you boundary scan and a chain of devices

Why it works

Right — on a pin-tight board SWD is the usual pick, and what you give up is boundary scan and the chain.

What a good answer covers

Answers that fall short

Who gets asked this

More Debugging questions