S32K144 HardFault_Handler

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K144 HardFault_Handler

487 Views
Emiya
Contributor I

Hi ,How can I find the cause of the HardFault_Handler,

Emiya_0-1685896133931.png

Emiya_1-1685896186751.png

What should I do next。

Thanks

 

0 Kudos
2 Replies

414 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Please refer to Fault handling on S32K14x

According to your screenshot, the precise program counter address=0x08000700. Would you please check the fault instruction in Disassembly?(Window->Show View->Disassembly)

 


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 Kudos

405 Views
Emiya
Contributor I
Hi
Thank you very much for your answer.
But it doesn't work, address=0x08000700.have no thing.

Memory Configuration

Name Origin Length Attributes
m_interrupts 0x00000000 0x00000400 xr
m_flash_config 0x00000400 0x00000010 xr
m_text 0x00000410 0x0007f7f0 xr
m_rpCal 0x0007fc00 0x00000400 xr
m_data 0x1fff8000 0x00007bf8 rw
m_wpCal 0x1ffffbf8 0x00000400 rw
m_wdg 0x1ffffff8 0x00000008 rw
m_data_2 0x20000000 0x00007000 rw
*default* 0x00000000 0xffffffff

I check the fault instruction in Disassembly,
Reading 64 bytes @ address 0x080006C0
WARNING: Failed to read memory @ address 0x080006C0
WARNING: Failed to read memory @ address 0x080006FE

Thank you very much in the end.
Best Regards,
Emiya
0 Kudos