We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi. I am running a 25MHz clock with 20 _nop_(); to test for stopwatch functionality while running under simulation. With these many _nop_(); I should be seeing an elapsed time (t0) of 0.0000008 sec. I have looked at t0, t1 and t2 and all stayed at 0.
How do I see elapsed time on the stopwatch?
thank you.
I have looked at t0, t1 and t2 and all stayed at 0. if you do not start the timers they do not run.
sounds like "bible time" www.8052.com/.../120112 Chapter 3 - 80C51 Family Hardware Description:
Erik
Hi. As with Microchip MPLAB, the stopwatch is ON while in simulation mode whether I ran NOP(); or anything else. I guess what I am asking is that isn't the stopwatch a function of the Keil IDE that doesn't have anything to do with the C51 MCU timer being ON?
t0, t1 and t2 will not do diddlysquat if you do not start them.
I do not use simulators, they have led me nowhere but astray.