
Install and run the sink-sensor application
UM1454
22/28
Doc ID 022085 Rev 2
3.2
Load sink-sensor on the STEVAL
The kit includes the “bin” images of the sink-sensor application that can be loaded onto the
STEVAL by using the Flasher downloader tool. The following steps should be followed.
Configure the jumpers JP3, JP4, JP5 and JP6 as in
for use of USB-UART
bridge
Configure the jumpers JP2 as in
to activate the boot signal
Plug the STEVAL into one of the USB slots on the PC and identify the serial port
associated to the STEVAL (by using the Computer Management Utility of the PC) (See
). The power-LED (LED1) goes on to indicate the STEVAL is powered via the
USB
Run the Flasher as described in
by using the batch file where the user
has specified the COM port to use and the sink.bin or sensor.bin (from C:\Program
Files\STMicroelectronics\EmberZNet-4.x.x\STM32W108\app\idz3lib\prebuilt\sensor)
file as per user needs
Unplug the STEVAL and configure the jumper JP2 as in
to use the loaded
application.
Note:
The previous step can be followed to load any other “bin” images on the STEVAL.
3.3
Setting-up a network and running the sink-sensor
application
This section describes how to use the STEVAL to run the sink-sensor application. Refer to
the source code files for details on the implementation and use of the EmberZnet APIs.
The sensor-sink application can be run once the user has successfully loaded the
sensor and sink applications as described in
boards
Verify that jumper JP2 is configured as represented in
In the procedure described below, the choice made was to connect both sensor and
sink to a PC via the mini-USB connector. That allows to monitor the serial messages of
both the sensor and the sink by using the HyperTerminal utility on your PC
Connect sink. Verify JP3-4-5-6 are as in
and connect STEVAL-sink to one of
the USB slots of the PC. LED2 and LED3 start toggling which indicates the sink has
appropriately formed the network as coordinator
Open a HyperTerminal by specifying the COM associated to STEVAL-sink (see
) and by using the configuration 115200-8-NONE-1-NONE. The serial
messages are seen, as shown in
. Press the reset button on STEVAL to make
the sink application start from the beginning. The init, form and sink advertise
messages are shown in
www.BDTIC.com/ST