Avnet Silica JN5168 User manual

Silica JenNode - JN5168 demobaord
Documentation
Release 0
Silica
Mar 20, 2017


Contents
1 INTRODUCTION 3
1.1 Installing Jennic Developement Suite .................................. 4
1.1.1 First step ............................................ 4
1.1.2 Installing Jennic Toolchain JN-SW-4041 ............................ 5
1.1.3 Installing JN-AN-4065 library ................................. 8
1.1.4 Starting Jennic Toolchain .................................... 9
1.1.5 Installing Flash GUI Tool Programmer ............................. 11
1.1.6 Upgrading Flash GUI tool (for JN5168) ............................ 16
1.2 WINXP TROUBLESHOOTING ................................... 17
1.2.1 INSTALLING DRIVER FOR USB DONGLE ......................... 17
1.2.2 CYGWIN1.DLL TROUBLES WITH WINXP ......................... 18
1.3 Quick start guide ............................................. 19
1.3.1 Hardware requirements ..................................... 19
1.3.2 Software requirements ..................................... 19
1.3.3 Hardware setup ......................................... 20
1.3.4 HyperTerminal settings ..................................... 25
1.3.5 Rialto Board FW installation & setup ............................. 26
1.3.6 Programming Rialto Board with Flash GUI Tool ....................... 38
1.4 “Ready to run” Rialto Kit ........................................ 46
1.4.1 Working with Rialto board ................................... 46
1.5 Firmware specification .......................................... 50
1.5.1 Firmware overview ....................................... 50
1.5.2 Firmware restrictions ...................................... 51
1.5.3 Main firmware features ..................................... 51
1.5.4 Project structure ......................................... 52
1.5.5 Firmware & documents download ............................... 52
1.6 Serial Monitor guide ........................................... 53
1.6.1 Using serial monitor ...................................... 53
1.6.2 Coordinator Serial Monitor ................................... 53
1.6.3 End-Node Serial Monitor .................................... 64
1.7 Tip & Tricks ............................................... 71
1.7.1 Stand-alone use of Rialto Boards ................................ 71
1.7.2 Serial channel details ...................................... 71
1.7.3 Poll and Sleep settings ..................................... 73
1.7.4 Led functions .......................................... 73
1.7.5 Firmware debugging ...................................... 74
i

ii

Silica JenNode - JN5168 demobaord Documentation, Release 0
Version 1.00
Copyright (C)2016 Avnet Silica company
Date 30 july 2013
Contents 1

Silica JenNode - JN5168 demobaord Documentation, Release 0
2 Contents

CHAPTER 1
INTRODUCTION
Silica Rialto Board is useful system to evaluate a basic IEE802.15.4 network using JN5168 wireless module.
Rialto board has a single built-in USB dongle. Simply switching serial channel from terminal application to
programming software, you can perform two alternate functions:
a - Evaluate network with simple serial monitor (using a PC terminal such as HyperTerminal)
b - Program Firmware into JN5168 module (using JN-SW-4007-Flash-Programmer v1.8.9)
If you want, you can use separate USB-TTL adapter connected with 6 pin strip on Rialto board. In this case, you can
have two separate serial channel, first (USBdongle) for programming and second (6 pin strip) for Serial Monitor. See
Serial channel details
Rialto board is also designed as a plugin for SerizII board. Rialto “ready to run” kit is specially designed for quick
use and fast evaluate network functionallity. All you have to do is plug End-Node on SerizII board, plug Coordinator
on PC USB port, start HyperTerminal and enjoy!!
With Rialto board you can evaluate the performance of new NXP SENS300/01 device. The SEN300/01 integrates
one high-accuracy temperature sensor, four relative humidity sensors, six light sensors, a user-writable non-volatile
memory and a 10-bit analog-to-digital converter. Rialto application reads out basic data from temperature, humidity
and light sensors. For more information about this sensor, see at NXP official site NXP official site
Rialto board integrates a NTAG203F, NFC Forum Type 2 Tag compliant IC with 144 bytes user memory and field
detection. This device is used on SerizII labs. See at official documentation page of NXP site NTAG203F
Firmware application was developed with JN-SW-4041-SDK-Toolchain-v.1.1 (Eclipse based).
You must also install JN-SW-4065-JN516x-JenNet-IP-SDK-v857 software library.
Firmware project is included in Rialto_Jennic.zip file.
Reference guide are included into Install.zip and are:
1) JN-UG-3064 - Software Developer’s Kit Installation and User Guide
2) JN-UG-3007 - JN51xx Flash Programmer User Guide
3

Silica JenNode - JN5168 demobaord Documentation, Release 0
Install.zip also include JN-SW-4041-SDK-Toolchain-v.1.1.exe and JN-SW-4065-JN516x-JenNet-IP-SDK-v857.exe to
install developement suite.
For JN5168 modules programming, you must install FlashGUI programmer from JN-SW-4007 (included in
Install.zip). Please, note that JN-UG-3007 refers to Flash GUI programmer version 1.8.4, and JN-SW-4047 contains
new release 1.8.9 of Flash GUI programmer. See release note document included in JN-SW-4047 package. The
release 1.8.9 must be installed for JN516x modules programming.
Install.zip and Rialto_Jennic.zip files can be downloaded from Rialto section of Silica ArchiTech web page
(registration needed)
Installing Jennic Developement Suite chapter will guide you through the basic steps of the installation procedure of
Jennic Developement Suite
We suggest you to read first the Quick Start Guide to perform a correct Firmware setup.
Quick start guide
This guide explains how to use this application and provides an overview of on the structure of the project firmware
Installing Jennic Developement Suite
This small guide is intended to explain the main steps to properly install the Jennic SDK Toolchain.
As possibly not shown here, refer to the document JN-UG-3064.
All steps here described are performed with WINDOWS 7 OS
First step
Unpack the file ‘Install.zip’ that you have downloaded You must find these files:
4 Chapter 1. INTRODUCTION

Silica JenNode - JN5168 demobaord Documentation, Release 0
Then, you are ready for Jennic Developement Suite setup.
Installing Jennic Toolchain JN-SW-4041
Double click on JN-SW-4041-SDK-Toolchain-v1.1.exe.
Leave unchanged all default setting in the following dialog box.
When appear verify checkbox selection as image below
1.1. Installing Jennic Developement Suite 5

Silica JenNode - JN5168 demobaord Documentation, Release 0
During installation, if you don’t have Java Runtime on your PC, this popup will appear:
Click OK button and proceed following Java Installer instructions
6 Chapter 1. INTRODUCTION

Silica JenNode - JN5168 demobaord Documentation, Release 0
When installation ends, the followiong will appear:
click “next” button, and setup will ask you to perform a system restart
1.1. Installing Jennic Developement Suite 7

Silica JenNode - JN5168 demobaord Documentation, Release 0
click “OK” and wait for restart
Installing JN-AN-4065 library
Double click on JN-SW-4065-JN516x-JenNet-IP-SDK-v857.exe.
Leave unchanged all default setting in the following dialog box.
When appear verify checkbox selection as image below, then click “Next”
8 Chapter 1. INTRODUCTION

Silica JenNode - JN5168 demobaord Documentation, Release 0
When library installation has finished, Jennic Toolchain is ready to start
Starting Jennic Toolchain
Open Start and go to Jennic –> Eclipse (as show in figure below)
click on Eclipse to start program
Jennic Toolchain will ask for workspace. Leave unchanged an click “OK”
1.1. Installing Jennic Developement Suite 9

Silica JenNode - JN5168 demobaord Documentation, Release 0
Jennic Eclipse will open Welcome tab.
Close Welcome tab by clicking on X red circled in figure above
Now the Jennic Eclipse main window will appear
10 Chapter 1. INTRODUCTION

Silica JenNode - JN5168 demobaord Documentation, Release 0
Close Eclipse and proceed with next steps.
Installing Flash GUI Tool Programmer
In order to complete developement suite setup, you must install Flah Programmer as a external tool.
Open file menu, and select “Import”
1.1. Installing Jennic Developement Suite 11

Silica JenNode - JN5168 demobaord Documentation, Release 0
chose “Run/Debug –> Launch Configurations and click “Next” button
12 Chapter 1. INTRODUCTION

Silica JenNode - JN5168 demobaord Documentation, Release 0
click “Browse” button and navigate to C:\Jennic\Tools\eclipse_config and then click “OK”
1.1. Installing Jennic Developement Suite 13

Silica JenNode - JN5168 demobaord Documentation, Release 0
Sign “Flash GUI Tool” and “Flash CLI Tool” checkbox
Please, note that Eclipse default is all tool checked, but as actual for JN5168 application only the two Flash tool are
14 Chapter 1. INTRODUCTION

Silica JenNode - JN5168 demobaord Documentation, Release 0
needed.
Click “Finish” button to perform Flash Tools setup.
When finished, you can find the tools in the Run–>External Tools menu
They can also be accessed from the drop-down arrow next to the tools symbol, as show in figure below
1.1. Installing Jennic Developement Suite 15

Silica JenNode - JN5168 demobaord Documentation, Release 0
Upgrading Flash GUI tool (for JN5168)
We must upgrade Flash GUI tool to release 1.8.9, because the tool just installed does’n work with JN5168.
To make this, unpack the zip file JN-SW-4007.zip into new folder and navigate to Tools\FlashProgrammer located
inside this new folder.
you can find the JN-SW-4007 file inside Install.zip as show in First step chapter on this document
16 Chapter 1. INTRODUCTION
Table of contents