STM32H7A3: $Verification of Flash Failed #1294
Labels
component/st-flash
component/stlink-lib
error/verify-failed
os/linux
programmer/STLINK/V3
V3SET / V3MODS / V3MINI / V3MINIE / V3E / V3EC
status/duplicate
status/no-bug
status/resolved
status/wont-fix
target/stm32h7
Milestone
Hello,
I have been trying to use the st-flash to upload a binary, but I am getting
ERROR common.c: Verification of flash failed at offset: 6144
.If I use Eclipse IDE to build and program, take the built .elf, convert to to bin using
arm-none-eabi-objcopy
and then try to flash it works. But if I make a new build and try to flash that "raw" it fails every time.Further we kindly ask you to describe the detected problem as detailed as possible and to add debug output if available, by using the following template:
Commandline output:
Here is the debug output from a project after it has been built using Cube IDE.
arm-none-eabi-objcopy -O binary blinky.elf blinky.bin
st-flash --debug write blinky.bin 0x8000000
Debug Logs
logs_fail.txt
and then I use CubeIDE to program the aforementioned project on the STM32 and trying the exact same command works now.
logs_win.txt
My ST Link version
![Screenshot from 2023-01-06 22-01-04](https://user-images.githubusercontent.com/47793848/211102303-b83f0f8b-4438-436f-9f7b-acd1a3eb05a5.png)
I have tried the develop branch but it seems to have some bug currently:
Please help me, I would really love to be able to stay away from the CubeIDE if at all possible :)
The text was updated successfully, but these errors were encountered: