Skip to main content
BS K.739
Visitor II
November 3, 2019
Question

error message from debugger back end: error finishing flash operation;

  • November 3, 2019
  • 3 replies
  • 8257 views

i'm using stm32f407 discovery board, and mac as host and i'm getting the above error while debugging. Please someone help me to resolve this issue

This topic has been closed for replies.

3 replies

alister
Senior III
November 3, 2019

You might check your option bytes are sensible for debugging with STM32CubeProgrammer. E.g. RDP is off, WRP and PCROP over the sectors you're loading are off, hardware WDG is off.

MBala.2
Visitor II
August 4, 2020

You have to install STM32 ST-Link Utility and erase with it the whole flash memory. After that, update the firmware on the board again.

For me this solved the problem.

HERO
Visitor II
January 13, 2021

Actually there is a simple way to solve this problem:

0693W000007B2m7QAC.png