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
1
vote
2 answers

ST-LINK error (DEV_USB_COMM_ERR) after changed back from J-Link to St-link

I was trying to convert St-link to J-link, but after the change I want to check if return to St-link working fine. Unfortunately it doesn't work now. When I am trying to connect with the STM32F769I-Disco I have a message ST-LINK error…
1
vote
1 answer

when the µc (nRF52840) is passing into sleep mode how can we save Data that we want to use later when he's up?

I m working on an nRF52840 µc ,the µc will be woken up every 3 hours and i have to save a data(4bytes) into a tab[16] so i can send those 16 values later after 2 days.
1
vote
0 answers

How to Erase and Flash STM32 in VS Code using J-Link

I have set up VS Code to build and debug STM32 using instructions in this thread. Everything works fine, I can run and debug code. However I would like to just flash or erase target without starting debug session. I am using J-Link debugger. What…
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,627
  • 2
  • 22
  • 34
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
  • 777
  • 6
  • 20
1
vote
2 answers

How to turn on LED on stm32 board using assembly language that generated by llvm?

My English skill is poor because I'm not a native English speaker. Please understand. I compiled some test code that operating alright in IAR with LLVM infra but the generated code was not operated on my test board. Detail are as follows. Test…
jjw
  • 282
  • 3
  • 20
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 the…
user2064070
  • 305
  • 3
  • 13
1
vote
1 answer

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

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…
Sina S.
  • 31
  • 3
1
vote
1 answer

CAN 1 RX works in loopback mode, but not in Normal mode

I am using a STM32F413RG based custom board and trying to run some CAN bus based applications on it. I am trying to start with CAN 1 and wrote a bare metal code using CMSIS library to transmit and receive. Here is the code for three functions -…
Shankar S
  • 193
  • 2
  • 5
  • 16
1
vote
2 answers

Issue with J-Link debugger while working with bootloader on STM32F765

I'm using the J-Link EDU and STLink debugger present on the Nucleo boards from ST. For testing, the bootloader code is present at 0x8000000 and just jumps to 0x8020000 where the main app code is present. When I use the Jlink EDU, it can't program…
Uzair Chughtai
  • 99
  • 2
  • 11
1
vote
1 answer

Debugging mBed-OS 5 using J-Link OpenSDA Firmware and GDB

I am working with a MK64FN1M0xxx12 development kit that supports OpenSDA. To make things easier to debug, I flashed the J-Link firmware that supports the SEGGER debugger command set. Before doing this I made sure my device was officially supported.…
sherrellbc
  • 4,650
  • 9
  • 48
  • 77
1
vote
0 answers

read and write to application stream

I am trying to write to and read from a command line interface to operate debugger tools but I am having trouble with process streams. We have a new product at work that has 2 microprocessors (Microchip and Freescale Arm M4) that need to get…