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

Parents
  • 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

Reply
  • 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

Children