Skip to main content
VNado.1
Associate III
Oct 22, 2020 8:19 PM UTC
Solved

Hi! I am unable to detect my STM32L4Q5 MCU with ST-Link V2. Do I need to buy the ST Link V3? How do I interface it with the JTAG/SWD programming port? I thought that STM32L4P5 and Q5 family were retro-pintopin-compatible with previous L4 families?

Thanks!

This topic has been closed for replies.
VNado.1
VNado.1Best answer
Associate III
Oct 26, 2020 4:50 PM UTC

Hello everyone,

ST answered me back and apparently ST-link utility is now obselete and does not support these MCU. The new STM32CubeProgrammer worked with the chip!

13 replies

Tesla DeLorean
Guru
Oct 22, 2020 8:36 PM UTC

A real/authentic one?

Should be able to work with current firmware.

Watch for powering buffers with VTarget

Pretty much need SWDIO, SWCLK, NRST, SWO, VCC, GND to get it working effectively.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
Oct 22, 2020 8:50 PM UTC

I'm using a classic stand-alone ST-LINK/V2 with L011, L432 and L4R9 parts, so L4 / L4+ should be viable

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
VNado.1
VNado.1Author
Associate III
Oct 23, 2020 1:01 PM UTC

However I see that on the  STM32L4P5G-DK development board they have included the STLINK-V3E. Is it due to compatibility or simply to showcase their latest programmer?

VNado.1
VNado.1Author
Associate III
Oct 22, 2020 8:40 PM UTC

I think I have all of this except SWO, what is it? My VCC is 3.3V

Tesla DeLorean
Guru
Oct 22, 2020 10:03 PM UTC

It is the JTAG TDO / PB3 pin, can be used to implement the Serial Wire Viewer functionality, an equivalent to the Debug Communication Channel of the older ARM's

http://blog.atollic.com/cortex-m-debugging-introduction-to-serial-wire-viewer-swv-event-and-data-tracing

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
VNado.1
VNado.1Author
Associate III
Oct 23, 2020 1:14 PM UTC

Is the SWO pin absolutely necessary if I don't use the Serial Wire Viewer? My PB3 pin is already used for something else

Uwe Bonnes
Chief
Oct 22, 2020 9:11 PM UTC

Is the ST-LINK firmware up to date?

VNado.1
VNado.1Author
Associate III
Oct 23, 2020 12:52 PM UTC

I have just updated the ST-Link firmware to V2.J33.S7 (latest)

VNado.1
VNado.1AuthorBest answer
Associate III
Oct 26, 2020 4:50 PM UTC

Hello everyone,

ST answered me back and apparently ST-link utility is now obselete and does not support these MCU. The new STM32CubeProgrammer worked with the chip!