I’ve gotten the JTAG working using OpenOCD and the ARM-USB-OCD jtag dongle connected to the JTAG shield.
When launching OpenOCD, use this command (If you have a different jtag adapter, update accordingly):
openocd-0.7.0 -f interface/olimex-arm-usb-ocd.cfg -f target/stm32f1x.cfg
Then when launching GDB, start with this startup script like so:
arm-none-eabi-gdb -x jtag.gdb
target remote localhost:3333
The first thing the core-firmware image does is disable the JTAG pins, so be sure to either halt the chip in reset with your debugger or flash a new image in that doesn’t disable your debug interface first. Also be sure in the image your trying to debug that you disable the JTAG pins remapping… there’s a #define for it.
A note on feedback for the JTAG shield… its Ok but basically impossible to use with an external circuit or breadboard. So its fine if your doing pure software… like porting a RTOS, but for debugging with external hardware there’s no easy way to connect it.
If the spark socket was rotated 90 degrees and the board itself was made only as thin as required to support the 700 mils for the socket I could solder in headers and pogo the shield onto a breadboard.