2021-01-29 01:34 AM
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.
2021-02-02 12:44 AM
Hello Rubén,
I've tried to reproduce this but I wasn't able to.
My guess is that it's more in the application code. Does this happen with every project you have?
If you could share a project where I could test it and reproduce it I might be able to give you more information about the issue.
2021-02-03 12:40 AM
Hello Markus,
I'm looking to split the project into small part that reproduces issue and will share (need to ask my supervisor).
Thanks so much for your time in advance and hope in short be able to share with you.
Rubén.
2021-02-03 01:43 AM
Ok, that sounds good! Feel free to send me a personal message with the project if that relieves any concerns your supervisor might have about sharing the project.