KE02 KBI Interrupt not executing in CodeWarrior Debug

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

KE02 KBI Interrupt not executing in CodeWarrior Debug

708 Views
jorged_avila
Contributor II

Hi, there! I'm stuck with a strange behavior in debug. I'm using Codewarrior 10.6, programming in C for a KE02Z64.

 

I have in my code 4 interrupts active, for ADC, UART1, FTM0 and KBI1. In run mode everything goes well, but when I try to debug the KBI1 interrupt does NOT execute. All others keep working ok.

 

I tried to change their priorities - my code uses priorities 0, 1, 2 and 3 for these interrupts, respectively, and I suspected this behavior had something to do with KBI1 being the lowest priority. No luck here too.

 

Any ideas?

 

Thanks for any help!

Labels (1)
0 Kudos
3 Replies

517 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Jorge,

I recommend you create one new project, then only copy the KBI code to it ,

then check whether it can work well , check whether the interrupt flag set ?

Hope it helps

Alice

0 Kudos

517 Views
jorged_avila
Contributor II

Hi, Alice,

Thank you for your reply.

The flag is definitely set, When I disconnect the Multilink and operate the device in run mode (without debugging), it works well. What I'm trying to understand is why it does not execute the interrupt when debugging.

I'll try you idea of creating a project with this code only, and let you know.

Best regards,

d'Avila.

0 Kudos

517 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello d'Avila,

Does the KBI use the same pin with debug ?

And why do you think it have not run to interrupt ?

OK,  waiting your result .

Best Regards,

Alice

0 Kudos