Following this thread and various sources online, I have manged to get the tracker going without compiling the firmware using the following method:
- Download latest firmware package from ST: https://www.st.com/content/st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32-ode-function-pack-sw/fp-atr-lora1.html
- Download the ST-link utility for flashing: https://www.st.com/en/development-tools/stsw-link004.html
- Connect as shown at the end of this document to ST-Link programmer/Nucleo board as shown earlier in this thread.
- I have had to connect battery, USB cable and the programmer for the flashing to be successful, did not work without the USB cable and only on battery
- Use the ST-Link flasher utility by selecting
Program & Verify
and select the file from the downloaded software package:/STM32CubeFunctionPack_LORA1_V2.0.1/Projects/STEVAL-STRKT01/Applications/LoRa/Asset_Tracker/Binary/STEVAL_STRKT01.bin
- Create an application on TTN and register a new node. I have opted for a TTN generated DevEUI, you could get one from the tracker as well.
- Provision the tracker through the serial connection (tested under Windows and Linux, just plug in and port should appear) with the following commands (copy/paste replacing xxxxx with string from TTN console):
- TTN provided DevEUI, likely you could use board provided one, but need to load different FW to find it out or observe on GW
!deviceeui-xxxxxx
- TTN provided Application EUI
!joineui-xxxxxx
- TTN provided App key
!appkey-xxxxxx
- TTN provided App key
!ntwkkey-xxxxxx
- Issue a reset to use this keys
!sysreset
- On TTN under payload formats configure the Cayenne LPP and you will get decoded data.
- If all has gone well, the tracker should be connected and sending data.