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 AVR Dragon and DebugWire (Read 538 times)
DennisW
Newbies
*
Offline


Posts: 1
Joined: Sep 9th, 2015
AVR Dragon and DebugWire
Sep 9th, 2015 at 1:56pm
Print Post  
I’m looking at your product as my next step in Arduino development but I have a question.  I have the AVR Dragon programmer board and was wondering if it works in debug wire mode in Visual Micro.
The primary purpose I would want your product is for the ability to step by step debug using debug wire.  Easy enough in AVR Studio but I’m looking for support for the many Arduino libraries in this environment.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: AVR Dragon and DebugWire
Reply #1 - Sep 9th, 2015 at 8:25pm
Print Post  
Hi,

Thanks for posting the question. 

It's better than lots of emails and considering that Visual Micro is mainly free it saves me time by allowing others to use the search facility and find answers.  I will try to answer all your questions from the past few months from oldest to newest.

Quote:
For $49 I can get an AVR Dragon or for even less their newer debugger and do real hardware debugging.


Arduino doesn't support real hardware debugging. You have to use a native cpp project, bring libraries and core sources locally, dump the .ino code files and either change or corrupt your board. The dragon is good for advanced users who have only one or two arduino projects (or have excellent compiler/config knowledge)

Normally for Arduino people hack their code with Serial messages and add special code to handle changing the values of variables remotely. The Visual Micro debugger removes the need for this but allows the Arduino projects to remain Arduino.

The Visual Micro debugger also supports visualizations such as the @Plot facility which allows real-time graphs to be created using simple break-point syntax.

The Visual Micro debugger also works over bluetooth, RF and Wifi. However with its default settings it can work with seamlessly with the standard Arduino usb upload system. 

So for most users it's a useful addition to their Arduino development.

It's unfortunate that $49 for 3 machines would be considered a lot of money and even more so that only the debug element of Visual Micro is considered of value in this respect. I try to keep the product free for most but it takes a huge amount of time to produce the product, pay for documentation and run the web site.

This means the price is set to the lowest value that I am prepared to accept to justify the effort and impact on my personal time. It is of no consequence to me what one piece of cheap easy to manufacture hardware costs in comparison.

If you are competent enough and have the time to invest in using a dragon then maybe you don't need Arduino in your life at all. Arduino is just source code that you could copy into your project.

Quote:
Everything I saw (Atmel videos) before I downloaded this extension suggested it was free.


I am unaware of any "Atmel videos". There are some videos created by some users on the web. I have no control over their content.

Nearly every page on visualmicro.com states that a free trial is included with the standard product and also has "Buy now" buttons. 

Furthermore the Atmel gallery entry for Visual Micro clearly states that an optional debugger is available.

I can only assume from your statement that you did not read anything that has been published by the manufacturer of Visual Micro. 

I have to say that although a lot of effort has been made to document the product you are not alone in being a non documentation reader.

Quote:
I have a dragon so I guess I’ll have to figure out how to get Arduino boards to run on it without having to dissect them.  Certainly not worth that much, $9.95 or 14.95 maybe but $49, no way.  We are talking about an open source community here.
Also you should tell people when they install it not to start the debugger trial until they are ready to debug something.  I of course started it right away and it will likely run out long before I get to that stage.  A nice idea poorly implemented.


I am experimenting with the length of the trial period but actually there were two so you could have started another trial when prompted.

Fortunately for me others don't agree with you. As I have said there is much to Visual Micro. In fact the debugger is only part of the pro pack which is being added to all the time.

Do you really expect me to take your views seriously when you are new to Arduino, don't really want to use Arduino and take for granted the entirety of the product? Smiley

Quote:
We are talking about an open source community here.


Your projects might be open source. Arduino might be open source so they can sell more hardware. Atmel might make some open source so they can sell some hardware. 

Windows and Visual Studio are not open source.

As I have said, the question is not what Visual Micro is worth to you but what price stops people who don't read manuals and will bog me down with support from buying or using the product. 

My experience is that if something is very cheap then it is taken for granted. I get more hassle from the free users that the ones who invest in helping this project.

Having said that there is a scenario that doesn't apply to you but might reduce the price. I have recently received a few letters from people who live in countries where salaries are extremely low. For these people the price is too high so I might reduce it.

Quote:
My main point is your price in that market.  By the time someone wants debugging in the Arduino community they are probably ready to move on to microcontrollers and Atmel sells two hardware debuggers below or at your price point.


I disagree. Getting the job done the fastest way possible is what most people are looking for. They aren't looking to have the most complex and technically perfect solution unless you look at something like a drone but of the drone guys have been using Arduino so it's got something!

I know of many people who have tried both hardware debug and Visual Micro. Hardware debug has a place but I hear that often it's just a pain they end up back with Arduino projects and a ready-to-go solution with Visual Micro.

In terms of cost I guess people will have to decide if they want to part with a small amount of money to keep this project alive or abuse it and treat it like crap. 

In the main I can say so far so good!

Quote:
I am a different case, as I have a background in C/C++, Amateur Radio, etc, and quickly grew past the Arduino product into making my own circuits.  For people at my level it would still make sense to purchase your product for quick prototyping but not at the cost of a true hardware debugger


I defiantly agree that you would be better with native atmel projects and that Arduino for a seasoned programmer will be too simplistic.

It's been about 4 months since you first wrote to me. How many prototypes have you had to produce?

Quote:
I’m looking at your product as my next step in Arduino development but I have a question.  I have the AVR Dragon programmer board and was wondering if it works in debug wire mode in Visual Micro.
The primary purpose I would want your product is for the ability to step by step debug using debug wire.  Easy enough in AVR Studio but I’m looking for support for the many Arduino libraries in this environment.


This forum is here for a reason. One search would have given you the answer.

Please see this existing article which explains how to use the dragon with the free version of Visual Micro

http://www.visualmicro.com/forums/YaBB.pl?num=1426785729

I also recommend installing the beta of Atmel Studio 7. You won't have read that it contains an "Arduino converter" that will convert your Arduino projects to native atmel and bring the core and lib sources locally. 

So you won't need Visual Micro at all Smiley

Quote:
One other question.  I noticed you have two licenses for Hobby use.  1 and 3 machines.  Any chance you have a two machine option coming?  One for the desktop and one for the laptop Winking smile  Just a question/suggestion.  Many people have one of each but I don’t know too many people with 3 dev machines.  Maybe eBay is just making me cheap in my old age lol


So you are complaining that the for an additional 10 GBP you get two licences instead of one? You want me to mess about and do something different for $7

You are comparing the service I offer with some cheap e-bay knock off. Thanks, I don't think old age has anything to do with it.

Best of luck.
« Last Edit: Sep 9th, 2015 at 8:32pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: AVR Dragon and DebugWire
Reply #2 - Sep 9th, 2015 at 11:04pm
Print Post  
This Topic was moved here from Arduino Debugger [move by] Visual Micro.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint