Error: failed to erase memory
HI,
I've been trying to uploading my program to my Nucleo F411RE using STM32CubeIDE however I keep getting this error:
"
Log output file: "****"
ST-LINK SN : 066CFF495365495067182356
ST-LINK FW : V2J46M33
Board : NUCLEO-F411RE
Voltage : 0.01V
SWD freq : 4000 KHz
Connect mode: Under Reset
Reset mode : Hardware reset
Device ID : 0x431
Revision ID : Rev A
Device name : STM32F411xC/E
Flash size : 512 KBytes (default)
Device type : MCU
Device CPU : Cortex-M4
BL Version : 0x0
Opening and parsing file: ST-LINK_GDB_server_btEB5C.srec
Memory Programming ...
File : ST-LINK_GDB_server_btEB5C.srec
Size : 7.82 KB
Address : 0x08000000
Erasing memory corresponding to segment 0:
Erasing internal memory sector 0
Error: failed to erase memory
Error: failed to erase memory
Encountered Error when opening /Applications/"****"
Error in STM32CubeProgrammer
Shutting down...
Exit.
"
I did accidentally short the board for a second and it was still working after that but after a minute or so it stopped working. I thought it could be something to do with the software so when trying to upload the program again I got this error. The board connects to power and the light on the board just shows red. Im not sure how to check whether if I've burnt the board or I'm accidentally locked the board or some other software issue.
