Questions related to the JLink JTAG/SWD debug probe from Segger GmbH. For questions related to the Java command-line tool, the [jlink] tag should be used.
Questions tagged [segger-jlink]
82 questions
0
votes
2 answers
Cortex-M0+ not responding to PendSV
I'm running on a Raspberry Pi Pico (RP2040, Cortex-M0+ core, debugging via VSCode cortex-debug using JLink SWD), and I'm seeing strange behaviour regarding PendSV.
Immediately prior, the SVCall exception handler requested PendSV via the ICSR…

Jeremy
- 5,055
- 1
- 28
- 44
0
votes
0 answers
Segger J-Link (or i-jet) with Renesas R-Car H3 and IAR
Does anyone know how to use a Segger JLink or IAR I-Jet with a Renesas R-Car H3 Cortex-R7 core?
I can't find anything on the Segger or IAR website.

Realtime Rik
- 1,632
- 10
- 22
0
votes
0 answers
how should i match Jlink edu device output with a board input
Hello i am trying to interface a board with J-ling EDU Segger debugger shown in the attached photo.
The board has 8pin connection but the jlink device has 20 pin connection.
I have tried to look in the manual bellow to find out what each output pin…

rocko445
- 129
- 7
0
votes
0 answers
USB-C Debug Accessory Mode and USB 2.0
I want to build an embedded device which is using a USB-C for debugging purposes and USB 2 functionality.
Now I am not sure whether or not I understood the USB-C Standard correctly.
Is it correct, that if I connect the CC1 and CC2 to pin with a…

NIN
- 1
0
votes
1 answer
Unable to install and configure a J-Link JTAG debugger on a Mac
I have a Segger J-Link which I am trying to use on a Macbook running MacOS Catalina 10.15.4, with openocd and GDB against an ESP32 board. The problem is that I can not seen the device:
$ ls /dev/cu.*
/dev/cu.Bluetooth-Incoming-Port…

Jim Archer
- 1,337
- 5
- 30
- 43
0
votes
1 answer
Eclipse MCU J-Link Debugger Crash on ldrb r3, [r7, #8]. Addresses are valid - [Edit - Hardware Issue]
[Edit] This turned out to be a hardware issue. A separate thread was turning on a radio power amplifier, & my Power supply current limit was tripping. The other thread was always activating exactly when this instruction was executing]
I'm…

harry courtice
- 209
- 1
- 9
0
votes
1 answer
Build failed with no stated reason on Segger Embedded Studio after adding custom source files
I'm modifying a simple example project (blinky) from the nRF SDK. I added a header file and a .c file in a new folder inside the project directory then added that path ./lib to the common preprocessor user include directories. I then included the…

Clarence Alucho
- 59
- 4
0
votes
0 answers
Failed to debug on PlatformIO with J-Link
I'm trying to set up the debug environment of platformIO on vscode with J-Link to work with STM32f407ZG chip.
It can build & upload. But each time I tried to debug it throws me errors like this
warning: unrecognized item "timeout" in "qSupported"…

Hang Alec
- 103
- 2
- 11
0
votes
1 answer
How to erase a section using Jlink script
Currently i use:
erase
loadfile "image.hex"
How can i erase only the section of the image?
the image size is known.

shoham
- 293
- 1
- 9
0
votes
0 answers
Write commands in cmd with VB.net
I'm now starting to develop little programs using VB.net.
I started with an App Windows Form. I would like to know some information about my microcontroller (such as MAC ADDRESS etc.). To know this information, I have to access its registers using…
0
votes
1 answer
how to pause Console window of Eclipse for Bosch XDK110
I just got the XDK110.
I run an example program using the Eclipse IDE.
I want to pause the continuous printf outputs in the Console window.
I don't have a Jlink debugger yet.
I assume the IDE comes with NO debug capability whatsoever, which is…

Doug Null
- 7,989
- 15
- 69
- 148
0
votes
1 answer
J Link does not appear in Eclipse Mars Menu(NOT A COPY)
This NOT a copy of Can't use Segger J-link in Eclipse
He was able to solve his issue, and the solution does not work for me. I have installed Segger J-Link version 6.14, but the IDE is not displaying it under Windows->Preferences->Run/Debug as it…

Febin Sunny
- 311
- 1
- 13
0
votes
0 answers
Trying to flash a K64F, CPU Could Not Be Halted
I am trying to program a Cortex M4 that was placed on a custom board. The processor is the MK64FN1M0VLL12. I wrote the code using the FRDM-K64F dev board, which uses OpenSDA to load the bin via USB. The code was written in mbed, which as far as I…

realityinabox
- 593
- 1
- 5
- 14
0
votes
0 answers
J-Link debugger hangs when I start it
Was working great.
Now, I start the J-Link Debugger software, it displays an empty "Terminal" window, and hangs.
I've powered Windows-7 Pro 64-bit laptop completely off, shut off target board power, started board, then laptop... same…

Doug Null
- 7,989
- 15
- 69
- 148
0
votes
1 answer
J-link connection error when connecting from Kinetis Design Studio IDE
I am using KDS for debugging a MQX RTOS tower kit. When I tried debugging the project the error on the image occurs.
http://gyazo.com/87346d5c944b406341bf8535bc93e55f
I checked device manager and my computer sees the device in USB port. How can I…

user3783144
- 35
- 7