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
0
votes
0 answers

Stm32 program Run button Random behaviour

I am using stm32f103ze with jlink plus debug probe and stm32CubeIde 1.When I generate the necessary code for my controller and press the RUN button in STM32CubeIde , the program is loaded to flash but does not start running(for example led does not…
huzi
  • 1
  • 1
0
votes
1 answer

How to disable sound on Jlink

My JLink is connected to a hub which I connect my laptop. I am often connecting/disconnecting and each time the JLink beeps. This notification is not useful for me. How do I disable the sound on my JLink?
Michael Ozeryansky
  • 7,204
  • 4
  • 49
  • 61
0
votes
0 answers

a tool or library that can be controlled by the .NET Framework Library (.DLL) to edit an .elf file

I will use the Jlink Plus in Automated test applications for the ECU (NXP S32K312). I'm in the process of developing a .NET Framework Library (.dll) (API) that is used to control the SEGGER Jlink plus remotely from Test Automation .NET Framework. I…
Abdul
  • 1
  • 2
0
votes
1 answer

How can I debug what is going wrong with a jump from one application to another in STM32G4?

I have a project with a FreeRTOS application running on custom hardware (STM32G483VETS). The project generates two versions of the binary. App1 loads at 0x08000000,App2 (future enhancements and bug fixes) at 0x08040000. At power on, the MCU boots…
Magicbean
  • 11
  • 1
0
votes
1 answer

Setup debugging with Qt Creator bare metal project

I'm completely new to embedded development and I've wanted to setup debugging from within Qt Creator. The project is a bare metal application and the project is a compile data base project. I have a J-Link debugger and device is a STM32L083VZ. I…
Martin Stolpe
  • 135
  • 1
  • 6
0
votes
1 answer

how does stack unwinding in cortex m devices works?

I can't find a good explanation for this anywhere - I'm using a cortex-m4 device (specifically, it's a STM32L4 discovery board) and I try to write a tool that will print the call stack for me (specifically I would want to get the last 10 function…
fptech20
  • 103
  • 1
  • 6
0
votes
0 answers

How to get that particular line of code in MCU (NXP controller), which is executed before Reset

During my debugging of code, facing one issue regarding Reset. In debug mode, whenever I am putting breakpoint, after getting hit and clicking on Run (Command), getting Software Reset. This is not occurring, when I am not putting any breakpoint in…
0
votes
0 answers

I am getting a linker error when I trying to build a project

I am working on an embedded engineering project. I am picking up the work someone else did, and I am quite confused with the error message I am getting when trying to build the project. I looked online for similar problems but I do not find anything…
0
votes
1 answer

Cannot start J-Link GDB Server on Ubuntu

I am currently working on the ARM Cortex-M4 inside the NXP i.MX8M Mini. I am able to compile a project for M4 on Eclipse IDE on an Ubuntu VM. I would now like to debug on the M4 via a SEGGER Flasher ARM probe, still from Ubuntu. My probe is well…
Martin Denion
  • 352
  • 1
  • 3
  • 22
0
votes
0 answers

what environment variables are neede for a segger project tio run?

I've never worked with segger before and have been asked to get code from git-lab build-able after building the project it says the build failed with the following errors: 1> C:\Users\devuser\Documents\SG105\application\project\ses>mergehex -m…
0
votes
1 answer

How to debug a QT MCU project into QTcreator and IMXRT1052 evaluation board?

I have a QT commercial license so i'm able to devolop a qt for mcu project.I have also a NXP IMXRT1052 evaluaton board.I developed a simple app with a single qml file and a c++ class.Now i want to set the debugger into qt creator.This is my qt for…
pablodepas87
  • 197
  • 1
  • 16
0
votes
1 answer

GDB debugging breaks without breakpoints with Infineon XMC4800 MCU and Segger

We have a EtherCAT project and for this we are using the XMC4800 MCU from Infineon. I was working in Dave (their IDE) first, but because it is not CMAKE based I ran into issues with adding re-usable libs (we use CPM for this). So I decided to try…
0
votes
1 answer

SEGGER with STM32: Failed to connect to target. No idcode detected

I've been attempting to set the PLL clock frequency on a STM32H7B3 board, and I was able to do so by setting the DIVN multiplier (RCC_PLL1DIVR_N1) in the code below. The last time I was able to do this successfully was with the multiplier set to 1.…
0
votes
1 answer

How to program the bootloader area with JLink in an ARM Cortex M0 device

I'm trying to program the bootloader area of a NUC240SE3AE device with JLink and JFlash but I'm having an error message: "ERROR: Selected Data (0x100000 - 0x100FFF) does not fit into selected flash sectors." The chip does have that area…
0
votes
1 answer

Atmel studio does not work tool window for release or debug mode selection

I have recently been using Atmel studio 7. I'll briefly explain my problem: i can't get debugging to work because i can't select DEBUG mode. this is because when I enter propreties -> tool the set window does not appear but this message appears: An…