Flashing or Re-flashing Wirepas sinks on SolidSense gateway (V0.9 and up)

Foreword

This article describe the procedure to flash the Wirepas stack on one or both of the of the Nordic chip available for that purpose on the gateway. This procedure is provided only for Wirepas licensees (having a full development license) that are flashing the sinks part of their license. For user not having a Wirepas development license they shall buy the gateways with the Wirepas stack installed by SolidRun.

For reference versus the picture below (N6 Indoor):

  • Sink1 is the lower antenna corresponding to the device /dev/ttymxc1

  • Sink2 is the left antenna corresponding to the device /dev/ttymxc2

Prerequisite

The first task is to generate your Wirepas binary (hex file) that is compatible with the SolidSense gateway internal wiring. To generate this firmware file you need to be a Wirepas licensee and have the Nordic development environment installed on your system. SolidRun does not provide any support concerning that development.

The Wirepas application to be used is the standard dual MCU application unless some specific features have to be installed in the sink.

Here is the table of the pin assignment to be used in the firmware

Model/Chip
Direction
Pin

Indoor/Nina B1

TX

6

Indoor/Nina B1

RX

5

Outdoor or Industrial /Nina B3

TX

45

Outdoor or Industrial /Nina B3

RX

29

Baud rate used for connection is : 125000. This is to match with the Sink Service

For N6 Indoor and Outdoor versions here is the schematic if needed:

The gateway firmware level must be at least solidsense-V0.9-2019111100 (This can be verified by checking the Device page in Kura). If you are not in that revision or up please ask Solid Run support for assistance.

All operations require to access the gateway via ssh. (SSH / FTP access to SolidSense gateway )

Flashing the Nordic chip with Wirepas stack

This paragraph is dedicated to customers having a Wirepas license to flash the Wirepas stack into the Nordic chips. The Wirepas subsystem is not activated on the gateway when the provisioning subsystem does not find a valid stack on at least one sink. By consequence, the flashing operation can directly start.

Here is a example of a successful flash operation:

After flashing the simplest solution to enable Wirepas is to use the Configuring and testing the Wirepas gateway software | Prerequisite-and-installation .

Flashing the Wirepas sink for upgrade

The procedure is valid for performing a hard upgrade of the chip.

Then perform the following commands while in the /opt/scripts directory.

After that operations it is necessary to re-configure the sink with the right values and re-start the transport (data) service. This needs to be done via the web interface: Configuring and testing the Wirepas gateway software | Configuring-the-sink-service-with-Kura .

Once the sink(s) have been configured, then the transport service can be restarted either via the web interface, Or directly via the systemctl command.

Last updated