Olimex STM32-P103 JTAG Problem

I recently bought a Olimex STM32-P103 board and was eager to flash & debug it via my Olimex ARM-JTAG (parallel port wiggler clone).

To do so, I set up HJTAG 0.9 according to twentyones recommendations for STM32 devices (TAP configuration) and all I got was the dreaded

“Unable to find target. Please make sure that the hardware is properly connected and powered up.”

To verify the correct function of HJTAG, I tested it with an AT91SAM7 board, which ofc worked. I got curious now and downloaded the Macraigors JTAG Scan Chain Analyzer and got two devices:

JTAG ID

3BA00477 the actual CortexM3 device, ID fits the device

16410041 a boundary scan device

(which is the reason that you have to change the TAP configuration in the first place)

So obviously the STM32 is alive and perhaps even well :P. I would be very thankful for any advice/experience on this matter, because if I´m not mistaken this board is quite useless without JTAG.

Thanks in advance,

Tom

Have you tried OpenOCD?

Does HJtag support the Cortex M3?

Maybe head over to the http://www.freertos.org/ site to get started.

Good Luck!

As a follow up:

In addition to twentyones recommended TAP setting configuration, you have to set

LPT JTAG Setting

nTRST to Pin 6 D4

Now the STM32-P103 is recognized correctly by HJTAG.