S32K314 Cannot enter interrupt handling function in debug state

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

S32K314 Cannot enter interrupt handling function in debug state

1,318 Views
zhuolin
Contributor II

我在 MCU 上使用 ADC 和 STM 定时器S32K314并使用 jlink 连接进行调试。
我发现在调试过程中,中断处理函数中命断点打不到,从代码执行结果来看,确实是中断处理函数没有运行。
当我拔下 jlink 并再次上电时,根据代码执行结果(我使用了 debug flash),中断处理功能成功执行。

此外,我检查了 ADC 和 TIMER 的寄存器,发现它们的中断标志和启用位都已设置。
然后我检查了 NVIC 寄存器 ISER,它已经设置好了。


RTD 版本:SW32K3_S32M27x_RTD_R21-11_4.0.0_S2311_DS_uupdatesitezip
S32DS 版本:3.5
Jlink 固件:J-Link V11 编译时间 2024 年 5 月 8 日 15:36:02
Jlink 驱动程序:v9.6

那么,在调试模式下无法响应中断的可能原因可能是什么呢?

谢谢

0 Kudos
Reply
1 Reply

1,286 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @zhuolin,

I see you've also posted this issue in this other thread: S32K314 Cannot enter interrupt handling function only in debugging state - NXP Community.

In order to provide a better support experience, I will be following up your issue over at that thread.

Best regards,
Julián

0 Kudos
Reply