2.10. Binary Files Available for the BMD-300 on the Gateway

The Rigado Vesta-100B, 200B and 300B gateways have a Rigado BMD-300 module built in. Rigado’s RigOS provides a couple of different BMD-300 binaries built into vesta-image-developer, along with scripts, to ease the programming of the Gateway’s BMD-300 module. This feature is available on our latest production units running Lithium 3.0.0 or later. In order to determine if you have the latest production unit and developer image, issue the following commands from the Rigado Gateway command line:

root@080030717-00055:~# cat /etc/os-release
NAME="RigOS"
PRETTY_NAME="Rig OS Developer 17.09.0 Lithium-3.1.0"
ID="rigos"
VERSION="17.09.0, Lithium-3.1.0"
...
root@080030717-00055:~# board_serial_number
B0830A1517-00140

If the 6th character is A or greater and you are running Lithium-3.0.0 or later, your gateway will be able to program the BMD-300 with the scripts below. If you do not have the latest production units and wish to use this feature, please contact us by using the following link Contact Us.

Listed below is information about the different binaries available and how to install them.

2.10.1. Zephyr Binaries for the BMD-300 Module

The Zephyr Project is a scalable real-time operating system (RTOS) supporting multiple hardware architectures, optimized for resource-constrained devices, and built with security in mind. Installing the Zephyr binary on the BMD-300 will allow for control of the BMD-300 through the BlueZ stack running on the Gateway using the host control interface.

The Rigado Gateway contains the necessary Zephyr binaries needed for the BMD-300. These binaries are loaded onto the BMD-300 upon first boot of the unit.

Note

This is built into the vesta-image-developer root file system, therefore reinstalling of the vesta-image-developer root file system will cause the Zephyr binaries to be reinstalled onto the BMD-300 upon initial reboot. To disable this feature from the vesta-image-developer build, remove the following line from the meta-vesta/recipes-extended/openocd/openocd_0.10.0.bb file:

update-rc.d -r ${D} load_zephyr start 70 5 .

To install the Zephyr binaries onto the BMD-300, issue the following command from the Rigado Gateway command line:

root@080030717-00055:~# bmd300_program_zephyr.sh

For version information on the Zephyr binary, issue the following command from the Rigado Gateway command line:

root@080030717-00055:~# ls /lib/firmware/bmd300/zephyr*
/lib/firmware/bmd300/zephyr_1.9.0_e438c4a_rigdfu_3.4.0.hex

In this example, the output of the command above shows the that the current Zephyr binary being used is at revision 1.9.0.

Note

For more information on Zephyr please see https://www.zephyrproject.org/

2.10.2. Nordic’s BLE Serialization stack for the BMD-300 Module

The BLE Serialization stack makes it possible to place a Bluetooth application on an Application Chip and connect it to a Connectivity Chip that runs the BLE SoftDevice. BLE Serialization simplifies the serialization of an existing Bluetooth application, because only limited modifications are needed in the application itself.

The Rigado Gateway contains the necessary BLE Serialization binaries needed for the BMD-300. To install the Nordic BLE Stack onto the BMD-300, issue the following command from the Rigado Gateway command line:

root@080030717-00055:~# bmd300_program_nRF52_PCBLE.sh

For version information on the nRF52 binary, issue the following command from the Rigado Gateway command line:

root@080030717-00055:~# ls /lib/firmware/bmd300/nrf52832*
/lib/firmware/bmd300/nrf52832_13.1.0.hex

In this example, the output of the command above shows that the current nRF52 binary being used is at revision at 13.1.0.