Questions tagged [segger-jlink]

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.

82 questions
7
votes
1 answer

Error with Go program ( Bettercap 2 ) depending on which bluetooth dongle I use on Ubuntu/Raspberry Pi OS when running ble scan

I use this on Ubuntu 20.04 and Raspberry Pi OS 5.10 but this is not a Linux related issue. I'm having an issue with a Go program called Bettercap 2 ( https://www.bettercap.org/ and the repository: https://github.com/bettercap/bettercap ) when I use…
Jimmy
  • 105
  • 15
7
votes
2 answers

GDB Monitor commands in CLion

I'm trying to debug an embedded project using remote GDB. My system: Target: ARM Cortex M0. SEGGER J-Link GDB Server V6.10 Command Line Version arm-none-eabi-gdb 7.10.1.20160616-cvs CLion 2016.2.2, Build #CL-162.1967.7 Ubuntu 16.04 I have the…
bad_coffee
  • 147
  • 3
  • 8
4
votes
1 answer

J-Link GDB debugging in CLion

Not long ago CLion added support for Remote GDB debugging and I'm trying to set it up with Seggers's J-Link GDB server. My setup: VM VirtualBox running Ubuntu 16.04 J-Link drivers: V6.10 Target chip: nRF51 (ARM Cortex M0) CLion 2016.2.2 I…
bad_coffee
  • 147
  • 3
  • 8
3
votes
1 answer

How to understand why an ARM exception happens?

I'm trying understand what is the reason of ARM exception that I encounter. It happens randomly during system startup, and may looks in few different ways. One of simplest is following: 0x8004e810 in ti_sysbios_family_arm_a8_intcps_Hwi_vectors () #0…
wiesniak
  • 558
  • 2
  • 11
3
votes
1 answer

Can not connect to J-Link via USB on macOS Sierra

I recently switched from Linux machine to Macbook Pro 2016 with macOS Sierra 10.12.4. When I try to connect to J-Link it fails no matter which app I am using (JLinkExe or JLinkGDBServer) with the following error: kuba@chimera:~$ JLinkExe SEGGER…
eclipse
  • 693
  • 9
  • 30
3
votes
1 answer

Debugging - GNU ARM Bare Metal Development

I am trying to debug a sample code given by Atmel. I have built the program successfully. For debugging, I am using eclipse plusgdb plus JlinkGDBServer plus onboard Jtag. Although the program can be downloaded to the board and is running well, I…
3
votes
3 answers

Writing IAR output to ARM chips without IAR

We currently hold a full license for the IAR EWARM IDE but we need to upload firmware to units being made meaning only one person can do the uploading as the application is way over the kickstart size. I'm wondering if there is an alternative method…
TuxFan
  • 33
  • 3
2
votes
0 answers

How to load a file into target RAM during an STM32CubeIDE debug session

My environment is STM32CubeIDE on Windows 10 with a JLink debug pod. The device being debugged accumulates data over time and stores it to an external RAM. When enough data (about 1 MB) is acquired the data is processed. I can create a binary…
2
votes
0 answers

GDB break commands don't get executed in command files

I have a debugging script that does the following: sets two breakpoints. let's call them start and end breakpoints. after starting, the script continues until start breakpoint is hit. once start breakpoint is hit, I perform single-stepping until…
mad0x60
  • 312
  • 1
  • 14
2
votes
1 answer

Using SEGGER SystemView with STM32

Currently I'm developing a project with FreeRTOS on a STM32L476VGT. Until now I've been debugging with Ozone(SEGGER) and J-Link (Edu and Ultra+) Now I would like to "debug" or record system event using SystemView (SEGGER), but it's not…
taquionbcn
  • 543
  • 1
  • 8
  • 25
2
votes
1 answer

Controlling Nordic nRF52 via SWD interface

I am trying to program/halt/boot/erase etc. a Nordic Semi MCU. This is the ARM-Cortex M4 in nRF52. I am using the SWD pins of the chip and can achieve this if I use the commercial J-Link with the nrfjprog command-line tool or their Segger windows…
guraaf
  • 163
  • 4
  • 12
2
votes
1 answer

JTag Debugging with Eclipse Mars CDT : "Program file does not exist"

I have successfully compiled an ARM embedded project, next files has been created: MyProject.elf MyProject.bin MyProject.hex MyProject.map MyProjectmd5.bin Then I am going to Run -> Debug Configurations -> GDB SEGGER J-Link Debugging -> New ->…
Nuñito Calzada
  • 4,394
  • 47
  • 174
  • 301
2
votes
0 answers

J-Link GDB Server receving a connection by Python

Hello great people of the internets I am using J-Link GDB Server to accept GDB clients and execute commands via J-link Commander. I am using a fully automated python code that needs to send write and read requests to change/read registries in a…
1
vote
0 answers

Write to RTT using pylink-square library

Using this example of the pylink git repo, I am able to send commands to my Nordic Board and control it over the RTT. Now, I derived my own little python script from this example, where I want to send one command: def write_rtt(): jlk =…
ilja
  • 109
  • 7
1
vote
1 answer

Why does Segger-Jlink have so many ground pins?

I have a Segger-Jlink and looking up on the pin out of the connecter, i found that there are 9 ground pins. Pins 4, 6, 8, 10, 12, 14, 16, 18, 20 are GND pins connected to GND in J-Link. Why are there so many ground pins ?
1
2 3 4 5 6