SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By Ptiburdukov
#186592
Hi!

I have been using Amontec JtagKey with OpenOCD for many years. Nice tools.

But, now I have a board with only SWD connection routed out. The board is equipped with STM32F303 controller. I know the target supports also JTAG but first I try to avoid soldering and secondly, I try to educate myself about the SWD capabilities (been ignoring it for many years).

Question:
Is it possible to use JtagKey for SWD debug? And if yes, then which pins should be used from the standard jtag set? I have been using interface configuration like available in opeocd script folder:

interface ft2232
ft2232_device_desc "Amontec JTAGkey"
ft2232_layout jtagkey
ft2232_vid_pid 0x0403 0xcff8

Any hints how to change it for SWD?

Another question:
if jtagkey does not support SWD mode, any similar cheaper and small adapters somebody could recommend?

BR, Madis