Track down hardfault error -LPC1317-64pin

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

Track down hardfault error -LPC1317-64pin

1,047 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by aamir ali on Wed Dec 05 00:26:12 MST 2012
Is there any way to track down hardfault error.
0 项奖励
回复
3 回复数

1,020 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by whitecoe on Thu Dec 20 01:02:07 MST 2012

Quote: Aamir Ali


But code there is for LPCXpresso. How to use it in keil.



So if you are using Keil, why not try the Keil support pages and forum instead of LPCXpresso ones?

Or even just use Google - the first hit on this might prove fairly useful to you!

http://lmgtfy.com/?q=debug+hard+fault+keil

HTH!
0 项奖励
回复

1,020 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by aamir ali on Wed Dec 19 22:16:40 MST 2012
I am using keil 4.54 & LPC1317-64P

I took reference from below site:
http://support.code-red-tech.com/CodeRedWiki/DebugHardFault

But code gives error

1. for asm Code:

source\main.c(12): warning: #1207-D: attribute "naked" ignored
source\main.c(20): error: #1113: Inline assembler not permitted when generating Thumb code

2. For C Code
source\main.c(65): error: #1113: Inline assembler not permitted when generating Thumb code

But code there is for LPCXpresso. How to use it in keil.
0 项奖励
回复

1,020 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Wed Dec 05 01:19:35 MST 2012
Did you search the FAQ (sticky thread at the top of the forum)? It shows:

http://support.code-red-tech.com/CodeRedWiki/DebugHardFault
0 项奖励
回复