cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect a J-Link debug probe to the STEVAL-IDB012V1

ClaudioVertemara
ST Employee

How to connect a J-Link debug probe to the STEVAL-IDB012V1 (BlueNRG-LPS)? 

Introduction

The STEVAL-IDB012V1 includes a CMSIS-DAP debugger and programmer. It has support for USB to UART I/O communication, 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 / debugger tool such as Segger’s J-Link.

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

 

1. STEVAL-IDB012V1 hardware modifications

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

STEVAL-IDB012V1 Jumpers RemovalSTEVAL-IDB012V1 Jumpers Removal

 

2. STEVAL-IDB012V1 and J-Link Debug Probe Pin Connections

On the STEVAL-IDB012V1 board, connect the BlueNRG-LPS SWD pins (left-hand side of CN7) and CN2 GND & VBAT pins to the following pins on the J-Link debug probe.

 

Signal STEVAL-IDB012V1 J-Link debug probe

SWCLK

Pin 8 – CN7 (SWCLK)

Pin 9 – SWCLK / TCK

GND

Pin 7 – CN2 (GND)

Pin 4 - GND

SWDIO

Pin 6 – CN7 (SWDIO)

Pin 7 – SWDIO / TMS

NRST

Pin 10 – CN7 (RSTN)

Pin 15 - NRST

VDD

Pin 4 – CN2 (VBAT)

Pin 1 - VTREF

 

STEVAL-IDB012V1 J-Link ConnectionSTEVAL-IDB012V1 J-Link Connection

 

Now, power the J-Link debug probe and power the STEVAL-IDB012V1 via the USB Type-C® port.

Launch your J-Link software and connect. Congratulations! You have successfully established a connection between the BlueNRG-LPS 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 article if you are looking for the same method using the STEVAL-IDB011V1/V2. 

3. Relevant Links & Documentation

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