background image

V3.0.0.0.3

11

4. How to check the log of firmware?

There are two ways for RAK5010 to check the log: through J-link RTT Viewer and through
UART.

4.1 Check the log of RAK5010 through J-Link RTT Viewer

If you want to check the log of RAK5010 through this way, you should make sure that you
have connect RAK5010 with your PC through JTAG like this:

Then open the program “J-Link RTT Viewer V6.41a” which you just installed in the section
2.

Summary of Contents for RAK5010

Page 1: ...RAK5010 Quick Start Guide Version V1 0 September 24 2019 www RAKwireless com Visit our website for more document...

Page 2: ...og of RAK5010 through UART 14 4 3 Check the log of RAK5010 through microUSB 15 5 How to configure RAK5010 17 5 1 Configure RAK5010 through UART 17 5 2 Configure RAK5010 through BLE 18 5 3 Configure RA...

Page 3: ...e If you want to get a DFU package so that you can upgrade the firmware for RAK5010 through DFU over BLE please download the latest DFU package of RAK5010 here https downloads rakwireless com en Cellu...

Page 4: ...eless com en Cellular Tools After uncompressing this zip file you will get a folder like this Now copy the firmware of RAK5010 which you have just downloaded and uncompressed to the above folder You s...

Page 5: ...e or compile a customized one by yourself using RAK online compiler https doc rakwireless com rak5010 wistrio nb iot tracker firmware customizing Then make sure that you have installed the mobile APP...

Page 6: ...V3 0 0 0 3 6 CONNECT and you can see the following page Click Secure DFU Service and the following red box button...

Page 7: ...V3 0 0 0 3 7 Now click the red box button...

Page 8: ...V3 0 0 0 3 8 SEND OK RAK5010 has worked in the DFU mode now and you can find a BLE signal named DfuTarg as the following picture shows...

Page 9: ...V3 0 0 0 3 9 CONNECT Then click the red box icon in the following page Just select Distribution packet ZIP and OK...

Page 10: ...ialog Once you have done the above things it will start to upgrade the firmware for RAK5010 through DFU over BLE automatically When it completes RAK5010 will restart automatically and DFU connection w...

Page 11: ...T Viewer and through UART 4 1 Check the log of RAK5010 through J Link RTT Viewer If you want to check the log of RAK5010 through this way you should make sure that you have connect RAK5010 with your P...

Page 12: ...V3 0 0 0 3 12 OK Choose the parameters as the following picture shows...

Page 13: ...V3 0 0 0 3 13 OK and Connect as follow Then you can see some log Note If there is no log after connecting successfully you can try to reset RAK5010 or check the connection of JTAG...

Page 14: ...your PC through UART correctly like this Then open a serial port tool in your PC If you haven t a serial port tool I recommend to use RAK Serial Port Tool which you can download from here https downlo...

Page 15: ...V3 0 0 0 3 15 OK you can see the log through UART now 4 3 Check the log of RAK5010 through microUSB Firstly connect RAK5010 with your PC through microUSB USB...

Page 16: ...e you need a serial port tool which can support DTR function like Termite You can download Termite here OK After opening Termite and setting it as the following picture shows Termite will connect with...

Page 17: ...ough UART and through BLE 5 1 Configure RAK5010 through UART As I said in the section 3 2 if you want to use RAK5010 through UART you should connect RAK5010 with your PC through UART correctly Then le...

Page 18: ...which is developed by Nordicsemi company Then open the APP on your mobile device after opening the Bluetooth of your mobile device you can see some BLE devices in the scan list Now you should push the...

Page 19: ...3 19 Note It is very important that you should connect it in 60 seconds after reseting RAK5010 otherwise RAK5010 s BLE will work in central mode and it can not be scanned Click the 3rd item Nordic UAR...

Page 20: ...V3 0 0 0 3 20 Click the arrow which is marked by the red box in the above picture you will see the following page...

Page 21: ...0 0 3 21 You can send AT commands to RAK5010 in this page meanwhile you can see log information in RTT Viewer if you want For example if you want to check the current firmware s version just do as fo...

Page 22: ...V3 0 0 0 3 22 Then you can see the version number in RTT Viewer tool You can see the current firmware s version in RTT Viewer If you want to check the BG96 module s version you can do as follow...

Page 23: ...V3 0 0 0 3 23 Then you can see some log information in RTT Viewer Great The BG96 module s version has been printed in RTT Viewer...

Page 24: ...tice that in this case you need a serial port tool which can support DTR function like Termite You can download Termite here https downloads rakwireless com en LoRa Tools termite 3 4 zip OK After open...

Page 25: ...e version number at set_config device restart After set the device will restart at get_config device status Get all information about the device s hardware components and their current status at set_c...

Page 26: ...connect for example CHINA MOBILE AAA definition The short name of the Cellular operator for example CMCC BBB definition The operator s APN name for example CMNET C definition The number of the Cellul...

Page 27: ...r Cellular In this section we ll do some practice to show how to connect Cellular network Firstly insert a SIM card into RAK5010 in this document i ll use a China Mobile SIM card for example BTW as I...

Page 28: ...the following output in the serial port tool As you see RAK5010 has scanned the around Cellular network and show them in the serial port tool Then use the AT command at set_config cellular AT COPS 1 0...

Page 29: ...V3 0 0 0 3 29 Continue to configure using the AT command at set_config cellular AT QICSGP 1 1 CMCC 1 and at set_config cellular AT QIACT 1...

Page 30: ...cket sending from RAK5010 Note This IP address is just used for example and it is my testing server actually OK we ve configured RAK5010 correctly Next let s try to send a packet manually over Cellula...

Page 31: ...ver has received the packet successfully and the data is 123456 which is same with the one we just sent out 7 2 Connect Cellular network and send packet automatically Firstly configure the parameters...

Page 32: ...s follow As you see this setting means that we open the sending loop and the interval time is 180 seconds About this command you can have a look at the section 5 of this document Now restart RAK5010 b...

Page 33: ...Every time when it sends a packet out RAK5010 will go to sleep for 180 seconds which you just set then RAK5010 will wake up and searching GPS building a new packet and sending it out You will see a c...

Page 34: ...ces For the Beacon scan mode RAK5010 can scan the around Beacon signal it is useful for Beacon usecase similar with iBeacon By default RAK5010 s BLE will work in the peripheral mode so that users can...

Page 35: ...rakwireless com Email us info rakwireless com About RAKwireless RAKwireless is the pioneer in providing innovative and diverse cellular and LoRa connectivity solutions for IoT edge devices It s easy a...

Reviews: