Program Stuck In DefaultISR

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

Program Stuck In DefaultISR

3,006 次查看
chaitanya_kalyani
Contributor III

Hello,

 

We have developed board for one of the project and using S32K118 MCU but when I am trying to flash the program then it is getting stuck in ISR. For programming we are using PE Multilink Fx.

chaitanya_kalya_0-1615363392230.png

For every program it is having same issue. It is entering in DefaultISR only. 

when I write HardFault_Handler then it is entering into the function.

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

 

Debugger showing bus fault message 

 

BusFault: A bus fault has occurred on exception entry.
BusFault: An imprecise (asynchronous) data access error has occurred.
HardFault: A fault has been escalated to a hard fault.

chaitanya_kalya_0-1615380916911.png

 

 

Is it hardware issue or software issue.

Quick response highly appreciated.

 

 

0 项奖励
回复
2 回复数

2,948 次查看
chaitanya_kalyani
Contributor III

Hello @danielmartynek,

 

Thank you for quick for response. 

 

Issue is resolved. Issue was with hardware.

0 项奖励
回复

2,977 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @chaitanya_kalyani,

Does it happen also with examples from the IDE or with a new empty project?

Can you show the debug configuration?

You can try to halt it at SystemInit() instead of main() and step the code.

danielmartynek_0-1615397834065.png

 

 

Regards,

Daniel

0 项奖励
回复