RAK8212 WisTrio iTracker Pro Quick Start Guide
Prerequisite
Before going through each and every step in the installation guide of the RAK8212 WisTrio iTracker Pro Module, make sure to prepare the necessary items listed below:
- RAK8212 WisTrio iTracker Pro
- Emulator Kit
- Connector Wires
- 3.3 V Battery Power Supply
- Windows PC
- Android/IOS Mobile Device
This device released by RAKwireless is already pre-loaded with its latest firmware upon manufacturing. If you want to have your device's firmware burned or upgraded, refer to the sections below:
Package Inclusions
- 1 pc - RAK8212 Developer Board
- 1 pc - GPS Antenna
- 1 pc - PCB Antenna
- 1 pc - Battery Line
- 5 pcs - Dupont Line
Product Configuration
Checking Device Logs
You can check the logs for debugging purposes on your RAK8212 WisTrio iTracker Pro through J-link RTT Viewer
Through J-link RTT Viewer
- If you want to check the logs of RAK8212 WisTrio iTracker Pro using this method, make sure you have connected the RAK8212 with your PC through JTAG like the following diagram below:
You still have to connect the battery to the RAK8212 to power the board.
- Go to the Official Website of Segger where you can Download the J-Flash software. Open the program J-Link RTT Viewer V6.60f and choose "USB" for the type of connection to J-Link. After which, press OK.
- Choose the device parameters as the following picture shows and press OK.
- Connect to your RAK8212 WisTrio iTracker Pro by navigating through File > Connect in the Main Menu. Alternatively, you could just press F2 to do the same process.
- Once connection is obtained, you should see the same log as shown in the image below:
Configuring RAK8212 WisTrio iTracker Pro
You can configure your RAK8212 WisTrio iTracker Pro by sending AT Commands through Bluetooth.
For the complete list of AT Commands available for configuring your RAK8212 WisTrio iTracker Pro, kindly check the AT Commands for iTracker Pro section.
Through BLE
- In order to configure the RAK8212 WisTrio iTracker Pro through BLE, download and install nRF Connect which is developed by Nordic Semiconductor and is also available in both App Store and Google Play Store.
- Make sure the Bluetooth on your mobile is turned on. Open the application and you will see all BLE devices in range in the scan list:
- Upon connecting, a pop-up window displays and in the third item "Nordic UART Service", click the arrow marked in the red box which enables you to write commands through BLE.
- Click the arrow which is marked by the red box in the picture below, you will see the following page:
- You can now then send AT commands to the RAK8212 WisTrio iTracker Pro. Meanwhile, you can also see log information in RTT Viewer as discussed in Checking Device Logs section.
- For example, if you want to check the current firmware’s version send the following command:
- Then, you can see the version number in RTT Viewer tool:
Connecting to Cellular Network
This section is a sample guide on how to connect you RAK8212 WisTrio iTracker Pro to a Cellular Network.
-
Insert a SIM Card into your RAK8212 WisTrio iTracker Pro .
-
Make sure that your RAK8212 WisTrio iTracker Pro is connected to your mobile device over BLE according to the Configuring your RAK8212 WisTrio iTracker Pro section.
-
Now, send
at+scan=cellular
from mobile device over BLE to RAK8212 WisTrio iTracker Pro as shown in the image below:
- Wait for about 20 seconds, and you should see some information similar to the image shown below in the RTT Viewer:
There may be several Cellular operator’s network signal detected upon scanning. In this section, the cellular networks available are CHINA MOBILE and CHN-UNICOM Cellular network.
Miscellaneous
Device Firmware Setup
An easy and quick way to have a fully functional RAK8212 WisTrio iTracker Pro is by using a Pre-compiled Firmware Image provided. In this section are the step by step instructions on how to install the Image into your device.
Burn the latest Firmware
- If you want to get a pre-compiled firmware instead of compiling the source code by yourself, download the latest firmware.
- Download and install J-Link tool on your Windows PC.
- Connect the RAK8212 WisTrio iTracker Pro with your PC through through your JTAG Emulator Kit as follows:
- Now, Open the program J-Flash V6.41a which you just installed and click Start J-Flash
- Click the button marked with the red box in the image below labeled Figure 15, then you can see the following page as shown in Figure 16 and in the table provided.
Parameter | Value |
---|---|
Manufacturer | Nordic Semiconductor |
Device | nRF52832_xxAA |
Core | Cortex-M4 |
Flash Size | 512 KB + 4 KB |
RAM Size | 64 KB |
- Click OK and a window pops-up, as shown in Figure 17.
- Now, connect to the RAK8212 WisTrio iTracker Pro by navigating through Target > Connect in the Main Menu.
If the connection is unsuccessful, please recheck the connections between the RAK8212 WisTrio iTracker Pro, JTAG, and the connecting wires.
- Open the download firmware of the RAK8212 WisTrio iTracker Pro by dragging it into the window as shown in the image below:
- Before going into the firmware process, make sure to have the old firmware erased in the chip by navigating through Target > Manual Programming > Erase Chip in the Main Menu or by doing the process shown in Figure 20.
-
After the successful erasing of the old Firmware, you can start to burn the new firmware into RAK8212 WisTrio iTracker Pro by navigating through Target > Production Programming in the Main Menu or by Pressing "F7".
-
Wait for a couple of seconds and a notification pop-ups showing a successful burning of the updated firmware as shown in the image below:
Firmware Logs Checking
-
Open the program J-Link RTT Viewer V6.41a which you just installed and click OK.
-
Choose the parameters as shown in the image and in the table provided below and click OK.
Parameter | Value |
---|---|
Manufacturer | Nordic Semiconductor |
Device | nRF52832_xxAA |
Core | Cortex-M4 |
Flash Size | 516 KB |
RAM Size | 64 KB |
- Connect by navigating through File > Connect in the Main Menu or by pressing F2.
If no logs are shown upon connecting, try resetting the RAK8212 WisTrio iTracker Pro and redo the Firmware Logs Checking section.