Breakpoint in 'PitNotification' didn't stop

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

Breakpoint in 'PitNotification' didn't stop

585 Views
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 Kudos
5 Replies

329 Views
jhuang1
Contributor I

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 Kudos

507 Views
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 Kudos

474 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

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

jiri_kral_0-1685001397730.png

 

0 Kudos

497 Views
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 Kudos

552 Views
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 Kudos