TimerInit

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

TimerInit

2,708件の閲覧回数
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,018件の閲覧回数
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,018件の閲覧回数
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,018件の閲覧回数
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 件の賞賛
返信