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 Using Dragon with Atmel Studio 6.2 (Read 682 times)
PStechPaul
Junior Member
**
Offline


Posts: 33
Joined: Mar 25th, 2016
Using Dragon with Atmel Studio 6.2
Mar 30th, 2016 at 9:22am
Print Post  
I was able to get the Visual Micro menu on the Tools menu, and the AVR Dragon appears on the list of programmers, but the programming dialog only shows the simulator in the list of tools:



The Dragon is connected and reads the AtMega328P, so I don't know what the problem might be. I think 6.2 used to work with the Dragon before I got the Visual Micro extension loaded:

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Using Dragon with Atmel Studio 6.2
Reply #1 - Mar 30th, 2016 at 10:21am
Print Post  
Ignore the programmers dialog. Click the "upload using programmer" menu item on the tools menu then try normal build and upload using the blue arrow on the toolbar
  
Back to top
IP Logged
 
PStechPaul
Junior Member
**
Offline


Posts: 33
Joined: Mar 25th, 2016
Re: Using Dragon with Atmel Studio 6.2
Reply #2 - Mar 30th, 2016 at 9:58pm
Print Post  
The Arduino Sketch folder was "contaminated" with files from my attempts to use Atmel Studio 6.2 and 7.0 and Visual Studio, so I moved them elsewhere and started again clean, using AS6.2. I selected "open Arduino project" and "Simple_Charger.ino". It set up the project OK and I was able to build it with no errors, just some warnings. But the only blue arrow showed "Debug and break". I added a setpoint and tried it, and apparently with the "upload using programmer" checked uses the Dragon. But I get the "pattern" error:  Sad



If I uncheck the "upload using programmer" it tries to use the bootloader on COM9. It doesn't seem to be able to use the software simulator, which I have used for a simple project using the Arduino but set up as a C project without the Arduino libraries and syntax.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Using Dragon with Atmel Studio 6.2
Reply #3 - Mar 30th, 2016 at 11:18pm
Print Post  
With Arduino 1.0.x It will look for the upload pattern if you have not deleted the "tool" key that I mentioned previously. I guess that was in another post. However I also mentioned that 1.0.x is more hard coded than arduino 1.5+ so it might still not work even when you get over the pattern problem.

I think I also previously just to build and then to use "file>open object file" which will open a native atmel project for use with the simulator. (I assume as7 has the simulator working same as as6 but I haven't looked)



  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Using Dragon with Atmel Studio 6.2
Reply #4 - Apr 4th, 2016 at 11:11am
Print Post  
This Topic was moved here from Arduino for Atmel Studio [move by] Visual Micro.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint