KE02 KBI Interrupt not executing in CodeWarrior Debug

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

KE02 KBI Interrupt not executing in CodeWarrior Debug

930 次查看
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!

标签 (1)
标记 (2)
0 项奖励
回复
3 回复数

739 次查看
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 项奖励
回复

739 次查看
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 项奖励
回复

739 次查看
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 项奖励
回复