2
\$\begingroup\$

We are designing a board around Atmel SAM4E microcontroller, and use Atmel-ICE for debugging/programming. To save space, we would like to avoid including the whole ICE connector. Which are the minimum set of required pins so that I can still program and debug over SWD?

\$\endgroup\$
5
\$\begingroup\$

Atmel shares JTAG and SWD pins on their ICs. The SAM4E datasheet says it clearly:

SWD & JTAG pins sharing

SWD is (in most cases) a two-wire interface, so the only program/debug connection is TMS/SWDIO and TCK/SWDCLK.

\$\endgroup\$
  • \$\begingroup\$ Will a three wire interface (SWDIO/SWCLK/GND) allow programming the internal flash as well? \$\endgroup\$ – Atilla Filiz Jan 27 '15 at 16:02
  • 1
    \$\begingroup\$ @AtillaFiliz We don't count GND as a signal wire. But yeah. \$\endgroup\$ – Dzarda Jan 27 '15 at 17:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.