Skip to main content
aman.32
Associate II
February 12, 2020
Question

Program JTAG-DP on STM32F102xx

  • February 12, 2020
  • 3 replies
  • 947 views

We want to use the STM32F10x MCU as a JTAG dongle. Can we make use of the TDO, TDI and TMS on the chip or they are use solely for M3 debugging? Thanks.

This topic has been closed for replies.

3 replies

Uwe Bonnes
Chief
February 12, 2020

Yes, you can use JTAG to access the output pin.

aman.32
aman.32Author
Associate II
February 12, 2020

I understand JTAG pin can be assigned to GPIO pin. My question is to use TDO, TDI, TMS pin to drive other device which accept JTAG command.

For example, I want to test boundary scan of a device. I connect all the pins as required. Can we program ST MCU to drive this device in JTAG mode? There is no example how I can do so. Thank.

Uwe Bonnes
Chief
February 12, 2020

No, STM Jtag/SWO is only a slave. STM32 is no JTAG/SWD master per se. But you can program pins to work as SWD/JTAG master with software, like in the STlink or the Bl*ack M*g*c Debug probe.