Skip to main content

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:

  1. RAK8212 WisTrio iTracker Pro
  2. Emulator Kit
  3. Connector Wires
  4. 3.3 V Battery Power Supply
  5. Windows PC
  6. Android/IOS Mobile Device
NOTE

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

  1. 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:
warning

You still have to connect the battery to the RAK8212 to power the board.

  1. 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.
Figure 13600: J-Link RTT Viewer
  1. Choose the device parameters as the following picture shows and press OK.
Figure 13601: J-Link RTT Viewer Connection Parameters
  1. 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.
Figure 13602: Connecting to J-Link
  1. Once connection is obtained, you should see the same log as shown in the image below:
Figure 13603: Log Checking through J-Link RTT Viewer

Configuring RAK8212 WisTrio iTracker Pro

You can configure your RAK8212 WisTrio iTracker Pro by sending AT Commands through Bluetooth.

NOTE

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

  1. 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.
Figure 13604: nRF Connect App in Android and IOS
  1. 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:
Figure 13605: nRF Master Control Panel (BLE) device connecting
  1. 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.
Figure 13606: AT+command sending through BLE
  1. Click the arrow which is marked by the red box in the picture below, you will see the following page:
Figure 13607: Nordic UART Service RX Characteristics
  1. 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:
Figure 13608: AT+command for RAK8212 Firmware Version
  1. Then, you can see the version number in RTT Viewer tool:
Figure 13609: RAK8212 Firmware Version 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.

  1. Insert a SIM Card into your RAK8212 WisTrio iTracker Pro .

  2. 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.

  3. Now, send at+scan=cellular from mobile device over BLE to RAK8212 WisTrio iTracker Pro as shown in the image below:

Figure 13610: AT+command for scanning Cellular Network
  1. Wait for about 20 seconds, and you should see some information similar to the image shown below in the RTT Viewer:
Figure 13611: Cellular Network Scan in RTT Viewer
NOTE

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

  1. If you want to get a pre-compiled firmware instead of compiling the source code by yourself, download the latest firmware.
  2. Download and install J-Link tool on your Windows PC.
  3. Connect the RAK8212 WisTrio iTracker Pro with your PC through through your JTAG Emulator Kit as follows:
Figure 13612: RAK8212 to Windows PC connection thru JTag Emulator Kit
  1. Now, Open the program J-Flash V6.41a which you just installed and click Start J-Flash
Figure 13613: J-Flash Start Connection
  1. 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.
Figure 13614: J-Flash Target Device Choosing
Figure 13615: J-Flash Target Device Parameter
ParameterValue
ManufacturerNordic Semiconductor
DevicenRF52832_xxAA
CoreCortex-M4
Flash Size512 KB + 4 KB
RAM Size64 KB
  1. Click OK and a window pops-up, as shown in Figure 17.
Figure 13616: J-Flash Target Device Parameter Selection Window
  1. Now, connect to the RAK8212 WisTrio iTracker Pro by navigating through Target > Connect in the Main Menu.
Figure 13617: Connecting to the RAK8212 WisTrio iTracker Pro
NOTE

If the connection is unsuccessful, please recheck the connections between the RAK8212 WisTrio iTracker Pro, JTAG, and the connecting wires.

  1. Open the download firmware of the RAK8212 WisTrio iTracker Pro by dragging it into the window as shown in the image below:
Figure 13618: RAK8212 Firmware Opening
  1. 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.
Figure 13619: RAK8212 Old Firmware Data Erasing
  1. 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".

  2. 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:

Figure 13620: RAK8212 Firmware Burning Successful

Firmware Logs Checking

  1. Open the program J-Link RTT Viewer V6.41a which you just installed and click OK.

  2. Choose the parameters as shown in the image and in the table provided below and click OK.

Figure 13621: Firmware Log Checking Parameters
ParameterValue
ManufacturerNordic Semiconductor
DevicenRF52832_xxAA
CoreCortex-M4
Flash Size516 KB
RAM Size64 KB
  1. Connect by navigating through File > Connect in the Main Menu or by pressing F2.
Figure 13622: Firmware Log Sample
NOTE

If no logs are shown upon connecting, try resetting the RAK8212 WisTrio iTracker Pro and redo the Firmware Logs Checking section.