Note: to compile this app you would require to have the full version of Keil uVision as the evaluation version doesnt allow programs to be compiled larger than 35kbytes.
Signup and Download MDK-ARM https://www.keil.com/demo/eval/arm.htm Add you licence once installed.
You would need a segger jlink device: https://www.segger.com/downloads/jlink/ download the J-link software and Documentation pack
press the download tab and get the appropriate version for your setup: https://www.nordicsemi.com/eng/Products/2.4GHz-RF/nRFgo-Studio
Clone/Download iTracker’s keil project from below link: https://github.com/ajurcevic/iTracker_firmware_keil
Open Keil uVision and Import project file: …\tracker-firmware\project\tracker.uvprojx
Press F7 or the build button to build a hex file which you will deploy to your device.
the output file will be located: …\tracker-firmware\project_build<project name>.hex
This project uses nRFK52 v14, so we would require the S132 5.x get the file from here: https://www.nordicsemi.com/eng/nordic/download_resource/58987/13/97029009/116068
Use the nRFgo Studio to program device with this softdevice:
1: Erase all to clear the device
2: Select the 'Program SoftDevice' tab in nRF5x Programming.
3: Find the S132 5.x hex softdevice file you just downloaded
4: Press the program button to program your device
There is an option to deploy with Keil IDE using the Load/download(F8) function. However i have not been successful in performing this. (If anyone has let me know cheers)
Other option is nRFgo Studio.
nRFgo Studio:
1: Select the 'Program Application' tab in nRF5x Programming.
2: Find the hex file that was built in 3.1
3: Press the program button to program your device
Use J-Link RTT Viewer to check the log print. Below is the J-Link RTT Viewer’s configuration.
if you installed it to the default location it should be here: C:\Program Files (x86)\SEGGER\JLink_V632f
0> [39] [DEBUG]: {
0> "temp" : 22.85,
0> "humi" : 37.64,
0> "press" : 102525.88,
0> "light" : 28.58,
0> "lati" : 31.10,
0> "longi" : 121.43,
0> "X" : 13616,
0> "Y" : 4000,
0> "Z" : -6720,
0> "m_x" : 178.50,
0> "m_y" : 199.50,
0> "m_z" : 489.00
0> }
0> [0] [INFO]: iTracker Start V1.0.0!
0> [2] [INFO]: check auto baud
0> [3] [INFO]: set echo
0> [3] [INFO]: check sim card
0> [6] [INFO]: check network
0> [12] [INFO]: check GPRS
0> [15] [INFO]: set context 0
0> [15] [INFO]: check GSM Network ok!!
0> [15] [INFO]: rssi=63
[INFO]: iTracker Start V1.0.0
0> [0] [INFO]: check network
0> [21] [INFO]: check GPRS
0> [22] [INFO]: check con status
0> [22] [INFO]: BC95 Connected
0> [22] [INFO]: rssi=79
Download and install the mobile application nRF Connect and search bluetooth devices: