cancel
Showing results for 
Search instead for 
Did you mean: 

Can't set breakpoint on CM4 in two-core setup

cbcooper
Associate II

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?

 

1 REPLY 1
cbcooper
Associate II

(note - this is an inherited project and it's not using STM32CubeIDE)