Manual programming
Setting things up
STM32 ST-Link Utility software https://www.st.com/en/development-tools/stsw-link004.html
Provisioning firmware files - Keep these files secure as they contain keys
Firmware release files from https://github.com/IRNAS/smartparks-rhino-tracker-firmware/releases
Always use .hex files with this software.
Step 1 - Connect the device to the programmer
Step 2 - Start ST-Link Utility and connect to device
To upload new firmware, go to Step 6, steps 3-5 require manual provisioning
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
Select the provisioning firmware binary first if you have done steps 3-5.
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 is necessary only when erasing sectors and uploading provisioning binary (steps 3-5 and provisioning in step 6)
Step 9 - Repeat programming
Go to Manual programming Step 6 and now program the release firmware.
Deep sleep
Use Arduino IDE to upload Deep sleep firmware:
Last updated