KE02 KBI Interrupt not executing in CodeWarrior Debug

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

KE02 KBI Interrupt not executing in CodeWarrior Debug

1,502件の閲覧回数
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 返答(返信)

1,311件の閲覧回数
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 件の賞賛
返信

1,311件の閲覧回数
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 件の賞賛
返信

1,311件の閲覧回数
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 件の賞賛
返信