Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM32U575: Verification of flash failed at offset: 0 #1320

Closed
6 tasks done
EdwardG323 opened this issue Jul 12, 2023 · 0 comments · Fixed by #1355
Closed
6 tasks done

STM32U575: Verification of flash failed at offset: 0 #1320

EdwardG323 opened this issue Jul 12, 2023 · 0 comments · Fixed by #1355

Comments

@EdwardG323
Copy link

EdwardG323 commented Jul 12, 2023

Hello,

I can't seem to get st-flash to work on my board. I keep getting the error stating the flash verification failed at offset 0. Se below for more details:

  • I made serious effort to avoid creating duplicate or nearly similar issue
  • Programmer/board type: STLINKV3
  • Operating system an version: Ubuntu 23.04
  • stlink tools version and/or git commit hash: 1.7.0-296-gf7fb0a6
  • stlink commandline tool name: st-flash
  • Target chip (and board, if applicable): NUCLEO-U575ZI-Q

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:

This is the error that i get after using the command:

st-flash --reset write firmware.bin 0x8000000 

Commandline output:

2023-07-12T14:39:11 INFO common_flash.c: Starting verification of write complete
2023-07-12T14:39:11 ERROR common_flash.c: Verification of flash failed at offset: 0
2023-07-12T14:39:11 INFO common.c: Go to Thumb mode
stlink_fwrite_flash() == -1

Expected/description:

I expect my board to be programmed with my source code causing one of the LEDs to blink. I did not see a previous issue with my specific chip.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants