LPC1788 hard fault after execution start

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC1788 hard fault after execution start

1,029 次查看
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.
标签 (1)
0 项奖励
回复
2 回复数

973 次查看
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 项奖励
回复

973 次查看
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 项奖励
回复