97 questions
0
votes
1
answer
27
views
How to resume halted core to work with pylink
I am using the pylink library for accessing JLINK.
How can I from pylink run the processor when it halted (similar to the vscode debugger continue command).
I know that there is reset command in ...
1
vote
0
answers
27
views
Programmatically pass device and svdFile to cortex-debug
We have a monorepo with about a dozen controller projects and are starting to move over to vscode and generally like cortex-debug a lot.
The only issue is that the number of projects x number of ...
0
votes
0
answers
20
views
Unable to connect in Win10 to my W5500-EVB-Pico2 ( RP2350 ) via SWD
I 've tried to connect via USB (debugging pins SWDIO, GND, SWCLK) to my W5500-EVB-Pico2 ( RP2350 ) using SEGGER J-Link Commander V8.12b (latest version) in Win10 (x64).
J-Link log:
SEGGER J-Link ...
0
votes
0
answers
44
views
LPC55S28 not able to connect to the JLink Debugger
I have an issue with my PCB. The NXP LPC55S28 on my PCB is unable to connect to the Jlink debugger. I don't know what is wrong its my first time with NXP LPC MCU so I have very little idea of what ...
0
votes
0
answers
33
views
How to fake foreground for a program started in background (Linux & Darwin)
The open source Trice tool allows to use RTT for data transfer. Unfortunately the provided SEGGER tools are closed source and the optional and to pay SDK allows no free distribution of the compiled ...
-1
votes
2
answers
386
views
Vscode : I can't use jlink (blocked on "Waiting for GDB connection..." )
I would like to upload/debug a C program for an embended MCU: cortex M0 (infineon XMC1302).
I am using windows 10, vscode and Jlink (V9). It is the first time I try to use those 2 tools together so it ...
0
votes
0
answers
137
views
How to prevent IDA 8.4 from switching arm disassembly from thumb to arm modes on every instruction step
I am trying to debug a cortex-m0+ code using IDA, but on each step of code the debugger switches the disassembly from thumb mode to arm mode on its own.
I can't find any relevent option in IDA that ...
1
vote
1
answer
334
views
When using OpenOCD for Flash debugging of STM32, the program dies in HardFault_Handler
My development environment is
Windows10
Clion2023.3.6
arm-gnu-toolchain-13.2.Rel1-mingw-w64-i686-arm-none-eabi
mingw64(Clion bundle)
openocd-v0.12.0-i686-w64-mingw32
Jlink(V12)
STM32F103C8T6
I ...
0
votes
0
answers
55
views
Error with path for ARM toolchain while using Segger Embedded Studio
Recently I had a strange anomaly, where I build the project twice in a row and on the second build it seems that the path to the ARM toolchain has broken. I'm confused because I haven't changed ...
0
votes
0
answers
175
views
Nrf52840 Dongle programming with the NRF52840 DK - Using the SWD
I am new to the NRF Connect and NRF board development. I was trying to run a blinky code on the nrf 52840 dongle using the nrf52840dk. I was referencing the following two docs:
https://docs.nordicsemi....
0
votes
0
answers
50
views
"Error extracting support files. Build may fail." in e2studio IDE
An error shows during compilation in e2studio IDE for the Renesas project with RZ/A1H MPU:
[ERROR] Error extracting support files. Build may fail.
I also get:
Loading repos summaries...
Parsing ...
1
vote
0
answers
66
views
Why unable to flash the code when MCU(stm32u575) is in Stop2 Low power mode?
This is the method I am using below method to put on sleep mode which is working and wakeup also working based on configuration, but when I try to flash using jlink in when MCU is in sleep mode it is ...
1
vote
0
answers
72
views
How to use net_eth_carrier_on() in Zephyr?
I am running a project using Zephyr 2.4, my goal is to check if the Ethernet cable is physically connected or not.
I saw they have these functions available :
net_eth_carrier_on and ...
0
votes
0
answers
171
views
Issues with TFLM "Interpreter->Invoke()" causing hard fault
I am in the process of incorporating TensorFlow Lite Micro (TFLM) as an independent library into an existing C project. This project utilizes a neural network for real-time inferences, and my goal is ...
2
votes
1
answer
367
views
How to disable coloring out the section of code between macros?
I have source files that contain macros loaded by a proprietary build toolchain. Unfortunately, Neovim doesn't have a plugin for the configuration file (emProject from SEGGER) and doesn't recognize ...