Skip to main content
Explorer II
November 30, 2020
Solved

How to connect NUCLEO-L4P5ZG board to ST-LINK Utility

  • November 30, 2020
  • 1 reply
  • 938 views

Hi,

I am not able to connect NUCLEO-L4P5ZG board to a PC and ST_LINK utility.

It alway gives me "unexpected error". Detailed message follows:

15:06:46 : ST-LINK SN : 066BFF343039564157205441
15:06:46 : ST-LINK Firmware version : V2J35M26
15:06:46 : Connected via SWD.
15:06:46 : SWD Frequency = 4,0 MHz.
15:06:46 : Connection mode : Connect Under Reset.
15:06:46 : Debug in Low Power mode enabled.
15:06:46 : Can not connect to the target!
 If you're trying to connect to an STM32W1xx device, please select Normal or HotPlug mode from Target->Settings menu.
15:06:49 : Unexpected error

I've attached tool settings. Could someone help me, please?

The running firmware is the default one. I tried to program with my own firmware but I wasn't able to do it due to this problem.

I've read this link but it didn't help (https://community.st.com/s/article/FAQ-Unable-to-connect-to-STM32H7-devices).

Thanks.

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

    Try using STM32 Cube Programmer, it is newer, the Utilities have been deprecated.

    1 reply

    Graduate II
    November 30, 2020

    Try using STM32 Cube Programmer, it is newer, the Utilities have been deprecated.

    dbicegoAuthor
    Explorer II
    November 30, 2020

    With STM32CubeProgrammer I am able to connect and program the board.

    Thanks!

    D