cancel
Showing results for 
Search instead for 
Did you mean: 

Programming STM32H743 Nucleo-144 with with ST-link2

Alzomor
Associate II

I have a stand alone ST-link/V2 and I need to use it to flash the FW to a STM32H743 Nucleo-144 "Nucleo-H743ZI"

I removed the two jumpers on CN4 to disconnect the on board ST-Link 
and Connected the following Signals, the table show mapping from Nucleo CN11 pin

SignalNucleo CN11 Pin#ST-Link ICD20-Pin# 
VDD12 - 3.3V1 - MCU VDD 
GND8 - GND4 - GND  
SWDIO13 - SWDIO7 - SWDIO 
SWCLK15 - SWCLK9 - SWCLK 
NRST14 - NRST15-NRSTOptional

the board is powred through CN1
The Programmer is connected but the target Volatage is not 3.3V

Alzomor_0-1749727768486.png

and when I try to connect I get this error

13:26:57 : STM32CubeProgrammer API v2.19.0 | Windows-64Bits 13:29:41:379 : UR connection mode is defined with the HWrst reset mode 13:29:41:518 : ST-LINK SN : 57FF6D067186535413301487 13:29:41:518 : ST-LINK FW : V2J46S7 13:29:41:518 : Board : -- 13:29:41:518 : Voltage : 0.58V 13:29:41:519 : Error: Unable to get core ID 13:29:41:519 : Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication 13:29:41:549 : Disconnected


How to overcome this problem

regards
Hossam Alzomor



 

 

8 REPLIES 8
TDK
Super User

Is the nucleo board powered? If so, how? The programmer does not provide power over pin 1. It has VDD on pin 19 if you want to use that.

 

If you feel a post has answered your question, please click "Accept as Solution".

The Nucleo is powered  through the USB connector CN1
I am connecting pin1 of the IDC20 connector to allow the programmer to monitor the supply voltage of the microcontroller.

 

TDK
Super User

> The Nucleo is powered  through the USB connector CN1

Evidence suggests otherwise, no? Are any LEDs on the board on?

Show a picture of the board with jumper positions visible. Should be configured for USB power.

 

Why use an external programmer on a board that has an on-board programmer? Perhaps you damaged the hardware and this is a last ditch attempt to use it?

If you feel a post has answered your question, please click "Accept as Solution".

LD4(COM) and LD6(PWR) are turned on
and CN4 jumpers are removed 

MNucleoWithJ=LinkV2.jpg

 

TDK
Super User

LD7 (overcurrent) on indicates the board has potential hardware issues. Is it possible something on the board was damaged?

 

Why do you want to use an external programmer to program a board with an on-board programmer? If there is a hardware problem, this will not circumvent it.

If you feel a post has answered your question, please click "Accept as Solution".

The Board is not damaged, I am still able to program it using the buildin ST-Link programmer .

I am using the external programmer to validate the conenctions and SW before using the external programmer with another STM32 board.

 

Imen.D
ST Employee

Hello @Alzomor ,

Try the "Connect Under Reset" mode.

ImenD_0-1750055163273.png

Check the jumper positions

ImenD_1-1750055331405.png

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
TDK
Super User

TDK_0-1750078251100.png

> 13:29:41:518 : Voltage : 0.58V

It's not going to connect when the target voltage is 0.94 V or 0.58 V. That's the problem that needs fixed.

If you feel a post has answered your question, please click "Accept as Solution".