cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Writing External Flash STM32H750B-DK

ZExpo.1
Senior

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.

 

34 REPLIES 34

Ok Thanks for the input, I have set the output to .srec and tried to program as specified by you and got the following resultsScreenshot (23).png

Your previous operation at 2nd tab was OK to erase NOR flash, you may try in that way.

Screenshot (25).png

oh, almost the same status as the first post.

Well, you may try the following to avoid side effect:

1) erase internal flash

2) power down and re-power the board

3) do the programming again (I mean, previous operation at 2nd tab)

There is strange point for me: "Board : STLINK-V3MINIE". I suppose the board name information should be "Board : STM32H750B-DK".

one point to take care about QSPI NOR flash programming on STM32 board: be sure to use latest version of STM32CubeProgrammer (v2.14.0).

Yes I am using the latest STMCUBEPROGRAMMER.

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
Up vote any posts that you find helpful, it shows what's working..

Could You please specify how to remove block protection?

MT25TL01G datasheet will tell you.

STM32H750B-DK uses dual MT25TL01G or MT25Q512?