Skip to main content
Visitor II
October 22, 2020
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?

  • October 22, 2020
  • 4 replies
  • 2508 views

Thanks!

    This topic has been closed for replies.
    Best answer by VNado.1

    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!

    4 replies

    Graduate II
    October 22, 2020

    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.

    Graduate II
    October 22, 2020

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

    VNado.1Author
    Visitor II
    October 23, 2020

    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.1Author
    Visitor II
    October 22, 2020

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

    Graduate II
    October 22, 2020

    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

    VNado.1Author
    Visitor II
    October 23, 2020

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

    Graduate II
    October 22, 2020

    Is the ST-LINK firmware up to date?

    VNado.1Author
    Visitor II
    October 23, 2020

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

    VNado.1AuthorAnswer
    Visitor II
    October 26, 2020

    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!