Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/12/07 05:38
Read: times


 
#134737 - I tried Keil
Responding to: ???'s previous message
Hi Asif, thanks for answering me...

I tried Keil, I got very confused using the program, could not do the performance analyzer work, but it has a time counter on project workspace (while debug session):

I put a break point at Serial_Int address, and pressed run so it stoped when timer1 overflowed. was 0.050025, I know that first time it has counted the start of the program not only the timer, so second run should be 0.100025 (it counts 1/20 of second) but was 0.100029, I dont understand this, why it is putting 0.000004 every run?

With Try Technick, I discovered this error is compensated if
RESET_VALUE EQU (15535+8)
in place of
RESET_VALUE EQU (15535+5)

is this correct?

List of 9 messages in thread
TopicAuthorDate
Counting 1 second, its my code correct?            01/01/70 00:00      
   Code works. Total loop time = 1.025 secs            01/01/70 00:00      
      i think already 15535            01/01/70 00:00      
         JSIM.EXE stop watch gives loop time            01/01/70 00:00      
            JSIM            01/01/70 00:00      
               Probably the Keil will work perfectly...            01/01/70 00:00      
                  I tried Keil            01/01/70 00:00      
   latency compensation            01/01/70 00:00      
   double post            01/01/70 00:00      

Back to Subject List