雷竞技电竞平台Dialog半导体客户支持- HardFault_HandlerC https://support.dialog-semiconductor.com/resource-keywords/hardfaulthandlerc HardFault_HandlerC https://support.dialog-semiconductor.com/hardfaulthandlerc
论坛: href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件-对话框- 9 csmartbond % E2 % % E2 % 80% 80% 9 d % E7%B3%BB % E5 % 88% 97% e4%bd % 8 8 e % E5 % % E8 % 9 f % E8 % 80% 97% 93% 9 E2 % d % E7 % 89% 99% 80% 94% e8%bd % AF % E4%BB % B6”“=“sioc:容器sioc:论坛”属性=“rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件/ /对话框“Smartbond”系列低功耗蓝牙——软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >嗨< br / >我在修改需求方時出現HardFault_HandlerC錯誤,冰畫面如附件,地图檔部分截取如下,請問可以看出是哪個函数造成的嗎吗?< / p > < p >对< / p > < p > ke_event_clear x000320dd拇指代码0 rom_symdef.txt绝对< br / > ke_event_get x00032109拇指代码0 rom_symdef.txt绝对< br / > ke_event_get_all x0003212f拇指代码0 rom_symdef.txt绝对< br / > ke_event_flush x00032135拇指代码0 rom_symdef.txt绝对< br / > ke_event_schedule 0 x0003213d拇指代码0rom_symdef.txt ABSOLUTE
ke_mem_init 0x0003218d Thumb Code 0 rom_symdef.txt绝对
ke_mem_is_empty 0x000321d7 Thumb Code 0 rom_symdef.txt绝对
ke_msg_alloc 0x00032215 Thumb Code 0 rom_symdef.txt绝对< br / > ke_msg_send x000323e1拇指代码0 rom_symdef.txt绝对< br / > ke_msg_send_basic x0003240d拇指代码0 rom_symdef.txt绝对< br / > ke_msg_forward x0003241b拇指代码0 rom_symdef.txt绝对< br / > ke_msg_forward_new_id x00032425拇指代码0 rom_symdef.txt绝对< br / > ke_msg_free 0 0 rom_symdef.txt x00032435拇指代码绝对< br / > ke_queue_extract x00032441拇指代码0 rom_symdef.txt绝对< br / > ke_queue_insert x0003247f拇指代码0 rom_symdef.txt绝对< br / > ke_task_init x0003256d拇指代码0 rom_symdef.txt绝对< br / > ke_task_create x00032587拇指代码0 rom_symdef.txt绝对< br / > ke_task_delete 0 0 rom_symdef.txt x000325e1拇指代码绝对
ke_state_set 0x00032631 Thumb Code 0 rom_symdef.txt绝对
ke_state_get 0x000326b3 Thumb Code 0 rom_symdef.txt绝对
ke_msg_discard 0x000326e3 Thumb Code 0 rom_symdef.txt绝对

ke_state_get 0x000326b3 Thumb Code 0 rom_symdef.txt类= "字段标签" >关键字:< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords / hardfaulthandlerc”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > HardFault_HandlerC < / > < / div > < / div > < / div > < div class =”字段field-name-field-attachment field-type-file field-label-above”> < div类= "字段标签" >附件:< / div > < div class = "字段条目" > < div class =”field-item甚至“> <跨类=“文件”> < img类= "文件图标" alt =“PDF图标”title =“应用程序/ PDF”src = " /模块/文件/图标/ application-pdf.png " / > < a href = " https://support.dialog-semiconductor.com/system/files/attachments/DSPS_HardFault_HandleC.pdf " type="application/pdf; length=428149">DSPS_HardFault_HandleC.pdf
Device: 
星期五,2016年7月29日07:20:28 +0000 dirkleu 4305年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/hardfaulthandlerc#comments
异常HardFault_HandlerC的跟踪思路 https://support.dialog-semiconductor.com/%E5%BC%82%E5%B8%B8hardfaulthandlerc%E7%9A%84%E8%B7%9F%E8%B8%AA%E6%80%9D%E8%B7%AF
论坛: href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件-对话框- 9 csmartbond % E2 % % E2 % 80% 80% 9 d % E7%B3%BB % E5 % 88% 97% e4%bd % 8 8 e % E5 % % E8 % 9 f % E8 % 80% 97% 93% 9 E2 % d % E7 % 89% 99% 80% 94% e8%bd % AF % E4%BB % B6”“=“sioc:容器sioc:论坛”属性=“rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件/ /对话框“Smartbond”系列低功耗蓝牙——软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >你好,< br / >系统老是挂死在hardFault_handler.c中空白HardFault_HandlerC(无符号长* hardfault_args)的如下地方:
void HardFault_HandlerC(unsigned long *hardfault_args)
{

if (DEVELOPMENT_DEBUG)
{
SetBits16(SYS_CTRL_REG, DEBUGGER_ENABLE, 1);//启用调试器能够重新加载
*(volatile unsigned long *)(STATUS_BASE) = hardfault_args[0];// R0
*(volatile unsigned long *)(STATUS_BASE + 0x04) = hardfault_args[1];// R1
*(volatile unsigned long *)(STATUS_BASE + 0x08) = hardfault_args[2];// R2
*(volatile unsigned long *)(STATUS_BASE + 0x0C) = hardfault_args[3];// R3
*(volatile unsigned long *)(STATUS_BASE + 0x10) = hardfault_args[4];// R12
*(volatile unsigned long *)(STATUS_BASE + 0x14) = hardfault_args[5];// LR
*(volatile unsigned long *)(STATUS_BASE + 0x18) = hardfault_args[6]; // PC
*(volatile unsigned long *)(STATUS_BASE + 0x1C) = hardfault_args[7]; // PSR
*(volatile unsigned long *)(STATUS_BASE + 0x20) = (unsigned long)hardfault_args; // Stack Pointer

*(volatile unsigned long *)(STATUS_BASE + 0x24) = (*((volatile unsigned long *)(0xE000ED28))); // CFSR
*(volatile unsigned long *)(STATUS_BASE + 0x28) = (*((volatile unsigned long *)(0xE000ED2C))); // HFSR
*(volatile unsigned long *)(STATUS_BASE + 0x2C) = (*((volatile unsigned long *)(0xE000ED30))); // DFSR
*(volatile unsigned long *)(STATUS_BASE + 0x30) = (*((volatile unsigned long *)(0xE000ED3C))); // AFSR
*(volatile unsigned long *)(STATUS_BASE + 0x34) = (*((volatile unsigned long *)(0xE000ED34))); // MMAR
*(volatile unsigned long *)(STATUS_BASE + 0x38) = (*((volatile unsigned long *)(0xE000ED38))); // BFAR
if (USE_WDOG)
wdg_freeze(); // Stop WDOG

if ((GetWord16(SYS_STAT_REG) & DBG_IS_UP) == DBG_IS_UP)
__asm("BKPT #0\n"); //挂死在此处
else
while(1);
}

}

这个一般是什么原因啊?硬件的有虚焊还是?软件上能定位这个问题吗,前面的那些寄存器有助于定位问题吗?
谢谢!

Device: 
星期二,2016年6月28日05:19:48 +0000 z0806020433 4038年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/%E5%BC%82%E5%B8%B8hardfaulthandlerc%E7%9A%84%E8%B7%9F%E8%B8%AA%E6%80%9D%E8%B7%AF#comments