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 Visual Micro + Atmel Studio 6.2 Simulator (Read 4814 times)
Ricardo Mota
Newbies
*
Offline


Posts: 1
Joined: Jul 16th, 2014
Visual Micro + Atmel Studio 6.2 Simulator
Jul 19th, 2014 at 9:59pm
Print Post  
I was trying the follow this tutorial on Visual Micro website - 'How to start the Atmel Studio Arduino simulator':

http://www.visualmicro.com/post/2013/06/05/How-to-start-the-Atmel-Simulator-Ardu...

Trying to debug an Arduino sketch for Arduino Leonardo (Atmega32U4), but after loading the object file for debugging (*.elf), I got these window popup with missing Arduino user & core libraries:



I was able to fix all these missing libraries by browsing for the right path and all seems to went well with all boxes checking green and clicked 'Finish' button.

Then on the 'step 4' of the mentioned tutorial, I clicked the 'No Tool' button on the toolbar of Atmel Studio, when trying to select the Simulator from 'Debugger/Programmer' drop-down list, I got an empty list...



I tried to change the device to an Atmega328P of Arduino UNO, since I've read somewhere that Atmel Studio Simulator doesn't support yet the simulation of the Atmega32U4 microcontroller, but I still got an empty list, with no 'Simulator' debugger for selection.

Anyone could possibly help me on this ?!

I'd really appreciate it Wink

P.S. : On the mentioned tutorial, on the first line -  "Visual Micro has a new facility due soon to make this process easier." - Anyone knows if Visual Micro now supports any newer functionality that facilitates the process of debugging with Atmel Studio Simulator on Arduino boards?

Best regards and thanks in advance !  Smiley
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro + Atmel Studio 6.2 Simulator
Reply #1 - Jul 20th, 2014 at 4:20pm
Print Post  
Hi,

The only change in the last release for this is a bug fix which ensures the .elf that you find in the Release or Debug folder is from the last build. It will probably be towards the end of the year that we implement some new workflows to make things smoother/seemless

Hopefully you spotted that on the mappings window you can just paste in a folder name and Atmel will auto complete the file name which saves a lot of time.

After you open the new solution for the simulator you have a standard Atmel project and you will find more info about this on the Atmel web site.

I expect that the project reads the capabilities from the .elf file and might be why changing the mcu in the project has no effect for you. 

Sorry I can't be more help.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint