P-NUCLEO-WB55 - Mass erase is not working in boot mode.
Hello,
I want to mass erase the flash of the P-NUCLEO-WB55 board using UART and USB in boot mode. I have tried mass erase using the STM32Cube programmer it is showing an error "Mass erase operation failed Please verify flash protection". All the option bytes are in their default state as you can see in the screenshots below. I also tried to connect and mass erase the controller using the Flash loader demonstrator app using UART. The Demonstrator app is unable to read the memory of the controller. but I am able to change the read and write protection using the demonstrator app. but whenever I am trying to mass erase the controller using the demonstrator app, it is showing that the controller is read-protected.
I have also tried to connect in normal operation mode using ST-link V2 then mass erase is working fine. but the problem is why I am not able to mass erase the controller in boot mode. If anyone is able to help me with how to mass erase the controller in boot mode it would be appreciable.
Error log when trying to mass erase using USB-
Option Bytes Screenshots -
Any help would be appreciable.
Thanks and Regards
Sarthak Malik
