The JTAG uses the same processor pins as the SWD (st-link). The ST-Link V2 will run directly with OOCD, so it will probably work without any trouble. You might have to mess with some OOCD configuration settings though.
I have a V1 st-link and the information out there is a bit confusing on how to get it working. Most of the solutions I've seen require various amounts of recompiling and/or using custom OOCD versions. It's more work than I'm looking to do, so my solution is to run a GDB server in windows. I'm still hoping someone can give me a little more info on getting paparazzi to use that setup, but I'm sure I'll figure it out eventually.
>From the F103 manual...
"The JTAG TMS and TCK pins are shared with SWDIO and SWCLK, respectively"
So you should just have to plug SWDIO -> TMS and SWCLK -> TCK.
-Jake
----- Original Message -----
From: Prof. Dr.-Ing. Heinrich Warmers
Sent: 03/21/12 01:41 AM
To: address@hidden
Subject: [Paparazzi-devel] ST-Link_V2
Hi,
knows someone how to use st-link-V2 (two wire debug and program
interface) to use with paparazzi.?
ST sells pcbs with this Interface below 10 Euros or in the US for free.
Is it possible to add this two wires to the JTAG connector on lisa M?
Can we add the small JTAG connector to the YAPA and other lpc2148 based
autopilots?
Heinrich
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel