Show Posts
Pages: [1] 2 3 ... 11
1  International / Deutsch / Re: Atmel Studio 6.1 Alternative keine Vorteile? on: January 17, 2014, 12:25:45 pm
Hi there,

If you would like instruction for the Visual Micro debugger then please join the free forum where we can help you.

Thank you
2  Using Arduino / Project Guidance / Re: Cannot get the 'Arduino for Atmel Studio 6' to compile and upload on: January 17, 2014, 12:20:23 pm
Atmel have changed their usb drivers to use Jungo which is not compatible with the Arduino IDE.

Visual Micro uses the same tool chain that the Arduino IDE uses so both applications will fail to work with AVRISP MKII unless you switch the usb driver to an Arduino compatible driver.

This document explains how to do this.

We have a specific forum for Arduino in Atmel Studio and Visual Studio here where you will be guaranteed faster answers. We don't have the resource to monitor the arduino.cc forum because it is huge  smiley

Thanks
3  Products / Arduino Yún / Re: Programming GE ColorSafe lights on a Yun on: January 10, 2014, 09:58:02 am
Quote
I looked at the trial version of 'arduino for visual studio' by visualmicro.com but it seemed to slow down the arduino too much with the debug overhead, which also messed up the attempts to debug this code

The "slow down" is an optional feature for newer users who attempt to debug in the loop() without adding breakpoint conditions or a hit counter.

In the Atmel Studio project properties you can set ThrottleEnable=False and the Arduino will run at full speed.

This is documented in the debugger wiki found here

There is also a free Arduino debugging forum here

Thanks
4  Using Arduino / Project Guidance / Re: obsolete .h files and #include problems on: January 10, 2014, 09:52:20 am
Hi jarmerfohn,

You can ignore the vsarduino.h it is used only for intellisense purposes and is not part of the compilation.

Did you sort the other issues out? If not then please do join the free forum and we will help  http://www.visualmicro.com/forums/YaBB.pl

Thanks
5  Using Arduino / Installation & Troubleshooting / Re: Visual Micro Not producing output files on: January 10, 2014, 09:48:44 am
This has been answered in the forum at visualmicro.com

 http://www.visualmicro.com/forums/YaBB.pl?num=1389194085/4#4
6  Development / Other Software Development / Re: Visual Micro - how to really use this thing? on: November 23, 2013, 12:23:22 pm
Hi depug,

I am sorry you found the forum registration a pain. Actually we get about 20 spam requests for each 1 real member so we use a system where by you apply via the registration page on the forum. We have recently started to sell the debugger option which brings in a small amount of revenue but everything else has been provided free for many years and as such we avoid too much extra work on behalf of spammers smiley You will read on our site and in the forum that response to visualmicro.com new registration requests has been slightly slowed this month due to some unique factors. It is impossible for us to monitor a large forum such as this for ad-hoc requests which is why we provide the Visual Micro forum.  We hope to see your reg request if you have not already made one.

So to answer a few questions...

1) You will see intellisense for all sources including core and libraries. In VS intellisense and the ability to use the class explorers  for libraries and core is enhanced if you click "Project>Show all sketch files". This additional option is for more advanced users, does not affect compilation but simply brings the sources from the libraries and core directly into the project. (Click the menu item again to remove the additional sources). Without this option VS or Atmel will perform exactly like the Arduino Ide

2) If you can not see your libraries in the explorer or on the menu item "Project>Add/Import Sketch Library" then the SketchBook Folder path will be wrong in the Visual Micro options. The path should normally be automatically discovered by Visual Micro from your Arduino Ide configuration, however, it has possibly been overridden and is pointing to the wrong location? (or we have a bug that has not been reported but it would be an obvious bug that I would have expected to have been reported by many others)

Do you know how to see and change the Arduino SketchBook folder path in Visual Studio?

Thanks

Tim

Below you can see the config options that specify which version(s) of Arduino you are using, where they are installed and what sketchbook location you optionally want to use. The image shows the config for Arduino 1.0.x apps. You will see there is also an Arduino 1.5.x option available

7  Development / Suggestions for the Arduino Project / Re: Comments on Arduino 1.5 Specifications on: October 23, 2013, 05:17:07 am
@avenue33 Do you know about the developers site? This is useful for Ide and build process discussion.

https://groups.google.com/a/arduino.cc/forum/#!forum/developers
8  Development / Suggestions for the Arduino Project / Re: Comments on Arduino 1.5 Specifications on: October 22, 2013, 01:05:13 pm
Hi Bill,

Yes a fuller specification would be ideal and way to more easily tune the options for the hardware will remove tons of confusion.

With 1.0.x at end of life and with continued support for pre 1.5 libraries in 1.5, I hope we can just stick with it for a while and take time to discuss a better solution or extended solution.

I hope that final solution takes into account all of the points you make so eloquently and caters better for duplicate library source code names.

Tim

edited for clarity
9  Development / Suggestions for the Arduino Project / Re: Comments on Arduino 1.5 Specifications on: October 22, 2013, 06:44:41 am
I think it would be a good idea to step back and look at the reasons why the newer structure is required.

Previously it was possible for various library authors to support some architectures but not all. This allowed users to include a library in projects that do not support the selected architecture. Very confusing.

The new structure allows the "Library Import" menu item(s) to accurately show the libraries that are valid for a project/architecture. This removes a whole bunch of support issues.

It might be that this point could have been achieved another way, such as a properties file and the old lib structure however the new structure works really well with many C++ intellisense systems. In fact in Visual Studio, as we  switch between Arduino architectures, we see "red squiggles" for "unsupported" #includes.  So this new system works very well indeed and is very clear for newer users.

By the sound of it even the older structure was a problem for some systems where by all library paths need to be combined into a "master list" of include paths. This is not how the Arduino compiler is normally designed to work, combining all lib paths regardless of the sketch #includes  leads to other issues unrelated to the new format.

Currently other support issues arise when a library that depends on another library is included by a user. The new properties system should allow us to ensure a more intelligent #include system either automatically including other libraries or by prompting the user to do so.

The new system has a lot of future flexibility (potential) such as supporting "auto download" of missing dependencies and better version control.

I am not suggesting the new system is perfect but the clarity it brings to the UI looks GREAT and the reduction in potential support problems is a big plus.
10  Development / Other Software Development / Re: why use Atmel Studio? on: September 13, 2013, 07:16:00 am
Hi All,

A few things that might be useful for Atmel Studio 6.1 users.

Visual Micro overrides all Atmel settings and makes a fully compatible Arduino compile.

If a project does not have an .ino or .pde of the same name then Visual Micro goes silent and allows normal Atmel to work without conflict.

If an .ino or .pde is added to the project (with the same name) then Visual Micro takes over and ensures a 100% Arduino compile.

Visual Micro also expects the folder containing the project to have the same name, this means that we remain Arduino compatible and share out projects with users of the standard Arduino Ide

If Visual Micro is active then the menu item "project>import sketch library" works the same way as the Arduino Ide and regardless of this all libraries are compiled as per normal Arduino compilation rules.

Tim

11  Development / Suggestions for the Arduino Project / Re: Comments on Arduino 1.5 Specifications on: September 10, 2013, 09:38:49 am
@avenue33

Not sure if this helps but arduino 1.5.3 support two library structures. The new one and the old one. So for awakward cross compatible libraries we can use the old structure and #defines?

Sorry if this is not helpful
12  Development / Other Software Development / Re: why use Atmel Studio? on: September 10, 2013, 09:32:17 am
Hi nicoverduin,

Very good questions! I am sorry it was not clear previously that the debugger is a software debugger. Yes, you are correct, when you make a release compile or switch off debugging then the debug code is not included.

In terms of additional overhead, initially we feared this would be a problem but as it turns out it is often not a problem. Mostly users add serial print messages to debug, these consume huge (relative to the mcu) amounts of Arduino memory. The debugger does not compile debug status messages into the Arduino program, instead the messages remain on the pc and only an id number is compiled onto the Arduino.

Because the debugger uses serial or serial1,2,3 or softwareSerial (digital pins) it would appear to use a lot of Arduino program memory if you compiled an empty Arduino program in debug mode.

However, if the Arduino program already uses the same functions (it often does) then the memory increase is minimal.

This also applies to additional debug features such as breakpoint timers (Hit Counts). It is, for example, possible to set breakpoints to print messages and watch expressions every 250ms (4hz). In this case the debugger uses the Arduino millis() function which will increase the debug program size slightly. Every additional breakpoint can consume additional Arduino memory but, as stated earlier, the gains of not having print() messages on the Arduino seems to balance the additional memory of the debugger.

All I can say is that lots of people find the debugger very useful, when previously they were working in the dark now the lights are on and they can see what their code is doing and why.

I would say that many Arduino experts might not need this facility and are happy with serial.print() commands for debugging, but for people like myself it is useful.

In terms of Doxygen and SVN I think these plugins are available for free in the Atmel Gallery and Visual Studio Galleries.

Thanks very much for confirming the latest version starts quickly for you. I find Visual Studio 2008 and 2013 to be very fastest starters, Atmel Studio is based on Visual Studio 2010 which is a bit slow to start.

Best of luck
13  Development / Suggestions for the Arduino Project / Re: Yun subforum on: September 10, 2013, 09:12:02 am
I fourth this  smiley-cool
14  Development / Other Software Development / Re: why use Atmel Studio? on: September 10, 2013, 08:56:42 am
Hi do you mean that you do not need a license key to debug in Eclipse? This is because Eclipse can not debug or provide the graphical real-time data views?

Yes, the debugger for Visual Micro has a small $29 fee but does not require any hardware or card to work. The debugger can use the same usb connection that is used for upload or a separate usb/software serial connection.

The free plugin for Atmel is very mature and takes a lot of time to maintain. We do not sell hardware and this software does take a great deal of time to create, therefore the debugger has a small fee.

Thousands or people are using it and find it useful however there is a huge range of Arduino users. If you are comfortable with Eclipse and it serves your purpose and have no need for additional helper tools then there would be no reason to change.

ps: Please keep in mind that Visual Micro, who make the Arduino plugin and debugger for Atmel is a different company unconnected to Atmel Corp.
15  Development / Other Software Development / Re: why use Atmel Studio? on: September 10, 2013, 08:04:31 am
Hi CrossRoads, you are right there was problem in the May 2013 release of Visual Micro that caused Atmel Studio to take longer to start up.

@Others

In terms of speed the Atmel solution provides a 100% compatible Arduino build so the micro-controller will work at the same speed as if you built with the Arduino Ide. However the build process in Atmel is highly optimized so most of the time the compile will be much faster in Atmel than in the Arduino Ide.

I hope there are lots of other reasons to use Visual Micro. One being that we can switch Arduino versions without re-starting the ide especially important while Arduino transitions 1.5 from beta to release, the same applies to sketchbook folders which allows large lists of libraries to be more easily managed.

Atmel Studio also provides many advanced features such as real-time memory usage graph and debugging. Intellisense, code completion and many other productivity tools make life easier.

Atmel is a well rounded solution for windows users that want something simple and powerful with easy install. I hope this helps.

A simple breakpoint or tracepoint


Debugging Arduino - Serial.print(debug) be gone!!
Pages: [1] 2 3 ... 11