2017-04-12 04:56 AM
Hi,
I want to program the STM32F413 with the ST-Link Utility (CLI and UI has the same issue). We have two hex-files. One for the bootloader in the first sectors and one for the firmware in other sectors. Of course no overlapping. Programming always fails. The ST-Link Utility does not report any errors, but when checking the memory after programming both files, sector 1 is always erased. After loading the first hex-files it looks fine, but after loading the second, it is reset to all 1. The other sectors are all okay.
Not an alternative for us, but I also tried to put both hex-files into one. This does not work either.
Programming the controller with OpenOCD works fine.
To reproduce the behavior:
In my case the values in sector 1 (
0x08004000 and 0x08007FFC) are reset to all 1. The values outside of sector 1 (0x08003FFC and 0x08008000) are still set to zero.
Here some version information:
STM32 ST-LINK Utility.exe v4.0.0.0
STLinkUSBDriver.dll v4.4.0.0
ST-Link_CLI.exe v3.0.0.0
Firmware Version: V2.J27.S0 STM32 Debugger
Any ideas? Could someone please try to reproduce this problem?
#stm32f413vg #stm32-st-link-utility2017-07-18 05:40 AM
Dear All,
Sorry for the late reaction. This bug is already fixed. The MCU support can share with you the patch for the ST-Link Utility v4.0.0.0 or it will be in incoming version of ST-Link Utility.
Have a nice day, Ondrej
2017-07-18 07:47 AM
Ondrej,
OT:
Will the new version also have the
https://community.st.com/0D50X00009XkaBMSAZ
facility implemented?Thanks,
Jan
2017-07-19 04:47 AM
Dear Jan,
I have no information about the plan of manual target reset in ST-Link Utility.Have a nice day, Ondrej
2017-07-19 08:14 AM
:(
But thanks for the info.
A fine day to you, too!
Jan