2025-06-05 1:13 PM
We've got a STM32H747IGT6 which is the two-core version (one M4, one M7). I've got GDB servers running on ports 61238 (CM4) and 61234 (CM7) and then running two instances of GDB (one for each server).
GDB says it's happily connected, and I can load code and inspect memory on both cores but when I set a breakpoint on the M4, gdb says "Note: automatically using hardware breakpoints for read-only addresses." and the breakpoint never fires. On the M7, gdb doesn't give that same warning and breakpoints actually work.
Is this a known limitation of the M4, or is it something I've got set up wrong?
2025-06-05 2:24 PM
(note - this is an inherited project and it's not using STM32CubeIDE)
2025-06-12 6:45 AM
ping
2025-07-04 9:02 AM
Hi @cbcooper ,
Please ensure that you follow the steps described in the Debugging section of AN5361 Getting started with projects based on dual-core STM32H7 microcontrollers in STM32CubeIDE.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-07-10 7:01 AM
The Debugging section of AN5361 tells how to set up debugging "in STM32CubeIDE" and as I said previously, "this is an inherited project and it's not using STM32CubeIDE"
2025-07-10 8:21 AM
@cbcooper wrote:
"this is an inherited project and it's not using STM32CubeIDE"
So, what are you using then?
2025-07-10 9:49 AM
As I said in my initial post "I've got GDB servers running on ports 61238 (CM4) and 61234 (CM7) and then running two instances of GDB (one for each server)." To be precise, I'm running ST-LINK_gdbserver and arm-none-eabi-gdb (manually, from the command line)