
https://www.lairdconnect.com/
2
© Copyright 2021 Laird Connectivity, Inc.
All Rights Reserved
Americas
: +1-800-492-2320
Europe
: +44-1628-858-940
Hong Kong
: +852 2923 0610
This document describes how to use the USB-SWD programmer to program and debug modules, change configuration
options, and upgrade the programmer firmware.
To use the SWD programmer, you need the following:
▪
SWD Programmer board (including micro USB cable and debug cables)
▪
PC (Windows/Linux/Mac supported; this guide is based on Windows 7)
▪
Target module, board, or sensor to program
▪
UwTerminalX (available at
https://github.com/LairdCP/UwTerminalX/releases
▪
pyOCD (instructions for install available on
https://github.com/pyocd/pyOCD
▪
MBED serial port driver (for Windows 7 only, newer versions of Windows do not need this driver, available at
https://os.mbed.com/docs/mbed-os/v6.8/program-setup/windows-serial-driver.html
If using Mac, Linux, or a version of Windows newer than Windows 7, please skip this step and start at the
section. Windows 7 requires an external driver to be installed on the system to communicate with the USB-SWD programmer
board. This can be downloaded from the MBED website:
https://os.mbed.com/docs/mbed-os/v6.8/program-setup/windows-
Once downloaded, launch the installer and follow the instructions on screen to install the driver on your system. Administrator
access is required for the install to complete. Once installed, the USB-SWD programmer is usable and a serial port should be
visible along with a CMSIS debug interface.
The USB-SWD programmer can be configured to provide remote power to a device/module at 1.8v or 3.3v, or can use the
reference voltage of the target device (1.8v-3.6v supported).
Note:
The USB-SWD programmer board generates its own power internally and, if set to follow the voltage of the target, the
target voltage is used as a reference only and does not power the USB-SWD programmer board.
To supply power to an external module or device follow these steps:
Set the SW6 switch to the
Supply out
position.
Set the SW5 switch into the 3V3 or 1V8 position, depending upon what voltage the target should be powered at.
For nRF51 based devices, the voltage must be 3.3v for flash writing/erasing to occur. For nRF52 devices, the flash can
be written/erased at either 3.3v or 1.8v.
Refer to your module/device datasheet for information on voltage operating ranges as some modules (such as the
Pinnacle 100) cannot be operated at these voltages.