LPC1788 hard fault after execution start

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1788 hard fault after execution start

435 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jay123 on Mon Dec 16 21:10:28 MST 2013
LPC1788 hard fault exception occur immediate  after execution start.

VALUE WHEN THE EXECUTION START
CFSR= 0x0
HFSR= 0X0
MMFAR= 0xE000ED34
BFAR= 0xE000ED34
CCR = 0X200
SHCSR= 0X0

value after when hardware fault exception  occur
CFSR= 0x8200
HFSR= 0X40000000
MMFAR= 0X55AA55DE
BFAR= 0X55AA55DE
CCR = 0X200
SHCSR= 0X0

after watch dog reset hard fault value change to

CFSR= 0x400
HFSR= 0X40000000
MMFAR= 0xE000ED34
BFAR= 0xE000ED34
CCR = 0X200
SHCSR= 0X0


please help to resolve hard fault issue.
Labels (1)
0 Kudos
2 Replies

379 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Tue Dec 17 10:37:04 MST 2013
Off the top of my head, looking at the memory memagement and bus fault registers, it would appear
that memory initialisation is at fault.

HTH, Mike


0 Kudos

379 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Dec 17 02:45:01 MST 2013
You are going to have to debug the reasons for the Hard Fault yourself.

The FAQ will help you debug your Hard Fault:
http://www.lpcware.com/content/faq/lpcxpresso/debugging-hard-fault
0 Kudos