Skip to main content
Associate II
September 9, 2024
Question

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

  • September 9, 2024
  • 3 replies
  • 3479 views

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

 

 

 

 

    3 replies

    Tesla DeLorean
    Guru
    September 9, 2024

    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 VenmoUp vote any posts that you find helpful, it shows what's working..
    Associate II
    September 9, 2024

    @Tesla DeLorean 

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

     

    Associate II
    September 9, 2024

     Option Bytes,

    LokeshIchchangi_0-1725881980730.png

    LokeshIchchangi_1-1725882001596.png

     

    mƎALLEm
    Technical Moderator
    September 9, 2024

    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."
    Associate II
    September 9, 2024

    @mƎALLEm 

    Yes We are using custom board.

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

    mƎALLEm
    Technical Moderator
    September 9, 2024

    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."