CFSR (Configurable Fault Status Register)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CFSR (Configurable Fault Status Register)

1,482件の閲覧回数
Shruthi_C
Contributor III

HI,

I m getting CFSR register UNALIGNED error in S32K146 Microcontroller

Can someone please help me on this issue, which scenario we will get this hard fault error

Shruthi_C_0-1686577897840.png

 

Thank You

0 件の賞賛
返信
1 返信

1,459件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Shruthi_C,

Can you please find the fault instruction?

Add this handler

void HardFault_Handler(void)
{
  while(1)
  {
  }
}

Once it is captured there, you should see the address of the fault instruction on the stack.

You can refer to this document:

https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447

 

The example triggers this fault:

uint32_t read = *((uint32_t*)0x0007FFFA);
uint32_t read = *((uint32_t*)0x20000021);

 

Regards,

Daniel

0 件の賞賛
返信