Breakpoint in 'PitNotification' didn't stop

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

Breakpoint in 'PitNotification' didn't stop

2,478 次查看
jetty1012
Contributor II

So I was using Pit_Ip_example_S32K312 in S32 DS v3.5

I didn't change any configuration of Pit_Ip_example_S32K312 before debugging.

I just set a breakpoint in PitNotification and ran the program.

Theoretically, the program should stop at the breakpoint, but it didn't. Why?

*The program could stop at the breakpoint set in main function but not the one in PitNotification.

jetty1012_0-1684418280601.jpeg

 

Thanks,

Jetty

0 项奖励
回复
5 回复数

2,222 次查看
jhuang1
Contributor II

Hi Jetty,

    Have you solved the problem? I met it these days as the same, could you share the measure if it has been solved?

Thank a lot! 

0 项奖励
回复

2,400 次查看
jetty1012
Contributor II

@VaneB

It's RTD v2.0.1

Later I found that the interrupt actually works. If I leave the program running the LED blinks.

However, it just doesn't stop at the breakpoint when I'm debugging, it's kind of weird.

I guess maybe it doesn't recognize debug mode when I'm using a PEmicro. Probably it has something to do with my device?

0 项奖励
回复

2,367 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

please check the optimization level if it is set to none: 

jiri_kral_0-1685001397730.png

 

0 项奖励
回复

2,390 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @jetty1012 

Does this behavior happen with any other example or with another RTD version?

I don't think this is the reason but could you tell me if you use an EVB or is it a custom board?

0 项奖励
回复

2,445 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @jetty1012 

Which version of the RTD are you using?

When you are debugging the project the led turn on at least once?

If you leave the program running the led blinks?

 

B.R.

VaneB

0 项奖励
回复