cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to Mass Erase

avinpat_8
Associate II

Hi i am using b-l4s5i-iot01a i am unable to Mass Erase the chip i am using latest version of STM32CubeProgrammer and Latest Version of ST-Link 

I tried these things

1. WRP1A_STRT, WRP2A_STRT, WRP1B_STRT, WRP2B_STRT to 0xFF and every WRP1A_END, WRP2A_END, WRP1B_END, WRP2B_END to 0x0 and applied,

Option bytes programming was successful

But tried to Mass erase the chip which failed with error: ERROR: Mass erase operation failed. Please verify flash protection. (I have attached image for your reference).

RDP is set to AA (Level 0).

2. setting RDP to 0xBB and then resetting RDP to 0xAA and retrying the chip erase 
error: ERROR: Mass erase operation failed. Please verify flash protection.

3. RDP level we tried to change 0xAA and 0xBB  

 but still we are unable to mass erase can suggest any other hardware or software method so that i can Erase

avinpat_8_0-1742576372554.png

 

3 REPLIES 3
STOne-32
ST Employee

Dear @avinpat_8 ,

Can you try to do simple "Pages" Erase, one by one, and all at a time, without Mass erase to see if it works ?  and have logs.  if successful, it might be a timing issue to investigate.

Hope it helps,

STOne-32.

Hi i have tried by erasing sector wise still unable to erase is there any hardware method to recover this because we have tried all possible case by software

avinpat_8_0-1742623429368.png