TimerInit

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TimerInit

2,307 Views
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.

Labels (1)
0 Kudos
Reply
3 Replies

617 Views
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 Kudos
Reply

617 Views
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 Kudos
Reply

617 Views
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 Kudos
Reply