Not branching to ISR

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

Not branching to ISR

978件の閲覧回数
BlueTower
Contributor II

Hi!

I have used Processor Expert for a test code with MC9RS08LA8CFT. Code is attached.

 

 

I have added the void TPM2_isr(void) interrupt service routine before main(). I have enabled the TPM2 interrupt to occur via the processor expert(see image)127900_127900.jpg1_14_16b.jpg

 

Also see the debug session that execution doesn't enter the TPM2_isr() when TPM2 overflow occur.

 

127919_127919.jpg1_14_16a.jpg

 

What should I do in order the execution goes to TPM2_isr() when TPM2 overflow occur?

Original Attachment has been moved to: Test2.c.zip

ラベル(1)
0 件の賞賛
返信
1 返信

882件の閲覧回数
Leojunin
Contributor IV

I have not worked on the RS08, but can not find or do not see you enable global interrupt mask.

Try that.

Regards.

0 件の賞賛
返信