Software debugger and timers

General discussion on mikroC PRO for PIC.
Post Reply
Author
Message
Paolino
Posts: 21
Joined: 14 Jan 2009 16:44
Location: Italy

Software debugger and timers

#1 Post by Paolino » 03 Apr 2009 13:24

I am debugging (software debug) a very simple code for a PIC12F675. I am using both TIMER 0 and TIMER 1. In the WATCH window I check that, for example, TMR1ON bit is 1 but TMR1H and TMR1L registers do not increment. The same happen to TIMER 0. Prescaler is 1:1 for both timers.

The question is: do the software debugger increment timers or not?

Thank you.

Paolo.

oklopnik
Posts: 1
Joined: 06 Apr 2009 16:14

#2 Post by oklopnik » 06 Apr 2009 16:18

Hi.
I have the same issue, and this is what MikroC help says about timers:
Note: The Software Simulator simulates the program flow and execution of instruction lines, but it cannot fully emulate PIC device behavior, i.e. it doesn’t update timers, interrupt flags, etc.
Hopefully, it will be implemented in future.

Paolino
Posts: 21
Joined: 14 Jan 2009 16:44
Location: Italy

#3 Post by Paolino » 07 Apr 2009 04:09

oklopnik,
thank you. I really lost that "note" of MikroC Help.
I will ask that issue in the wish list.

Paolo.

Post Reply

Return to “mikroC PRO for PIC General”