cancel
Showing results for 
Search instead for 
Did you mean: 

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

Gabriele1
Associate II

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 🙂

1 ACCEPTED SOLUTION

Accepted Solutions

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
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

4 REPLIES 4

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
Up vote any posts that you find helpful, it shows what's working..
Gabriele1
Associate II

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

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
Up vote any posts that you find helpful, it shows what's working..

Yes exactly! Thanks for your help!