TimerInit

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

TimerInit

2,705 次查看
csopko
Contributor I

I'm having a problem with the TimerInit that I installed with the PE bean selector. I am running the debug simulator. It doesn't appear that the TimerInit is being fired. I've set a break point at TI1_OnInterrupt in Events.c, it never breaks. I've used functionMsg=TI1_Enable(); and functionMsg=TI1_EnableEvent();to enable the timer. The functionMsg variable returns ERR_OK from both calls but the TI1_OnInterrupt never occurs. I am also using the AD1_OnEnd interrupt which operates fine. Can you tell me if there are any known problems with the TimerInit or what else I can check to find out what I might be doing wrong. Thanks. The target is a MC9S08GT16CFB.

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

1,015 次查看
csopko
Contributor I

Jan,

I'm not sure what you are referring to 'HW debugger'. If you mean a hardware platform, I don't currently have hardware available.

From your reply, apparently this is a known problem with the simulator.

Is there a list of known simulator debug problems/limitations posted any where?

Thanks.  

0 项奖励
回复

1,015 次查看
ProcessorExpert
Senior Contributor III
I meant debuugging on real hardware like e.g. demo boards or real chips.
 
For more info about simulator limitation please contact Freescale.
 
Best Regards, Jan Pospisilik, Processor Expert Support
0 项奖励
回复

1,015 次查看
ProcessorExpert
Senior Contributor III
It is a problem of debug simulator probably, if you run the HW debugger, it should work correctly. Please try it.
 
Best Regards, Jan Pospisilik, Processor Expert Support
0 项奖励
回复