This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

microvision2 debugger time display does not work.

Hi All!

while debugging a progrm in micro vision 2 debugger time display does not work though the value of states increases. What's the problem? How to overcome it? I am intersted in knowing the time taken by a routine to be known.

Regards

Sushil

  • As far as I can tell the debugger works only on a std 8051 chip (or at least it should)

    As you saying that the sec timer is incorrect for the 8051? Are you setting the clock frequency correctly?

    I know it does not calculate the correct time for chips like the Dallas DS80C320.

    One way around the problem is to triple the clock speed say for a 25 MHz processor, tell the debugger you have a 75MHz device.

    This will get around the 4 clocks (DS80C320) vs. 12 clocks (8051) per instruction.

    The sec time will be closer...but still not correct. The Keil dugger does not model the fact that not all instructions are executed in 4 clock cycles in the Dallas chip.

    Mark

  • Hi Mark,
    Thanks for the answer, but, my basic problem is that the display of seconds 'sec' remains zero. It never updates to any other value.

    Regards

    Sushil

  • Hey. Are you mark hryszko who lived in livingston and who hasn't answered my letters or cards for, like four years? if you are, i hope you're well. i'm also about to give up trying to stay in touch.

    take care, friend.

    Bob