cancel
Showing results for 
Search instead for 
Did you mean: 

when I call tick I get HardFault

Eblec.1
Associate II

when I call tick I get HardFault. what can be the problem ? thanks.

4 REPLIES 4
Javier1
Principal

are you "calling tick" inside an interruption?

we dont need to firmware by ourselves, lets talk
Eblec.1
Associate II

I'll check it. thanks.

TDK
Guru

Need more info here. What does "call tick" mean? What do the SCB registers indicate as the source of the hard fault?

If you feel a post has answered your question, please click "Accept as Solution".

Unpack what's actually faulting the processor and look at that code.

Perhaps uninitialized pointer/structures.

A while(1) in the Hard Fault Handler will tell you very little.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..