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 Source code and assembler code (Read 3805 times)
Pltilleul
Newbies
*
Offline


Posts: 5
Joined: Jul 10th, 2015
Source code and assembler code
Jul 14th, 2015 at 3:57pm
Print Post  
I can compile my sketch and download to my device (Melzi board for 3D printer) using avrisp-mk2. I now would like to see simultaneously on the screen my source code and the de-assembled object file. When i open the .hex file in studio 6.2 (Open Object File for Debugging) and after choosing atmega1284p and my programmer, nothing happens, just an information regarding the build that is empty ! All files are in the same folder.
A solution ? thanks to all !
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Source code and assembler code
Reply #1 - Jul 14th, 2015 at 4:32pm
Print Post  
If you are using Visual Micro for the compile then you can switch on the "show disassembly" project property.

After compile an output window will show the disassembly view. 

  
Back to top
IP Logged
 
Pltilleul
Newbies
*
Offline


Posts: 5
Joined: Jul 10th, 2015
Re: Source code and assembler code
Reply #2 - Jul 15th, 2015 at 3:48pm
Print Post  
Thanks for reply.
I use Atmel Studio 6.2 with Visual Micro extension : Visual Micro Arduino 1.6.   I start compiling with my .ino file (comes from Repetier). I have all other .h and .cpp files. Compiling = build , no problem. I can download the resulting .hex file to my board. In the Visual Micro extension menu, i find a lot of tools and features but nothing like "show disassembly"... I'm certainly doing something wrong but what ?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Source code and assembler code
Reply #3 - Jul 15th, 2015 at 4:19pm
Print Post  
See if this helps 

http://www.visualmicro.com/page/User-Guide.aspx?doc=Project-Properties-Reference...

There is more info here about the difference between Vs and Atmel in terms of opening the properties tool window

http://www.visualmicro.com/page/User-Guide.aspx?doc=Project-Properties-window.ht...
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint