Problem solved:
- Connect ST-Link/V2 programmer as follows:
- CN3 Pin 1 to Lora-E5 3V3
- CN3 Pin 7 to Lora-E5 SWDIO
- CN3 Pin 9 to Lora-E5 SWCLK
- CN3 Pin 19 to Lora-E5 SCK
- CN3 Pin 8 to Lra-E5 GND
- Connect ST-Link/V2 programmer to USB port
- Connect Lora-E5 to USB port
- Press and hold the RST button on the Lora-E5 module
- Click on the ‘Connect’ button on the ST-Cube Programmer
- Release the RST button on the Lora-E5 module. ST-Cube Program should now indicate ‘connected’.
- In St-Cube Programmer, select the ‘OB’ menu.
- Change Read Out Protection from BB to AA and apply it.