cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect a J-Link debug probe to the STEVAL-IDB011V1/V2

ClaudioVertemara
ST Employee

How to connect a J-Link debug probe to the STEVAL-IDB011V1/V2 (BlueNRG-LP)?  

Introduction

The STEVAL-IDB011V1/V2 includes a CMSIS-DAP debugger and programmer with support for USB to UART I/O communication. It also includes a virtual COM port, and drag and drop programming functionality.

For quick and easy application prototyping and debugging, out of the box users may easily connect and use the on-board CMSIS-DAP. With a few on-board modifications, users can use an external SWD programmer and debugger tool such as Segger’s J-Link.

In this article, we cover the modifications required to disconnect the on-board CMSIS-DAP from the BlueNRG-LP MCU. Instead, we connect the MCU to a Segger J-Link debug probe.

 

1. STEVAL-IDB011V1/V2 hardware modifications

On the STEVAL-IDB011V1/V2 board, the JP3, JP4, and JP5 jumpers should be removed to disconnect the CMSIS-DAP SWCLK, SWDIO, and RSTN pins from the respective BlueNRG-LP pins.

STEVAL-IDB011V2 Jumpers RemovalSTEVAL-IDB011V2 Jumpers Removal

 

2. STEVAL-IDB011V1/V2 and J-Link Debug Probe Pin Connections 

On the STEVAL-IDB011V1/V2 board, connect the BlueNRG-LP SWD pins (left-hand side of JP3, JP4, & JP5) and CN2 GND & VBAT pins to the following pins on the J-Link debug probe.

 

Signal STEVAL-IDB011V1/V2 J-Link debug probe
SWCLK Pin 1 - JP3 Pin 9 - SWCLK / TCK
GND Pin 7 - CN2 (GND) Pin 4 - GND
SWDIO Pin 1 - JP4 Pin 7 - SWDIO / TMS
NRST Pin 1 - JP5 Pin 15 - NRST
VDD Pin 4 - CN2 (VBAT) Pin 1 - VTREF

 

STEVAL-IDB011V2 J-Link ConnectionSTEVAL-IDB011V2 J-Link Connection

 

Now, power the J-Link debug probe and power the STEVAL-IDB011V1/V2 via the Micro-USB port.

Launch your J-Link software and connect. Congratulations! You have successfully established a connection between the BlueNRG-LP on the EVAL board and the Segger J-Link debug probe.

The J-Link debug probe can also be extended to connect to other BlueNRG and STM32 boards. For more information on this and the connection details, visit Segger’s wiki article on Connecting to STM32 Nucleo Boards.

Visit this related article if you are looking for the same method using the STEVAL-IDB012V1. 

3. Relevant Links & Documentation

 

 
Version history
Last update:
‎2024-01-03 09:05 AM
Updated by: