Debug configuration for breakpoints (are they causing hardfault?)
Hi everyone,
I'm developing using STM32F446 nucleo eval kit, and STM32Cube IDE.
In several escenarios, it's impossible to set a breakpoint, without get system jumps to hardfault.
If breakpoint is moved, hardfault too.
For example when using FatFS in some functions, like find. Also happends in other kind of code, not only with FatFS.
I notices this behaviour when started developing in C++.
Debugger stops, but suddenly, after a second, jumps to hardfault without touching anything.
Sometimes nothing happens until I hover over a variable to inspect its value.
Is there any spetial configuration to properly set breakpoints?
Is there something wrong with the code?
thanks very much in advance,
Rubén.
