Show Posts
Pages: [1] 2 3 ... 11
1  Development / Other Software Development / Re: Visual Micro - how to really use this thing? on: Today at 06:55:35 am
Hi Robin2,

We stopped using the external editor a long time ago because it makes development slow.

With Visual Micro we click one button or F5 and the sketch is compiled and uploaded. So this saves time.

The compile is also usually much faster than the Arduino Ide so this saves more time.

If we encounter compilation errors with our code we can double click the error and jump to the correct position in our source code. This also often saves  a lot of time.

The build process replicates the Arduino 1.0.x and 1.5.x versions so works with all sketch code.

There are many other benefits (for Windows and Mac users) of using Visual Micro with either Atmel Studio (free) or Visual Studio.

Thanks
2  Development / Other Software Development / Re: Visual Micro - how to really use this thing? on: July 27, 2014, 12:02:35 pm
Yes sorry I wasn't clear.

Visual Micro is designed to be and is as INSANELY easy as the Arduino Ide.

Visual Micro also automatically detects and uses the sketchbook folder as specified in the Arduino Ide ensuring that user libraries are discovered in the same INSANELY easy way as in the Arduino Ide.

In the Arduino Ide it is possible for more advanced users to alter the sketchbook folder in the File>Preferences. Visual Micro uses that change unless overridden in the Visual Micro options.

I expect the path has been overridden in Visual Micro without a clear understanding of how the Arduino sketchbook folder relates to the user libraries folder.

Thanks

The INSANELY easy Visual Micro config tool  smiley

3  Development / Other Software Development / Re: Visual Micro - how to really use this thing? on: July 27, 2014, 08:31:40 am
Update

The registration process for the Visual Micro forum is now automated.

New documentation for Visual Micro has been release and can be found here
4  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
5  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
6  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
7  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
8  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
9  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

10  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
11  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
12  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.
13  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

14  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
15  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
Pages: [1] 2 3 ... 11