How to erase STM32WLE5JC and over write write protected firmware
How to erase STM32WLE5JC so that I can put my binary in the Seeed Studio Wio-E5 module. Web says changing the lock bit from hex value of ??? to ???. Where can I set it? TIA

How to erase STM32WLE5JC so that I can put my binary in the Seeed Studio Wio-E5 module. Web says changing the lock bit from hex value of ??? to ???. Where can I set it? TIA

According to https://wiki.seeedstudio.com/LoRa_E5_mini/#21-erase-factory-at-firmware you need to link the PB13/SPI_SCK/BOOT pin to Vss prior to applying power so that the pre-programmed firmware enters its "boot" mode, at which point it will start pumping out 'C' characters on the USART at 9600 baud (rather than expecting AT commands on that port).
After that you can remove code protection it using the JTAG RST, SWDIO and SWCLK pins. So you will need a JTAG interface. Sorry I can't help you on how to do it with Stm32cubeIDE; I don't use it. (I prefer the commercial, paid-for, Rowley Crossworks).
But. You are at the mercy of Seeed and rely on them including this boot mode, and only using RDP level 1. Who knows if they will continue to do so in future.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.