J-Link CMSIS-DAP mode

From SEGGER Knowledge Base
Jump to navigation Jump to search

CMSIS-DAP is an open protocol specification that enables standardized communication between Arm Cortex processor and software debug tool on host computer. J-Link supports CMSIS-DAP protocol, but it requires mode switching.

Requirements

  1. J-Link with CMSIS-DAP support: J-Link BASE, J-Link PLUS, J-Link EDU, J-Link ULTRA+ and J-Link PRO
  2. J-Link Software and Documentation Pack (link)

Switching J-Link to CMSIS-DAP mode

To Switch J-Link to CMSIS-DAP mode, first connect J-Link debug probe to PC and open J-Link Configurator:

Arm keil studio how to 1.png

Then right-click on the corresponding item in the list and press "Configure":

Arm keil studio how to 2.png

In the opened menu change "Boot mode" option to CMSIS-DAPv2 or CMSIS-DAPv1 and pres "OK" button:

Arm keil studio how to 3.png

After new configuration is applied, unplug the J-Link probe and plug in again. Check if it is booted in CMSIS-DAP mode:

Arm keil studio how to 4.png

Switching J-Link to default mode

To switch J-Link back to its default mode, follow the same procedure as above, but change "Boot mode" option to J-Link instead.

J-Link switch mode J-Link.png