2018-12-21 01:18 AM
During the debugging of my code, I see a strange behavior.
I am using STM32F767ZI and trying to debug using ST-Link flashed with jlink firmware.
While debugging the firmware using the gdb, at a particular assembly instruction, the control jumps to hardfault.
But if I keep a break point after that assembly instruction (Or equivalent C code), the debugging works fine. The issue only happens when we do a step into or step over at that particular point.
If change the code, the issue can be seen at some other part of code and make life hard while debugging.
Did any one face such kind of issue or know a work around?
Thanks In Advance,
Nasir