HardFault_Handler

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

HardFault_Handler

1,428 次查看
peko
Contributor I

hello,I encountered the following problem when debugging the S32G LLCE function: I have two projects, one generated by EB configuration and one generated by S32DS configuration. The program generated by EB runs to the code "u64MemPointer = (uint64*)Llce_CoreData[i].pu8MemLocation;" this code automatically jumps to the HardFault_Handler dead loop; but I tried the project generated by S32DS and there was no such phenomenon. What could be the problem? The following are screenshots of the debugging process of the two projects.

0 项奖励
回复
3 回复数

823 次查看
Djuric
Contributor II

@peko Have you had any luck with this? I have the same problem, what is the solution?

0 项奖励
回复

807 次查看
peko
Contributor I

Hello,The problem I encountered was that the pointer was pointing wrong in the program. The LLCE memory segment in my program was not initialized, and after the pointer pointed, it caused a HARD_FAULT. I hope this helps,TK.

0 项奖励
回复

1,418 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Can you let us know which S32DS/RTD/LLCE version are you working with? Are you using any NXP reference board? Also, which debugger are you using?

On regards of the EB project, we might be misunderstanding it, but we don't see any example that uses that name, is this a modified project?

Please, let us know.

0 项奖励
回复