Questions tagged [segger-jlink]

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.

52 questions
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
  • 137
  • 2
  • 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
  • 478
  • 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
  • 533
  • 7
  • 28
3
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
  • 137
  • 2
  • 8
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…
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
  • 492
  • 6
  • 22
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 ->…
Nunyet de Can Calçada
  • 3,615
  • 32
  • 127
  • 219
2
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
  • 23
  • 3
1
vote
0 answers

Can’t reprogram STM32 (F401RE) with ADC and DMA in circular mode

I have a simple program that uses ADC to convert 2 inputs, I use DMA in circular mode. Everything works great. The only problem I have is that in order to reflash the STM32, I have to first erase the chip. This is only happening when I set the ADC…
Roy
  • 11
  • 1
1
vote
2 answers

OpenOCD multiadapter type configuration

Some devs on our team have J-Link debuggers while others are working with ST-Link debuggers. All of us work on the same hardware with the same firmware, basically everything else is the same. The current setup requires to start OpenOCD with a…
Vlad
  • 25
  • 4
1
vote
1 answer

Segger Jlink flash download mechanism

I'm using Rohitab's excellent API monitor tool to monitor the DLL calls that Keil uVision is making to Segger's JLinkARM.dll so that I can replicate them within an automated test environment. As part of this I'm trying to understand the mechanism…
Gregory Kuhn
  • 1,371
  • 1
  • 15
  • 26
1
vote
2 answers

How to debug a flash program on target ARM MCU with gdb

I am trying to debug a ARM flash program on target MCU using gdb I am setting up the gdbserver on target system (cortex-m7) with jlinkgdbserver. And I have a elf ready for debug. For the first time, it is OK for me do debug with the following >…
Eric Sun
  • 493
  • 3
  • 13
1
vote
0 answers

Cannot debug my STM32 CubeIDE project anymore - but code works without j-link

I somehow have fallen in the state, where I cannot start in debug mode my project in CubeIDE and j-link. The code compiles, flash is written, but then instead of stopping on the first instruction in my main function in main.c, I get stuck in…
user2064070
  • 125
  • 1
  • 10
1
vote
0 answers

Segger RTT control block is not identified by RTT viewer

I'm trying to use Segger's RTT (Real Time Transfer), but I'm not able to see any output on the RTT viewer. I'm doubting that the root cause is an RTT control block not being identified by RTT viewer. Setup The host PC is connected using…
1
vote
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…
mamado
  • 71
  • 8
1
2 3 4