Memory fault

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

Memory fault

跳至解决方案
1,910 次查看
SreejithN
Contributor I

Hi,

Which interrupt handler could be used to handle the fault due to accessing an invalid memory location by the application? If possible, please provide the IRQ number.

 

Thanks,

Sreejith N

0 项奖励
回复
1 解答
1,870 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Configurable Fault Status Register (CFSR) can be found in Cortex -M4 Devices Generic User Guide

S32_SCB CFSR S32DS v2.2.png

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,899 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Sreejith N,

Please refer to this article: Fault handling on S32K14x


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复
1,873 次查看
SreejithN
Contributor I

Hi @Robin_Shen,

Thanks for your reply

But i couldn't  find the Configurable Fault Status Register (CSFR) on S32K146 reference manual or in S32K development kit. Is there any other register available in S32k146 for finding the exception occurred?

0 项奖励
回复
1,871 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Configurable Fault Status Register (CFSR) can be found in Cortex -M4 Devices Generic User Guide

S32_SCB CFSR S32DS v2.2.png

0 项奖励
回复