Skip to main content
ksale.1
Senior II
August 12, 2022
Solved

Error: failed to erase memory

  • August 12, 2022
  • 6 replies
  • 4411 views

I've stm32H750B-DK discovery board and when debugging I get this error at first debugging attempt , I then press the reset button several times before the download is successful. (pressing the reset button is not guaranteed to solve the problem, I still get the error in this case). Is this a sign of a bigger problem HW or SW?

This topic has been closed for replies.
Best answer by Piranha

So why did you marked the topic as answered if you didn't get to the solution?

And are you capable of using the internet?

https://i.stack.imgur.com/8YIAZ.png

6 replies

Tesla DeLorean
Guru
August 12, 2022

Tends to me more indicative of the tools and the settings.

ie Connect Under Reset might be a more effective means of getting control of the MCU initially.

There are things you can do in software that interfere with debugger connectivity.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
ksale.1
ksale.1Author
Senior II
August 12, 2022

Thank you @Community member​  Can you give me guidance where to look. It is very annoying error.

Piranha
PiranhaBest answer
Principal III
August 12, 2022

So why did you marked the topic as answered if you didn't get to the solution?

And are you capable of using the internet?

https://i.stack.imgur.com/8YIAZ.png