realtime timer simulation

What's the trick to make the C51 simulator increment timers in realtime?

Ive tried setting the xtal value appropriately, on the target panel.

(I just need the simulation's blink led freq to have the same period as the real target)

Peter

Parents
  • What's the trick to make the C51 simulator increment timers in realtime?

    There is none, and there shouldn't be. The simulator has its own simulated time --- synchronizing that to wall-clock time would be impossible on slow machines, and wasteful on fast ones.

    (I just need the simulation's blink led freq to have the same period as the real target)

    And what good is that supposed to do you?

Reply
  • What's the trick to make the C51 simulator increment timers in realtime?

    There is none, and there shouldn't be. The simulator has its own simulated time --- synchronizing that to wall-clock time would be impossible on slow machines, and wasteful on fast ones.

    (I just need the simulation's blink led freq to have the same period as the real target)

    And what good is that supposed to do you?

Children
More questions in this forum