cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with ST example - NVIC - IRQ_Channels

kurtn
Associate II
Posted on July 19, 2010 at 20:14

Problem with ST example - NVIC - IRQ_Channels

#debug #cortex
4 REPLIES 4
jpeacock23
Associate III
Posted on May 17, 2011 at 13:59

Look at the Cortex HFSR register when you get the hard fault.  That will give you a clue as to what the problem may be.  If it is a ''precise'' error then the return address on the stack will be the fault location.

Chances are it's a coding bug, bad pointer address or something similar.

  Jack Peacock

kurtn
Associate II
Posted on May 17, 2011 at 13:59

Has anyone some suggestions or ideas, please?

kurtn
Associate II
Posted on May 17, 2011 at 13:59

Thank you for your reply, I will check it.

kurtn
Associate II
Posted on May 17, 2011 at 13:59

It seems, that problem´s solved. The fault was between keyboard and chair. I tried to add the startup file to the project and it worked. Some examples don´t require the adding the startup file, but some examples require it. That´s strange.