background image

BL654 USB Dongle 

Quick Start Guide 

https://www.lairdconnect.com/ 

© Copyright 2019 Laird. All Rights Reserved 

Americas

: +1-800-492-2320 

Europe

: +44-1628-858-940 

Hong Kong

: +852 2923 0610 

 

1

 

I

NTRODUCTION

 

1.1

 

Scope 

The purpose of this document is to give an overview for programming application code to the Laird Connectivity 451-00004 

– 

BL654 based USB dongle supporting Nordic / Zephyr based application deployment. 

Note:

  

Laird Connectivity also makes a variant of this product which supports 

smart

BASIC 

development (Laird part # 451-

00003).

 The variants have 

different hardware

 and are dedicated to their specific development environments. 

1.2

 

Background 

The Laird Connectivity 451-00004 USB dongle is a self-contained Bluetooth product which contains a Bluetooth v5 radio and 
Cortex M4 processor using Nordic’s nRF52840 silicon. It comes pre-programmed with the Nordic open bootloader to allow for 
flashing applications to the dongle. The USB pins are directly connected to the nRF52840, unlike the 451-00003 on which the 
USB pins are connected to an FTDI USB to UART transceiver. This allows for the use of custom USB profiles. It comes in a 
sealed plastic case and is production-ready. Please note that this dongle does 

not

 run 

smart

BASIC, use the 451-00003 

dongle for 

smart

BASIC. 

2

 

H

ARDWARE 

D

ESCRIPTION

 

The Laird Connectivity BL654 USB dongle contains an nRF52840 Bluetooth SoC and the following supporting components: 

 

32-kHz crystal (20 ppm accuracy) 

 

Blue LED connected to P0.13 (active high) 

 

USB data lines connected directly to nRF52840 

 

GPIO voltage set to 3.3v by default bootloader 

 

Readback and CPU debug protection enabled by default bootloader 

The bootloader supports updating the following: 

 

The Nordic soft-device (optional) 

 

User application 

 

Bootloader (requires a signed update) 

 

The bootloader on the dongle can be updated to the Nordic secure bootloader which forces signed application updates and 
prevents loading of unauthorised code to the product. Laird will generate subsequent documentation to detail how to enable 
this functionality. 

3

 

P

ROGRAMMING 

S

ETUP

 

This section describes how to program the dongle. There is a simple interactive GUI-based programming system and a more 
complex CLI programming system. The CLI system is required to generate DFU packages which can be use with the secure 
bootloader. If the bootloader remains unchanged with the open bootloader, then signing firmware upgrades is not required. 

3.1

 

GUI Setup 

Nordic’s nRF connect application (available for Windows/Linux/Mac) can be used to interact with the module via the use of an 
interactive graphical user interface. This software can be downloaded from the 

Nordic nRF Connect for Desktop

 page. 

To set up the GUI, follow these steps: 

1.  Install and open the application. 

2.  Click the Add/Remove apps tab. 

Summary of Contents for 451-00004

Page 1: ...Quick Start Guide 451 00004 BL654 USB Dongle Nordic Zephyr ...

Page 2: ...airdconnect com 2 Copyright 2019 Laird All Rights Reserved Americas 1 800 492 2320 Europe 44 1628 858 940 Hong Kong 852 2923 0610 REVISION HISTORY Version Date Notes Contributors Approver 1 0 10 July 2019 Initial Release Jamie Mccrae Jonathan Kaye ...

Page 3: ...com 3 Copyright 2019 Laird All Rights Reserved Americas 1 800 492 2320 Europe 44 1628 858 940 Hong Kong 852 2923 0610 TABLE OF CONTENTS 1 Introduction 4 1 1 Scope 4 1 2 Background 4 2 Hardware Description 4 3 Programming Setup 4 3 1 GUI Setup 4 3 2 CLI Setup 7 ...

Page 4: ...IPTION The Laird Connectivity BL654 USB dongle contains an nRF52840 Bluetooth SoC and the following supporting components 32 kHz crystal 20 ppm accuracy Blue LED connected to P0 13 active high USB data lines connected directly to nRF52840 GPIO voltage set to 3 3v by default bootloader Readback and CPU debug protection enabled by default bootloader The bootloader supports updating the following The...

Page 5: ...ps Install button 4 Once installed return to the Launch app tab and click the Programmer Launch button Figure 3 Launch app tab Programmer Launch button 5 Plug the USB dongle into the computer and check that the LED is getting brighter and darker and that it is enumerating as a USB device If it fails to do this use a thin object to press the button on the dongle through the hole in the case whilst ...

Page 6: ... map updates to show which parts of the memory are used by what sections Hover the mouse over the nRF52840 text to view further details Figure 6 nRF52840 memory space To program an application your build tool must generate a hex file This hex file only includes the application code or application and soft device code if using the Nordic SDK it must not include a bootloader or an MBR update 7 Drag ...

Page 7: ...rade files from a terminal or command prompt For windows a build is available from the nrfutil Github Releases page for Linux Mac follow the instructions listed on the front page of the nrfutil Github Repository To set up the CLI follow these steps 1 Use the applicable link to install the Nordic command line utility nrfutil and add it to the path 2 Locate the folder with the applicable output hex ...

Page 8: ...evice you must use the correct IDs which can be found on the nrfutil github page The following are the current soft device versions and corresponding IDs 6 0 0 0xA9 6 1 0 0xAE 6 1 1 0xB6 This creates a new DFU package at out zip which can be programming using the nRF connect GUI or nrfutil command line tool Replace the app hex with the hex file of the application you want programmed and softdevice...

Reviews: