Not branching to ISR

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

Not branching to ISR

958 次查看
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 回复

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