cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to dump/load program via ST Link Programmer for STM32H743 MCU.

LokeshIchchangi
Associate II

Hi everyone,

 

We are facing issue is  " Not able to load/dump code via ST -LINK Programmer " and it's showing as error mentioned below. please help us to resolve this kind of issues or please suggest any idea to implement it as soon possible.

--------------------------------------------Cube IDE console output-------------------------------------------------------------------------

STMicroelectronics ST-LINK GDB server. Version 7.8.0

Copyright (c) 2024, STMicroelectronics. All rights reserved.

 

Starting server with the following options:

        Persistent Mode            : Disabled

        Logging Level              : 1

        Listen Port Number         : 61234

        Status Refresh Delay       : 15s

        Verbose Mode               : Disabled

        SWD Debug                  : Enabled

        InitWhile                  : Enabled

 

Waiting for debugger connection...

Debugger connected

Waiting for debugger connection...

Debugger connected

Waiting for debugger connection...

      -------------------------------------------------------------------

                       STM32CubeProgrammer v2.17.0                  

      -------------------------------------------------------------------

 

 

 

Log output file:   C:\Users\tabrezm\AppData\Local\Temp\STM32CubeProgrammer_a11912.log

ST-LINK SN  : 002E000A4D46501220383832

ST-LINK FW  : V3J15M7B5S1

Board       : STLINK-V3SET

Voltage     : 3.25V

Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication

2nd connect tentative with frequency (8MHz)

ST-LINK SN  : 002E000A4D46501220383832

ST-LINK FW  : V3J15M7B5S1

Board       : STLINK-V3SET

Voltage     : 3.26V

SWD freq    : 8000 KHz

Connect mode: Under Reset

Reset mode  : Hardware reset

Device ID   : 0x450

Revision ID : Rev V

Device name : STM32H7xx

Flash size  : 2 MBytes

Device type : MCU

Device CPU  : Cortex-M7

BL Version  : 0x90

 

 

 

Memory Programming ...

Opening and parsing file: ST-LINK_GDB_server_a11912.srec

  File          : ST-LINK_GDB_server_a11912.srec

  Size          : 65.18 KB

  Address       : 0x08000000

 

 

Erasing memory corresponding to segment 0:

Erasing internal memory sector 0

Download in Progress:

 

 

File download complete

Time elapsed during download operation: 00:00:00.200

 

 

 

Verifying ...

 

 

 

 

Error: Data mismatch found at address  0x08000002 (byte = 0x00 instead of 0x08)

 

 

Error: Download verification failed

 

 

Encountered Error when opening C:\ST\STM32CubeIDE_1.16.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.1.400.202404281720\tools\bin\STM32_Programmer_CLI.exe

Error in STM32CubeProgrammer

Shutting down...

Exit.

 

LokeshIchchangi_0-1725881147974.png

 

Note: please suggest any idea to implement it as soon possible.

 

Regards,

Lokesh

 

 

 

 

9 REPLIES 9

Check banking in Option Bytes, show options.

Check board implementation, especially VCAP capacitor values placed, and observed voltage on pins.

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

@Tesla DeLorean 

especially VCAP capacitor values placed, and observed voltage on pins --> where these will get pls let us know??

 

 Option Bytes,

LokeshIchchangi_0-1725881980730.png

LokeshIchchangi_1-1725882001596.png

 

SofLit
ST Employee

Hello,

Is it a custom board? if yes check your HW especially VCAP and decoupling capacitors. You need to refer to the AN4938 Getting started with STM32H74xI/G and STM32H75xI/G MCU hardware development. Figure 18 as a schematics reference.

If you have an ST board, do you face the same behavior?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

@LokeshIchchangi wrote:

@Tesla DeLorean 

especially VCAP capacitor values placed, and observed voltage on pins --> where these will get pls let us know??

 


In the datasheet:

SofLit_0-1725882305394.png

Also Use STM32CubeProgrammer tool instead of STLINK-Utility as it is obsolete.

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

@Tesla DeLorean 

VCAP capacitor is placed and observed voltage is at VCAP 1 and 2 is  1.0 volt.

@SofLit 

Yes We are using custom board.

I have ST Evolution Board we tested no issue is observed it.  

SofLit
ST Employee

Check you schematics versus the schematics reference in AN4938 Getting started with STM32H74xI/G and STM32H75xI/G MCU hardware development

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Should be closer to 1.25V

Capacitors, multiple 2.2uF each, or single common 4.7uF. The values here are important, you need adequate bulk capacitance.

Presuming this is your design, and built by your PCBA

Show Option Bytes from STM32 Cube Programmer, the old ST-LINK Utiities haven't been updated in a few years. Try doing a write/verify of a 2MB binary file to confirm functionality there.

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