Skip to main content
Gabriele1
Associate II
April 27, 2020
Solved

How to use JTAG interface instead of SWO on a NUCLEO-144?

  • April 27, 2020
  • 4 replies
  • 3315 views

Hi everyone!

I'm pretty new with STM32 microcontroller and STM environment. Now I'm playing with a Nucleo-H745ZI board and developing using STM32CubeIDE. This board is equipped with the st-link V3. It should be able to use both SWO and JTAG interface to program and debug STM32 MCUs.

I was tryng to use JTAG instead of SWO (wich is the default debug configuration) but I have this error: Error: 

No STM32 target found!

ST-LINK error (DEV_CONNECT_ERR)

I've also tried with the STM32CubeProgrammer software, same error. 

What i do wrong?

Thanks :)

This topic has been closed for replies.
Best answer by Tesla DeLorean

Not sure full JTAG pins wired, check schematic. Use SWD.

​

The wrong LDO/SMPS​ settings will cause connectivity issues. Strap BOOT0 High and cycle the board several times, and erase when you have connectivity.

​

4 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
April 27, 2020

Not sure full JTAG pins wired, check schematic. Use SWD.

​

The wrong LDO/SMPS​ settings will cause connectivity issues. Strap BOOT0 High and cycle the board several times, and erase when you have connectivity.

​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Gabriele1
Gabriele1Author
Associate II
April 27, 2020

Thanks for the answere.

Looking at User Manual, in the section 6.3.1 it seems that it's possible to use both JTAG and SWD. But you are right, the JTAG pins are not wierd. And also in the block diagram abore it's only specified the SWD interface.0693W000000WW6oQAG.jpg

Tesla DeLorean
Guru
April 27, 2020

I believe it is wired to the header for EXTERNAL targets, not the internal one.

Full JTAG isn't typically needed as you aren't going to boundary scan the device, or daisy chain them and it just interferes with the available pins on the board.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Gabriele1
Gabriele1Author
Associate II
April 27, 2020

Yes exactly! Thanks for your help!