simulator bug with JTD bit in MCUCR

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm simulating the mega169. When I change the JTD bit once in the MCUCR register, the simulator shows it to be changed. With the real mega169 the bit must be set twice within four cycles for the change to occur.

Does the simulator keep track of cycles?

Is there a way to see how many cycles it takes to get from one place in the code to another?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks, I figured there was a way to see this. This is one thing a simulator does better than the real hardware.