lpcware

Immediate hardfault

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by micrio on Thu Apr 08 06:40:56 MST 2010
I am using LPCXpresso on a target with a LPC1113 processor. I can sometimes get it to work prefectly. My code executes properly. Other times (like now) I get an immediate hardfault after reset. This seems to happen before the initialization runs. How can I interpert the core registers to find the problem? Is the value of the PC saved anywhere so I can find the offending opcode?

Attachments

Outcomes