Questions related to the JLink JTAG/SWD debug probe from Segger GmbH. For questions related to the Java 9 command-line tool, the [jlink] tag should preferably be used.
Questions tagged [segger-jlink]
52 questions
0
votes
0 answers
Using MCUXpresso/Eclipse with JLink Debugger, how can the JLink Interface USB serial number be read in from an environment variable?
I'm setting up a shared MCUXpresso/Eclipse C/C++ development project in git, where every developer has their own Segger USB device. On the JLink Debugger tab of the launch configuration, there's a field that defines the JLink Interface USB serial…
![](../../users/profiles/3628862.webp)
nickpelling
- 73
- 7
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…
![](../../users/profiles/9078723.webp)
rocko445
- 127
- 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…
![](../../users/profiles/13748585.webp)
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…
![](../../users/profiles/5091329.webp)
Jim Archer
- 1,109
- 2
- 22
- 40
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…
![](../../users/profiles/5029936.webp)
harry courtice
- 175
- 7
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…
![](../../users/profiles/4741289.webp)
Clarence Alucho
- 1
- 1
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"…
![](../../users/profiles/11200178.webp)
Hang Alec
- 63
- 1
- 8
0
votes
0 answers
Unable to debug with embedded gdb server in Clion
I have a problem with making the gdb-debug to work in CLION
I am using J-Link GDB server and arm-none-eabi-gdb as debugger in Windows10
The compilation is complete and following files are created under the cmake-build-debug folder (Note: I have used…
![](../../users/profiles/10888910.webp)
Sina S.
- 1
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.
![](../../users/profiles/3983186.webp)
shoham
- 283
- 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…
![](../../users/profiles/746100.webp)
Doug Null
- 7,131
- 14
- 55
- 116
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…
![](../../users/profiles/6346849.webp)
Febin Sunny
- 304
- 1
- 11
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…
![](../../users/profiles/3361380.webp)
realityinabox
- 351
- 1
- 3
- 12
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…
![](../../users/profiles/746100.webp)
Doug Null
- 7,131
- 14
- 55
- 116
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…
![](../../users/profiles/3783144.webp)
user3783144
- 35
- 7