Arm® Mbed DAPLink is open-source software that provides alternative platform-independent programming/debugging interfaces between the target application and host PC. KitProg3 includes DAPLink.

DAPLink is supported by:

  • ModusToolbox™ software

  • Any IDE that supports CMSIS-DAP Bulk protocol

Supported Kits

The following table shows KitProg3-based kits that have DAPLink mode available.

Table 1.

Kits with DAPLink Support

Development Kits

CY8CKIT-062-BLE PSOC™ 6 Bluetooth® LE Pioneer Kit

CY8CKIT-062-WiFi-BT PSOC™ 6 Wi-Fi Bluetooth® Pioneer Kit

CY8CPROTO-062S2-4343W PSOC™ 6 Wi-Fi Bluetooth® Prototyping Kit

CY8CPROTO-064S1-SB PSOC™ 64 "Secure Boot" Prototyping Kit

CY8CKIT-062S2-43012 PSOC™ 62S2 Wi-Fi Bluetooth® Pioneer Kit

CY8CPROTO-062S3-4343W PSOC™ 62S3 Wi-Fi Bluetooth® Prototyping Kit

CYW9P62S1-43438EVB-01 PSOC™ 62S1 Wi-Fi Bluetooth® Pioneer Kit

CYW9P62S1-43012EVB-01 PSOC™ 62S1 Wi-Fi Bluetooth® Pioneer Kit

CY8CKIT-005 MiniProg4 Program and Debug Kit

CY8CPROTO-064B0S3 PSOC™ 64 "Secure Boot" Prototyping Kit

CY8CPROTO-064B0S1-BLE PSOC™ 64 Bluetooth® LE "Secure Boot" Prototyping Kit

CY8CKIT-064B0S2-4343W PSOC™ 64 Wi-Fi Bluetooth® "Secure Boot" Pioneer Kit

CY8CKIT-064S0S2-4343W PSOC™ 64 "Standard Secure" – AWS Wi-Fi Bluetooth® Pioneer Kit

CYSBSYSKIT-DEV-01 Rapid IoT Connect Developer Kit

CY8CKIT-062S2-AI PSOC™ 6 AI Evaluation Kit

PSOC™ 4100T Plus CAPSENSE™ Prototyping Kit CY8CPROTO-041TP

CY8CPROTO-040T-MS PSOC™ 4000T Multi-Sense Prototyping Kit


Note:

MiniProg4 in DAPLink mode supports only SWD Programming and Serial Communication. Drag-and-Drop Programming is not available via the CY8CKIT-005 MiniProg4.


To use DAPLink, you need to upgrade kit firmware to KitProg3 v1.10 or later. See

Update DAPLink Firmware

section for details.

Features

DAPLink provides three interfaces: drag-and-drop programming, a serial port, and debugging support.

Drag-and-Drop Programming

Program the target PSOC™ 6 MCU device by copying or saving a file in one of the supported formats to the DAPLink drive. Upon completion, the drive remounts. If a failure occurs, the file FAIL.TXT appears on the drive containing information about the failure. Drag-and-Drop Programming is not supported for MiniProg4 in DAPLink mode. Attempting to use MSD device programming with MiniProg4 will result in failure.

Supported file formats:

  • Raw binary file

  • Intel Hex

You can control DAPLink with

MSD Commands.


Note:

DAPLink provided with KitProg3 does not implement the

start_bl.act

MSD command because it uses the KitProg3's own Bootloader.


Serial Port

The serial port is connected directly to the target PSOC™ 4 / PSOC™ 6 MCU device allowing for bidirectional communication. It also allows the target to be reset by sending a break command over the serial port.

Table 2.

UART Parameters and Speed

Functionality

Supported Speed

Units

Comments

USB-UART Bridge 1 )

1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000, 2000000, 3000000, 4000000

Baud

Data bits – 8, Parity – None, Stop bits – 1

User Interface

See

KitProg3 LEDs

to learn how they are used to let you know what's going on with DAPLink.

How To

See

Mode Switching.


DAPLink is part of the latest KitProg3 package when you update KitProg to a version that includes DAPLink. See

Installing KitProg3

for information on where to get KitProg3.


If you wish to upgrade KitProg to a version that includes DAPLink, you need a tool called Firmware Loader. See

fw-loader tool documentation

for information how to use the Firmware Loader tool.


1 The following baud rates are not supported on macOS: 250000, 500000, 1000000, 2000000, 3000000, 4000000.