I have STM32H753I-EVAL2 just out of box, no changes made.
www.st.com/.../stm32h753i-eval.html
Built an example app from ST package (if it matters, LwIP_HTTP_Server_Raw)
MDK 5.26.2 debugger sees the ST-LINK/v3 on the board - but cannot erase and write internal flash.
Erase and program progress runs quickly but verification fails. All flash bytes read as FF.
Then I connect with ST CubeProgrammer and it successfully downloads the program -
after a thorough reset (power and debugger cable disconnected & reconnected). Just pressing reset button on the board does not help.
Without power off, after MDK failure, Cube Programmer also cannot connect, and the on-board ST-Link cannot connect (puts a error message file on its USB drive).
When CubeProgrammer can connect, it shows that the memory is partially written. Spans of valid data interleaved with spans of FFs, But not all FFs, as the debugger reports.
Also, after the debugger reports that the flash was erased - it is not (checked with Cube Programmer).
The MCU and size of flash (M7, 2 MB) is detected correctly.
Is this a know issue with STM32H7 or this board, or I need some extra setting?
Thanks in advance,
Pavel A.
You might try upgrading your MDK to the latest v5.28a, as well as the ST-link v3 firmware to the latest.
Thank you ChenTang. The ST-Link v3 firmware is already latest (verified with ST Cube Programmer).
Unfortunately I don't have v5.28 with my license.
Was it a known issue in 5.26 that has been resolved recently?
- pa
Definitely predates proper ST-LINK/V3 support
uV 5.28a should be downloadable. Install it in a different directory
Hello, I have the exact same issue with Keil 5.31 and latest (as far as I know) STLink v3 firmware. Loading manually through "Load" button works fine.
However the loading is not done automatically by button Start Debug Session (option "load application at startup" is selected): binary is not loaded but the debug starts which is kinda error prone !
Moreover I have an error message in all cases:
File : C:\Keil_v5\Arm\Packs\Keil\STM32H7xx_DFP\2.3.0\Keil.STM32H7xx_DFP.pdsc Sequence : DebugDeviceUnlock Context : Item #0: <block>::Line 8 Expression : "v5\Arm\Packs\Keil\STM32H7xx_DFP\2.3.0\Keil.STM32H7xx_DFP.pdsc" E310 : Debug access failed - cannot read address 0xE00E1004 (accsize '4', AP '0x00000002')
Hi Guillaume,
Did you find any solution to your problem? because I'm having the same issue on my STM32H757-EVAL boar trying to flash the CM7 core.
Regards,
D.