Quick start guide

Hardware requirements

  • Silica Rialto Board kit
  • One or more USB type-A extension cable
  • PC with terminal software (such as HyperTerminal)
_images/wise_usb.jpg

Software requirements

  • Jennic SDK toolchain (JN-SW-4041), JN5168 stack library (JN-SW-4065) and Flash GUI tool (JN-SW-4007)
  • Rialto_Jennic firmware
  • PC terminal emulator (such as HyperTerminal)

Note

If you have not yet installed Eclipse Jennic, before proceeding, go to:

Hardware setup

Plug Rialto Board into USB port (also using USB type-A extension cable)

_images/usb_plug.jpg

with USB type-A extension cable

_images/usb_cable.jpg

Wait for properly USB dongle driver installation

_images/ftdi230.jpg

When drivers are ready you can connect one or more Rialto Board (at least two for firmware evaluation)

_images/ftdi230_ready.jpg

Tip

See Control Panel of your PC and note COM Port number configured for each Rialto Board (figure above).
For any troubles during USB driver installation in Windows XP see at WINXP TROUBLESHOOTING
_images/usb_port.jpg

Connecting two Rialto Board (minimun number for full firmware evaluation), take care at COM number installed on your PC

_images/2usb.jpg

SerizII plugin

Rialto board has in bottom layer two strip (6 and 4 way) and can be used as a plugin for SerizII.

_images/seriz_wise.jpg

Important

Before using Rialto boards as SerizII plugin, you must download and install the proper firmware revision of the SerizII board (SerizRialto.zip). For all instruction and information about, see at Silica SerizII

Take care plugging Rialto on SerizII: be shure that both boards (Rialto and SerizII) are power off before!!

HyperTerminal settings

Set your HyperTerminal COMx parameter:

speed = 115200 baud
data with = 8
parity = none
stop bit = 1
flow control = none
_images/com_set.jpg

In Ascci Setup windows, check “Send line ends with line feeds”

_images/com_crlf.jpg

Rialto Board FW installation & setup

  • In the folder C:\Jennic\Application create new folder named Rialto_Jennic
_images/wise_work_folder.jpg
  • Unzip all files from Rialto_Jennic_1_0.zip into the folder C:\Jennic\Application\Rialto_Jennic just created
_images/folder.jpg
  • Go to Start –> Jennic –> JN-SW-404x products –> Eclipse and click on to start Jennic Eclipse
_images/start_1.jpg
  • Check if workspace setting is like figure below. Then click OK to proceed.
_images/start_2.jpg
  • Now you can see the Eclipse Main Window
_images/screen_1.jpg
  • Select menu File –> Import
_images/import_1.jpg
  • In the dialog box that will open, click on General, select Existing Projects Into Workspace and after click “Next” button: new dialog will open.
_images/prj_import.jpg
  • Click on “Browse...” button an navigate to C:\Jennic\Application\Rialto_Jennic folder. Click on “OK” button
_images/prj_import_2.jpg
  • Check options and setting as the image below, then click “Finish” button to import project.
_images/prj_import_3.jpg
  • Wait for project import, then you can see Rialto_Jennic project in the Project Explorer windows of Eclipse Platform.
_images/project_ready.jpg
  • First of all, right click over “Rialto_Jennic” in the Project Exporer window, then select “Clean Project”. After cleaning, a first build will start automaticaly
_images/import_5.jpg
  • Take care at image above. Expand project, and see at “Console” tab: you can find a log that ends with “Generating binary .... Rialto_Coord_JN5168.bin”
_images/clean&build.jpg

Tip

If you can’t see in the “Console” tab the message above, make shure that “Build Automatically” option (inside “Project” menu) is set

_images/aut_build.jpg

Note

The binary file for Coordinator has been generated and ready for Rialto Board programming

Tip

don’t care if you have this warning (see Problems tab).

_images/warning.jpg
  • Now you can build End_Node project. Click on drop-down arrow next to Hammer Icon (blue circled in image below)
_images/build_1.jpg

then click on “Rialto_EndD”. Build will start.

_images/build_2.jpg
  • When build has finished, in the Project Explorer tab expand Rialto_Coord and Rialto_EndD Build folders. The result in image below.
_images/compile.jpg

You have built the two binary files and you are ready for program Rialto Board

Programming Rialto Board with Flash GUI Tool

Before starting Flash GUI programmer tool, you must connect Rialto Board whit built-in USB dongle. Please refer to Hardware Setup chapter on this document to check connection

  • Flash Gui Tool can be accessed by clicking on the drop-down arrow next to Tools Symbols on the toolbar, then selecting “Flash GUI Tool”
_images/tools_1.jpg

Dont’t care of error in Console tab: no troubles or malfunctioning will be affect board program!

_images/error_flash_gui.jpg _images/flash_1.jpg
- Step 1: make these actions:
1) Check and/or select appropriate COM port (green circled).
You can find find out which serial communications port your PC has allocated to the Rialto Board by checking in the Control Panel–>Hardware–>device Manager–>COM port
2) Click on “Refresh” button (blue arrow) and check the result (orange circled): if device not appear, check cable and USB connection (COM port installed)
3) Select in the Baud rate drop-down menu “500000” (for maximun programming time performace)
4) Check “Automatic Program and Reset” checkbox (brown arrow)
_images/flash_2.jpg

Note

Take care at COM port: if it’s already busy with other applications (such as HyperTerminal), you cannot find it in COM port dropdown menu of Flash GUI Tool

  • Step 2: click “Browse” button red circled, navigate to C:\Jennic\Application\Rialto_Jennic\Rialto_Coord\Build and select bin file “Rialto_Coord_JN5168.bin”. Then click “Open” button.
_images/flash_3.jpg
- Step 3: in the “Program” window will appear C:\Jennic\Application\Rialto_Jennic\Rialto_Coord\Build\Rialto_Coord_JN5168.bin.
Clik on “Program” button to start board programming.
_images/flash_4.jpg
  • Step 4: wait for verifyng...
_images/flash_5.jpg
  • Step 5: Click “OK” button and board will reset and start.
_images/flash_6.jpg

Tip

To program End-Node, repeat from step 2 but navigate to C:\Jennic\Application\Rialto_Jennic\Rialto_EndD\Build and select “Rialto_EndD_JN5168.bin” When you have programmed even Coordinator that End-node, you can select FW binary by clicking the drop-down arrow (red circled in image below) and select from drop-down menu

_images/flash_set.jpg
Now you have finished all setup necessary to evaluate, debug and make changes inside Rialto Firmware.
You can plug the Rialto boards into USB ports of your PC, open HyperTerminal sessions and use Serial Monitor command for evaluate the main Firmware functions.
For further details you can read the guides:

Serial Monitor guide

Tip & Tricks