Timer in the build in Simulator?

General discussion on mikroPascal for dsPIC30/33 and PIC24.
Post Reply
Author
Message
doc
Posts: 7
Joined: 03 Feb 2009 23:13

Timer in the build in Simulator?

#1 Post by doc » 03 Feb 2009 23:19

Does the build in Simulator simulate the Timers?

When i run the sample Code TestTimer1 the interrupt never occures?
Than i tried to watch the TMR1 and notice it does not count at all?

goran.marinkovic
mikroElektronika team
Posts: 265
Joined: 25 Nov 2008 09:09

#2 Post by goran.marinkovic » 04 Feb 2009 16:16

Hi,

Please read carefully Software Simulator topic in help section of your compiler,
in order to better understand mentioned function.

Regards

doc
Posts: 7
Joined: 03 Feb 2009 23:13

#3 Post by doc » 04 Feb 2009 18:32

Ahhh, sorry, my bad. I found it:

Code: Select all

Note: The Software Simulator simulates the program flow and execution of instruction lines, but it cannot fully emulate dsPIC30/33 and PIC24 device behavior, i.e. it doesn’t update timers, interrupt flags, etc.
Thank you.

Post Reply

Return to “mikroPascal for dsPIC30/33 and PIC24 General”