Skip to main content
kurtn
Associate
July 19, 2010
Question

Problem with ST example - NVIC - IRQ_Channels

  • July 19, 2010
  • 4 replies
  • 987 views
Posted on July 19, 2010 at 20:14

Problem with ST example - NVIC - IRQ_Channels

#debug #cortex
This topic has been closed for replies.

4 replies

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

Has anyone some suggestions or ideas, please?

jpeacock23
Associate
May 17, 2011
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
kurtnAuthor
Associate
May 17, 2011
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.

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

Thank you for your reply, I will check it.