cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f0 can't enter hardfault

harryzz
Associate
Posted on February 26, 2016 at 18:26

Hello

about 'bkpt' instruction and no debugger attached? ( semihosting problem)

I read that must be generated HardFault exception in this case but this never happens.

I have already tested HardFault vector with divide by zero and in this case works.

where is the problem?

br

Harry

#no-debugger #bkpt #hardfault
2 REPLIES 2
Posted on February 26, 2016 at 19:30

So what does happen when it encounters the BKPT ?

Have you instrumented the Hard Fault handler in such a way that you can indicate entry to a terminal?

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
harryzz
Associate
Posted on March 05, 2016 at 10:36

Hello

Yes i have serial output also and no enter in HardFault handler - for sure. I think processor enters in lockout state.

br

Zahari