cancel
Showing results for 
Search instead for 
Did you mean: 

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

dbicego
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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

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

2 REPLIES 2

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

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

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

Thanks!

D