Simulator 2

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

I haven't used AVR Studio simulator in a long while. I downloaded the latest version 14 a month ago.

The help says Simulator 2 is the way to go if you have a supported device. I have the mega324p which is on the list.

When I use the wizard and select Simulator 2 I get the message "An error occured while retreiving the devices supported by the simulator". It then shows a list of devices but all are grayed out except ATmega128.

I just noticed there is a new Studio, version 15. I will download that in a couple of days when I will have high speed access to the internet. Will this fix the problem?

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

It could very well be that 14 months ago the mega128 was the only supported device. There might also be a beta version that has even more than version 15.

Regards,
Steve A.

The Board helps those that help themselves.

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

I also got that exact error message when running a new Studio install for the first time.

It turned out that I needed to run the wizard once with my admin windows account and cycle through all the simulator/ICE options. After that the wizard worked on my normal non-admin account as well.

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

Thanks mrono. Running first from an admin account fixed the problem.

Thanks Koshchi. Actually my original post was written badly. My mind is going. I should have written: I downloaded the latest version a month ago, which was version 14.

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

Well well. Simulator 2 is worse than Simulator 1. I have a simple program that goes to sleep and gets awakened by a pin change interrupt.

Simulator 1 works although it is clumsy.

Simulator 2 hangs with Task Manager showing 100% CPU utilization, on one of the duo cores. I have to kill Studio with Task Manager.

That's okay. I didn't expect much so I'm not disappointed.

I have my own way of simulating the chips. It's rather crude, but it works. It only simulates those devices I'm interested in and only simulates them when they are set up the way I want them set up.

But mine runs without hanging, shows register changes while running, and allows me to change registers while running.

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

steve17 wrote:
Well well. Simulator 2 is worse than Simulator 1. I have a simple program that goes to sleep and gets awakened by a pin change interrupt.

Simulator 1 works although it is clumsy.

Simulator 2 hangs with Task Manager showing 100% CPU utilization, on one of the duo cores. I have to kill Studio with Task Manager.

If the problem persists with AVR Studio 4.15:
Can you post your test program here or send it to avrbetaatmel.com? Also, how did you make it hang. Run, single step, or what?
steve17 wrote:
But mine runs without hanging, shows register changes while running, and allows me to change registers while running.

The latter two can be accomplished using "Autostep" instead of "Run" in AVR Studio.

- roland