Yes, it is possible to hardbrick (not even SWD recoverable) an stm32 by software (bootloader messing work)
@nieldk really? I imagine burning fuses would be one approach, but I was under the impression that stm32 didn’t have otp fuses, rather eeprom configuration.
@RoganDawes I was experimenting with a stlinkv2 clone, to enable usb enumeration, so that the app would be executed by stlink bootloader. I erased part of BL (page 9) and they are a total brick (my experiment was inspired by Segger doing similar).
I did succeed with a third dongle ;) but first two are total bricks.

@RoganDawes my version of BMP is now flashable, without SWD , and it will enumerate as BMP without udev rules or stklink-util - if you want to “return” to stlink it will require SWD hehe, and you can’t “update”, which is fine, 1.10.2 version is anyway the best working.

https://github.com/nieldk/blackmagic

GitHub - nieldk/blackmagic

Contribute to nieldk/blackmagic development by creating an account on GitHub.

GitHub
@RoganDawes turns out I just forgot it’s not mass erase but option erase lol