S32K312 does not trigger. the interrupt when debugging

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

S32K312 does not trigger. the interrupt when debugging

Jump to solution
1,345 Views
jhuang1
Contributor I

Hi,

    I'm developing s32k312 these days, and a problem has confused me. The s32ds ide cannot trigger the interrupt(pit) when debugging, which I tried both jlink and pemicro, and their driver have both be updated to the latest. The interrupt cannot be triggered only in debugging, it works fine when burned into flash and boot and run automatically after POR.

    I thought this problem due to my project, so I created a PIT example project from the sdk, but it behaved the same as my project, PIT interrupt cannot be triggered when debugging.

Anybody has met the same problem as mine? Please share the experience with me. Thanks!

 

0 Kudos
Reply
1 Solution
1,282 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@jhuang1

here you can see it works fine on myside.

Senlent_0-1691377648905.png

the test hardware is S32K312EVB-Q172

the test software is RTD 2.0.2

the debugger is J-link and OpenSDA, both works fine on myside.

View solution in original post

0 Kudos
Reply
5 Replies
1,333 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@jhuang1

I tested the interrupt function of PIT on S32K344 (this should be the same as S32K312), it works as expected on my side.
two investigation directions
1. Is it possible to change a debugger and test again

https://community.nxp.com/t5/MPC5xxx/stuck-in-OSIF-TimeDelay/m-p/1354830 
2. the setting of compilation optimization level

https://community.nxp.com/t5/S32-Design-Studio/Breakpoint-in-PitNotification-didn-t-stop/td-p/165316... 

0 Kudos
Reply
1,319 Views
jhuang1
Contributor I

Hi Senlent,

    I have tested the program on s32k344,and it worked ok. The s32k312 is on my new board. I tested the second action, setting the optimization level to the other levels, but it still work unnormaly. Occasionally the interrupt can hit the break point, no interrupt triggering mostly.

0 Kudos
Reply
1,283 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@jhuang1

here you can see it works fine on myside.

Senlent_0-1691377648905.png

the test hardware is S32K312EVB-Q172

the test software is RTD 2.0.2

the debugger is J-link and OpenSDA, both works fine on myside.

0 Kudos
Reply
1,272 Views
jhuang1
Contributor I

Hi Senlent,

    The RTD I tested in last program is 2.0.0, and I changed it to 3.0.0 now, the pit interrupt can be triggered finally. I would test RTD 2.0.2 these days, it seems RTD 3.0.0 has changed a lot relative to 2.0.0.

Thanks for your advise!

0 Kudos
Reply
1,303 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@jhuang1

Thanks for your feedback, I will reproduce the issue on my side.

I'll get back to you next Monday, I'm out of the office right now.

0 Kudos
Reply