Skip to main content
ZExpo.1
Associate III
October 18, 2023
Question

Error in Writing External Flash STM32H750B-DK

  • October 18, 2023
  • 2 replies
  • 7545 views

ST-LINK SN : 002F00134D46501420383832

ST-LINK FW : V3J12M3

Board : STLINK-V3MINIE

Voltage : 3.43V

SWD freq : 8000 KHz

Connect mode: Under Reset

Reset mode : Hardware reset

Device ID : 0x450

Revision ID : Rev V

Device name : STM32H7xx

Flash size : 128 KBytes

Device type : MCU

Device CPU : Cortex-M7

BL Version : 0x90

 

 

 

Memory Programming ...

Opening and parsing file: ST-LINK_GDB_server_a05624.srec

File : ST-LINK_GDB_server_a05624.srec

Size : 169.02 KB

Address : 0x08000000

 

 

Erasing memory corresponding to segment 0:

Erasing memory corresponding to segment 1:

Erasing external memory sectors [0 1]

Erasing memory corresponding to segment 2:

Erasing external memory sector 16

Download in Progress:

 

 

File download complete

Time elapsed during download operation: 00:00:10.115

 

 

 

Verifying ...

 

 

 

 

Error: Data mismatch found at address 0x90000003 (byte = 0x20 instead of 0x24)

 

 

Error: Download verification failed

 

 

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

Error in STM32CubeProgrammer

Shutting down...

Exit.

 

This topic has been closed for replies.

2 replies

jiangfan
ST Employee
October 18, 2023

You may try to download and use the latest STM32CubeProgrammer v2.14.0 to see if the STM32H750B-DK is OK or not from hardware point of view.

ZExpo.1
ZExpo.1Author
Associate III
October 18, 2023

Yes, I have tried that also, I re-installed everything from scratch now.

jiangfan
ST Employee
October 19, 2023

OK, be sure to enable the correct external loader: MT25TL01G_STM32H750B-DISCO for STM32CubeProgrammer to do the programming.

Clipboard.png

Tesla DeLorean
Guru
October 20, 2023

Going to observe here that if you run algorithms for other vendors devices against a Micron part that you can inadvertently lock blocks on the Micron device precluding write and erase, including mass erase, from working.

In these cases you need to remove the block protection level from the status register to recover the memory. 

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
ZExpo.1
ZExpo.1Author
Associate III
October 20, 2023

Could You please specify how to remove block protection?

jiangfan
ST Employee
October 20, 2023

MT25TL01G datasheet will tell you.