Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to run the atmel simulator (Read 4427 times)
TsuTsu
Newbies
*
Offline


Posts: 2
Joined: Jun 2nd, 2015
How to run the atmel simulator
Jun 3rd, 2015 at 5:12am
Print Post  
Hi,
Is there any way to "debug" a program without any hardware (Arduino...) connected? I.e. Like in Atmel Studio 5 with assembler code where you can step through your program, checking all registers, ins and outs...
I didn't find any clue on the help or fora.
Thanks all
« Last Edit: Jun 3rd, 2015 at 10:08am by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How to run the atmel simulator
Reply #1 - Jun 3rd, 2015 at 10:09am
Print Post  
Hi,

After making a build with visual micro click "File>open file for debugging". This will create a new atmel studio project allowing the simulator to be selected as a programmer. Then "start>debug" and the sim will run.
  
Back to top
IP Logged
 
TsuTsu
Newbies
*
Offline


Posts: 2
Joined: Jun 2nd, 2015
Re: How to run the atmel simulator
Reply #2 - Jun 8th, 2015 at 9:33am
Print Post  
Thanks a lot.
It's a bit complicated (no idea why) but it works.

Any place where to find this kind of stuff documented (except reading fora/"forums" all day and night long)?

Enjoy your day.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How to run the atmel simulator
Reply #3 - Jun 8th, 2015 at 10:04pm
Print Post  
Hi,

I try not to support the atmel stuff and leave people to the atmel documentation. If it was a better system I would make more noise about it.

I have a plan for a better system but the work for new software from Arduino (1.6.4) and Visual Studio (2015) and Atmel Studio (7) have slowed development down for a few months  Cry
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint