cancel
Showing results for 
Search instead for 
Did you mean: 

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

BS K.739
Associate

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

3 REPLIES 3
alister
Lead

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
Associate

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
Associate

Actually there is a simple way to solve this problem:

0693W000007B2m7QAC.png