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

ERROR src/common.c: Verification of flash failed at offset: 4096 #617

Closed
6 tasks done
rdlim opened this issue Jul 15, 2017 · 0 comments · Fixed by #618
Closed
6 tasks done

ERROR src/common.c: Verification of flash failed at offset: 4096 #617

rdlim opened this issue Jul 15, 2017 · 0 comments · Fixed by #618

Comments

@rdlim
Copy link
Contributor

rdlim commented Jul 15, 2017

NOTICE: The issue may be closed without notice when not enough information is provided!

Thank you for giving feedback to the stlink project. Take some time to fill out
check boxes with a X in the following items so developers and other people can try to
to find out what is going on. And add/remove what is appropriate to your problem.

When submitting a feature request, try to reuse the list and add/remove what is appropriate.
Place a X between the brackets [X] to mark the list item.

  • Programmer/board type: Stlink/v2-onboard
  • Programmer firmware version: STSW-LINK007 2.27.15
  • Operating system: Ubuntu 14.04 LTS
  • Stlink tools version and/or git commit hash: v1.4.0-2-g0c84c29
  • Stlink commandline tool name: st-flash
  • Target chip (and optional board): e.g STM32L496ZGT6 Nucleo-144

A as-detailed description possible of the problem with debug output when available.

When flashing, I occasionally get the following error message when I make a slight firmware change and reflash. The work-around is doing a mass erase before doing st-flash write

OUTPUT/ERROR of the commandline tool(s)

2017-07-14T22:00:04 ERROR src/common.c: Verification of flash failed at offset: 4096
stlink_fwrite_flash() == -1

Expected/description:
st-flash write should work

Thank you,
The stlink project maintainers

rdlim added a commit to rdlim/stlink that referenced this issue Jul 15, 2017
There were missing chipid checks of STM32L496xx and STM32L46x devices.
rdlim added a commit to rdlim/stlink that referenced this issue Jul 15, 2017
There were missing chipid checks of STM32L496xx and STM32L46x devices.
xor-gate pushed a commit that referenced this issue Jul 15, 2017
There were missing chipid checks of STM32L496xx and STM32L46x devices.
homer242 pushed a commit to homer242/stlink that referenced this issue Jul 17, 2017
stlink-org#618)

There were missing chipid checks of STM32L496xx and STM32L46x devices.
@xor-gate xor-gate added this to the v1.5.0 milestone Jul 17, 2017
@stlink-org stlink-org deleted a comment from xor-gate Mar 18, 2020
@stlink-org stlink-org locked as resolved and limited conversation to collaborators Apr 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants