Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
64 views

STM32H7.cpu0 not halted using OpenOCD

I have come across an issue recently where I encounter issues when trying to flash my STM32H723VET6 (single-core Cortex-M7) MCU on a custom PCB using OpenOCD in a linux (ubuntu) terminal environment. ...
Nxyoutou's user avatar
0 votes
0 answers
42 views

init mode failed (unable to connect to the target)

I am starting my first step in STM programming. I have nucleo dev board with cortex M0 processor. I written by code for printing hello world. As M0 doenst have SWV we have to use openOCD debugging ...
Manu Thomas's user avatar
1 vote
1 answer
212 views

Debugging esp32c3 with platform.io is not working

I am not able to debug with seeed_xiao_esp32c3 board. Debugging should work with a correct usb data cable and a board with usb JTAG interface My platformio.ini looks like this [env:seeed_xiao_esp32c3] ...
Thom Kiesewetter's user avatar
0 votes
0 answers
25 views

Using different types of CPUs with same debug module

I am working on RISCV architecture specifically debug module. I am using OpenOCD and GDB to debug my CPU. I have two different CPU connected to the debug module. One of them is 64-bit the other one is ...
Ömer GÜZEL's user avatar
2 votes
0 answers
204 views

OpenOCD Raspberry pi Bit Bang SWD Error connecting DP cannot read IDR

I am posting my question just as I have posted on the forum of STMicroelectronics. I had been programming my STM32F407 MCU for almost 6 years using OpenOCD's GPIO Bit bang driver over Raspberry-pi for ...
Sheikh Muhammad Junaid Aslam's user avatar
0 votes
0 answers
93 views

OpenOCD issue on MacBook using STM32VLDiscovery

I am new to STM32 programming and using STM32VLDiscovery board for my development on MacBook Air M1 running Ventura 13.5 Following this video, I am trying to setup debugging on VS Code using Cortex-...
devilbuild's user avatar
0 votes
0 answers
65 views

STM32F030F4 with OpenOCD not working while STM32F030C8 ok

I want to play around with a STM32F030. Therfore I bought a demoboard with a STM32F030C8T6 on it. With this board everything works fine. I can debug with my ST-Link V2 (Cheap China Clone) and OpenOCD ...
drewle's user avatar
  • 24
1 vote
1 answer
333 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 ...
njki's user avatar
  • 11
0 votes
1 answer
140 views

OpenOCD SMP Only Shows 1 Thread In GDB

I'm trying to debug a Raspberry Pi 5 using a debug probe, OpenOCD, and GDB. I'm running code on all four cores, so I'm trying to setup SMP to get a GDB thread for each core. Previously, I tried ...
CorkiMain's user avatar
0 votes
0 answers
55 views

Unable to start debug or download with OpenOCD Clion

I am trying to download a stm32 program on clion. It compiles right but when I run download or debug, I got a problem. I can use keil to download it right. Info : The selected transport took over low-...
Sam Monkey's user avatar
0 votes
0 answers
34 views

OpenOCD - Not Enough Working Area Available (Cortex M0+, LPC8xx, CMSIS-DAP)

First time using OpenOCD and trying to write an image to an LPC824 chip. I can connect to the chip and probe it using the configs supplied with OpenOCD. When I try to write the image I get the error &...
Scruffers's user avatar
  • 5,094
1 vote
1 answer
95 views

How to refresh registers after monitor command

I use gdb with a remote target like target extended-remote localhost:3333 cd project file build/project.elf monitor reset halt load print $pc This works fine, the $pc points to the Reset_Handler But ...
jeb's user avatar
  • 82.6k
0 votes
0 answers
76 views

OpenOCD Process Killed Unexpectedly During STM32U5 Programming

I'm trying to program an STM32U5 microcontroller with OpenOCD, but the process is terminated abruptly. The problem seems to occur without a clear error message. I am using a stlink to flash the script,...
KarlFri's user avatar
  • 55
0 votes
0 answers
46 views

OpenOCD Texas Instruments TMS570LC43x Configuration

I'm trying to flash my TMS570LC43x MCU board via OpenOCD. However, when I try to use the command flash I get and error showing various flash commands with the respective arguments. I've tried using ...
MCatana's user avatar
1 vote
1 answer
80 views

(Cortex M4) Bad section alignment in ELF file

we have a strange issue on a Cortex M4 MCU. The compiled Firmware works if the binary is loaded with ST-LINK in the correct section, but using C-Lion and OpenOcd, The FW load operation, load also the ...
Giuliano Favro's user avatar

15 30 50 per page
1
2 3 4 5
21