cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Mass erase operation failed.Please verify flash protection on Nucleo L476G

CWei .1
Associate II

Hello,

I wanted to try the SBSFU topic 6 step by step youtube video, i accidentally flash the Userapp.bin with the RDP level 1, (and also with Write protection enable in bank1).

I try to change the RDP level back to 0, and also disable the Write protection on bank1, however the mass erase option had not been successful, can you advise if such revert is possible? it means that those protected area was not able to be erase.(0x8000000), or the board had become unusable?

12 REPLIES 12

Hello @digidhamu​ ,

the reset pin should be connected to the STLink so that it can handle it.

This is the purpose of connect under reset.

STLink maintains reset enabled, requests connection to jtag and releases the reset.

You can connect when setting boot0 to VCC because this connection does not require connect under reset.

Best regards

Jocelyn

Great @Jocelyn RICARD​ This works perfectly. Thanks for your timely support.

Mark_MT
Associate II

It was possible to unbrick my G071 bij using the old and better tool: STM32 ST-LINK Utility 4.4.0.0

This tool is more clear. On the tab Option Bytes > Read/Write Protection (PCROP) the protection on area 1 was enabled.

In cubeprogrammer i did not see this being set.