NINA-B1 series - System Integration Manual
UBX-15026175 - R06
Software
Page 23 of 48
Figure 9: PinNames.h - Example code for EVK-NINA-B1 (Continued)
2.2.2.2.3
Build software
In the mbed CLI, compile software by using the name of the object created in the targets.json file as parameter
to the board flag. In the EVK-NINA-B1 example, the build command will be:
“mbed compile –t GCC_ARM –m EVK_NINA_B1”
.
2.2.3
Wirepas connectivity software
The NINA-B1 series module can also be used together with the Wirepas software stack. This will enable the
NINA-B1 module to be used in a big scale true mesh environment.
The Wirepas connectivity software is third party software licensed from Wirepas.
For more information about the Wirepas connectivity software, contact the u-blox support for your area as listed
in the Contact section.
2.3
Flashing the NINA-B1 module
It is possible to reflash the NINA-B1 module using either the UART or SWD interface whenever a new version of
the u-blox connectivity software is available or when using a custom application.
Flashing of u-blox connectivity
software is normally done over UART. If the flash is erased or
any other software is flashed on the NINA-B1 module
,
then the SoftDevice and the u-blox
bootloader must be flashed over SWD before the u-blox connectivity software can be flashed
again. See section 2.3.2 for more information.
2.3.1
UART flashing
To use the UART interface, the module must have a bootloader that supports flashing over UART. The u-blox
connectivity software v2.0.0 and later includes a bootloader that can flash over UART.
NINA-B1 modules with u-blox connectivity software v1.0.0 can be flashed using the SWD
interface only and not the UART interface. See section 2.3.2 for flashing instructions.
The u-blox connectivity software for UART flashing contains two separate .zip files:
1.
One zip file contains the application and
2.
Another contains the bootloader and SoftDevice as listed below:
•
Application – NINA-B11X-FWx.x.x.zip
•
Bootloader and SoftDevice – NINA-B11X-BOOTx.x.x_SDx.x.x.zip
It is critical that both the zip files are flashed during an update and that the zip file that
contains the bootloader and the SoftDevice is flashed first.
typedef
enum
{
PullNone = 0,
PullDown = 1,
PullUp = 3,
PullDefault = PullUp
} PinMode;
#ifdef
__cplusplus
}
#endif
#endif