Manual programming
Setting things up
Provisioning firmware files - Keep these files secure as they contain keys
Firmware release files from
Step 1 - Connect the device to the programmer
Step 2 - Start ST-Link Utility and connect to device
Step 3 - In menu Target select Erase Sectors
Step 4 - In popup windows scroll to end and select Data Memory (Bank1) and Data Memory (Bank2)
Step 5 - Wait for erase to finish
Step 6 - From menu Target select Program & Verify
Step 7 - In popup window select .hex file you would like to program on the device
Step 8 - Click start to start programming
Step 9 - Repeat programming
Go to Step 6 and now program the release firmware.
Use to upload Deep sleep firmware: