Error in Writing External Flash STM32H750B-DK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-18 12:04 AM
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.
- Labels:
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-19 2:23 AM
Ok Thanks for the input, I have set the output to .srec and tried to program as specified by you and got the following results
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-19 2:58 AM
Your previous operation at 2nd tab was OK to erase NOR flash, you may try in that way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-19 3:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-19 7:35 PM
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".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-19 8:03 PM
one point to take care about QSPI NOR flash programming on STM32 board: be sure to use latest version of STM32CubeProgrammer (v2.14.0).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-19 8:57 PM
Yes I am using the latest STMCUBEPROGRAMMER.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-19 9:00 PM - edited ‎2023-10-19 9:02 PM
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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-19 9:09 PM
Could You please specify how to remove block protection?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-19 10:02 PM
MT25TL01G datasheet will tell you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-19 10:17 PM
STM32H750B-DK uses dual MT25TL01G or MT25Q512?
