I am using Jlink 5.00b and J-link gdb server to debug a STM32F411.
When I set a breakpoint (with the break gdb command) at a function in RAM (i.e. breakpoint address is in RAM), gdb server shows that the breakpoint is set but the cpu does not break back to the debugger when the breakpoint address is reached.
Jlink gdb is showing the breakpoint properties are "soft" and "RAM". I am only setting a single breakpoint so there should be hard breakpoints available.
I am guessing that if I can get gdb to use a hardware breakpoint it would work?
Is there a way to force jlink-gdb to use hard breakpoints?
Thanks
When I set a breakpoint (with the break gdb command) at a function in RAM (i.e. breakpoint address is in RAM), gdb server shows that the breakpoint is set but the cpu does not break back to the debugger when the breakpoint address is reached.
Jlink gdb is showing the breakpoint properties are "soft" and "RAM". I am only setting a single breakpoint so there should be hard breakpoints available.
I am guessing that if I can get gdb to use a hardware breakpoint it would work?
Is there a way to force jlink-gdb to use hard breakpoints?
Thanks