2025-03-21 10:01 AM - last edited on 2025-03-21 10:14 AM by STOne-32
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
2025-03-21 10:13 AM
2025-03-21 10:13 AM - edited 2025-03-21 10:16 AM
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.
2025-03-21 11:05 PM
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